日本語
@eightkk/vue-weave / core / WeaveSnapshotRegistry
Interface: WeaveSnapshotRegistry
Defined in: src/core/snapshot.ts:402
Application-side names that a snapshot refers to. Functions are never stored in JSON.
Properties
codecs?
optionalcodecs?: readonlySnapshotCodec<any>[]
Defined in: src/core/snapshot.ts:403
columns?
optionalcolumns?:Readonly<Record<string,SnapshotColumnDefinition>>
Defined in: src/core/snapshot.ts:406
Column functions by column ID (or registryId). Columns not named by the snapshot are appended, visible.
comparators?
optionalcomparators?:Readonly<Record<string, (a,b) =>number>>
Defined in: src/core/snapshot.ts:409
editors?
optionaleditors?:Readonly<Record<string,unknown>>
Defined in: src/core/snapshot.ts:407
layouts?
optionallayouts?:Readonly<Record<string,SnapshotLayoutFactory>>
Defined in: src/core/snapshot.ts:404
onMissing?
optionalonMissing?:"fallback"|"fail"
Defined in: src/core/snapshot.ts:415
What to do when a layout, column, editor, renderer or comparator name is not registered. 'fail' (the default) fails the restore. 'fallback' keeps a warning and drops the item, so the default display is used. A missing codec always fails.
renderers?
optionalrenderers?:Readonly<Record<string,unknown>>
Defined in: src/core/snapshot.ts:408