Skip to content

Commit a275025

Browse files
Use IndexSettings in IndicesPutTemplateRequest (#2581) (#2583)
(cherry picked from commit bf04ec2) Co-authored-by: Florian Bernd <[email protected]>
1 parent 7c1a223 commit a275025

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specification/indices/put_template/IndicesPutTemplateRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919

2020
import { Alias } from '@indices/_types/Alias'
2121
import { Dictionary } from '@spec_utils/Dictionary'
22-
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
2322
import { RequestBase } from '@_types/Base'
2423
import { IndexName, Name, VersionNumber } from '@_types/common'
2524
import { TypeMapping } from '@_types/mapping/TypeMapping'
2625
import { integer } from '@_types/Numeric'
2726
import { Duration } from '@_types/Time'
27+
import { IndexSettings } from '@indices/_types/IndexSettings'
2828

2929
/**
3030
* Creates or updates an index template.
@@ -85,7 +85,7 @@ export interface Request extends RequestBase {
8585
/**
8686
* Configuration options for the index.
8787
*/
88-
settings?: Dictionary<string, UserDefinedValue>
88+
settings?: IndexSettings
8989
/**
9090
* Version number used to manage index templates externally. This number
9191
* is not automatically generated by Elasticsearch.

0 commit comments

Comments
 (0)