export type LangGraphPayload = { checkpoint: string; errors: string[]; metadata: string; }; export type DuoWorkflowEvents = { nodes: LangGraphPayload[]; }; export type DuoWorkflowEventConnectionType = { duoWorkflowEvents: DuoWorkflowEvents; }; export type DuoWorkflowStatus = 'Not Started' | 'Planning' | 'Execution' | 'Completed' | 'Error'; export type ChannelValue = { status: DuoWorkflowStatus; }; export type DuoWorkflowCheckpoint = { ts: string; channel_values: ChannelValue; }; export type DuoWorkflowEventPayload = { checkpoint: DuoWorkflowCheckpoint; errors: string[]; metadata: string; }; export type DuoWorkflowInfo = { id: string; projectId: string; humanStatus: string; createdAt: string; updatedAt: string; }; export type WorkflowsNodeType = { node: DuoWorkflowInfo; }; export type WorkflowsFieldType = { edges: WorkflowsNodeType[]; }; export type WorkflowsPayload = { duoWorkflowWorkflows: WorkflowsFieldType; }; export type ProjectInfo = { id: string; fullPath: string; }; export type ProjectNodes = { nodes: ProjectInfo[]; }; export type ProjectsPayload = { projects: ProjectNodes; };