Skip to content

Commit af63991

Browse files
committed
chore: sync workflow data type changes
1 parent fe6e097 commit af63991

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/__tests__/fixtures.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,6 @@ export const mockAPIWorkflowResponse: APIWorkflowItem[] = [{
127127
description: 'Test workflow description',
128128
isEnabled: true,
129129
isRequiredAdditionalData: false,
130-
operations: null
130+
operations: null,
131+
schema: null
131132
}]

src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ export type APICheckItem = {
143143

144144
/**
145145
* Workflow Operation Schema
146+
* @TODO: Move or reuse with bulk-import endpoint is created.
146147
*/
147148
interface WorkflowOperationItem {
148149
id: string;
@@ -158,6 +159,7 @@ export interface APIWorkflowItem {
158159
description: string;
159160
isEnabled: boolean;
160161
isRequiredAdditionalData: boolean;
162+
schema: string | null;
161163
operations: WorkflowOperationItem[] | null;
162164
}
163165

0 commit comments

Comments
 (0)