Skip to content

Type Alias: ControlPlaneHooks

Generated from SDK v1 (protocol 1) at source revision 97c6bb1. Never edit by hand; run npm run generate:reference.

@muoto/application


ControlPlaneHooks = object

Defined in: sdk/react.ts:28

useAnswerInteraction: (interactionId, answer) => ControlPlaneAnswerResult | undefined

Defined in: sdk/react.ts:38

string

ControlPlaneAnswer

ControlPlaneAnswerResult | undefined


useArtifacts: (workItemId) => readonly ControlPlaneArtifact[] | undefined

Defined in: sdk/react.ts:35

string

readonly ControlPlaneArtifact[] | undefined


useBoard: () => readonly ControlPlaneBoardItem[] | undefined

Defined in: sdk/react.ts:29

readonly ControlPlaneBoardItem[] | undefined


useCommand: (command) => ControlPlaneCommandResult | undefined

Defined in: sdk/react.ts:37

ControlPlaneCommand

ControlPlaneCommandResult | undefined


useEvents: (afterSequence?) => readonly ControlPlaneEvent[] | undefined

Defined in: sdk/react.ts:33

number

readonly ControlPlaneEvent[] | undefined


useEventStream: (afterSequence?) => readonly ControlPlaneEvent[]

Defined in: sdk/react.ts:34

number

readonly ControlPlaneEvent[]


useInteractions: () => readonly ControlPlaneInteraction[] | undefined

Defined in: sdk/react.ts:32

readonly ControlPlaneInteraction[] | undefined


useOpenInteractions: () => readonly ControlPlaneInteraction[] | undefined

Defined in: sdk/react.ts:31

readonly ControlPlaneInteraction[] | undefined


useProjection: <T>(events, initial, reduce) => T

Defined in: sdk/react.ts:42

T

readonly ControlPlaneEvent[]

T

(state, event) => T

T


useRevisions: () => readonly ControlPlaneRevision[] | undefined

Defined in: sdk/react.ts:36

readonly ControlPlaneRevision[] | undefined


useTask: (workItemId) => ControlPlaneTask | undefined

Defined in: sdk/react.ts:30

string

ControlPlaneTask | undefined