Composition / foldkit-builder

Message

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

const Message: MessageUnion<{ readonly Selected: { readonly id: Schema.brand<Schema.NonEmptyString, "@foldkit-composition/NodeId">; }; readonly Deselected: {}; readonly RowPressed: { readonly id: Schema.brand<Schema.NonEmptyString, "@foldkit-composition/NodeId">; }; readonly RowToggled: { readonly id: Schema.brand<Schema.NonEmptyString, "@foldkit-composition/NodeId">; }; readonly Hovered: { readonly id: Schema.brand<Schema.NonEmptyString, "@foldkit-composition/NodeId">; }; readonly Unhovered: {}; readonly Applied: { readonly op: Schema.Codec<Operation, unknown, never, never>; }; readonly InsertAsked: { readonly block: Schema.String; readonly at: Schema.Union<readonly [Schema.TaggedStruct<"Root", { readonly index: Schema.Int; }>, Schema.TaggedStruct<"Region", { readonly parent: Schema.brand<Schema.NonEmptyString, "@foldkit-composition/NodeId">; readonly region: Schema.String; readonly index: Schema.Int; }>]>; }; readonly DuplicateAsked: { readonly id: Schema.brand<Schema.NonEmptyString, "@foldkit-composition/NodeId">; readonly at: Schema.Union<readonly [Schema.TaggedStruct<"Root", { readonly index: Schema.Int; }>, Schema.TaggedStruct<"Region", { readonly parent: Schema.brand<Schema.NonEmptyString, "@foldkit-composition/NodeId">; readonly region: Schema.String; readonly index: Schema.Int; }>]>; }; readonly PatternAsked: { readonly pattern: Schema.String; readonly at: Schema.Union<readonly [Schema.TaggedStruct<"Root", { readonly index: Schema.Int; }>, Schema.TaggedStruct<"Region", { readonly p …;

Its type

type Message = typeof Message.Type