Composition / foldkit-builder

Model

const · packages/builder/src/index.ts:99

const Model: Schema.Struct<{ readonly page: Schema.Struct<{ readonly past: Schema.$Array<Schema.Codec<{ readonly format: 1; readonly roots: readonly (string & Brand<"@foldkit-composition/NodeId">)[]; readonly nodes: { readonly [x: string & Brand<"@foldkit-composition/NodeId">]: { readonly block: string; readonly props: { readonly [x: string]: Schema.Json; }; readonly regions: { readonly [x: string]: readonly (string & Brand<"@foldkit-composition/NodeId">)[]; }; readonly appearance?: Schema.Json | undefined; readonly actions?: { readonly [x: string]: Schema.Json; } | undefined; readonly when?: Schema.Json | undefined; }; }; }, unknown, never, never>>; readonly present: Schema.Codec<{ readonly format: 1; readonly roots: readonly (string & Brand<"@foldkit-composition/NodeId">)[]; readonly nodes: { readonly [x: string & Brand<"@foldkit-composition/NodeId">]: { readonly block: string; readonly props: { readonly [x: string]: Schema.Json; }; readonly regions: { readonly [x: string]: readonly (string & Brand<"@foldkit-composition/NodeId">)[]; }; readonly appearance?: Schema.Json | undefined; readonly actions?: { readonly [x: string]: Schema.Json; } | undefined; readonly when?: Schema.Json | undefined; }; }; }, unknown, never, never>; readonly future: Schema.$Array<Schema.Codec<{ readonly format: 1; readonly roots: readonly (string & Brand<"@foldkit-composition/NodeId">)[]; readonly nodes: { readonly [x: string & Brand<"@foldkit-composition/NodeId">]: { readonly block: string; readonly props: { re …;

Its type

type Model = typeof Model.Type