Skip to content

Commit f900770

Browse files
committed
Remove id and rename indexPattern to dataViewId
1 parent 5989e98 commit f900770

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/platform/packages/shared/kbn-es-query-server/src/filter/simplified_filter.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,6 @@ export const filterValueSchema = schema.oneOf(
6969
* Base properties shared by all simplified filters
7070
*/
7171
const baseFilterPropertiesSchema = {
72-
id: schema.maybe(
73-
schema.string({
74-
meta: { description: 'Unique identifier for the filter' },
75-
})
76-
),
7772
pinned: schema.maybe(
7873
schema.boolean({
7974
meta: { description: 'Whether the filter is pinned' },
@@ -89,7 +84,7 @@ const baseFilterPropertiesSchema = {
8984
meta: { description: 'Owner that manages this filter' },
9085
})
9186
),
92-
indexPattern: schema.maybe(
87+
dataViewId: schema.maybe(
9388
schema.string({
9489
meta: { description: 'Data view ID that this filter applies to' },
9590
})

0 commit comments

Comments
 (0)