Skip to content

Commit 31d1418

Browse files
committed
updated discovery node class
1 parent c5873df commit 31d1418

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

specification/ml/_types/DiscoveryNode.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,17 @@
2020
import { Dictionary } from '@spec_utils/Dictionary'
2121
import { Id, Name } from '@_types/common'
2222
import { TransportAddress } from '@_types/Networking'
23+
import { integer } from '@_types/Numeric'
24+
import { VersionString } from '../../../output/typescript/types'
2325

2426
export class DiscoveryNode {
25-
attributes: Dictionary<string, string>
27+
name?: Name
2628
ephemeral_id: Id
27-
id: Id
28-
name: Name
2929
transport_address: TransportAddress
30+
external_id?: string
31+
attributes?: Dictionary<string, string>
32+
roles: string[]
33+
version?: VersionString
34+
min_index_version?: integer
35+
max_index_version?: integer
3036
}

0 commit comments

Comments
 (0)