Skip to content

Documentation / @super-line/core / CollectionInfo

Interface: CollectionInfo

Defined in: packages/core/src/inspector.ts:97

A declared collection — what listCollections returns, for the Control Center schema graph. references are the advisory foreign keys (graph edges); schema is best-effort JSON Schema of the row (node fields), omitted when no converter is available.

Properties

crdt

crdt: boolean

Defined in: packages/core/src/inspector.ts:103

True for CRDT document collections — they're id-queryable only (no schema-field filters), so the CC degrades the filter/sort UI.


key

key: string

Defined in: packages/core/src/inspector.ts:99


name

name: string

Defined in: packages/core/src/inspector.ts:98


references

references: Record<string, string>

Defined in: packages/core/src/inspector.ts:100


schema?

optional schema?: unknown

Defined in: packages/core/src/inspector.ts:101

Released under the MIT License.