Skip to content

Commit 9608833

Browse files
committed
feat(jsapi): add Raft group and traffic account metadata to cluster types
- Added additional fields to the ClusterInfo type. Signed-off-by: Alberto Ricart <[email protected]>
1 parent 68f9fd6 commit 9608833

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

jetstream/src/jsapi_types.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,26 @@ export type ClusterInfo = {
646646
* The members of the RAFT cluster
647647
*/
648648
replicas?: PeerInfo[];
649+
650+
/**
651+
* Name of the raft group managing the asset
652+
*/
653+
raft_group?: string;
654+
655+
/**
656+
* The ISO timestamp when the RAFT leader was elected.
657+
*/
658+
leader_since?: string;
659+
660+
/**
661+
* The account through which the cluster traffic flows through
662+
*/
663+
traffic_account?: string;
664+
665+
/**
666+
* True if the traffic_account is a system account
667+
*/
668+
system_account?: boolean;
649669
};
650670

651671
export type PeerInfo = {

0 commit comments

Comments
 (0)