@loopstack/contracts 0.23.1 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/dashboard.interface.d.ts +2 -2
- package/dist/api/dashboard.interface.d.ts.map +1 -1
- package/dist/api/file.interface.d.ts +2 -2
- package/dist/api/index.d.ts +1 -3
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +0 -2
- package/dist/api/index.js.map +1 -1
- package/dist/api/workflow.interface.d.ts +44 -7
- package/dist/api/workflow.interface.d.ts.map +1 -1
- package/dist/api/workspace.interface.d.ts +5 -5
- package/dist/enums/index.d.ts +0 -1
- package/dist/enums/index.d.ts.map +1 -1
- package/dist/enums/index.js +0 -1
- package/dist/enums/index.js.map +1 -1
- package/dist/enums/workflow-state.enum.d.ts +1 -0
- package/dist/enums/workflow-state.enum.d.ts.map +1 -1
- package/dist/enums/workflow-state.enum.js +1 -0
- package/dist/enums/workflow-state.enum.js.map +1 -1
- package/dist/schemas/document.schema.d.ts +12 -60
- package/dist/schemas/document.schema.d.ts.map +1 -1
- package/dist/schemas/index.d.ts +0 -1
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +0 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/main.schema.d.ts +13 -136
- package/dist/schemas/main.schema.d.ts.map +1 -1
- package/dist/schemas/main.schema.js +0 -3
- package/dist/schemas/main.schema.js.map +1 -1
- package/dist/schemas/startup.schema.d.ts +18 -18
- package/dist/schemas/startup.schema.d.ts.map +1 -1
- package/dist/schemas/startup.schema.js +6 -8
- package/dist/schemas/startup.schema.js.map +1 -1
- package/dist/schemas/tool-config.schema.d.ts +4 -20
- package/dist/schemas/tool-config.schema.d.ts.map +1 -1
- package/dist/schemas/transition-payload.schema.d.ts +2 -2
- package/dist/schemas/transition-payload.schema.js +2 -2
- package/dist/schemas/transition-payload.schema.js.map +1 -1
- package/dist/schemas/ui-form-element.schema.d.ts +2 -10
- package/dist/schemas/ui-form-element.schema.d.ts.map +1 -1
- package/dist/schemas/ui-form-element.schema.js +2 -10
- package/dist/schemas/ui-form-element.schema.js.map +1 -1
- package/dist/schemas/ui-form.schema.d.ts +9 -65
- package/dist/schemas/ui-form.schema.d.ts.map +1 -1
- package/dist/schemas/ui-form.schema.js +7 -30
- package/dist/schemas/ui-form.schema.js.map +1 -1
- package/dist/schemas/workflow-transition.schema.d.ts +2 -0
- package/dist/schemas/workflow-transition.schema.d.ts.map +1 -1
- package/dist/schemas/workflow-transition.schema.js +3 -0
- package/dist/schemas/workflow-transition.schema.js.map +1 -1
- package/dist/schemas/workflow.schema.d.ts +9 -40
- package/dist/schemas/workflow.schema.d.ts.map +1 -1
- package/dist/types/interfaces/client-message.interface.d.ts +0 -2
- package/dist/types/interfaces/client-message.interface.d.ts.map +1 -1
- package/dist/types/interfaces/document-item.interface.d.ts +1 -2
- package/dist/types/interfaces/document-item.interface.d.ts.map +1 -1
- package/dist/types/interfaces/index.d.ts +1 -2
- package/dist/types/interfaces/index.d.ts.map +1 -1
- package/dist/types/interfaces/index.js +1 -2
- package/dist/types/interfaces/index.js.map +1 -1
- package/dist/types/interfaces/workflow-config.interface.d.ts +10 -0
- package/dist/types/interfaces/workflow-config.interface.d.ts.map +1 -0
- package/dist/{api/pipeline.interface.js → types/interfaces/workflow-config.interface.js} +1 -1
- package/dist/types/interfaces/workflow-config.interface.js.map +1 -0
- package/dist/types/interfaces/workflow.interface.d.ts +7 -11
- package/dist/types/interfaces/workflow.interface.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +0 -2
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/index.js +0 -2
- package/dist/types/types/index.js.map +1 -1
- package/dist/types/types/startup.type.d.ts +2 -2
- package/dist/types/types/ui-form.type.d.ts +4 -3
- package/dist/types/types/ui-form.type.d.ts.map +1 -1
- package/dist/types/types/workflow-state.type.d.ts +1 -1
- package/dist/types/types/workflow-state.type.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/api/namespace.interface.d.ts +0 -21
- package/dist/api/namespace.interface.d.ts.map +0 -1
- package/dist/api/namespace.interface.js +0 -3
- package/dist/api/namespace.interface.js.map +0 -1
- package/dist/api/pipeline.interface.d.ts +0 -64
- package/dist/api/pipeline.interface.d.ts.map +0 -1
- package/dist/api/pipeline.interface.js.map +0 -1
- package/dist/enums/pipeline-state.d.ts +0 -9
- package/dist/enums/pipeline-state.d.ts.map +0 -1
- package/dist/enums/pipeline-state.js +0 -13
- package/dist/enums/pipeline-state.js.map +0 -1
- package/dist/schemas/pipeline.schema.d.ts +0 -168
- package/dist/schemas/pipeline.schema.d.ts.map +0 -1
- package/dist/schemas/pipeline.schema.js +0 -53
- package/dist/schemas/pipeline.schema.js.map +0 -1
- package/dist/types/interfaces/namespace-create.interface.d.ts +0 -11
- package/dist/types/interfaces/namespace-create.interface.d.ts.map +0 -1
- package/dist/types/interfaces/namespace-create.interface.js +0 -3
- package/dist/types/interfaces/namespace-create.interface.js.map +0 -1
- package/dist/types/interfaces/pipeline-config.interface.d.ts +0 -10
- package/dist/types/interfaces/pipeline-config.interface.d.ts.map +0 -1
- package/dist/types/interfaces/pipeline-config.interface.js +0 -3
- package/dist/types/interfaces/pipeline-config.interface.js.map +0 -1
- package/dist/types/types/pipeline-state.type.d.ts +0 -2
- package/dist/types/types/pipeline-state.type.d.ts.map +0 -1
- package/dist/types/types/pipeline-state.type.js +0 -3
- package/dist/types/types/pipeline-state.type.js.map +0 -1
- package/dist/types/types/pipeline.type.d.ts +0 -10
- package/dist/types/types/pipeline.type.d.ts.map +0 -1
- package/dist/types/types/pipeline.type.js +0 -3
- package/dist/types/types/pipeline.type.js.map +0 -1
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export * from './history-transition.interface.js';
|
|
2
|
-
export * from './namespace-create.interface.js';
|
|
3
2
|
export * from './transition-info.interface.js';
|
|
4
3
|
export * from './transition-payload.interface.js';
|
|
5
4
|
export * from './transition-metadata.interface.js';
|
|
6
5
|
export * from './document-item.interface.js';
|
|
7
6
|
export * from './workflow.interface.js';
|
|
8
7
|
export * from './client-message.interface.js';
|
|
9
|
-
export * from './
|
|
8
|
+
export * from './workflow-config.interface.js';
|
|
10
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC"}
|
|
@@ -15,12 +15,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./history-transition.interface.js"), exports);
|
|
18
|
-
__exportStar(require("./namespace-create.interface.js"), exports);
|
|
19
18
|
__exportStar(require("./transition-info.interface.js"), exports);
|
|
20
19
|
__exportStar(require("./transition-payload.interface.js"), exports);
|
|
21
20
|
__exportStar(require("./transition-metadata.interface.js"), exports);
|
|
22
21
|
__exportStar(require("./document-item.interface.js"), exports);
|
|
23
22
|
__exportStar(require("./workflow.interface.js"), exports);
|
|
24
23
|
__exportStar(require("./client-message.interface.js"), exports);
|
|
25
|
-
__exportStar(require("./
|
|
24
|
+
__exportStar(require("./workflow-config.interface.js"), exports);
|
|
26
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD;AAClD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD;AAClD,iEAA+C;AAC/C,oEAAkD;AAClD,qEAAmD;AACnD,+DAA6C;AAC7C,0DAAwC;AACxC,gEAA8C;AAC9C,iEAA+C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { JSONSchemaConfigType, UiFormType, WorkflowTransitionType } from '../types';
|
|
2
|
+
export interface WorkflowConfigInterface {
|
|
3
|
+
alias: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
schema?: JSONSchemaConfigType;
|
|
7
|
+
ui?: UiFormType;
|
|
8
|
+
transitions?: WorkflowTransitionType[];
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=workflow-config.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-config.interface.d.ts","sourceRoot":"","sources":["../../../src/types/interfaces/workflow-config.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEpF,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,WAAW,CAAC,EAAE,sBAAsB,EAAE,CAAC;CACxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-config.interface.js","sourceRoot":"","sources":["../../../src/types/interfaces/workflow-config.interface.ts"],"names":[],"mappings":""}
|
|
@@ -1,27 +1,23 @@
|
|
|
1
1
|
import { WorkflowState } from '../../enums';
|
|
2
|
-
import { JSONSchemaConfigType } from '../types/json-schema-config.type';
|
|
3
|
-
import { UiFormType } from '../types/ui-form.type';
|
|
4
2
|
import { WorkflowTransitionType } from '../types/workflow-transition.type';
|
|
5
|
-
import { HistoryTransition } from './history-transition.interface';
|
|
6
3
|
export interface WorkflowInterface {
|
|
7
4
|
id: string;
|
|
8
|
-
|
|
5
|
+
alias: string;
|
|
6
|
+
className: string | null;
|
|
9
7
|
title: string;
|
|
10
|
-
|
|
8
|
+
run: number;
|
|
11
9
|
labels: string[];
|
|
12
|
-
progress: number;
|
|
13
10
|
status: WorkflowState;
|
|
14
11
|
hasError: boolean;
|
|
15
12
|
errorMessage: string | null;
|
|
16
13
|
place: string;
|
|
17
14
|
availableTransitions: WorkflowTransitionType[] | null;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
args: any;
|
|
16
|
+
context: Record<string, any>;
|
|
17
|
+
callbackTransition: string | null;
|
|
21
18
|
createdAt: Date;
|
|
22
19
|
updatedAt: Date;
|
|
23
20
|
workspaceId: string;
|
|
24
|
-
|
|
25
|
-
namespaceId: string;
|
|
21
|
+
parentId: string | null;
|
|
26
22
|
}
|
|
27
23
|
//# sourceMappingURL=workflow.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.interface.d.ts","sourceRoot":"","sources":["../../../src/types/interfaces/workflow.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"workflow.interface.d.ts","sourceRoot":"","sources":["../../../src/types/interfaces/workflow.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE3E,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB,EAAE,sBAAsB,EAAE,GAAG,IAAI,CAAC;IACtD,IAAI,EAAE,GAAG,CAAC;IACV,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from './assignment.type.js';
|
|
2
2
|
export * from './document.type.js';
|
|
3
|
-
export * from './pipeline.type.js';
|
|
4
3
|
export * from './startup.type.js';
|
|
5
4
|
export * from './tool-call.type.js';
|
|
6
5
|
export * from './tool-config.type.js';
|
|
@@ -14,5 +13,4 @@ export * from './workspace.type.js';
|
|
|
14
13
|
export * from './json-schema-config.type.js';
|
|
15
14
|
export * from './main.type.js';
|
|
16
15
|
export * from './workflow-state.type.js';
|
|
17
|
-
export * from './pipeline-state.type.js';
|
|
18
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC"}
|
|
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./assignment.type.js"), exports);
|
|
18
18
|
__exportStar(require("./document.type.js"), exports);
|
|
19
|
-
__exportStar(require("./pipeline.type.js"), exports);
|
|
20
19
|
__exportStar(require("./startup.type.js"), exports);
|
|
21
20
|
__exportStar(require("./tool-call.type.js"), exports);
|
|
22
21
|
__exportStar(require("./tool-config.type.js"), exports);
|
|
@@ -30,5 +29,4 @@ __exportStar(require("./workspace.type.js"), exports);
|
|
|
30
29
|
__exportStar(require("./json-schema-config.type.js"), exports);
|
|
31
30
|
__exportStar(require("./main.type.js"), exports);
|
|
32
31
|
__exportStar(require("./workflow-state.type.js"), exports);
|
|
33
|
-
__exportStar(require("./pipeline-state.type.js"), exports);
|
|
34
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,qDAAmC;AACnC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,qDAAmC;AACnC,oDAAkC;AAClC,sDAAoC;AACpC,wDAAsC;AACtC,+DAA6C;AAC7C,oDAAkC;AAClC,uDAAqC;AACrC,0DAAwC;AACxC,qDAAmC;AACnC,gEAA8C;AAC9C,sDAAoC;AACpC,+DAA6C;AAC7C,iDAA+B;AAC/B,2DAAyC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
export type
|
|
2
|
+
import { RunWorkflowTaskSchema, ScheduledTaskSchema } from '../../schemas';
|
|
3
|
+
export type RunWorkflowTask = z.infer<typeof RunWorkflowTaskSchema>;
|
|
4
4
|
export type ScheduledTask = z.infer<typeof ScheduledTaskSchema>;
|
|
5
5
|
//# sourceMappingURL=startup.type.d.ts.map
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
export type UiFormButtonOptionsType = z.infer<typeof UiFormButtonOptionsSchema>;
|
|
4
|
-
export type UiFormButtonType = z.infer<typeof UiFormButtonSchema>;
|
|
2
|
+
import { UiFormActionSchema, UiFormSchema, UiWidgetSchema } from '../../schemas';
|
|
5
3
|
export type UiWidgetType = z.infer<typeof UiWidgetSchema>;
|
|
4
|
+
export type UiFormActionType = z.infer<typeof UiFormActionSchema>;
|
|
6
5
|
export type UiFormType = z.infer<typeof UiFormSchema>;
|
|
6
|
+
export type UiFormButtonOptionsType = UiFormActionType;
|
|
7
|
+
export type UiFormButtonType = UiWidgetType;
|
|
7
8
|
//# sourceMappingURL=ui-form.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-form.type.d.ts","sourceRoot":"","sources":["../../../src/types/types/ui-form.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ui-form.type.d.ts","sourceRoot":"","sources":["../../../src/types/types/ui-form.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEjF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAC1D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAClE,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAGtD,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type WorkflowStateType = 'pending' | 'running' | 'waiting' | 'completed' | 'failed' | 'canceled';
|
|
1
|
+
export type WorkflowStateType = 'pending' | 'running' | 'paused' | 'waiting' | 'completed' | 'failed' | 'canceled';
|
|
2
2
|
//# sourceMappingURL=workflow-state.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-state.type.d.ts","sourceRoot":"","sources":["../../../src/types/types/workflow-state.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"workflow-state.type.d.ts","sourceRoot":"","sources":["../../../src/types/types/workflow-state.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { SortByInterface } from './common.interface.js';
|
|
2
|
-
export interface NamespaceInterface {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
workspaceId: string;
|
|
6
|
-
pipelineId: string;
|
|
7
|
-
metadata: Record<string, any> | null;
|
|
8
|
-
parentId: string | null;
|
|
9
|
-
}
|
|
10
|
-
export interface NamespaceItemInterface {
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
metadata: Record<string, any> | null;
|
|
14
|
-
parentId: string | null;
|
|
15
|
-
}
|
|
16
|
-
export interface NamespaceFilterInterface {
|
|
17
|
-
workspaceId?: string;
|
|
18
|
-
pipelineId?: string;
|
|
19
|
-
}
|
|
20
|
-
export type NamespaceSortByInterface = SortByInterface;
|
|
21
|
-
//# sourceMappingURL=namespace.interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"namespace.interface.d.ts","sourceRoot":"","sources":["../../src/api/namespace.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IACrC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IACrC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"namespace.interface.js","sourceRoot":"","sources":["../../src/api/namespace.interface.ts"],"names":[],"mappings":""}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { PipelineState } from '../enums/pipeline-state.js';
|
|
2
|
-
import { SortByInterface } from './common.interface.js';
|
|
3
|
-
export interface PipelineContextInterface {
|
|
4
|
-
[key: string]: any;
|
|
5
|
-
}
|
|
6
|
-
export interface PipelineInterface {
|
|
7
|
-
id: string;
|
|
8
|
-
blockName: string;
|
|
9
|
-
title: string;
|
|
10
|
-
run: number;
|
|
11
|
-
labels: string[];
|
|
12
|
-
order: number;
|
|
13
|
-
status: PipelineState;
|
|
14
|
-
context: PipelineContextInterface;
|
|
15
|
-
schema: any;
|
|
16
|
-
ui: any;
|
|
17
|
-
createdAt: string;
|
|
18
|
-
updatedAt: string;
|
|
19
|
-
workspaceId: string;
|
|
20
|
-
parentId: string | null;
|
|
21
|
-
hasChildren: number;
|
|
22
|
-
}
|
|
23
|
-
export interface PipelineItemInterface {
|
|
24
|
-
id: string;
|
|
25
|
-
blockName: string;
|
|
26
|
-
title: string;
|
|
27
|
-
run: number;
|
|
28
|
-
labels: string[];
|
|
29
|
-
order: number;
|
|
30
|
-
status: PipelineState;
|
|
31
|
-
createdAt: string;
|
|
32
|
-
updatedAt: string;
|
|
33
|
-
workspaceId: string;
|
|
34
|
-
parentId: string | null;
|
|
35
|
-
hasChildren: number;
|
|
36
|
-
}
|
|
37
|
-
export interface PipelineCreateInterface {
|
|
38
|
-
blockName: string;
|
|
39
|
-
title: string | null;
|
|
40
|
-
labels?: string[];
|
|
41
|
-
workspaceId: string;
|
|
42
|
-
transition: string | null;
|
|
43
|
-
args: any;
|
|
44
|
-
context?: Record<string, any>;
|
|
45
|
-
}
|
|
46
|
-
export interface PipelineUpdateInterface {
|
|
47
|
-
title?: string;
|
|
48
|
-
labels?: string[];
|
|
49
|
-
}
|
|
50
|
-
export interface PipelineSourceInterface {
|
|
51
|
-
name: string;
|
|
52
|
-
filePath: string | null;
|
|
53
|
-
raw: string | null;
|
|
54
|
-
}
|
|
55
|
-
export interface PipelineFilterInterface {
|
|
56
|
-
workspaceId?: string;
|
|
57
|
-
parentId?: string | null;
|
|
58
|
-
status?: string;
|
|
59
|
-
}
|
|
60
|
-
export type PipelineSortByInterface = SortByInterface;
|
|
61
|
-
export interface RunPipelinePayloadInterface {
|
|
62
|
-
transition?: any;
|
|
63
|
-
}
|
|
64
|
-
//# sourceMappingURL=pipeline.interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.interface.d.ts","sourceRoot":"","sources":["../../src/api/pipeline.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,WAAW,wBAAwB;IACvC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,aAAa,CAAC;IACtB,OAAO,EAAE,wBAAwB,CAAC;IAClC,MAAM,EAAE,GAAG,CAAC;IACZ,EAAE,EAAE,GAAG,CAAC;IACR,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,aAAa,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,IAAI,EAAE,GAAG,CAAC;IACV,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC/B;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC;AAEtD,MAAM,WAAW,2BAA2B;IAC1C,UAAU,CAAC,EAAE,GAAG,CAAC;CAClB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.interface.js","sourceRoot":"","sources":["../../src/api/pipeline.interface.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline-state.d.ts","sourceRoot":"","sources":["../../src/enums/pipeline-state.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PipelineState = void 0;
|
|
4
|
-
var PipelineState;
|
|
5
|
-
(function (PipelineState) {
|
|
6
|
-
PipelineState["Pending"] = "pending";
|
|
7
|
-
PipelineState["Running"] = "running";
|
|
8
|
-
PipelineState["Paused"] = "paused";
|
|
9
|
-
PipelineState["Completed"] = "completed";
|
|
10
|
-
PipelineState["Failed"] = "failed";
|
|
11
|
-
PipelineState["Canceled"] = "canceled";
|
|
12
|
-
})(PipelineState || (exports.PipelineState = PipelineState = {}));
|
|
13
|
-
//# sourceMappingURL=pipeline-state.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline-state.js","sourceRoot":"","sources":["../../src/enums/pipeline-state.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;AACvB,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB"}
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const PipelineBaseSchema: z.ZodObject<{
|
|
3
|
-
title: z.ZodOptional<z.ZodString>;
|
|
4
|
-
description: z.ZodOptional<z.ZodString>;
|
|
5
|
-
namespace: z.ZodOptional<z.ZodObject<{
|
|
6
|
-
label: z.ZodString;
|
|
7
|
-
}, z.core.$strip>>;
|
|
8
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
9
|
-
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10
|
-
widget: z.ZodOptional<z.ZodString>;
|
|
11
|
-
enabledWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12
|
-
type: z.ZodLiteral<"button">;
|
|
13
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
14
|
-
transition: z.ZodOptional<z.ZodString>;
|
|
15
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
16
|
-
label: z.ZodOptional<z.ZodString>;
|
|
17
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
18
|
-
}, z.core.$strip>>;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
widget: z.ZodOptional<z.ZodString>;
|
|
21
|
-
enabledWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
|
-
type: z.ZodLiteral<"custom">;
|
|
23
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
24
|
-
transition: z.ZodOptional<z.ZodString>;
|
|
25
|
-
label: z.ZodOptional<z.ZodString>;
|
|
26
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
27
|
-
}, z.core.$strip>>;
|
|
28
|
-
}, z.core.$strip>], "type">>>;
|
|
29
|
-
form: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
30
|
-
}, z.core.$strip>>;
|
|
31
|
-
}, z.core.$strip>;
|
|
32
|
-
export declare const PipelineItemConfigSchema: z.ZodObject<{
|
|
33
|
-
id: z.ZodOptional<z.ZodString>;
|
|
34
|
-
block: z.ZodString;
|
|
35
|
-
condition: z.ZodUnion<readonly [z.ZodString, z.ZodOptional<z.ZodString>]>;
|
|
36
|
-
args: z.ZodOptional<z.ZodAny>;
|
|
37
|
-
}, z.core.$strip>;
|
|
38
|
-
export declare const PipelineItemSchema: z.ZodObject<{
|
|
39
|
-
id: z.ZodOptional<z.ZodString>;
|
|
40
|
-
block: z.ZodString;
|
|
41
|
-
condition: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
42
|
-
args: z.ZodOptional<z.ZodAny>;
|
|
43
|
-
}, z.core.$strip>;
|
|
44
|
-
export declare const PipelineFactoryIteratorConfigSchema: z.ZodObject<{
|
|
45
|
-
source: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
46
|
-
}, z.core.$strip>;
|
|
47
|
-
export declare const PipelineFactoryConfigSchema: z.ZodObject<{
|
|
48
|
-
title: z.ZodOptional<z.ZodString>;
|
|
49
|
-
description: z.ZodOptional<z.ZodString>;
|
|
50
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
51
|
-
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
52
|
-
widget: z.ZodOptional<z.ZodString>;
|
|
53
|
-
enabledWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
|
-
type: z.ZodLiteral<"button">;
|
|
55
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
56
|
-
transition: z.ZodOptional<z.ZodString>;
|
|
57
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
58
|
-
label: z.ZodOptional<z.ZodString>;
|
|
59
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
60
|
-
}, z.core.$strip>>;
|
|
61
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
-
widget: z.ZodOptional<z.ZodString>;
|
|
63
|
-
enabledWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
64
|
-
type: z.ZodLiteral<"custom">;
|
|
65
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
66
|
-
transition: z.ZodOptional<z.ZodString>;
|
|
67
|
-
label: z.ZodOptional<z.ZodString>;
|
|
68
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
69
|
-
}, z.core.$strip>>;
|
|
70
|
-
}, z.core.$strip>], "type">>>;
|
|
71
|
-
form: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
72
|
-
}, z.core.$strip>>;
|
|
73
|
-
type: z.ZodDefault<z.ZodLiteral<"factory">>;
|
|
74
|
-
namespace: z.ZodObject<{
|
|
75
|
-
label: z.ZodString;
|
|
76
|
-
}, z.core.$strip>;
|
|
77
|
-
factory: z.ZodObject<{
|
|
78
|
-
id: z.ZodOptional<z.ZodString>;
|
|
79
|
-
block: z.ZodString;
|
|
80
|
-
condition: z.ZodUnion<readonly [z.ZodString, z.ZodOptional<z.ZodString>]>;
|
|
81
|
-
args: z.ZodOptional<z.ZodAny>;
|
|
82
|
-
}, z.core.$strip>;
|
|
83
|
-
parallel: z.ZodOptional<z.ZodBoolean>;
|
|
84
|
-
iterator: z.ZodObject<{
|
|
85
|
-
source: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
86
|
-
}, z.core.$strip>;
|
|
87
|
-
}, z.core.$strip>;
|
|
88
|
-
export declare const PipelineFactoryIteratorSchema: z.ZodObject<{
|
|
89
|
-
source: z.ZodArray<z.ZodString>;
|
|
90
|
-
}, z.core.$strip>;
|
|
91
|
-
export declare const PipelineFactorySchema: z.ZodObject<{
|
|
92
|
-
title: z.ZodOptional<z.ZodString>;
|
|
93
|
-
description: z.ZodOptional<z.ZodString>;
|
|
94
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
95
|
-
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
96
|
-
widget: z.ZodOptional<z.ZodString>;
|
|
97
|
-
enabledWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
98
|
-
type: z.ZodLiteral<"button">;
|
|
99
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
100
|
-
transition: z.ZodOptional<z.ZodString>;
|
|
101
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
102
|
-
label: z.ZodOptional<z.ZodString>;
|
|
103
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
104
|
-
}, z.core.$strip>>;
|
|
105
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
106
|
-
widget: z.ZodOptional<z.ZodString>;
|
|
107
|
-
enabledWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
108
|
-
type: z.ZodLiteral<"custom">;
|
|
109
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
110
|
-
transition: z.ZodOptional<z.ZodString>;
|
|
111
|
-
label: z.ZodOptional<z.ZodString>;
|
|
112
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
113
|
-
}, z.core.$strip>>;
|
|
114
|
-
}, z.core.$strip>], "type">>>;
|
|
115
|
-
form: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
116
|
-
}, z.core.$strip>>;
|
|
117
|
-
namespace: z.ZodObject<{
|
|
118
|
-
label: z.ZodString;
|
|
119
|
-
}, z.core.$strip>;
|
|
120
|
-
factory: z.ZodObject<{
|
|
121
|
-
id: z.ZodOptional<z.ZodString>;
|
|
122
|
-
block: z.ZodString;
|
|
123
|
-
condition: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
124
|
-
args: z.ZodOptional<z.ZodAny>;
|
|
125
|
-
}, z.core.$strip>;
|
|
126
|
-
parallel: z.ZodOptional<z.ZodBoolean>;
|
|
127
|
-
iterator: z.ZodObject<{
|
|
128
|
-
source: z.ZodArray<z.ZodString>;
|
|
129
|
-
}, z.core.$strip>;
|
|
130
|
-
}, z.core.$strip>;
|
|
131
|
-
export declare const PipelineSequenceSchema: z.ZodObject<{
|
|
132
|
-
title: z.ZodOptional<z.ZodString>;
|
|
133
|
-
description: z.ZodOptional<z.ZodString>;
|
|
134
|
-
namespace: z.ZodOptional<z.ZodObject<{
|
|
135
|
-
label: z.ZodString;
|
|
136
|
-
}, z.core.$strip>>;
|
|
137
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
138
|
-
actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
139
|
-
widget: z.ZodOptional<z.ZodString>;
|
|
140
|
-
enabledWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
141
|
-
type: z.ZodLiteral<"button">;
|
|
142
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
143
|
-
transition: z.ZodOptional<z.ZodString>;
|
|
144
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
145
|
-
label: z.ZodOptional<z.ZodString>;
|
|
146
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
147
|
-
}, z.core.$strip>>;
|
|
148
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
149
|
-
widget: z.ZodOptional<z.ZodString>;
|
|
150
|
-
enabledWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
151
|
-
type: z.ZodLiteral<"custom">;
|
|
152
|
-
options: z.ZodOptional<z.ZodObject<{
|
|
153
|
-
transition: z.ZodOptional<z.ZodString>;
|
|
154
|
-
label: z.ZodOptional<z.ZodString>;
|
|
155
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
156
|
-
}, z.core.$strip>>;
|
|
157
|
-
}, z.core.$strip>], "type">>>;
|
|
158
|
-
form: z.ZodOptional<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
159
|
-
}, z.core.$strip>>;
|
|
160
|
-
type: z.ZodDefault<z.ZodLiteral<"sequence">>;
|
|
161
|
-
sequence: z.ZodArray<z.ZodObject<{
|
|
162
|
-
id: z.ZodOptional<z.ZodString>;
|
|
163
|
-
block: z.ZodString;
|
|
164
|
-
condition: z.ZodUnion<readonly [z.ZodString, z.ZodOptional<z.ZodString>]>;
|
|
165
|
-
args: z.ZodOptional<z.ZodAny>;
|
|
166
|
-
}, z.core.$strip>>;
|
|
167
|
-
}, z.core.$strip>;
|
|
168
|
-
//# sourceMappingURL=pipeline.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/pipeline.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAK7B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;iBAQnC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;iBAK7B,CAAC;AAEH,eAAO,MAAM,mCAAmC;;iBAE9C,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMtC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;iBAExC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKhC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGjC,CAAC"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PipelineSequenceSchema = exports.PipelineFactorySchema = exports.PipelineFactoryIteratorSchema = exports.PipelineFactoryConfigSchema = exports.PipelineFactoryIteratorConfigSchema = exports.PipelineItemSchema = exports.PipelineItemConfigSchema = exports.PipelineBaseSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const block_schema_1 = require("./block.schema");
|
|
6
|
-
const template_expression_schema_1 = require("./template-expression.schema");
|
|
7
|
-
const ui_form_schema_1 = require("./ui-form.schema");
|
|
8
|
-
const workflow_schema_1 = require("./workflow.schema");
|
|
9
|
-
exports.PipelineBaseSchema = block_schema_1.BlockSchema.extend({
|
|
10
|
-
title: zod_1.z.string().optional(),
|
|
11
|
-
description: zod_1.z.string().optional(),
|
|
12
|
-
namespace: workflow_schema_1.NamespacePropsSchema.optional(),
|
|
13
|
-
ui: ui_form_schema_1.UiFormSchema.optional(),
|
|
14
|
-
});
|
|
15
|
-
exports.PipelineItemConfigSchema = zod_1.z.object({
|
|
16
|
-
id: zod_1.z.string().optional(),
|
|
17
|
-
block: zod_1.z.string(),
|
|
18
|
-
condition: zod_1.z.union([
|
|
19
|
-
zod_1.z.string(),
|
|
20
|
-
template_expression_schema_1.TemplateExpression.optional(),
|
|
21
|
-
]),
|
|
22
|
-
args: zod_1.z.any().optional(),
|
|
23
|
-
});
|
|
24
|
-
exports.PipelineItemSchema = zod_1.z.object({
|
|
25
|
-
id: zod_1.z.string().optional(),
|
|
26
|
-
block: zod_1.z.string(),
|
|
27
|
-
condition: zod_1.z.union([zod_1.z.boolean(), zod_1.z.string()]).optional(),
|
|
28
|
-
args: zod_1.z.any().optional(),
|
|
29
|
-
});
|
|
30
|
-
exports.PipelineFactoryIteratorConfigSchema = zod_1.z.object({
|
|
31
|
-
source: zod_1.z.union([template_expression_schema_1.TemplateExpression, zod_1.z.array(zod_1.z.string())]),
|
|
32
|
-
});
|
|
33
|
-
exports.PipelineFactoryConfigSchema = exports.PipelineBaseSchema.extend({
|
|
34
|
-
type: zod_1.z.literal('factory').default('factory'),
|
|
35
|
-
namespace: workflow_schema_1.NamespacePropsSchema,
|
|
36
|
-
factory: exports.PipelineItemConfigSchema,
|
|
37
|
-
parallel: zod_1.z.boolean().optional(),
|
|
38
|
-
iterator: exports.PipelineFactoryIteratorConfigSchema,
|
|
39
|
-
});
|
|
40
|
-
exports.PipelineFactoryIteratorSchema = zod_1.z.object({
|
|
41
|
-
source: zod_1.z.array(zod_1.z.string()),
|
|
42
|
-
});
|
|
43
|
-
exports.PipelineFactorySchema = exports.PipelineBaseSchema.extend({
|
|
44
|
-
namespace: workflow_schema_1.NamespacePropsSchema,
|
|
45
|
-
factory: exports.PipelineItemSchema,
|
|
46
|
-
parallel: zod_1.z.boolean().optional(),
|
|
47
|
-
iterator: exports.PipelineFactoryIteratorSchema,
|
|
48
|
-
});
|
|
49
|
-
exports.PipelineSequenceSchema = exports.PipelineBaseSchema.extend({
|
|
50
|
-
type: zod_1.z.literal('sequence').default('sequence'),
|
|
51
|
-
sequence: zod_1.z.array(exports.PipelineItemConfigSchema),
|
|
52
|
-
});
|
|
53
|
-
//# sourceMappingURL=pipeline.schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.schema.js","sourceRoot":"","sources":["../../src/schemas/pipeline.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAA6C;AAC7C,6EAAkE;AAClE,qDAAgD;AAChD,uDAAyD;AAE5C,QAAA,kBAAkB,GAAG,0BAAW,CAAC,MAAM,CAAC;IACnD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,SAAS,EAAE,sCAAoB,CAAC,QAAQ,EAAE;IAC1C,EAAE,EAAE,6BAAY,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAEU,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC;QACjB,OAAC,CAAC,MAAM,EAAE;QACV,+CAAkB,CAAC,QAAQ,EAAE;KAC9B,CAAC;IACF,IAAI,EAAE,OAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CACzB,CAAC,CAAC;AAEU,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,OAAO,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IACxD,IAAI,EAAE,OAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CACzB,CAAC,CAAC;AAEU,QAAA,mCAAmC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1D,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,+CAAkB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;CAC3D,CAAC,CAAC;AAEU,QAAA,2BAA2B,GAAG,0BAAkB,CAAC,MAAM,CAAC;IACnE,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IAC7C,SAAS,EAAE,sCAAoB;IAC/B,OAAO,EAAE,gCAAwB;IACjC,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAChC,QAAQ,EAAE,2CAAmC;CAC9C,CAAC,CAAC;AAEU,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAC5B,CAAC,CAAC;AAEU,QAAA,qBAAqB,GAAG,0BAAkB,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,sCAAoB;IAC/B,OAAO,EAAE,0BAAkB;IAC3B,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAChC,QAAQ,EAAE,qCAA6B;CACxC,CAAC,CAAC;AAEU,QAAA,sBAAsB,GAAG,0BAAkB,CAAC,MAAM,CAAC;IAC9D,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC/C,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,gCAAwB,CAAC;CAC5C,CAAC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface NamespaceCreateInterface {
|
|
2
|
-
name: string;
|
|
3
|
-
pipelineId: string;
|
|
4
|
-
workspaceId: string;
|
|
5
|
-
parent?: {
|
|
6
|
-
id: string;
|
|
7
|
-
} | null;
|
|
8
|
-
metadata?: Record<string, any>;
|
|
9
|
-
createdBy: string;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=namespace-create.interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"namespace-create.interface.d.ts","sourceRoot":"","sources":["../../../src/types/interfaces/namespace-create.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"namespace-create.interface.js","sourceRoot":"","sources":["../../../src/types/interfaces/namespace-create.interface.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { JSONSchemaConfigType, UiFormType } from '../types';
|
|
2
|
-
export interface PipelineConfigInterface {
|
|
3
|
-
blockName: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
schema?: JSONSchemaConfigType;
|
|
7
|
-
ui?: UiFormType;
|
|
8
|
-
transitions?: any[];
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=pipeline-config.interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline-config.interface.d.ts","sourceRoot":"","sources":["../../../src/types/interfaces/pipeline-config.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE5D,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,EAAE,CAAC,EAAE,UAAU,CAAC;IAChB,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC;CACrB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline-config.interface.js","sourceRoot":"","sources":["../../../src/types/interfaces/pipeline-config.interface.ts"],"names":[],"mappings":""}
|