Files
mesh-contracts/ts/seats/meshbroker/index.js
T
jschoubben a7ab33028f Merge origin/main (#5): mesh-broker's Binding is the wire form; restore-kept and snapshot-kept taken out, the binding names its objects
The conflicts in mesh-broker's seat.json and fixtures took origin/main's Binding (list, show and orphans answer each
binding) and the objects field of C8; C8's snapshot-kept, restore-kept, KeptPoint and Aside are not carried over as G
section 555 moves them to the seat mesh-recovery, which mesh-broker does not gain. The generated Go and TypeScript of
mesh-broker are written again by seatgen.

Builds: design 47 G §399, §513, §555

Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ
2026-11-11 14:40:11 +01:00

50 lines
1.5 KiB
JavaScript

// Code generated by seatgen from the seat definitions; DO NOT EDIT.
// The contract of the seat "mesh-broker", defined whole (seats/mesh-broker/seat.json): The mesh's bus, and the bus state modules ask of it in requires (design 25 § 12). create, apply, recreate and drop are granted to the bus module's own credential alone.
export const seat = "mesh-broker";
export const verbs = {
list: "list",
show: "show",
check: "check",
orphans: "orphans",
create: "create",
apply: "apply",
recreate: "recreate",
drop: "drop",
};
export const events = {
created: "created",
refused: "refused",
drifted: "drifted",
driftCleared: "drift-cleared",
full: "full",
fullCleared: "full-cleared",
orphaned: "orphaned",
recreated: "recreated",
dropped: "dropped",
};
export const family = { name: "mesh-broker.events", maxAgeDays: 7 };
export const createdSubject = "mesh.seat.mesh-broker.event.created";
export const refusedSubject = "mesh.seat.mesh-broker.event.refused";
export const driftedSubject = "mesh.seat.mesh-broker.event.drifted";
export const driftClearedSubject = "mesh.seat.mesh-broker.event.drift-cleared";
export const fullSubject = "mesh.seat.mesh-broker.event.full";
export const fullClearedSubject = "mesh.seat.mesh-broker.event.full-cleared";
export const orphanedSubject = "mesh.seat.mesh-broker.event.orphaned";
export const recreatedSubject = "mesh.seat.mesh-broker.event.recreated";
export const droppedSubject = "mesh.seat.mesh-broker.event.dropped";