Skip to content

Commit

Permalink
query should be a QueryContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshMock committed Nov 14, 2023
1 parent ab87bca commit 689a620
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion specification/enrich/_types/Policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/

import { Field, Fields, Indices, Name } from '@_types/common'
import { QueryContainer } from '@_types/query_dsl/abstractions'
import { SingleKeyDictionary } from '@spec_utils/Dictionary'

export class Summary {
Expand All @@ -34,7 +35,7 @@ export class Policy {
enrich_fields: Fields
indices: Indices
match_field: Field
query?: string
query?: QueryContainer | QueryContainer[]
name?: Name
elasticsearch_version?: string
}

0 comments on commit 689a620

Please sign in to comment.