Skip to main content

Type Alias: WorkflowRevision

WorkflowRevision = Omit<GeneratedWorkflowRevisionResponse, "abilities" | "eventRules"> & object

Defined in: packages/sdk/src/types/task-types.ts:192

One executable workflow revision — the graph the editor binds to. Pure revision facts plus workflowId / workflowUuid / workflowName backrefs and, where loaded, the graph collections + the caller's permission mask. Root facts (name/description/owner/archived/defaults) live on Workflow. Client Ability / EventRuleResponse shapes replace the generated ability/event-rule types.

Type Declaration

abilities?

optional abilities: Ability[]

eventRules?

optional eventRules: EventRuleResponse[]