Skip to content

Commit 45b93f8

Browse files
authored
fix reindex validation (#5417)
1 parent aa3c923 commit 45b93f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specification/_global/reindex/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
*/
1919

2020
import {
21-
Fields,
2221
IndexName,
2322
Indices,
2423
OpType,
@@ -34,6 +33,7 @@ import { QueryContainer } from '@_types/query_dsl/abstractions'
3433
import { SlicedScroll } from '@_types/SlicedScroll'
3534
import { Sort } from '@_types/sort'
3635
import { Duration } from '@_types/Time'
36+
import { SourceConfig } from '@global/search/_types/SourceFilter'
3737
import { Dictionary } from '@spec_utils/Dictionary'
3838

3939
export class Destination {
@@ -105,7 +105,7 @@ export class Source {
105105
* Set it to a list to reindex select fields.
106106
* @server_default true
107107
* @codegen_name source_fields */
108-
_source?: Fields
108+
_source?: SourceConfig
109109
runtime_mappings?: RuntimeFields
110110
}
111111

0 commit comments

Comments
 (0)