feat(G): G-RUN/G-CTX/G-WAIT/G-HTTP/G-MAIL/G-CAL/G-DMS/G-SEARCH/G-AGENT/G-CRM/G-EVT/G-WEB — Durable WorkflowRun, 10 step handlers, resume/wait/lock/retry, SSRF protection, frontend step editor
This commit is contained in:
@@ -11,9 +11,23 @@ import type { PaginatedResponse } from './types';
|
||||
|
||||
// ── Types ──
|
||||
|
||||
export type WorkflowStepType =
|
||||
| 'action'
|
||||
| 'approval'
|
||||
| 'notification'
|
||||
| 'condition'
|
||||
| 'wait'
|
||||
| 'http'
|
||||
| 'mail'
|
||||
| 'calendar'
|
||||
| 'dms'
|
||||
| 'search'
|
||||
| 'agent'
|
||||
| 'crm';
|
||||
|
||||
export interface WorkflowStep {
|
||||
name: string;
|
||||
type: 'action' | 'approval' | 'notification' | 'condition';
|
||||
type: WorkflowStepType;
|
||||
config: Record<string, unknown>;
|
||||
description?: string | null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user