Surface / foldkit-surface/declared

SuppliedStep

type · packages/surface/src/declared.ts:55

type SuppliedStep<Transitions, Message> = {
  readonly [K in SuppliedTag<Transitions>]: {
    readonly message: Extract<
      Message,
      {
        readonly _tag: K
      }
    >
    readonly supplied: SuppliedOf<Transitions[K]>
  }
}[SuppliedTag<Transitions>]

One step's Message with the values supply made for it, as record receives it and replay takes it.