Line

ui/client/features/workflows/services/WorkflowEditApi

Cockpit client (features), v0.9. Source: ui/client/features/workflows/services/WorkflowEditApi.tsx.

Type Aliases#

WorkflowEditResponse#

WorkflowEditResponse = { after: string; before: string; contentHash: string; ok: true; } | WorkflowFileMachines & object | { error: string; ok: false; violations?: object[]; }

Defined in: ui/client/features/workflows/services/WorkflowEditApi.tsx:7

Functions#

postWorkflowEdit()#

postWorkflowEdit(body): Promise<WorkflowEditResponse>

Defined in: ui/client/features/workflows/services/WorkflowEditApi.tsx:12

Parameters#

body

Record<string, unknown>

Returns#

Promise<WorkflowEditResponse>