Skip to content

Commit a37c526

Browse files
committed
PR feedback
1 parent e15f376 commit a37c526

File tree

3 files changed

+40
-33
lines changed

3 files changed

+40
-33
lines changed

output/schema/schema.json

Lines changed: 34 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/Stats.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,18 @@ export class ClusterStatistics {
3131
details?: Dictionary<ClusterAlias, ClusterDetails>
3232
}
3333

34-
enum ClusterSearchStatusEnum {
34+
enum ClusterSearchStatus {
3535
running = 0,
3636
successful = 1,
3737
partial = 2,
3838
skipped = 3,
3939
failed = 4
4040
}
4141

42-
property: ClusterSearchStatusEnum
43-
4442
export class ClusterDetails {
45-
status: ClusterSearchStatusEnum
43+
status: ClusterSearchStatus
4644
indices: string
47-
took?: long
45+
took?: DurationValue<UnitMillis>
4846
timed_out: boolean
4947
_shards?: ShardStatistics
5048
failures?: ShardFailure[]

0 commit comments

Comments
 (0)