Skip to content

Commit

Permalink
Use IndexSettings in IndicesPutTemplateRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
flobernd committed May 27, 2024
1 parent b640bfb commit 2993943
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@

import { Alias } from '@indices/_types/Alias'
import { Dictionary } from '@spec_utils/Dictionary'
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
import { RequestBase } from '@_types/Base'
import { IndexName, Name, VersionNumber } from '@_types/common'
import { TypeMapping } from '@_types/mapping/TypeMapping'
import { integer } from '@_types/Numeric'
import { Duration } from '@_types/Time'
import { IndexSettings } from '@indices/_types/IndexSettings'

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

0 comments on commit 2993943

Please sign in to comment.