Skip to content

Commit

Permalink
priority is a long
Browse files Browse the repository at this point in the history
  • Loading branch information
l-trotta committed Apr 5, 2024
1 parent 3432a11 commit 5b916f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
VersionNumber
} from '@_types/common'
import { TypeMapping } from '@_types/mapping/TypeMapping'
import { integer } from '@_types/Numeric'
import { long } from '@_types/Numeric'
import { DataStreamLifecycle } from '@indices/_types/DataStreamLifecycle'
import { Duration } from '@_types/Time'

Expand Down Expand Up @@ -73,7 +73,7 @@ export interface Request extends RequestBase {
* If no priority is specified the template is treated as though it is of priority 0 (lowest priority).
* This number is not automatically generated by Elasticsearch.
*/
priority?: integer
priority?: long
/**
* Version number used to manage index templates externally.
* This number is not automatically generated by Elasticsearch.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { Indices, Metadata, Name, VersionNumber } from '@_types/common'
import { Duration } from '@_types/Time'
import { IndexTemplateMapping } from '@indices/put_index_template/IndicesPutIndexTemplateRequest'
import { DataStreamVisibility } from '@indices/_types/DataStream'
import { integer } from '@_types/Numeric'
import { long } from '@_types/Numeric'

/**
* Returns the index configuration that would be applied by a particular index template.
Expand Down Expand Up @@ -92,7 +92,7 @@ export interface Request extends RequestBase {
* If no priority is specified the template is treated as though it is of priority 0 (lowest priority).
* This number is not automatically generated by Elasticsearch.
*/
priority?: integer
priority?: long
/**
* Version number used to manage index templates externally.
* This number is not automatically generated by Elasticsearch.
Expand Down

0 comments on commit 5b916f8

Please sign in to comment.