Skip to content

Commit 7f06c2f

Browse files
committed
biome fixes
1 parent a35b641 commit 7f06c2f

2 files changed

Lines changed: 118 additions & 118 deletions

File tree

apps/backend-services/src/workflow/graph-workflow-types.ts

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -5,75 +5,75 @@
55
* Execution/workflow I/O types below are app-specific.
66
*/
77
export type {
8-
ActivityNode,
9-
CancelSignal,
10-
ChildWorkflowNode,
11-
ComparisonExpression,
12-
ConditionExpression,
13-
CtxDeclaration,
14-
ErrorPolicy,
15-
ExposedParam,
16-
GraphEdge,
17-
GraphMetadata,
18-
GraphNode,
19-
GraphNodeBase,
20-
GraphValidationError,
21-
GraphWorkflowConfig,
22-
GraphWorkflowProgress,
23-
GraphWorkflowStatus,
24-
HumanGateNode,
25-
JoinNode,
26-
ListMembershipExpression,
27-
LogicalExpression,
28-
MapNode,
29-
NodeGroup,
30-
NodeStatus,
31-
NodeStatusValue,
32-
NodeType,
33-
NotExpression,
34-
NullCheckExpression,
35-
PollUntilNode,
36-
PortBinding,
37-
RetryPolicy,
38-
SwitchCase,
39-
SwitchNode,
40-
TimeoutPolicy,
41-
ValueRef,
8+
ActivityNode,
9+
CancelSignal,
10+
ChildWorkflowNode,
11+
ComparisonExpression,
12+
ConditionExpression,
13+
CtxDeclaration,
14+
ErrorPolicy,
15+
ExposedParam,
16+
GraphEdge,
17+
GraphMetadata,
18+
GraphNode,
19+
GraphNodeBase,
20+
GraphValidationError,
21+
GraphWorkflowConfig,
22+
GraphWorkflowProgress,
23+
GraphWorkflowStatus,
24+
HumanGateNode,
25+
JoinNode,
26+
ListMembershipExpression,
27+
LogicalExpression,
28+
MapNode,
29+
NodeGroup,
30+
NodeStatus,
31+
NodeStatusValue,
32+
NodeType,
33+
NotExpression,
34+
NullCheckExpression,
35+
PollUntilNode,
36+
PortBinding,
37+
RetryPolicy,
38+
SwitchCase,
39+
SwitchNode,
40+
TimeoutPolicy,
41+
ValueRef,
4242
} from "@ai-di/graph-workflow";
4343

4444
export { GRAPH_RUNNER_VERSION } from "@ai-di/graph-workflow";
4545

4646
export interface OcrPayloadRef {
47-
documentId: string;
48-
blobPath: string;
49-
storage: "blob";
50-
byteLength?: number;
51-
pageCount?: number;
52-
status?: string;
47+
documentId: string;
48+
blobPath: string;
49+
storage: "blob";
50+
byteLength?: number;
51+
pageCount?: number;
52+
status?: string;
5353
}
5454

5555
export interface GraphWorkflowInput {
56-
workflowVersionId: string;
57-
configHash: string;
58-
initialCtx: Record<string, unknown>;
59-
runnerVersion: string;
60-
parentWorkflowId?: string;
61-
requestId?: string;
62-
groupId?: string | null;
63-
/** Exposed-param overrides merged when loading graph config in the worker. */
64-
workflowConfigOverrides?: Record<string, unknown>;
56+
workflowVersionId: string;
57+
configHash: string;
58+
initialCtx: Record<string, unknown>;
59+
runnerVersion: string;
60+
parentWorkflowId?: string;
61+
requestId?: string;
62+
groupId?: string | null;
63+
/** Exposed-param overrides merged when loading graph config in the worker. */
64+
workflowConfigOverrides?: Record<string, unknown>;
6565
}
6666

6767
export interface GraphWorkflowResult {
68-
status: "completed" | "failed" | "cancelled";
69-
completedNodes: string[];
70-
documentId?: string;
71-
refs?: {
72-
ocrResponseRef?: OcrPayloadRef;
73-
ocrResultRef?: OcrPayloadRef;
74-
cleanedResultRef?: OcrPayloadRef;
75-
};
76-
failedNodeId?: string;
77-
outputPaths?: string[];
78-
error?: string;
68+
status: "completed" | "failed" | "cancelled";
69+
completedNodes: string[];
70+
documentId?: string;
71+
refs?: {
72+
ocrResponseRef?: OcrPayloadRef;
73+
ocrResultRef?: OcrPayloadRef;
74+
cleanedResultRef?: OcrPayloadRef;
75+
};
76+
failedNodeId?: string;
77+
outputPaths?: string[];
78+
error?: string;
7979
}

apps/temporal/src/graph-workflow-types.ts

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -8,74 +8,74 @@ import type { GraphWorkflowConfig } from "@ai-di/graph-workflow";
88
import type { OcrPayloadRef } from "./ocr-payload-ref-types";
99

1010
export type {
11-
ActivityNode,
12-
CancelSignal,
13-
ChildWorkflowNode,
14-
ComparisonExpression,
15-
ConditionExpression,
16-
CtxDeclaration,
17-
ErrorPolicy,
18-
ExposedParam,
19-
GraphEdge,
20-
GraphMetadata,
21-
GraphNode,
22-
GraphNodeBase,
23-
GraphValidationError,
24-
GraphWorkflowConfig,
25-
GraphWorkflowProgress,
26-
GraphWorkflowStatus,
27-
HumanGateNode,
28-
JoinNode,
29-
ListMembershipExpression,
30-
LogicalExpression,
31-
MapNode,
32-
NodeGroup,
33-
NodeStatus,
34-
NodeStatusValue,
35-
NodeType,
36-
NotExpression,
37-
NullCheckExpression,
38-
PollUntilNode,
39-
PortBinding,
40-
RetryPolicy,
41-
SwitchCase,
42-
SwitchNode,
43-
TimeoutPolicy,
44-
ValueRef,
11+
ActivityNode,
12+
CancelSignal,
13+
ChildWorkflowNode,
14+
ComparisonExpression,
15+
ConditionExpression,
16+
CtxDeclaration,
17+
ErrorPolicy,
18+
ExposedParam,
19+
GraphEdge,
20+
GraphMetadata,
21+
GraphNode,
22+
GraphNodeBase,
23+
GraphValidationError,
24+
GraphWorkflowConfig,
25+
GraphWorkflowProgress,
26+
GraphWorkflowStatus,
27+
HumanGateNode,
28+
JoinNode,
29+
ListMembershipExpression,
30+
LogicalExpression,
31+
MapNode,
32+
NodeGroup,
33+
NodeStatus,
34+
NodeStatusValue,
35+
NodeType,
36+
NotExpression,
37+
NullCheckExpression,
38+
PollUntilNode,
39+
PortBinding,
40+
RetryPolicy,
41+
SwitchCase,
42+
SwitchNode,
43+
TimeoutPolicy,
44+
ValueRef,
4545
} from "@ai-di/graph-workflow";
4646

4747
export { GRAPH_RUNNER_VERSION } from "@ai-di/graph-workflow";
4848

4949
export interface GraphWorkflowInput {
50-
/** WorkflowVersion.id, WorkflowLineage.id, or WorkflowLineage.name (see getWorkflowGraphConfig). */
51-
workflowVersionId: string;
52-
configHash: string;
53-
initialCtx: Record<string, unknown>;
54-
runnerVersion: string;
55-
parentWorkflowId?: string;
56-
/** Correlation ID from the API request; for cross-service tracing. */
57-
requestId?: string;
58-
/** The group_id of the document/workflow owner; auto-injected into activity inputs as `groupId`. */
59-
groupId?: string | null;
60-
/** Exposed-param overrides merged at load time (benchmark / ground truth). */
61-
workflowConfigOverrides?: Record<string, unknown>;
50+
/** WorkflowVersion.id, WorkflowLineage.id, or WorkflowLineage.name (see getWorkflowGraphConfig). */
51+
workflowVersionId: string;
52+
configHash: string;
53+
initialCtx: Record<string, unknown>;
54+
runnerVersion: string;
55+
parentWorkflowId?: string;
56+
/** Correlation ID from the API request; for cross-service tracing. */
57+
requestId?: string;
58+
/** The group_id of the document/workflow owner; auto-injected into activity inputs as `groupId`. */
59+
groupId?: string | null;
60+
/** Exposed-param overrides merged at load time (benchmark / ground truth). */
61+
workflowConfigOverrides?: Record<string, unknown>;
6262
}
6363

6464
/** Graph config loaded inside graphWorkflow (not in Temporal start args). */
6565
export interface GraphWorkflowExecutionInput extends GraphWorkflowInput {
66-
graph: GraphWorkflowConfig;
66+
graph: GraphWorkflowConfig;
6767
}
6868

6969
export interface GraphWorkflowResult {
70-
status: "completed" | "failed" | "cancelled";
71-
completedNodes: string[];
72-
documentId?: string;
73-
refs?: {
74-
ocrResponseRef?: OcrPayloadRef;
75-
ocrResultRef?: OcrPayloadRef;
76-
cleanedResultRef?: OcrPayloadRef;
77-
};
78-
failedNodeId?: string;
79-
outputPaths?: string[];
80-
error?: string;
70+
status: "completed" | "failed" | "cancelled";
71+
completedNodes: string[];
72+
documentId?: string;
73+
refs?: {
74+
ocrResponseRef?: OcrPayloadRef;
75+
ocrResultRef?: OcrPayloadRef;
76+
cleanedResultRef?: OcrPayloadRef;
77+
};
78+
failedNodeId?: string;
79+
outputPaths?: string[];
80+
error?: string;
8181
}

0 commit comments

Comments
 (0)