Skip to content

Commit

Permalink
Switch from string[] to NodeIds
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed Nov 12, 2024
1 parent 431bc7c commit 33bc1c0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
5 changes: 1 addition & 4 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 4 additions & 7 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions specification/tasks/list/ListTasksRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import { GroupBy } from '@tasks/_types/GroupBy'
import { RequestBase } from '@_types/Base'
import { Id } from '@_types/common'
import { Id, NodeIds } from '@_types/common'
import { Duration } from '@_types/Time'

/**
Expand Down Expand Up @@ -48,7 +48,7 @@ export interface Request extends RequestBase {
/**
* Comma-separated list of node IDs or names used to limit returned information.
*/
nodes?: string[]
nodes?: NodeIds
/**
* Parent task ID used to limit returned information. To return all tasks, omit this parameter or use a value of `-1`.
*/
Expand Down

0 comments on commit 33bc1c0

Please sign in to comment.