Composition / foldkit-builder
Message
const · packages/builder/src/index.ts:197
const Message: MessageUnion<{ readonly Selected: { readonly id: Schema.brand<Schema.NonEmptyString, "@foldkit-composition/NodeId">; }; readonly Deselected: {}; 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 parent: Schema.brand<Schema.NonEmptyString, "@foldkit-composition/NodeId">; readonly region: Schema.String; readonly index: Schema.Int; }>]>; }; readonly CopyAsked: { readonly id: Schema.brand<Schema.NonEmptyString, …;Its type
type Message = typeof Message.Type