C3 broker-form-2: the seat mesh-broker's form rises to 2 for ended-days, object, part and objects
Binding gains ended-days; Fill gains object, part and objects, whose items are the definition ObjectFill; rows read them back. Builds: design 47 H2 H-A-685 (1), H-A-687 (3) (4), H-A-634 (9), H-A-706 (DQ-41), H-A-717 (DQ-50)
This commit is contained in:
Vendored
+22
@@ -62,6 +62,8 @@ export declare const snapshotRestoredSubjectAll: "mesh.seat.mesh-broker.event.sn
|
||||
export interface Binding {
|
||||
/** a key-value bucket's name */
|
||||
"bucket"?: string;
|
||||
/** a ledger's whole number of days an ended record is kept, named only once the held state bucket, index buckets and snapshot store allow a lifetime; absent while none (design 47 H2, H-A-685 (1)) */
|
||||
"ended-days"?: number;
|
||||
/** a ledger's history stream */
|
||||
"history"?: string;
|
||||
/** a ledger's index buckets, by index name */
|
||||
@@ -111,6 +113,12 @@ export interface Fill {
|
||||
"cap": number;
|
||||
/** messages, keys or objects held */
|
||||
"count": number;
|
||||
/** the object this fill is of, the one judged by full and full-cleared (design 47 H2, H-A-634 (9), H-A-687 (3)); absent for an entry of one object */
|
||||
"object"?: string;
|
||||
/** show's fill only: one item per object of the entry, the entry's own count, bytes and cap being their sum (H-A-687 (3), H-A-706) */
|
||||
"objects"?: ObjectFill[];
|
||||
/** the part of a ledger the object is: history, state, index <name> or snapshot; absent for an entry of one object (H-A-687 (3)) */
|
||||
"part"?: string;
|
||||
}
|
||||
|
||||
/** one entry as the bus holds it */
|
||||
@@ -149,6 +157,20 @@ export interface Named {
|
||||
"module": string;
|
||||
}
|
||||
|
||||
/** the fill of one object of an entry (design 47 H2, H-A-687 (3), H-A-706, H-A-717 DQ-50) */
|
||||
export interface ObjectFill {
|
||||
/** bytes held */
|
||||
"bytes": number;
|
||||
/** its cap in bytes */
|
||||
"cap": number;
|
||||
/** messages, keys or objects held */
|
||||
"count": number;
|
||||
/** the object, by its name on the bus */
|
||||
"object": string;
|
||||
/** the part of a ledger the object is: history, state, index <name> or snapshot; absent for an entry of one object */
|
||||
"part"?: string;
|
||||
}
|
||||
|
||||
/** the body of every event of the seat */
|
||||
export interface Said {
|
||||
/** the settings asked */
|
||||
|
||||
Reference in New Issue
Block a user