@loopstack/common 0.24.0 → 0.25.1
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/base/base-tool.d.ts +10 -0
- package/dist/base/base-tool.d.ts.map +1 -0
- package/dist/base/base-tool.js +39 -0
- package/dist/base/base-tool.js.map +1 -0
- package/dist/base/base-workflow.d.ts +27 -0
- package/dist/base/base-workflow.d.ts.map +1 -0
- package/dist/base/base-workflow.js +53 -0
- package/dist/base/base-workflow.js.map +1 -0
- package/dist/base/index.d.ts +4 -0
- package/dist/base/index.d.ts.map +1 -0
- package/dist/base/index.js +20 -0
- package/dist/base/index.js.map +1 -0
- package/dist/base/workflow-templates.d.ts +2 -0
- package/dist/base/workflow-templates.d.ts.map +1 -0
- package/dist/{interfaces/state-machine-validator.interface.js → base/workflow-templates.js} +1 -1
- package/dist/base/workflow-templates.js.map +1 -0
- package/dist/decorators/block.decorator.d.ts +52 -42
- package/dist/decorators/block.decorator.d.ts.map +1 -1
- package/dist/decorators/block.decorator.js +66 -74
- package/dist/decorators/block.decorator.js.map +1 -1
- package/dist/decorators/index.d.ts +0 -1
- package/dist/decorators/index.d.ts.map +1 -1
- package/dist/decorators/index.js +0 -1
- package/dist/decorators/index.js.map +1 -1
- package/dist/dtos/run-context.d.ts +4 -5
- package/dist/dtos/run-context.d.ts.map +1 -1
- package/dist/dtos/run-context.js +3 -4
- package/dist/dtos/run-context.js.map +1 -1
- package/dist/entities/document.entity.d.ts +2 -3
- package/dist/entities/document.entity.d.ts.map +1 -1
- package/dist/entities/document.entity.js +8 -14
- package/dist/entities/document.entity.js.map +1 -1
- package/dist/entities/index.d.ts +1 -3
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/index.js +1 -3
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/workflow-checkpoint.entity.d.ts +16 -0
- package/dist/entities/workflow-checkpoint.entity.d.ts.map +1 -0
- package/dist/entities/workflow-checkpoint.entity.js +83 -0
- package/dist/entities/workflow-checkpoint.entity.js.map +1 -0
- package/dist/entities/workflow.entity.d.ts +14 -16
- package/dist/entities/workflow.entity.d.ts.map +1 -1
- package/dist/entities/workflow.entity.js +65 -79
- package/dist/entities/workflow.entity.js.map +1 -1
- package/dist/entities/workspace.entity.d.ts +3 -3
- package/dist/entities/workspace.entity.d.ts.map +1 -1
- package/dist/entities/workspace.entity.js +7 -7
- package/dist/entities/workspace.entity.js.map +1 -1
- 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/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/interfaces/block.interface.d.ts +4 -10
- package/dist/interfaces/block.interface.d.ts.map +1 -1
- package/dist/interfaces/document-repository.interface.d.ts +18 -0
- package/dist/interfaces/document-repository.interface.d.ts.map +1 -0
- package/dist/interfaces/{state-machine-validator-result.interface.js → document-repository.interface.js} +1 -1
- package/dist/interfaces/document-repository.interface.js.map +1 -0
- package/dist/interfaces/execution-context.interface.d.ts +10 -0
- package/dist/interfaces/execution-context.interface.d.ts.map +1 -0
- package/dist/interfaces/execution-context.interface.js +3 -0
- package/dist/interfaces/execution-context.interface.js.map +1 -0
- package/dist/interfaces/handler.interface.d.ts +9 -5
- package/dist/interfaces/handler.interface.d.ts.map +1 -1
- package/dist/interfaces/index.d.ts +3 -2
- package/dist/interfaces/index.d.ts.map +1 -1
- package/dist/interfaces/index.js +3 -2
- package/dist/interfaces/index.js.map +1 -1
- package/dist/interfaces/tool-execution-interceptor.interface.d.ts +10 -10
- package/dist/interfaces/tool-execution-interceptor.interface.d.ts.map +1 -1
- package/dist/interfaces/tool-execution-interceptor.interface.js +12 -2
- package/dist/interfaces/tool-execution-interceptor.interface.js.map +1 -1
- package/dist/interfaces/workflow-metadata.interface.d.ts +0 -1
- package/dist/interfaces/workflow-metadata.interface.d.ts.map +1 -1
- package/dist/interfaces/workflow-orchestrator.interface.d.ts +11 -0
- package/dist/interfaces/workflow-orchestrator.interface.d.ts.map +1 -0
- package/dist/interfaces/workflow-orchestrator.interface.js +3 -0
- package/dist/interfaces/workflow-orchestrator.interface.js.map +1 -0
- package/dist/interfaces/workflow-state.interface.d.ts +1 -4
- package/dist/interfaces/workflow-state.interface.d.ts.map +1 -1
- package/dist/tokens.d.ts +5 -0
- package/dist/tokens.d.ts.map +1 -0
- package/dist/tokens.js +8 -0
- package/dist/tokens.js.map +1 -0
- package/dist/utils/block-config.builder.d.ts.map +1 -1
- package/dist/utils/block-config.builder.js +7 -6
- package/dist/utils/block-config.builder.js.map +1 -1
- package/dist/utils/block-metadata.utils.d.ts +8 -17
- package/dist/utils/block-metadata.utils.d.ts.map +1 -1
- package/dist/utils/block-metadata.utils.js +33 -63
- package/dist/utils/block-metadata.utils.js.map +1 -1
- package/dist/utils/index.d.ts +1 -3
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -3
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/workflow-transitions.builder.d.ts +3 -0
- package/dist/utils/workflow-transitions.builder.d.ts.map +1 -0
- package/dist/utils/workflow-transitions.builder.js +22 -0
- package/dist/utils/workflow-transitions.builder.js.map +1 -0
- package/package.json +3 -4
- package/dist/decorators/state-machine-validator.decorator.d.ts +0 -5
- package/dist/decorators/state-machine-validator.decorator.d.ts.map +0 -1
- package/dist/decorators/state-machine-validator.decorator.js +0 -11
- package/dist/decorators/state-machine-validator.decorator.js.map +0 -1
- package/dist/entities/event-subscriber.entity.d.ts +0 -21
- package/dist/entities/event-subscriber.entity.d.ts.map +0 -1
- package/dist/entities/event-subscriber.entity.js +0 -107
- package/dist/entities/event-subscriber.entity.js.map +0 -1
- package/dist/entities/namespace.entity.d.ts +0 -20
- package/dist/entities/namespace.entity.d.ts.map +0 -1
- package/dist/entities/namespace.entity.js +0 -107
- package/dist/entities/namespace.entity.js.map +0 -1
- package/dist/entities/pipeline.entity.d.ts +0 -32
- package/dist/entities/pipeline.entity.d.ts.map +0 -1
- package/dist/entities/pipeline.entity.js +0 -164
- package/dist/entities/pipeline.entity.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/interfaces/state-machine-validator-result.interface.d.ts +0 -5
- package/dist/interfaces/state-machine-validator-result.interface.d.ts.map +0 -1
- package/dist/interfaces/state-machine-validator-result.interface.js.map +0 -1
- package/dist/interfaces/state-machine-validator.interface.d.ts +0 -9
- package/dist/interfaces/state-machine-validator.interface.d.ts.map +0 -1
- package/dist/interfaces/state-machine-validator.interface.js.map +0 -1
- package/dist/utils/create-hash.util.d.ts +0 -2
- package/dist/utils/create-hash.util.d.ts.map +0 -1
- package/dist/utils/create-hash.util.js +0 -13
- package/dist/utils/create-hash.util.js.map +0 -1
- package/dist/utils/normalize-deep-serialize.util.d.ts +0 -2
- package/dist/utils/normalize-deep-serialize.util.d.ts.map +0 -1
- package/dist/utils/normalize-deep-serialize.util.js +0 -19
- package/dist/utils/normalize-deep-serialize.util.js.map +0 -1
- package/dist/utils/object-fingerprint.util.d.ts +0 -2
- package/dist/utils/object-fingerprint.util.d.ts.map +0 -1
- package/dist/utils/object-fingerprint.util.js +0 -10
- package/dist/utils/object-fingerprint.util.js.map +0 -1
package/dist/dtos/run-context.js
CHANGED
|
@@ -3,16 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RunContext = void 0;
|
|
4
4
|
class RunContext {
|
|
5
5
|
root;
|
|
6
|
-
index;
|
|
7
6
|
userId;
|
|
8
|
-
|
|
7
|
+
parentWorkflowId;
|
|
9
8
|
workspaceId;
|
|
10
9
|
workflowId;
|
|
11
|
-
namespace;
|
|
12
10
|
labels;
|
|
13
11
|
payload;
|
|
14
|
-
|
|
12
|
+
workflowContext;
|
|
15
13
|
workspaceEnvironments;
|
|
14
|
+
workflowEntity;
|
|
16
15
|
options;
|
|
17
16
|
constructor(data) {
|
|
18
17
|
Object.assign(this, data);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-context.js","sourceRoot":"","sources":["../../src/dtos/run-context.ts"],"names":[],"mappings":";;;AAIA,MAAa,UAAU;IACrB,IAAI,CAAU;IACd,
|
|
1
|
+
{"version":3,"file":"run-context.js","sourceRoot":"","sources":["../../src/dtos/run-context.ts"],"names":[],"mappings":";;;AAIA,MAAa,UAAU;IACrB,IAAI,CAAU;IACd,MAAM,CAAU;IAChB,gBAAgB,CAAU;IAC1B,WAAW,CAAU;IACrB,UAAU,CAAU;IACpB,MAAM,CAAY;IAClB,OAAO,CAAa;IACpB,eAAe,CAAuB;IACtC,qBAAqB,CAAoC;IAEzD,cAAc,CAAkB;IAChC,OAAO,CAEL;IAEF,YAAY,IAAgB;QAC1B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;CACF;AAnBD,gCAmBC"}
|
|
@@ -5,9 +5,9 @@ import { WorkflowEntity } from './workflow.entity';
|
|
|
5
5
|
export declare class DocumentEntity<T = any> {
|
|
6
6
|
id: string;
|
|
7
7
|
messageId: string;
|
|
8
|
-
|
|
8
|
+
alias: string;
|
|
9
|
+
className: string | null;
|
|
9
10
|
workspaceId: string;
|
|
10
|
-
pipelineId: string;
|
|
11
11
|
content: T | null;
|
|
12
12
|
schema: JSONSchemaConfigType | null;
|
|
13
13
|
error: z.ZodError | null;
|
|
@@ -16,7 +16,6 @@ export declare class DocumentEntity<T = any> {
|
|
|
16
16
|
meta: Record<string, any> | null;
|
|
17
17
|
isInvalidated: boolean;
|
|
18
18
|
isPendingRemoval: boolean;
|
|
19
|
-
workflowIndex: string;
|
|
20
19
|
version: number;
|
|
21
20
|
index: number;
|
|
22
21
|
transition: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document.entity.d.ts","sourceRoot":"","sources":["../../src/entities/document.entity.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEvE,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qBACa,cAAc,CAAC,CAAC,GAAG,GAAG;IAEjC,EAAE,EAAG,MAAM,CAAC;IAIZ,SAAS,EAAG,MAAM,CAAC;IAInB,
|
|
1
|
+
{"version":3,"file":"document.entity.d.ts","sourceRoot":"","sources":["../../src/entities/document.entity.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEvE,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qBACa,cAAc,CAAC,CAAC,GAAG,GAAG;IAEjC,EAAE,EAAG,MAAM,CAAC;IAIZ,SAAS,EAAG,MAAM,CAAC;IAInB,KAAK,EAAG,MAAM,CAAC;IAGf,SAAS,EAAG,MAAM,GAAG,IAAI,CAAC;IAI1B,WAAW,EAAG,MAAM,CAAC;IAGrB,OAAO,EAAG,CAAC,GAAG,IAAI,CAAC;IAQnB,MAAM,EAAG,oBAAoB,GAAG,IAAI,CAAC;IAGrC,KAAK,EAAG,CAAC,CAAC,QAAQ,GAAG,IAAI,CAAC;IAQ1B,EAAE,EAAG,GAAG,CAAC;IAGT,IAAI,EAAG,MAAM,EAAE,CAAC;IAGhB,IAAI,EAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IAGlC,aAAa,EAAG,OAAO,CAAC;IAGxB,gBAAgB,EAAG,OAAO,CAAC;IAG3B,OAAO,EAAG,MAAM,CAAC;IAGjB,KAAK,EAAG,MAAM,CAAC;IAGf,UAAU,EAAG,MAAM,GAAG,IAAI,CAAC;IAG3B,KAAK,EAAG,MAAM,GAAG,IAAI,CAAC;IAGtB,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,EAAG,IAAI,CAAC;IAMjB,QAAQ,EAAG,cAAc,CAAC;IAG1B,MAAM,EAAG,MAAM,EAAE,CAAC;IAGlB,UAAU,EAAG,MAAM,CAAC;IAKpB,eAAe,EAAG,cAAc,EAAE,CAAC;IAInC,OAAO,EAAG,IAAI,CAAC;IAIf,SAAS,EAAG,MAAM,CAAC;CACpB"}
|
|
@@ -17,9 +17,9 @@ const workflow_entity_1 = require("./workflow.entity");
|
|
|
17
17
|
let DocumentEntity = class DocumentEntity {
|
|
18
18
|
id;
|
|
19
19
|
messageId;
|
|
20
|
-
|
|
20
|
+
alias;
|
|
21
|
+
className;
|
|
21
22
|
workspaceId;
|
|
22
|
-
pipelineId;
|
|
23
23
|
content;
|
|
24
24
|
schema;
|
|
25
25
|
error;
|
|
@@ -28,7 +28,6 @@ let DocumentEntity = class DocumentEntity {
|
|
|
28
28
|
meta;
|
|
29
29
|
isInvalidated;
|
|
30
30
|
isPendingRemoval;
|
|
31
|
-
workflowIndex;
|
|
32
31
|
version;
|
|
33
32
|
index;
|
|
34
33
|
transition;
|
|
@@ -53,20 +52,19 @@ __decorate([
|
|
|
53
52
|
__metadata("design:type", String)
|
|
54
53
|
], DocumentEntity.prototype, "messageId", void 0);
|
|
55
54
|
__decorate([
|
|
56
|
-
(0, typeorm_1.Column)({ type: 'varchar', name: '
|
|
55
|
+
(0, typeorm_1.Column)({ type: 'varchar', name: 'alias' }),
|
|
57
56
|
(0, typeorm_1.Index)(),
|
|
58
57
|
__metadata("design:type", String)
|
|
59
|
-
], DocumentEntity.prototype, "
|
|
58
|
+
], DocumentEntity.prototype, "alias", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.Column)({ type: 'varchar', name: 'class_name', nullable: true }),
|
|
61
|
+
__metadata("design:type", Object)
|
|
62
|
+
], DocumentEntity.prototype, "className", void 0);
|
|
60
63
|
__decorate([
|
|
61
64
|
(0, typeorm_1.Column)({ name: 'workspace_id' }),
|
|
62
65
|
(0, typeorm_1.Index)(),
|
|
63
66
|
__metadata("design:type", String)
|
|
64
67
|
], DocumentEntity.prototype, "workspaceId", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, typeorm_1.Column)({ name: 'pipeline_id' }),
|
|
67
|
-
(0, typeorm_1.Index)(),
|
|
68
|
-
__metadata("design:type", String)
|
|
69
|
-
], DocumentEntity.prototype, "pipelineId", void 0);
|
|
70
68
|
__decorate([
|
|
71
69
|
(0, typeorm_1.Column)('jsonb', { nullable: true }),
|
|
72
70
|
__metadata("design:type", Object)
|
|
@@ -109,10 +107,6 @@ __decorate([
|
|
|
109
107
|
(0, typeorm_1.Column)({ name: 'is_pending_removal', default: false }),
|
|
110
108
|
__metadata("design:type", Boolean)
|
|
111
109
|
], DocumentEntity.prototype, "isPendingRemoval", void 0);
|
|
112
|
-
__decorate([
|
|
113
|
-
(0, typeorm_1.Column)('ltree', { name: 'workflow_index', default: '1' }),
|
|
114
|
-
__metadata("design:type", String)
|
|
115
|
-
], DocumentEntity.prototype, "workflowIndex", void 0);
|
|
116
110
|
__decorate([
|
|
117
111
|
(0, typeorm_1.Column)({ default: 1 }),
|
|
118
112
|
__metadata("design:type", Number)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document.entity.js","sourceRoot":"","sources":["../../src/entities/document.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAUiB;AAGjB,oCAAiD;AACjD,+CAAq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YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAC5C,IAAA,eAAK,GAAE;;iDACW;yBA9FR,cAAc;IAD1B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;GACrB,cAAc,CA+F1B"}
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
export * from './pipeline.entity.js';
|
|
2
1
|
export * from './document.entity.js';
|
|
3
2
|
export * from './workflow.entity.js';
|
|
3
|
+
export * from './workflow-checkpoint.entity.js';
|
|
4
4
|
export * from './workspace.entity.js';
|
|
5
5
|
export * from './workspace-environment.entity.js';
|
|
6
|
-
export * from './namespace.entity.js';
|
|
7
6
|
export * from './role.entity.js';
|
|
8
7
|
export * from './user.entity.js';
|
|
9
|
-
export * from './event-subscriber.entity.js';
|
|
10
8
|
export * from './secret.entity.js';
|
|
11
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAClD,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
|
package/dist/entities/index.js
CHANGED
|
@@ -14,14 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./pipeline.entity.js"), exports);
|
|
18
17
|
__exportStar(require("./document.entity.js"), exports);
|
|
19
18
|
__exportStar(require("./workflow.entity.js"), exports);
|
|
19
|
+
__exportStar(require("./workflow-checkpoint.entity.js"), exports);
|
|
20
20
|
__exportStar(require("./workspace.entity.js"), exports);
|
|
21
21
|
__exportStar(require("./workspace-environment.entity.js"), exports);
|
|
22
|
-
__exportStar(require("./namespace.entity.js"), exports);
|
|
23
22
|
__exportStar(require("./role.entity.js"), exports);
|
|
24
23
|
__exportStar(require("./user.entity.js"), exports);
|
|
25
|
-
__exportStar(require("./event-subscriber.entity.js"), exports);
|
|
26
24
|
__exportStar(require("./secret.entity.js"), exports);
|
|
27
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,uDAAqC;AACrC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,uDAAqC;AACrC,kEAAgD;AAChD,wDAAsC;AACtC,oEAAkD;AAClD,mDAAiC;AACjC,mDAAiC;AACjC,qDAAmC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WorkflowEntity } from './workflow.entity';
|
|
2
|
+
export declare class WorkflowCheckpointEntity {
|
|
3
|
+
id: string;
|
|
4
|
+
workflow: WorkflowEntity;
|
|
5
|
+
workflowId: string;
|
|
6
|
+
place: string;
|
|
7
|
+
transitionId: string | null;
|
|
8
|
+
transitionFrom: string | null;
|
|
9
|
+
state: Record<string, unknown>;
|
|
10
|
+
tools: Record<string, unknown>;
|
|
11
|
+
documentIds: string[];
|
|
12
|
+
invalidatedDocumentIds: string[];
|
|
13
|
+
version: number;
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=workflow-checkpoint.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-checkpoint.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-checkpoint.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qBACa,wBAAwB;IAEnC,EAAE,EAAG,MAAM,CAAC;IAIZ,QAAQ,EAAG,cAAc,CAAC;IAI1B,UAAU,EAAG,MAAM,CAAC;IAGpB,KAAK,EAAG,MAAM,CAAC;IAGf,YAAY,EAAG,MAAM,GAAG,IAAI,CAAC;IAG7B,cAAc,EAAG,MAAM,GAAG,IAAI,CAAC;IAG/B,KAAK,EAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGhC,KAAK,EAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAGhC,WAAW,EAAG,MAAM,EAAE,CAAC;IAGvB,sBAAsB,EAAG,MAAM,EAAE,CAAC;IAGlC,OAAO,EAAG,MAAM,CAAC;IAGjB,SAAS,EAAG,IAAI,CAAC;CAClB"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.WorkflowCheckpointEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const workflow_entity_1 = require("./workflow.entity");
|
|
15
|
+
let WorkflowCheckpointEntity = class WorkflowCheckpointEntity {
|
|
16
|
+
id;
|
|
17
|
+
workflow;
|
|
18
|
+
workflowId;
|
|
19
|
+
place;
|
|
20
|
+
transitionId;
|
|
21
|
+
transitionFrom;
|
|
22
|
+
state;
|
|
23
|
+
tools;
|
|
24
|
+
documentIds;
|
|
25
|
+
invalidatedDocumentIds;
|
|
26
|
+
version;
|
|
27
|
+
createdAt;
|
|
28
|
+
};
|
|
29
|
+
exports.WorkflowCheckpointEntity = WorkflowCheckpointEntity;
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], WorkflowCheckpointEntity.prototype, "id", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.ManyToOne)(() => workflow_entity_1.WorkflowEntity, { onDelete: 'CASCADE' }),
|
|
36
|
+
(0, typeorm_1.JoinColumn)({ name: 'workflow_id' }),
|
|
37
|
+
__metadata("design:type", workflow_entity_1.WorkflowEntity)
|
|
38
|
+
], WorkflowCheckpointEntity.prototype, "workflow", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ name: 'workflow_id' }),
|
|
41
|
+
(0, typeorm_1.Index)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], WorkflowCheckpointEntity.prototype, "workflowId", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], WorkflowCheckpointEntity.prototype, "place", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'varchar', name: 'transition_id', nullable: true }),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], WorkflowCheckpointEntity.prototype, "transitionId", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'varchar', name: 'transition_from', nullable: true }),
|
|
54
|
+
__metadata("design:type", Object)
|
|
55
|
+
], WorkflowCheckpointEntity.prototype, "transitionFrom", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)('jsonb', { default: {} }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], WorkflowCheckpointEntity.prototype, "state", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)('jsonb', { default: {} }),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], WorkflowCheckpointEntity.prototype, "tools", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)('uuid', { name: 'document_ids', array: true, default: '{}' }),
|
|
66
|
+
__metadata("design:type", Array)
|
|
67
|
+
], WorkflowCheckpointEntity.prototype, "documentIds", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)('uuid', { name: 'invalidated_document_ids', array: true, default: '{}' }),
|
|
70
|
+
__metadata("design:type", Array)
|
|
71
|
+
], WorkflowCheckpointEntity.prototype, "invalidatedDocumentIds", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.Column)({ default: 1 }),
|
|
74
|
+
__metadata("design:type", Number)
|
|
75
|
+
], WorkflowCheckpointEntity.prototype, "version", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, typeorm_1.CreateDateColumn)({ name: 'created_at' }),
|
|
78
|
+
__metadata("design:type", Date)
|
|
79
|
+
], WorkflowCheckpointEntity.prototype, "createdAt", void 0);
|
|
80
|
+
exports.WorkflowCheckpointEntity = WorkflowCheckpointEntity = __decorate([
|
|
81
|
+
(0, typeorm_1.Entity)({ name: 'core_workflow_checkpoint' })
|
|
82
|
+
], WorkflowCheckpointEntity);
|
|
83
|
+
//# sourceMappingURL=workflow-checkpoint.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-checkpoint.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-checkpoint.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAiH;AACjH,uDAAmD;AAG5C,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IAEnC,EAAE,CAAU;IAIZ,QAAQ,CAAkB;IAI1B,UAAU,CAAU;IAGpB,KAAK,CAAU;IAGf,YAAY,CAAiB;IAG7B,cAAc,CAAiB;IAG/B,KAAK,CAA2B;IAGhC,KAAK,CAA2B;IAGhC,WAAW,CAAY;IAGvB,sBAAsB,CAAY;IAGlC,OAAO,CAAU;IAGjB,SAAS,CAAQ;CAClB,CAAA;AAtCY,4DAAwB;AAEnC;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;oDACnB;AAIZ;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gCAAc,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACxD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BACzB,gCAAc;0DAAC;AAI1B;IAFC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;IAC/B,IAAA,eAAK,GAAE;;4DACY;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;uDACb;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACtC;AAG7B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,iBAAiB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACtC;AAG/B;IADC,IAAA,gBAAM,EAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;uDACD;AAGhC;IADC,IAAA,gBAAM,EAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;uDACD;AAGhC;IADC,IAAA,gBAAM,EAAC,MAAM,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;6DAC9C;AAGvB;IADC,IAAA,gBAAM,EAAC,MAAM,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;wEAC/C;AAGlC;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;yDACN;AAGjB;IADC,IAAA,0BAAgB,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;8BAC7B,IAAI;2DAAC;mCArCN,wBAAwB;IADpC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC;GAChC,wBAAwB,CAsCpC"}
|
|
@@ -1,38 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { JSONSchemaConfigType, UiFormType, WorkflowTransitionType } from '@loopstack/contracts/types';
|
|
1
|
+
import type { WorkflowTransitionType } from '@loopstack/contracts/types';
|
|
3
2
|
import { WorkflowState } from '../enums';
|
|
4
|
-
import { TransitionResultLookup, WorkflowMementoData } from '../interfaces';
|
|
5
3
|
import { DocumentEntity } from './document.entity';
|
|
6
|
-
import { NamespaceEntity } from './namespace.entity';
|
|
7
4
|
import { User } from './user.entity';
|
|
5
|
+
import { WorkspaceEntity } from './workspace.entity';
|
|
8
6
|
export declare class WorkflowEntity {
|
|
9
7
|
id: string;
|
|
10
|
-
|
|
8
|
+
alias: string;
|
|
9
|
+
className: string | null;
|
|
11
10
|
title: string;
|
|
12
|
-
|
|
13
|
-
progress: number;
|
|
11
|
+
run: number;
|
|
14
12
|
status: WorkflowState;
|
|
15
13
|
hasError: boolean;
|
|
16
14
|
errorMessage: string | null;
|
|
15
|
+
callbackTransition: string | null;
|
|
16
|
+
callbackMetadata: Record<string, unknown> | null;
|
|
17
|
+
args: any;
|
|
18
|
+
context: Record<string, any>;
|
|
17
19
|
createdAt: Date;
|
|
18
20
|
updatedAt: Date;
|
|
19
21
|
place: string;
|
|
20
|
-
transitionResults: TransitionResultLookup | null;
|
|
21
|
-
inputData: Record<string, unknown>;
|
|
22
22
|
result: Record<string, unknown> | null;
|
|
23
23
|
availableTransitions: WorkflowTransitionType[] | null;
|
|
24
|
-
history: WorkflowMementoData<any, any>[] | null;
|
|
25
|
-
schema: JSONSchemaConfigType | null;
|
|
26
|
-
error: z.ZodError | null;
|
|
27
|
-
ui: UiFormType | null;
|
|
28
|
-
namespace: NamespaceEntity;
|
|
29
|
-
namespaceId: string;
|
|
30
|
-
pipelineId: string;
|
|
31
24
|
labels: string[];
|
|
32
25
|
dependencies: DocumentEntity[];
|
|
33
26
|
hashRecord: Record<string, string | null> | null;
|
|
34
27
|
documents: DocumentEntity[];
|
|
28
|
+
workspace: WorkspaceEntity;
|
|
29
|
+
workspaceId: string;
|
|
35
30
|
creator: User;
|
|
36
31
|
createdBy: string;
|
|
32
|
+
parent: WorkflowEntity | null;
|
|
33
|
+
parentId: string | null;
|
|
34
|
+
children: WorkflowEntity[];
|
|
37
35
|
}
|
|
38
36
|
//# sourceMappingURL=workflow.entity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow.entity.ts"],"names":[],"mappings":"AAaA,OAAO,
|
|
1
|
+
{"version":3,"file":"workflow.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow.entity.ts"],"names":[],"mappings":"AAaA,O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;IAIrB,OAAO,EAAG,IAAI,CAAC;IAIf,SAAS,EAAG,MAAM,CAAC;IAOnB,MAAM,EAAG,cAAc,GAAG,IAAI,CAAC;IAG/B,QAAQ,EAAG,MAAM,GAAG,IAAI,CAAC;IAGzB,QAAQ,EAAG,cAAc,EAAE,CAAC;CAC7B"}
|
|
@@ -12,39 +12,38 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.WorkflowEntity = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const enums_1 = require("../enums");
|
|
15
|
-
const utils_1 = require("../utils");
|
|
16
15
|
const document_entity_1 = require("./document.entity");
|
|
17
|
-
const namespace_entity_1 = require("./namespace.entity");
|
|
18
16
|
const user_entity_1 = require("./user.entity");
|
|
17
|
+
const workspace_entity_1 = require("./workspace.entity");
|
|
19
18
|
let WorkflowEntity = class WorkflowEntity {
|
|
20
19
|
id;
|
|
21
|
-
|
|
20
|
+
alias;
|
|
21
|
+
className;
|
|
22
22
|
title;
|
|
23
|
-
|
|
24
|
-
progress;
|
|
23
|
+
run;
|
|
25
24
|
status;
|
|
26
25
|
hasError;
|
|
27
26
|
errorMessage;
|
|
27
|
+
callbackTransition;
|
|
28
|
+
callbackMetadata;
|
|
29
|
+
args;
|
|
30
|
+
context;
|
|
28
31
|
createdAt;
|
|
29
32
|
updatedAt;
|
|
30
33
|
place;
|
|
31
|
-
transitionResults;
|
|
32
|
-
inputData;
|
|
33
34
|
result;
|
|
34
35
|
availableTransitions;
|
|
35
|
-
history;
|
|
36
|
-
schema;
|
|
37
|
-
error;
|
|
38
|
-
ui;
|
|
39
|
-
namespace;
|
|
40
|
-
namespaceId;
|
|
41
|
-
pipelineId;
|
|
42
36
|
labels;
|
|
43
37
|
dependencies;
|
|
44
38
|
hashRecord;
|
|
45
39
|
documents;
|
|
40
|
+
workspace;
|
|
41
|
+
workspaceId;
|
|
46
42
|
creator;
|
|
47
43
|
createdBy;
|
|
44
|
+
parent;
|
|
45
|
+
parentId;
|
|
46
|
+
children;
|
|
48
47
|
};
|
|
49
48
|
exports.WorkflowEntity = WorkflowEntity;
|
|
50
49
|
__decorate([
|
|
@@ -52,22 +51,22 @@ __decorate([
|
|
|
52
51
|
__metadata("design:type", String)
|
|
53
52
|
], WorkflowEntity.prototype, "id", void 0);
|
|
54
53
|
__decorate([
|
|
55
|
-
(0, typeorm_1.Column)({ type: 'varchar', name: '
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'varchar', name: 'alias' }),
|
|
56
55
|
(0, typeorm_1.Index)(),
|
|
57
56
|
__metadata("design:type", String)
|
|
58
|
-
], WorkflowEntity.prototype, "
|
|
57
|
+
], WorkflowEntity.prototype, "alias", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, typeorm_1.Column)({ type: 'varchar', name: 'class_name', nullable: true }),
|
|
60
|
+
__metadata("design:type", Object)
|
|
61
|
+
], WorkflowEntity.prototype, "className", void 0);
|
|
59
62
|
__decorate([
|
|
60
63
|
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
61
64
|
__metadata("design:type", String)
|
|
62
65
|
], WorkflowEntity.prototype, "title", void 0);
|
|
63
66
|
__decorate([
|
|
64
|
-
(0, typeorm_1.Column)(
|
|
65
|
-
__metadata("design:type", String)
|
|
66
|
-
], WorkflowEntity.prototype, "index", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, typeorm_1.Column)({ default: 0 }),
|
|
67
|
+
(0, typeorm_1.Column)({ default: 1 }),
|
|
69
68
|
__metadata("design:type", Number)
|
|
70
|
-
], WorkflowEntity.prototype, "
|
|
69
|
+
], WorkflowEntity.prototype, "run", void 0);
|
|
71
70
|
__decorate([
|
|
72
71
|
(0, typeorm_1.Column)({
|
|
73
72
|
type: 'enum',
|
|
@@ -84,6 +83,22 @@ __decorate([
|
|
|
84
83
|
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
85
84
|
__metadata("design:type", Object)
|
|
86
85
|
], WorkflowEntity.prototype, "errorMessage", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, typeorm_1.Column)({ type: 'varchar', name: 'callback_transition', nullable: true }),
|
|
88
|
+
__metadata("design:type", Object)
|
|
89
|
+
], WorkflowEntity.prototype, "callbackTransition", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, typeorm_1.Column)('jsonb', { name: 'callback_metadata', nullable: true }),
|
|
92
|
+
__metadata("design:type", Object)
|
|
93
|
+
], WorkflowEntity.prototype, "callbackMetadata", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, typeorm_1.Column)('jsonb', { default: {} }),
|
|
96
|
+
__metadata("design:type", Object)
|
|
97
|
+
], WorkflowEntity.prototype, "args", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, typeorm_1.Column)('jsonb', { default: {} }),
|
|
100
|
+
__metadata("design:type", Object)
|
|
101
|
+
], WorkflowEntity.prototype, "context", void 0);
|
|
87
102
|
__decorate([
|
|
88
103
|
(0, typeorm_1.CreateDateColumn)({ name: 'created_at' }),
|
|
89
104
|
__metadata("design:type", Date)
|
|
@@ -93,23 +108,9 @@ __decorate([
|
|
|
93
108
|
__metadata("design:type", Date)
|
|
94
109
|
], WorkflowEntity.prototype, "updatedAt", void 0);
|
|
95
110
|
__decorate([
|
|
96
|
-
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
111
|
+
(0, typeorm_1.Column)({ type: 'varchar', default: 'start' }),
|
|
97
112
|
__metadata("design:type", String)
|
|
98
113
|
], WorkflowEntity.prototype, "place", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
(0, typeorm_1.Column)('jsonb', {
|
|
101
|
-
name: 'transition_results',
|
|
102
|
-
nullable: true,
|
|
103
|
-
}),
|
|
104
|
-
__metadata("design:type", Object)
|
|
105
|
-
], WorkflowEntity.prototype, "transitionResults", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
(0, typeorm_1.Column)('jsonb', {
|
|
108
|
-
name: 'input_data',
|
|
109
|
-
default: {},
|
|
110
|
-
}),
|
|
111
|
-
__metadata("design:type", Object)
|
|
112
|
-
], WorkflowEntity.prototype, "inputData", void 0);
|
|
113
114
|
__decorate([
|
|
114
115
|
(0, typeorm_1.Column)({
|
|
115
116
|
type: 'jsonb',
|
|
@@ -125,47 +126,6 @@ __decorate([
|
|
|
125
126
|
}),
|
|
126
127
|
__metadata("design:type", Object)
|
|
127
128
|
], WorkflowEntity.prototype, "availableTransitions", void 0);
|
|
128
|
-
__decorate([
|
|
129
|
-
(0, typeorm_1.Column)('jsonb', { name: 'history', nullable: true }),
|
|
130
|
-
__metadata("design:type", Object)
|
|
131
|
-
], WorkflowEntity.prototype, "history", void 0);
|
|
132
|
-
__decorate([
|
|
133
|
-
(0, typeorm_1.Column)({
|
|
134
|
-
type: 'jsonb',
|
|
135
|
-
transformer: new utils_1.StableJsonTransformer(),
|
|
136
|
-
name: 'schema',
|
|
137
|
-
nullable: true,
|
|
138
|
-
}),
|
|
139
|
-
__metadata("design:type", Object)
|
|
140
|
-
], WorkflowEntity.prototype, "schema", void 0);
|
|
141
|
-
__decorate([
|
|
142
|
-
(0, typeorm_1.Column)('jsonb', { nullable: true, name: 'error' }),
|
|
143
|
-
__metadata("design:type", Object)
|
|
144
|
-
], WorkflowEntity.prototype, "error", void 0);
|
|
145
|
-
__decorate([
|
|
146
|
-
(0, typeorm_1.Column)({
|
|
147
|
-
type: 'jsonb',
|
|
148
|
-
transformer: new utils_1.StableJsonTransformer(),
|
|
149
|
-
name: 'ui',
|
|
150
|
-
nullable: true,
|
|
151
|
-
}),
|
|
152
|
-
__metadata("design:type", Object)
|
|
153
|
-
], WorkflowEntity.prototype, "ui", void 0);
|
|
154
|
-
__decorate([
|
|
155
|
-
(0, typeorm_1.ManyToOne)(() => namespace_entity_1.NamespaceEntity, (namespace) => namespace.workflows, {
|
|
156
|
-
onDelete: 'CASCADE',
|
|
157
|
-
}),
|
|
158
|
-
(0, typeorm_1.JoinColumn)({ name: 'namespace_id' }),
|
|
159
|
-
__metadata("design:type", namespace_entity_1.NamespaceEntity)
|
|
160
|
-
], WorkflowEntity.prototype, "namespace", void 0);
|
|
161
|
-
__decorate([
|
|
162
|
-
(0, typeorm_1.Column)({ name: 'namespace_id' }),
|
|
163
|
-
__metadata("design:type", String)
|
|
164
|
-
], WorkflowEntity.prototype, "namespaceId", void 0);
|
|
165
|
-
__decorate([
|
|
166
|
-
(0, typeorm_1.Column)({ name: 'pipeline_id' }),
|
|
167
|
-
__metadata("design:type", String)
|
|
168
|
-
], WorkflowEntity.prototype, "pipelineId", void 0);
|
|
169
129
|
__decorate([
|
|
170
130
|
(0, typeorm_1.Column)('varchar', { name: 'labels', array: true, default: [] }),
|
|
171
131
|
__metadata("design:type", Array)
|
|
@@ -193,11 +153,21 @@ __decorate([
|
|
|
193
153
|
], WorkflowEntity.prototype, "hashRecord", void 0);
|
|
194
154
|
__decorate([
|
|
195
155
|
(0, typeorm_1.OneToMany)(() => document_entity_1.DocumentEntity, (document) => document.workflow, {
|
|
196
|
-
cascade: true,
|
|
197
156
|
onDelete: 'CASCADE',
|
|
198
157
|
}),
|
|
199
158
|
__metadata("design:type", Array)
|
|
200
159
|
], WorkflowEntity.prototype, "documents", void 0);
|
|
160
|
+
__decorate([
|
|
161
|
+
(0, typeorm_1.ManyToOne)(() => workspace_entity_1.WorkspaceEntity, (workspace) => workspace.workflows, {
|
|
162
|
+
onDelete: 'CASCADE',
|
|
163
|
+
}),
|
|
164
|
+
(0, typeorm_1.JoinColumn)({ name: 'workspace_id' }),
|
|
165
|
+
__metadata("design:type", workspace_entity_1.WorkspaceEntity)
|
|
166
|
+
], WorkflowEntity.prototype, "workspace", void 0);
|
|
167
|
+
__decorate([
|
|
168
|
+
(0, typeorm_1.Column)({ name: 'workspace_id' }),
|
|
169
|
+
__metadata("design:type", String)
|
|
170
|
+
], WorkflowEntity.prototype, "workspaceId", void 0);
|
|
201
171
|
__decorate([
|
|
202
172
|
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { onDelete: 'RESTRICT' }),
|
|
203
173
|
(0, typeorm_1.JoinColumn)({ name: 'created_by' }),
|
|
@@ -208,6 +178,22 @@ __decorate([
|
|
|
208
178
|
(0, typeorm_1.Index)(),
|
|
209
179
|
__metadata("design:type", String)
|
|
210
180
|
], WorkflowEntity.prototype, "createdBy", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, typeorm_1.ManyToOne)(() => WorkflowEntity, (workflow) => workflow.children, {
|
|
183
|
+
onDelete: 'CASCADE',
|
|
184
|
+
nullable: true,
|
|
185
|
+
}),
|
|
186
|
+
(0, typeorm_1.JoinColumn)({ name: 'parent_id' }),
|
|
187
|
+
__metadata("design:type", Object)
|
|
188
|
+
], WorkflowEntity.prototype, "parent", void 0);
|
|
189
|
+
__decorate([
|
|
190
|
+
(0, typeorm_1.Column)({ name: 'parent_id', type: 'uuid', nullable: true }),
|
|
191
|
+
__metadata("design:type", Object)
|
|
192
|
+
], WorkflowEntity.prototype, "parentId", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
(0, typeorm_1.OneToMany)(() => WorkflowEntity, (workflow) => workflow.parent),
|
|
195
|
+
__metadata("design:type", Array)
|
|
196
|
+
], WorkflowEntity.prototype, "children", void 0);
|
|
211
197
|
exports.WorkflowEntity = WorkflowEntity = __decorate([
|
|
212
198
|
(0, typeorm_1.Entity)({ name: 'core_workflow' })
|
|
213
199
|
], WorkflowEntity);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.entity.js","sourceRoot":"","sources":["../../src/entities/workflow.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAYiB;
|
|
1
|
+
{"version":3,"file":"workflow.entity.js","sourceRoot":"","sources":["../../src/entities/workflow.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAYiB;AAEjB,oCAAyC;AACzC,uDAAmD;AACnD,+CAAqC;AACrC,yDAAqD;AAG9C,IAAM,cAAc,GAApB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,CAAC;IAC5C,IAAA,eAAK,GAAE;;iDACW;AAOnB;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,cAAc,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE;QAChE,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;;8CACH;AAG/B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACnC;AAGzB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,cAAc,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC;;gDACnC;yBAvHjB,cAAc;IAD1B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;GACrB,cAAc,CAwH1B"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { PipelineEntity } from './pipeline.entity';
|
|
2
1
|
import { User } from './user.entity';
|
|
2
|
+
import { WorkflowEntity } from './workflow.entity';
|
|
3
3
|
import { WorkspaceEnvironmentEntity } from './workspace-environment.entity';
|
|
4
4
|
export declare class WorkspaceEntity {
|
|
5
5
|
id: string;
|
|
6
6
|
title: string;
|
|
7
|
-
|
|
7
|
+
className: string;
|
|
8
8
|
isFavourite: boolean;
|
|
9
9
|
createdAt: Date;
|
|
10
10
|
updatedAt: Date;
|
|
11
|
-
|
|
11
|
+
workflows: WorkflowEntity[];
|
|
12
12
|
environments: WorkspaceEnvironmentEntity[];
|
|
13
13
|
creator: User;
|
|
14
14
|
createdBy: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workspace.entity.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"workspace.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workspace.entity.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAE5E,qBACa,eAAe;IAE1B,EAAE,EAAG,MAAM,CAAC;IAGZ,KAAK,EAAG,MAAM,CAAC;IAIf,SAAS,EAAG,MAAM,CAAC;IAGnB,WAAW,EAAG,OAAO,CAAC;IAGtB,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,EAAG,IAAI,CAAC;IAMjB,SAAS,EAAG,cAAc,EAAE,CAAC;IAM7B,YAAY,EAAG,0BAA0B,EAAE,CAAC;IAI5C,OAAO,EAAG,IAAI,CAAC;IAIf,SAAS,EAAG,MAAM,CAAC;CACpB"}
|