Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32,820 changes: 17,751 additions & 15,069 deletions output/typescript/types.ts

Large diffs are not rendered by default.

264 changes: 230 additions & 34 deletions specification/cat/_types/CatBase.ts

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions specification/cat/aliases/CatAliasesRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import { ExpandWildcards, Names } from '@_types/common'
import { CatRequestBase } from '@cat/_types/CatBase'
import { CatAliasesColumns, CatRequestBase } from '@cat/_types/CatBase'

/**
* Get aliases.
Expand Down Expand Up @@ -50,9 +50,9 @@ export interface Request extends CatRequestBase {
}
query_parameters: {
/**
* List of columns to appear in the response. Supports simple wildcards.
* A comma-separated list of columns names to display. It supports simple wildcards.
*/
h?: Names
h?: CatAliasesColumns
/**
* List of columns that determine how the table should be sorted.
* Sorting defaults to ascending and can be changed by setting `:asc`
Expand Down
6 changes: 3 additions & 3 deletions specification/cat/allocation/CatAllocationRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import { Bytes, Names, NodeIds } from '@_types/common'
import { Duration } from '@_types/Time'
import { CatRequestBase } from '@cat/_types/CatBase'
import { CatAllocationColumns, CatRequestBase } from '@cat/_types/CatBase'

/**
* Get shard allocation information.
Expand Down Expand Up @@ -52,9 +52,9 @@ export interface Request extends CatRequestBase {
/** The unit used to display byte values. */
bytes?: Bytes
/**
* List of columns to appear in the response. Supports simple wildcards.
* A comma-separated list of columns names to display. It supports simple wildcards.
*/
h?: Names
h?: CatAllocationColumns
/**
* List of columns that determine how the table should be sorted.
* Sorting defaults to ascending and can be changed by setting `:asc`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import { Names } from '@_types/common'
import { Duration } from '@_types/Time'
import { CatRequestBase } from '@cat/_types/CatBase'
import { CatComponentColumns, CatRequestBase } from '@cat/_types/CatBase'

/**
* Get component templates.
Expand Down Expand Up @@ -55,9 +55,9 @@ export interface Request extends CatRequestBase {
}
query_parameters: {
/**
* List of columns to appear in the response. Supports simple wildcards.
* A comma-separated list of columns names to display. It supports simple wildcards.
*/
h?: Names
h?: CatComponentColumns
/**
* List of columns that determine how the table should be sorted.
* Sorting defaults to ascending and can be changed by setting `:asc`
Expand Down
6 changes: 3 additions & 3 deletions specification/cat/count/CatCountRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import { Indices, Names } from '@_types/common'
import { CatRequestBase } from '@cat/_types/CatBase'
import { CatCountColumns, CatRequestBase } from '@cat/_types/CatBase'

/**
* Get a document count.
Expand Down Expand Up @@ -55,9 +55,9 @@ export interface Request extends CatRequestBase {
}
query_parameters: {
/**
* List of columns to appear in the response. Supports simple wildcards.
* A comma-separated list of columns names to display. It supports simple wildcards.
*/
h?: Names
h?: CatCountColumns
/**
* List of columns that determine how the table should be sorted.
* Sorting defaults to ascending and can be changed by setting `:asc`
Expand Down
6 changes: 3 additions & 3 deletions specification/cat/fielddata/CatFielddataRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import { Bytes, Fields, Names } from '@_types/common'
import { CatRequestBase } from '@cat/_types/CatBase'
import { CatFieldDataColumns, CatRequestBase } from '@cat/_types/CatBase'

/**
* Get field data cache information.
Expand Down Expand Up @@ -57,9 +57,9 @@ export interface Request extends CatRequestBase {
/** Comma-separated list of fields used to limit returned information. */
fields?: Fields
/**
* List of columns to appear in the response. Supports simple wildcards.
* A comma-separated list of columns names to display. It supports simple wildcards.
*/
h?: Names
h?: CatFieldDataColumns
/**
* List of columns that determine how the table should be sorted.
* Sorting defaults to ascending and can be changed by setting `:asc`
Expand Down
6 changes: 3 additions & 3 deletions specification/cat/ml_jobs/CatJobsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import { Bytes, Id } from '@_types/common'
import { TimeUnit } from '@_types/Time'
import { CatAnonalyDetectorColumns, CatRequestBase } from '@cat/_types/CatBase'
import { CatAnomalyDetectorColumns, CatRequestBase } from '@cat/_types/CatBase'

/**
* Get anomaly detection jobs.
Expand Down Expand Up @@ -78,9 +78,9 @@ export interface Request extends CatRequestBase {
* Comma-separated list of column names to display.
* @server_default buckets.count,data.processed_records,forecasts.total,id,model.bytes,model.memory_status,state
*/
h?: CatAnonalyDetectorColumns
h?: CatAnomalyDetectorColumns
/** Comma-separated list of column names or column aliases used to sort the response. */
s?: CatAnonalyDetectorColumns
s?: CatAnomalyDetectorColumns
/**
* The unit used to display time values.
*/
Expand Down