Primitives / foldkit-primitives/state

SelectionSetMessage

const · packages/primitives/src/state/selection.ts:9

const SelectionSetMessage: MessageUnion<{
  readonly Select: { readonly id: Schema.String }
  readonly Deselect: { readonly id: Schema.String }
  readonly Toggle: { readonly id: Schema.String }
  readonly ReplaceAll: { readonly ids: Schema.$Array<Schema.String> }
  readonly Clear: {}
}>

Its type

type SelectionSetMessage = typeof SelectionSetMessage.Type