Skip to content

Commit

Permalink
add allowNoIndex to rest API
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed Dec 16, 2020
1 parent db95d0e commit 078635b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const indexPatternSpecSchema = schema.object({
})
)
),
allowNoIndex: schema.maybe(schema.boolean()),
});

export const registerCreateIndexPatternRoute = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const indexPatternUpdateSchema = schema.object({
),
fieldFormats: schema.maybe(schema.recordOf(schema.string(), serializedFieldFormatSchema)),
fields: schema.maybe(schema.recordOf(schema.string(), fieldSpecSchema)),
allowNoIndex: schema.maybe(schema.boolean()),
});

export const registerUpdateIndexPatternRoute = (
Expand Down

0 comments on commit 078635b

Please sign in to comment.