Documentation / @super-line/server / CollectionRuntimeConfig
Interface: CollectionRuntimeConfig
Defined in: collections/types.ts:46
What a Collection is: the backends behind it and the contract-declared shape of what they hold.
Properties
checkReferences
checkReferences:
boolean
Defined in: collections/types.ts:59
Opt-in advisory foreign-key checking on writes (no cascades).
crdtStore?
optionalcrdtStore?:CrdtCollectionStore
Defined in: collections/types.ts:50
The CRDT document backend. Separate by construction: a CRDT doc never joins a row batch.
defs
defs:
Record<string,CollectionDef>
Defined in: collections/types.ts:52
Contract-declared collections, both families, keyed by name.
policies
policies:
Record<string,unknown>
Defined in: collections/types.ts:57
Row + CRDT policies keyed by collection name. One map, two value shapes — the contract's crdt key decides which, and CollectionRuntimeConfig.defs is the discriminator.
store?
optionalstore?:CollectionStore
Defined in: collections/types.ts:48
The single row backend serving every row collection (one tx domain → atomic cross-collection batches).