@octo-cyber/workflow 0.5.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/controllers/ai-workflow-session.controller.d.ts +19 -0
- package/dist/controllers/ai-workflow-session.controller.d.ts.map +1 -0
- package/dist/controllers/ai-workflow-session.controller.js +135 -0
- package/dist/controllers/ai-workflow-session.controller.js.map +1 -0
- package/dist/controllers/credential.controller.d.ts +68 -0
- package/dist/controllers/credential.controller.d.ts.map +1 -0
- package/dist/controllers/credential.controller.js +303 -0
- package/dist/controllers/credential.controller.js.map +1 -0
- package/dist/controllers/index.d.ts +3 -0
- package/dist/controllers/index.d.ts.map +1 -0
- package/dist/controllers/index.js +8 -0
- package/dist/controllers/index.js.map +1 -0
- package/dist/controllers/workflow-ai.controller.d.ts +23 -0
- package/dist/controllers/workflow-ai.controller.d.ts.map +1 -0
- package/dist/controllers/workflow-ai.controller.js +164 -0
- package/dist/controllers/workflow-ai.controller.js.map +1 -0
- package/dist/controllers/workflow.controller.d.ts +66 -0
- package/dist/controllers/workflow.controller.d.ts.map +1 -0
- package/dist/controllers/workflow.controller.js +239 -0
- package/dist/controllers/workflow.controller.js.map +1 -0
- package/dist/core/expression-resolver.d.ts +49 -0
- package/dist/core/expression-resolver.d.ts.map +1 -0
- package/dist/core/expression-resolver.js +113 -0
- package/dist/core/expression-resolver.js.map +1 -0
- package/dist/core/node-registry.d.ts +24 -0
- package/dist/core/node-registry.d.ts.map +1 -0
- package/dist/core/node-registry.js +62 -0
- package/dist/core/node-registry.js.map +1 -0
- package/dist/core/workflow-executor.d.ts +50 -0
- package/dist/core/workflow-executor.d.ts.map +1 -0
- package/dist/core/workflow-executor.js +458 -0
- package/dist/core/workflow-executor.js.map +1 -0
- package/dist/entities/ai-workflow-session.entity.d.ts +17 -0
- package/dist/entities/ai-workflow-session.entity.d.ts.map +1 -0
- package/dist/entities/ai-workflow-session.entity.js +70 -0
- package/dist/entities/ai-workflow-session.entity.js.map +1 -0
- package/dist/entities/ai-workflow-version.entity.d.ts +18 -0
- package/dist/entities/ai-workflow-version.entity.d.ts.map +1 -0
- package/dist/entities/ai-workflow-version.entity.js +71 -0
- package/dist/entities/ai-workflow-version.entity.js.map +1 -0
- package/dist/entities/credential-definition.entity.d.ts +17 -0
- package/dist/entities/credential-definition.entity.d.ts.map +1 -0
- package/dist/entities/credential-definition.entity.js +66 -0
- package/dist/entities/credential-definition.entity.js.map +1 -0
- package/dist/entities/index.d.ts +9 -0
- package/dist/entities/index.d.ts.map +1 -0
- package/dist/entities/index.js +22 -0
- package/dist/entities/index.js.map +1 -0
- package/dist/entities/workflow-definition.entity.d.ts +20 -0
- package/dist/entities/workflow-definition.entity.d.ts.map +1 -0
- package/dist/entities/workflow-definition.entity.js +85 -0
- package/dist/entities/workflow-definition.entity.js.map +1 -0
- package/dist/entities/workflow-execution.entity.d.ts +26 -0
- package/dist/entities/workflow-execution.entity.d.ts.map +1 -0
- package/dist/entities/workflow-execution.entity.js +99 -0
- package/dist/entities/workflow-execution.entity.js.map +1 -0
- package/dist/index.d.ts +52 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +96 -0
- package/dist/index.js.map +1 -0
- package/dist/n8n/cipher/cipher.d.ts +11 -0
- package/dist/n8n/cipher/cipher.d.ts.map +1 -0
- package/dist/n8n/cipher/cipher.js +54 -0
- package/dist/n8n/cipher/cipher.js.map +1 -0
- package/dist/n8n/controllers/n8n-session.controller.d.ts +20 -0
- package/dist/n8n/controllers/n8n-session.controller.d.ts.map +1 -0
- package/dist/n8n/controllers/n8n-session.controller.js +84 -0
- package/dist/n8n/controllers/n8n-session.controller.js.map +1 -0
- package/dist/n8n/index.d.ts +8 -0
- package/dist/n8n/index.d.ts.map +1 -0
- package/dist/n8n/index.js +14 -0
- package/dist/n8n/index.js.map +1 -0
- package/dist/n8n/launcher/n8n-launcher.d.ts +41 -0
- package/dist/n8n/launcher/n8n-launcher.d.ts.map +1 -0
- package/dist/n8n/launcher/n8n-launcher.js +186 -0
- package/dist/n8n/launcher/n8n-launcher.js.map +1 -0
- package/dist/n8n/nodes/OctoClaudeCliTool.node.d.ts +13 -0
- package/dist/n8n/nodes/OctoClaudeCliTool.node.d.ts.map +1 -0
- package/dist/n8n/nodes/OctoClaudeCliTool.node.js +103 -0
- package/dist/n8n/nodes/OctoClaudeCliTool.node.js.map +1 -0
- package/dist/n8n/nodes/OctoCliChatModel.node.d.ts +14 -0
- package/dist/n8n/nodes/OctoCliChatModel.node.d.ts.map +1 -0
- package/dist/n8n/nodes/OctoCliChatModel.node.js +431 -0
- package/dist/n8n/nodes/OctoCliChatModel.node.js.map +1 -0
- package/dist/n8n/nodes/OctoCodexCliTool.node.d.ts +13 -0
- package/dist/n8n/nodes/OctoCodexCliTool.node.d.ts.map +1 -0
- package/dist/n8n/nodes/OctoCodexCliTool.node.js +100 -0
- package/dist/n8n/nodes/OctoCodexCliTool.node.js.map +1 -0
- package/dist/n8n/nodes/OctoGeminiCliTool.node.d.ts +13 -0
- package/dist/n8n/nodes/OctoGeminiCliTool.node.d.ts.map +1 -0
- package/dist/n8n/nodes/OctoGeminiCliTool.node.js +91 -0
- package/dist/n8n/nodes/OctoGeminiCliTool.node.js.map +1 -0
- package/dist/n8n/nodes/OctoKnowledge.node.d.ts +6 -0
- package/dist/n8n/nodes/OctoKnowledge.node.d.ts.map +1 -0
- package/dist/n8n/nodes/OctoKnowledge.node.js +95 -0
- package/dist/n8n/nodes/OctoKnowledge.node.js.map +1 -0
- package/dist/n8n/nodes/OctoNotification.node.d.ts +6 -0
- package/dist/n8n/nodes/OctoNotification.node.d.ts.map +1 -0
- package/dist/n8n/nodes/OctoNotification.node.js +72 -0
- package/dist/n8n/nodes/OctoNotification.node.js.map +1 -0
- package/dist/n8n/nodes/OctoSyncBridge.node.d.ts +6 -0
- package/dist/n8n/nodes/OctoSyncBridge.node.d.ts.map +1 -0
- package/dist/n8n/nodes/OctoSyncBridge.node.js +60 -0
- package/dist/n8n/nodes/OctoSyncBridge.node.js.map +1 -0
- package/dist/n8n/nodes/n8n-node-types.d.ts +111 -0
- package/dist/n8n/nodes/n8n-node-types.d.ts.map +1 -0
- package/dist/n8n/nodes/n8n-node-types.js +30 -0
- package/dist/n8n/nodes/n8n-node-types.js.map +1 -0
- package/dist/n8n/nodes/octo-cli-chat-model.svg +23 -0
- package/dist/n8n/nodes/package.json +16 -0
- package/dist/n8n/proxy/css-injector.d.ts +3 -0
- package/dist/n8n/proxy/css-injector.d.ts.map +1 -0
- package/dist/n8n/proxy/css-injector.js +62 -0
- package/dist/n8n/proxy/css-injector.js.map +1 -0
- package/dist/n8n/proxy/n8n-proxy.middleware.d.ts +12 -0
- package/dist/n8n/proxy/n8n-proxy.middleware.d.ts.map +1 -0
- package/dist/n8n/proxy/n8n-proxy.middleware.js +131 -0
- package/dist/n8n/proxy/n8n-proxy.middleware.js.map +1 -0
- package/dist/n8n/proxy/n8n-theme.css +45 -0
- package/dist/n8n/sync/n8n-user-sync.service.d.ts +75 -0
- package/dist/n8n/sync/n8n-user-sync.service.d.ts.map +1 -0
- package/dist/n8n/sync/n8n-user-sync.service.js +286 -0
- package/dist/n8n/sync/n8n-user-sync.service.js.map +1 -0
- package/dist/n8n/watcher/n8n-execution-watcher.d.ts +39 -0
- package/dist/n8n/watcher/n8n-execution-watcher.d.ts.map +1 -0
- package/dist/n8n/watcher/n8n-execution-watcher.js +110 -0
- package/dist/n8n/watcher/n8n-execution-watcher.js.map +1 -0
- package/dist/nodes/code.node.d.ts +24 -0
- package/dist/nodes/code.node.d.ts.map +1 -0
- package/dist/nodes/code.node.js +150 -0
- package/dist/nodes/code.node.js.map +1 -0
- package/dist/nodes/error-trigger.node.d.ts +15 -0
- package/dist/nodes/error-trigger.node.d.ts.map +1 -0
- package/dist/nodes/error-trigger.node.js +53 -0
- package/dist/nodes/error-trigger.node.js.map +1 -0
- package/dist/nodes/execute-command.node.d.ts +9 -0
- package/dist/nodes/execute-command.node.d.ts.map +1 -0
- package/dist/nodes/execute-command.node.js +81 -0
- package/dist/nodes/execute-command.node.js.map +1 -0
- package/dist/nodes/filter.node.d.ts +10 -0
- package/dist/nodes/filter.node.d.ts.map +1 -0
- package/dist/nodes/filter.node.js +95 -0
- package/dist/nodes/filter.node.js.map +1 -0
- package/dist/nodes/http-request.node.d.ts +11 -0
- package/dist/nodes/http-request.node.d.ts.map +1 -0
- package/dist/nodes/http-request.node.js +139 -0
- package/dist/nodes/http-request.node.js.map +1 -0
- package/dist/nodes/if.node.d.ts +13 -0
- package/dist/nodes/if.node.d.ts.map +1 -0
- package/dist/nodes/if.node.js +137 -0
- package/dist/nodes/if.node.js.map +1 -0
- package/dist/nodes/index.d.ts +12 -0
- package/dist/nodes/index.d.ts.map +1 -0
- package/dist/nodes/index.js +26 -0
- package/dist/nodes/index.js.map +1 -0
- package/dist/nodes/manual-trigger.node.d.ts +10 -0
- package/dist/nodes/manual-trigger.node.d.ts.map +1 -0
- package/dist/nodes/manual-trigger.node.js +36 -0
- package/dist/nodes/manual-trigger.node.js.map +1 -0
- package/dist/nodes/merge.node.d.ts +15 -0
- package/dist/nodes/merge.node.d.ts.map +1 -0
- package/dist/nodes/merge.node.js +99 -0
- package/dist/nodes/merge.node.js.map +1 -0
- package/dist/nodes/noop.node.d.ts +12 -0
- package/dist/nodes/noop.node.d.ts.map +1 -0
- package/dist/nodes/noop.node.js +32 -0
- package/dist/nodes/noop.node.js.map +1 -0
- package/dist/nodes/placeholder.node.d.ts +10 -0
- package/dist/nodes/placeholder.node.d.ts.map +1 -0
- package/dist/nodes/placeholder.node.js +50 -0
- package/dist/nodes/placeholder.node.js.map +1 -0
- package/dist/nodes/remove-duplicates.node.d.ts +9 -0
- package/dist/nodes/remove-duplicates.node.d.ts.map +1 -0
- package/dist/nodes/remove-duplicates.node.js +68 -0
- package/dist/nodes/remove-duplicates.node.js.map +1 -0
- package/dist/nodes/respond-to-webhook.node.d.ts +14 -0
- package/dist/nodes/respond-to-webhook.node.d.ts.map +1 -0
- package/dist/nodes/respond-to-webhook.node.js +116 -0
- package/dist/nodes/respond-to-webhook.node.js.map +1 -0
- package/dist/nodes/schedule-trigger.node.d.ts +9 -0
- package/dist/nodes/schedule-trigger.node.d.ts.map +1 -0
- package/dist/nodes/schedule-trigger.node.js +67 -0
- package/dist/nodes/schedule-trigger.node.js.map +1 -0
- package/dist/nodes/set.node.d.ts +12 -0
- package/dist/nodes/set.node.d.ts.map +1 -0
- package/dist/nodes/set.node.js +81 -0
- package/dist/nodes/set.node.js.map +1 -0
- package/dist/nodes/sort.node.d.ts +9 -0
- package/dist/nodes/sort.node.d.ts.map +1 -0
- package/dist/nodes/sort.node.js +61 -0
- package/dist/nodes/sort.node.js.map +1 -0
- package/dist/nodes/split-in-batches.node.d.ts +9 -0
- package/dist/nodes/split-in-batches.node.d.ts.map +1 -0
- package/dist/nodes/split-in-batches.node.js +53 -0
- package/dist/nodes/split-in-batches.node.js.map +1 -0
- package/dist/nodes/split-out.node.d.ts +9 -0
- package/dist/nodes/split-out.node.d.ts.map +1 -0
- package/dist/nodes/split-out.node.js +76 -0
- package/dist/nodes/split-out.node.js.map +1 -0
- package/dist/nodes/switch.node.d.ts +16 -0
- package/dist/nodes/switch.node.d.ts.map +1 -0
- package/dist/nodes/switch.node.js +156 -0
- package/dist/nodes/switch.node.js.map +1 -0
- package/dist/nodes/wait.node.d.ts +12 -0
- package/dist/nodes/wait.node.d.ts.map +1 -0
- package/dist/nodes/wait.node.js +81 -0
- package/dist/nodes/wait.node.js.map +1 -0
- package/dist/nodes/webhook.node.d.ts +9 -0
- package/dist/nodes/webhook.node.d.ts.map +1 -0
- package/dist/nodes/webhook.node.js +69 -0
- package/dist/nodes/webhook.node.js.map +1 -0
- package/dist/services/ai-workflow-session.service.d.ts +31 -0
- package/dist/services/ai-workflow-session.service.d.ts.map +1 -0
- package/dist/services/ai-workflow-session.service.js +118 -0
- package/dist/services/ai-workflow-session.service.js.map +1 -0
- package/dist/services/credential.service.d.ts +57 -0
- package/dist/services/credential.service.d.ts.map +1 -0
- package/dist/services/credential.service.js +155 -0
- package/dist/services/credential.service.js.map +1 -0
- package/dist/services/index.d.ts +10 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +14 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/push.service.d.ts +60 -0
- package/dist/services/push.service.d.ts.map +1 -0
- package/dist/services/push.service.js +121 -0
- package/dist/services/push.service.js.map +1 -0
- package/dist/services/workflow-ai.service.d.ts +61 -0
- package/dist/services/workflow-ai.service.d.ts.map +1 -0
- package/dist/services/workflow-ai.service.js +219 -0
- package/dist/services/workflow-ai.service.js.map +1 -0
- package/dist/services/workflow-context.service.d.ts +32 -0
- package/dist/services/workflow-context.service.d.ts.map +1 -0
- package/dist/services/workflow-context.service.js +155 -0
- package/dist/services/workflow-context.service.js.map +1 -0
- package/dist/services/workflow-engine.service.d.ts +90 -0
- package/dist/services/workflow-engine.service.d.ts.map +1 -0
- package/dist/services/workflow-engine.service.js +305 -0
- package/dist/services/workflow-engine.service.js.map +1 -0
- package/dist/services/workflow.service.d.ts +84 -0
- package/dist/services/workflow.service.d.ts.map +1 -0
- package/dist/services/workflow.service.js +241 -0
- package/dist/services/workflow.service.js.map +1 -0
- package/dist/triggers/cron-trigger.d.ts +39 -0
- package/dist/triggers/cron-trigger.d.ts.map +1 -0
- package/dist/triggers/cron-trigger.js +137 -0
- package/dist/triggers/cron-trigger.js.map +1 -0
- package/dist/triggers/index.d.ts +3 -0
- package/dist/triggers/index.d.ts.map +1 -0
- package/dist/triggers/index.js +8 -0
- package/dist/triggers/index.js.map +1 -0
- package/dist/triggers/webhook-trigger.d.ts +51 -0
- package/dist/triggers/webhook-trigger.d.ts.map +1 -0
- package/dist/triggers/webhook-trigger.js +122 -0
- package/dist/triggers/webhook-trigger.js.map +1 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +8 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/node.types.d.ts +313 -0
- package/dist/types/node.types.d.ts.map +1 -0
- package/dist/types/node.types.js +23 -0
- package/dist/types/node.types.js.map +1 -0
- package/dist/types/workflow.types.d.ts +153 -0
- package/dist/types/workflow.types.d.ts.map +1 -0
- package/dist/types/workflow.types.js +44 -0
- package/dist/types/workflow.types.js.map +1 -0
- package/dist/utils/n8n-converter.d.ts +52 -0
- package/dist/utils/n8n-converter.d.ts.map +1 -0
- package/dist/utils/n8n-converter.js +107 -0
- package/dist/utils/n8n-converter.js.map +1 -0
- package/dist/utils/n8n-node-map.d.ts +6 -0
- package/dist/utils/n8n-node-map.d.ts.map +1 -0
- package/dist/utils/n8n-node-map.js +59 -0
- package/dist/utils/n8n-node-map.js.map +1 -0
- package/dist/workflow.module.d.ts +40 -0
- package/dist/workflow.module.d.ts.map +1 -0
- package/dist/workflow.module.js +240 -0
- package/dist/workflow.module.js.map +1 -0
- package/package.json +97 -0
- package/web/components/ChatPanel.tsx +344 -0
- package/web/components/N8nIframe.tsx +119 -0
- package/web/components/SessionPanel.tsx +301 -0
- package/web/components/ToolPanel.tsx +404 -0
- package/web/components/WorkflowDiff.tsx +161 -0
- package/web/components/WorkflowGraph.tsx +158 -0
- package/web/components/WorkflowPreviewPanel.tsx +186 -0
- package/web/hooks/use-n8n-session.ts +46 -0
- package/web/index.ts +29 -0
- package/web/manifest.ts +16 -0
- package/web/messages/en-US.json +94 -0
- package/web/messages/zh-CN.json +94 -0
- package/web/pages/AiDesignPage.tsx +215 -0
- package/web/pages/CredentialsPage.tsx +7 -0
- package/web/pages/ExecutionsPage.tsx +7 -0
- package/web/pages/WorkflowsPage.tsx +7 -0
- package/web/services/workflow-ai-service.ts +173 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class AiWorkflowSessionEntity {
|
|
2
|
+
id: number;
|
|
3
|
+
/** n8n workflow ID (null if creating from scratch) */
|
|
4
|
+
n8nWorkflowId: string | null;
|
|
5
|
+
/** Workflow display name */
|
|
6
|
+
workflowName: string;
|
|
7
|
+
/** Latest version JSON snapshot */
|
|
8
|
+
currentJson: string | null;
|
|
9
|
+
/** Current version number */
|
|
10
|
+
currentVersion: number;
|
|
11
|
+
/** Session status: DRAFT or APPLIED */
|
|
12
|
+
status: 'DRAFT' | 'APPLIED';
|
|
13
|
+
createdBy: number | null;
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
updatedAt: Date;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=ai-workflow-session.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-workflow-session.entity.d.ts","sourceRoot":"","sources":["../../src/entities/ai-workflow-session.entity.ts"],"names":[],"mappings":"AAQA,qBACa,uBAAuB;IAElC,EAAE,EAAG,MAAM,CAAC;IAEZ,sDAAsD;IAEtD,aAAa,EAAG,MAAM,GAAG,IAAI,CAAC;IAE9B,4BAA4B;IAE5B,YAAY,EAAG,MAAM,CAAC;IAEtB,mCAAmC;IAEnC,WAAW,EAAG,MAAM,GAAG,IAAI,CAAC;IAE5B,6BAA6B;IAE7B,cAAc,EAAG,MAAM,CAAC;IAExB,uCAAuC;IAEvC,MAAM,EAAG,OAAO,GAAG,SAAS,CAAC;IAG7B,SAAS,EAAG,MAAM,GAAG,IAAI,CAAC;IAG1B,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,EAAG,IAAI,CAAC;CAClB"}
|
|
@@ -0,0 +1,70 @@
|
|
|
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.AiWorkflowSessionEntity = void 0;
|
|
13
|
+
const core_1 = require("@octo/core");
|
|
14
|
+
let AiWorkflowSessionEntity = class AiWorkflowSessionEntity {
|
|
15
|
+
id;
|
|
16
|
+
/** n8n workflow ID (null if creating from scratch) */
|
|
17
|
+
n8nWorkflowId;
|
|
18
|
+
/** Workflow display name */
|
|
19
|
+
workflowName;
|
|
20
|
+
/** Latest version JSON snapshot */
|
|
21
|
+
currentJson;
|
|
22
|
+
/** Current version number */
|
|
23
|
+
currentVersion;
|
|
24
|
+
/** Session status: DRAFT or APPLIED */
|
|
25
|
+
status;
|
|
26
|
+
createdBy;
|
|
27
|
+
createdAt;
|
|
28
|
+
updatedAt;
|
|
29
|
+
};
|
|
30
|
+
exports.AiWorkflowSessionEntity = AiWorkflowSessionEntity;
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, core_1.PrimaryGeneratedColumn)('increment'),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], AiWorkflowSessionEntity.prototype, "id", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, core_1.Column)({ type: 'varchar', nullable: true }),
|
|
37
|
+
__metadata("design:type", Object)
|
|
38
|
+
], AiWorkflowSessionEntity.prototype, "n8nWorkflowId", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, core_1.Column)({ type: 'varchar' }),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], AiWorkflowSessionEntity.prototype, "workflowName", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, core_1.Column)({ type: 'text', nullable: true }),
|
|
45
|
+
__metadata("design:type", Object)
|
|
46
|
+
], AiWorkflowSessionEntity.prototype, "currentJson", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, core_1.Column)({ type: 'integer', default: 0 }),
|
|
49
|
+
__metadata("design:type", Number)
|
|
50
|
+
], AiWorkflowSessionEntity.prototype, "currentVersion", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, core_1.Column)({ type: 'varchar', default: 'DRAFT' }),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], AiWorkflowSessionEntity.prototype, "status", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, core_1.Column)({ type: 'integer', nullable: true }),
|
|
57
|
+
__metadata("design:type", Object)
|
|
58
|
+
], AiWorkflowSessionEntity.prototype, "createdBy", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, core_1.CreateDateColumn)(),
|
|
61
|
+
__metadata("design:type", Date)
|
|
62
|
+
], AiWorkflowSessionEntity.prototype, "createdAt", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, core_1.UpdateDateColumn)(),
|
|
65
|
+
__metadata("design:type", Date)
|
|
66
|
+
], AiWorkflowSessionEntity.prototype, "updatedAt", void 0);
|
|
67
|
+
exports.AiWorkflowSessionEntity = AiWorkflowSessionEntity = __decorate([
|
|
68
|
+
(0, core_1.Entity)('ai_workflow_sessions')
|
|
69
|
+
], AiWorkflowSessionEntity);
|
|
70
|
+
//# sourceMappingURL=ai-workflow-session.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-workflow-session.entity.js","sourceRoot":"","sources":["../../src/entities/ai-workflow-session.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAMoB;AAGb,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAElC,EAAE,CAAU;IAEZ,sDAAsD;IAEtD,aAAa,CAAiB;IAE9B,4BAA4B;IAE5B,YAAY,CAAU;IAEtB,mCAAmC;IAEnC,WAAW,CAAiB;IAE5B,6BAA6B;IAE7B,cAAc,CAAU;IAExB,uCAAuC;IAEvC,MAAM,CAAuB;IAG7B,SAAS,CAAiB;IAG1B,SAAS,CAAQ;IAGjB,SAAS,CAAQ;CAClB,CAAA;AAhCY,0DAAuB;AAElC;IADC,IAAA,6BAAsB,EAAC,WAAW,CAAC;;mDACxB;AAIZ;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACd;AAI9B;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;6DACN;AAItB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACb;AAI5B;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;+DAChB;AAIxB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;;uDACjB;AAG7B;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DAClB;AAG1B;IADC,IAAA,uBAAgB,GAAE;8BACP,IAAI;0DAAC;AAGjB;IADC,IAAA,uBAAgB,GAAE;8BACP,IAAI;0DAAC;kCA/BN,uBAAuB;IADnC,IAAA,aAAM,EAAC,sBAAsB,CAAC;GAClB,uBAAuB,CAgCnC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class AiWorkflowVersionEntity {
|
|
2
|
+
id: number;
|
|
3
|
+
/** FK → ai_workflow_sessions.id */
|
|
4
|
+
sessionId: number;
|
|
5
|
+
/** Monotonically increasing version within the session */
|
|
6
|
+
versionNumber: number;
|
|
7
|
+
/** Immutable JSON snapshot of the workflow at this version */
|
|
8
|
+
workflowJson: string;
|
|
9
|
+
/** Human-readable description of what changed */
|
|
10
|
+
changeDescription: string | null;
|
|
11
|
+
/** AI tool used (e.g. claude, gemini) */
|
|
12
|
+
aiTool: string | null;
|
|
13
|
+
/** AI model used */
|
|
14
|
+
aiModel: string | null;
|
|
15
|
+
createdBy: number | null;
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=ai-workflow-version.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-workflow-version.entity.d.ts","sourceRoot":"","sources":["../../src/entities/ai-workflow-version.entity.ts"],"names":[],"mappings":"AAOA,qBACa,uBAAuB;IAElC,EAAE,EAAG,MAAM,CAAC;IAEZ,mCAAmC;IAEnC,SAAS,EAAG,MAAM,CAAC;IAEnB,0DAA0D;IAE1D,aAAa,EAAG,MAAM,CAAC;IAEvB,8DAA8D;IAE9D,YAAY,EAAG,MAAM,CAAC;IAEtB,iDAAiD;IAEjD,iBAAiB,EAAG,MAAM,GAAG,IAAI,CAAC;IAElC,yCAAyC;IAEzC,MAAM,EAAG,MAAM,GAAG,IAAI,CAAC;IAEvB,oBAAoB;IAEpB,OAAO,EAAG,MAAM,GAAG,IAAI,CAAC;IAGxB,SAAS,EAAG,MAAM,GAAG,IAAI,CAAC;IAG1B,SAAS,EAAG,IAAI,CAAC;CAClB"}
|
|
@@ -0,0 +1,71 @@
|
|
|
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.AiWorkflowVersionEntity = void 0;
|
|
13
|
+
const core_1 = require("@octo/core");
|
|
14
|
+
let AiWorkflowVersionEntity = class AiWorkflowVersionEntity {
|
|
15
|
+
id;
|
|
16
|
+
/** FK → ai_workflow_sessions.id */
|
|
17
|
+
sessionId;
|
|
18
|
+
/** Monotonically increasing version within the session */
|
|
19
|
+
versionNumber;
|
|
20
|
+
/** Immutable JSON snapshot of the workflow at this version */
|
|
21
|
+
workflowJson;
|
|
22
|
+
/** Human-readable description of what changed */
|
|
23
|
+
changeDescription;
|
|
24
|
+
/** AI tool used (e.g. claude, gemini) */
|
|
25
|
+
aiTool;
|
|
26
|
+
/** AI model used */
|
|
27
|
+
aiModel;
|
|
28
|
+
createdBy;
|
|
29
|
+
createdAt;
|
|
30
|
+
};
|
|
31
|
+
exports.AiWorkflowVersionEntity = AiWorkflowVersionEntity;
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, core_1.PrimaryGeneratedColumn)('increment'),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], AiWorkflowVersionEntity.prototype, "id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, core_1.Column)({ type: 'integer' }),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], AiWorkflowVersionEntity.prototype, "sessionId", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, core_1.Column)({ type: 'integer' }),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], AiWorkflowVersionEntity.prototype, "versionNumber", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, core_1.Column)({ type: 'text' }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], AiWorkflowVersionEntity.prototype, "workflowJson", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, core_1.Column)({ type: 'varchar', nullable: true }),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], AiWorkflowVersionEntity.prototype, "changeDescription", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, core_1.Column)({ type: 'varchar', nullable: true }),
|
|
54
|
+
__metadata("design:type", Object)
|
|
55
|
+
], AiWorkflowVersionEntity.prototype, "aiTool", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, core_1.Column)({ type: 'varchar', nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], AiWorkflowVersionEntity.prototype, "aiModel", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, core_1.Column)({ type: 'integer', nullable: true }),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], AiWorkflowVersionEntity.prototype, "createdBy", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, core_1.CreateDateColumn)(),
|
|
66
|
+
__metadata("design:type", Date)
|
|
67
|
+
], AiWorkflowVersionEntity.prototype, "createdAt", void 0);
|
|
68
|
+
exports.AiWorkflowVersionEntity = AiWorkflowVersionEntity = __decorate([
|
|
69
|
+
(0, core_1.Entity)('ai_workflow_versions')
|
|
70
|
+
], AiWorkflowVersionEntity);
|
|
71
|
+
//# sourceMappingURL=ai-workflow-version.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-workflow-version.entity.js","sourceRoot":"","sources":["../../src/entities/ai-workflow-version.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAKoB;AAGb,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAElC,EAAE,CAAU;IAEZ,mCAAmC;IAEnC,SAAS,CAAU;IAEnB,0DAA0D;IAE1D,aAAa,CAAU;IAEvB,8DAA8D;IAE9D,YAAY,CAAU;IAEtB,iDAAiD;IAEjD,iBAAiB,CAAiB;IAElC,yCAAyC;IAEzC,MAAM,CAAiB;IAEvB,oBAAoB;IAEpB,OAAO,CAAiB;IAGxB,SAAS,CAAiB;IAG1B,SAAS,CAAQ;CAClB,CAAA;AAjCY,0DAAuB;AAElC;IADC,IAAA,6BAAsB,EAAC,WAAW,CAAC;;mDACxB;AAIZ;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;0DACT;AAInB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;8DACL;AAIvB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;6DACH;AAItB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kEACV;AAIlC;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACrB;AAIvB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACpB;AAGxB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DAClB;AAG1B;IADC,IAAA,uBAAgB,GAAE;8BACP,IAAI;0DAAC;kCAhCN,uBAAuB;IADnC,IAAA,aAAM,EAAC,sBAAsB,CAAC;GAClB,uBAAuB,CAiCnC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class CredentialDefinitionEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
/** Credential type: http_basic, api_key, oauth2, etc. */
|
|
5
|
+
type: string;
|
|
6
|
+
/** Encrypted JSON credential data. */
|
|
7
|
+
data: string;
|
|
8
|
+
/**
|
|
9
|
+
* JSON array of node types that can access this credential.
|
|
10
|
+
* Example: [{"nodeType": "n8n-nodes-base.httpRequest"}]
|
|
11
|
+
*/
|
|
12
|
+
nodesAccess: string | null;
|
|
13
|
+
createdBy: number | null;
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
updatedAt: Date;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=credential-definition.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credential-definition.entity.d.ts","sourceRoot":"","sources":["../../src/entities/credential-definition.entity.ts"],"names":[],"mappings":"AAQA,qBACa,0BAA0B;IAErC,EAAE,EAAG,MAAM,CAAC;IAGZ,IAAI,EAAG,MAAM,CAAC;IAEd,yDAAyD;IAEzD,IAAI,EAAG,MAAM,CAAC;IAEd,sCAAsC;IAEtC,IAAI,EAAG,MAAM,CAAC;IAEd;;;OAGG;IAEH,WAAW,EAAG,MAAM,GAAG,IAAI,CAAC;IAG5B,SAAS,EAAG,MAAM,GAAG,IAAI,CAAC;IAG1B,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,EAAG,IAAI,CAAC;CAClB"}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.CredentialDefinitionEntity = void 0;
|
|
13
|
+
const core_1 = require("@octo/core");
|
|
14
|
+
let CredentialDefinitionEntity = class CredentialDefinitionEntity {
|
|
15
|
+
id;
|
|
16
|
+
name;
|
|
17
|
+
/** Credential type: http_basic, api_key, oauth2, etc. */
|
|
18
|
+
type;
|
|
19
|
+
/** Encrypted JSON credential data. */
|
|
20
|
+
data;
|
|
21
|
+
/**
|
|
22
|
+
* JSON array of node types that can access this credential.
|
|
23
|
+
* Example: [{"nodeType": "n8n-nodes-base.httpRequest"}]
|
|
24
|
+
*/
|
|
25
|
+
nodesAccess;
|
|
26
|
+
createdBy;
|
|
27
|
+
createdAt;
|
|
28
|
+
updatedAt;
|
|
29
|
+
};
|
|
30
|
+
exports.CredentialDefinitionEntity = CredentialDefinitionEntity;
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, core_1.PrimaryGeneratedColumn)('uuid'),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], CredentialDefinitionEntity.prototype, "id", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, core_1.Column)({ type: 'varchar' }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CredentialDefinitionEntity.prototype, "name", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, core_1.Column)({ type: 'varchar' }),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], CredentialDefinitionEntity.prototype, "type", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, core_1.Column)({ type: 'text' }),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], CredentialDefinitionEntity.prototype, "data", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, core_1.Column)({ type: 'text', nullable: true }),
|
|
49
|
+
__metadata("design:type", Object)
|
|
50
|
+
], CredentialDefinitionEntity.prototype, "nodesAccess", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, core_1.Column)({ type: 'integer', nullable: true }),
|
|
53
|
+
__metadata("design:type", Object)
|
|
54
|
+
], CredentialDefinitionEntity.prototype, "createdBy", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, core_1.CreateDateColumn)(),
|
|
57
|
+
__metadata("design:type", Date)
|
|
58
|
+
], CredentialDefinitionEntity.prototype, "createdAt", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, core_1.UpdateDateColumn)(),
|
|
61
|
+
__metadata("design:type", Date)
|
|
62
|
+
], CredentialDefinitionEntity.prototype, "updatedAt", void 0);
|
|
63
|
+
exports.CredentialDefinitionEntity = CredentialDefinitionEntity = __decorate([
|
|
64
|
+
(0, core_1.Entity)('credential_definitions')
|
|
65
|
+
], CredentialDefinitionEntity);
|
|
66
|
+
//# sourceMappingURL=credential-definition.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credential-definition.entity.js","sourceRoot":"","sources":["../../src/entities/credential-definition.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAMoB;AAGb,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IAErC,EAAE,CAAU;IAGZ,IAAI,CAAU;IAEd,yDAAyD;IAEzD,IAAI,CAAU;IAEd,sCAAsC;IAEtC,IAAI,CAAU;IAEd;;;OAGG;IAEH,WAAW,CAAiB;IAG5B,SAAS,CAAiB;IAG1B,SAAS,CAAQ;IAGjB,SAAS,CAAQ;CAClB,CAAA;AA9BY,gEAA0B;AAErC;IADC,IAAA,6BAAsB,EAAC,MAAM,CAAC;;sDACnB;AAGZ;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;wDACd;AAId;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;wDACd;AAId;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;wDACX;AAOd;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DACb;AAG5B;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DAClB;AAG1B;IADC,IAAA,uBAAgB,GAAE;8BACP,IAAI;6DAAC;AAGjB;IADC,IAAA,uBAAgB,GAAE;8BACP,IAAI;6DAAC;qCA7BN,0BAA0B;IADtC,IAAA,aAAM,EAAC,wBAAwB,CAAC;GACpB,0BAA0B,CA8BtC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { WorkflowDefinitionEntity } from './workflow-definition.entity.js';
|
|
2
|
+
import { WorkflowExecutionEntity } from './workflow-execution.entity.js';
|
|
3
|
+
import { CredentialDefinitionEntity } from './credential-definition.entity.js';
|
|
4
|
+
import { AiWorkflowSessionEntity } from './ai-workflow-session.entity.js';
|
|
5
|
+
import { AiWorkflowVersionEntity } from './ai-workflow-version.entity.js';
|
|
6
|
+
export { WorkflowDefinitionEntity, WorkflowExecutionEntity, CredentialDefinitionEntity, AiWorkflowSessionEntity, AiWorkflowVersionEntity, };
|
|
7
|
+
/** All workflow entities for module registration. */
|
|
8
|
+
export declare const WORKFLOW_ENTITIES: readonly [typeof WorkflowDefinitionEntity, typeof WorkflowExecutionEntity, typeof CredentialDefinitionEntity, typeof AiWorkflowSessionEntity, typeof AiWorkflowVersionEntity];
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,0BAA0B,EAC1B,uBAAuB,EACvB,uBAAuB,GACxB,CAAC;AAEF,qDAAqD;AACrD,eAAO,MAAM,iBAAiB,+KAMpB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WORKFLOW_ENTITIES = exports.AiWorkflowVersionEntity = exports.AiWorkflowSessionEntity = exports.CredentialDefinitionEntity = exports.WorkflowExecutionEntity = exports.WorkflowDefinitionEntity = void 0;
|
|
4
|
+
const workflow_definition_entity_js_1 = require("./workflow-definition.entity.js");
|
|
5
|
+
Object.defineProperty(exports, "WorkflowDefinitionEntity", { enumerable: true, get: function () { return workflow_definition_entity_js_1.WorkflowDefinitionEntity; } });
|
|
6
|
+
const workflow_execution_entity_js_1 = require("./workflow-execution.entity.js");
|
|
7
|
+
Object.defineProperty(exports, "WorkflowExecutionEntity", { enumerable: true, get: function () { return workflow_execution_entity_js_1.WorkflowExecutionEntity; } });
|
|
8
|
+
const credential_definition_entity_js_1 = require("./credential-definition.entity.js");
|
|
9
|
+
Object.defineProperty(exports, "CredentialDefinitionEntity", { enumerable: true, get: function () { return credential_definition_entity_js_1.CredentialDefinitionEntity; } });
|
|
10
|
+
const ai_workflow_session_entity_js_1 = require("./ai-workflow-session.entity.js");
|
|
11
|
+
Object.defineProperty(exports, "AiWorkflowSessionEntity", { enumerable: true, get: function () { return ai_workflow_session_entity_js_1.AiWorkflowSessionEntity; } });
|
|
12
|
+
const ai_workflow_version_entity_js_1 = require("./ai-workflow-version.entity.js");
|
|
13
|
+
Object.defineProperty(exports, "AiWorkflowVersionEntity", { enumerable: true, get: function () { return ai_workflow_version_entity_js_1.AiWorkflowVersionEntity; } });
|
|
14
|
+
/** All workflow entities for module registration. */
|
|
15
|
+
exports.WORKFLOW_ENTITIES = [
|
|
16
|
+
workflow_definition_entity_js_1.WorkflowDefinitionEntity,
|
|
17
|
+
workflow_execution_entity_js_1.WorkflowExecutionEntity,
|
|
18
|
+
credential_definition_entity_js_1.CredentialDefinitionEntity,
|
|
19
|
+
ai_workflow_session_entity_js_1.AiWorkflowSessionEntity,
|
|
20
|
+
ai_workflow_version_entity_js_1.AiWorkflowVersionEntity,
|
|
21
|
+
];
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;AAAA,mFAA2E;AAOzE,yGAPO,wDAAwB,OAOP;AAN1B,iFAAyE;AAOvE,wGAPO,sDAAuB,OAOP;AANzB,uFAA+E;AAO7E,2GAPO,4DAA0B,OAOP;AAN5B,mFAA0E;AAOxE,wGAPO,uDAAuB,OAOP;AANzB,mFAA0E;AAOxE,wGAPO,uDAAuB,OAOP;AAGzB,qDAAqD;AACxC,QAAA,iBAAiB,GAAG;IAC/B,wDAAwB;IACxB,sDAAuB;IACvB,4DAA0B;IAC1B,uDAAuB;IACvB,uDAAuB;CACf,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare class WorkflowDefinitionEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
description: string | null;
|
|
5
|
+
/** JSON string storing IWorkflowDefinition (nodes + connections + settings). */
|
|
6
|
+
definition: string;
|
|
7
|
+
status: 'active' | 'inactive';
|
|
8
|
+
/** Whether the workflow triggers are active. */
|
|
9
|
+
active: boolean;
|
|
10
|
+
/** Trigger type: manual / webhook / cron. */
|
|
11
|
+
triggerType: string | null;
|
|
12
|
+
/** JSON string storing ITriggerConfig. */
|
|
13
|
+
triggerConfig: string | null;
|
|
14
|
+
/** JSON string storing workflow static data (persisted across executions). */
|
|
15
|
+
staticData: string | null;
|
|
16
|
+
createdBy: number | null;
|
|
17
|
+
createdAt: Date;
|
|
18
|
+
updatedAt: Date;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=workflow-definition.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-definition.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-definition.entity.ts"],"names":[],"mappings":"AAQA,qBACa,wBAAwB;IAEnC,EAAE,EAAG,MAAM,CAAC;IAGZ,IAAI,EAAG,MAAM,CAAC;IAGd,WAAW,EAAG,MAAM,GAAG,IAAI,CAAC;IAE5B,gFAAgF;IAEhF,UAAU,EAAG,MAAM,CAAC;IAGpB,MAAM,EAAG,QAAQ,GAAG,UAAU,CAAC;IAE/B,gDAAgD;IAEhD,MAAM,EAAG,OAAO,CAAC;IAEjB,6CAA6C;IAE7C,WAAW,EAAG,MAAM,GAAG,IAAI,CAAC;IAE5B,0CAA0C;IAE1C,aAAa,EAAG,MAAM,GAAG,IAAI,CAAC;IAE9B,8EAA8E;IAE9E,UAAU,EAAG,MAAM,GAAG,IAAI,CAAC;IAG3B,SAAS,EAAG,MAAM,GAAG,IAAI,CAAC;IAG1B,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,EAAG,IAAI,CAAC;CAClB"}
|
|
@@ -0,0 +1,85 @@
|
|
|
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.WorkflowDefinitionEntity = void 0;
|
|
13
|
+
const core_1 = require("@octo/core");
|
|
14
|
+
let WorkflowDefinitionEntity = class WorkflowDefinitionEntity {
|
|
15
|
+
id;
|
|
16
|
+
name;
|
|
17
|
+
description;
|
|
18
|
+
/** JSON string storing IWorkflowDefinition (nodes + connections + settings). */
|
|
19
|
+
definition;
|
|
20
|
+
status;
|
|
21
|
+
/** Whether the workflow triggers are active. */
|
|
22
|
+
active;
|
|
23
|
+
/** Trigger type: manual / webhook / cron. */
|
|
24
|
+
triggerType;
|
|
25
|
+
/** JSON string storing ITriggerConfig. */
|
|
26
|
+
triggerConfig;
|
|
27
|
+
/** JSON string storing workflow static data (persisted across executions). */
|
|
28
|
+
staticData;
|
|
29
|
+
createdBy;
|
|
30
|
+
createdAt;
|
|
31
|
+
updatedAt;
|
|
32
|
+
};
|
|
33
|
+
exports.WorkflowDefinitionEntity = WorkflowDefinitionEntity;
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, core_1.PrimaryGeneratedColumn)('uuid'),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], WorkflowDefinitionEntity.prototype, "id", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, core_1.Column)({ type: 'varchar' }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], WorkflowDefinitionEntity.prototype, "name", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, core_1.Column)({ type: 'text', nullable: true }),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], WorkflowDefinitionEntity.prototype, "description", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, core_1.Column)({ type: 'text' }),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], WorkflowDefinitionEntity.prototype, "definition", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, core_1.Column)({ type: 'varchar', default: 'inactive' }),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], WorkflowDefinitionEntity.prototype, "status", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, core_1.Column)({ type: 'boolean', default: false }),
|
|
56
|
+
__metadata("design:type", Boolean)
|
|
57
|
+
], WorkflowDefinitionEntity.prototype, "active", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, core_1.Column)({ type: 'varchar', nullable: true }),
|
|
60
|
+
__metadata("design:type", Object)
|
|
61
|
+
], WorkflowDefinitionEntity.prototype, "triggerType", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, core_1.Column)({ type: 'text', nullable: true }),
|
|
64
|
+
__metadata("design:type", Object)
|
|
65
|
+
], WorkflowDefinitionEntity.prototype, "triggerConfig", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, core_1.Column)({ type: 'text', nullable: true }),
|
|
68
|
+
__metadata("design:type", Object)
|
|
69
|
+
], WorkflowDefinitionEntity.prototype, "staticData", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, core_1.Column)({ type: 'integer', nullable: true }),
|
|
72
|
+
__metadata("design:type", Object)
|
|
73
|
+
], WorkflowDefinitionEntity.prototype, "createdBy", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, core_1.CreateDateColumn)(),
|
|
76
|
+
__metadata("design:type", Date)
|
|
77
|
+
], WorkflowDefinitionEntity.prototype, "createdAt", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, core_1.UpdateDateColumn)(),
|
|
80
|
+
__metadata("design:type", Date)
|
|
81
|
+
], WorkflowDefinitionEntity.prototype, "updatedAt", void 0);
|
|
82
|
+
exports.WorkflowDefinitionEntity = WorkflowDefinitionEntity = __decorate([
|
|
83
|
+
(0, core_1.Entity)('workflow_definitions')
|
|
84
|
+
], WorkflowDefinitionEntity);
|
|
85
|
+
//# sourceMappingURL=workflow-definition.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-definition.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-definition.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAMoB;AAGb,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IAEnC,EAAE,CAAU;IAGZ,IAAI,CAAU;IAGd,WAAW,CAAiB;IAE5B,gFAAgF;IAEhF,UAAU,CAAU;IAGpB,MAAM,CAAyB;IAE/B,gDAAgD;IAEhD,MAAM,CAAW;IAEjB,6CAA6C;IAE7C,WAAW,CAAiB;IAE5B,0CAA0C;IAE1C,aAAa,CAAiB;IAE9B,8EAA8E;IAE9E,UAAU,CAAiB;IAG3B,SAAS,CAAiB;IAG1B,SAAS,CAAQ;IAGjB,SAAS,CAAQ;CAClB,CAAA;AAzCY,4DAAwB;AAEnC;IADC,IAAA,6BAAsB,EAAC,MAAM,CAAC;;oDACnB;AAGZ;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;sDACd;AAGd;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACb;AAI5B;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4DACL;AAGpB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;;wDAClB;AAI/B;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;wDAC3B;AAIjB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DAChB;AAI5B;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DACX;AAI9B;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACd;AAG3B;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DAClB;AAG1B;IADC,IAAA,uBAAgB,GAAE;8BACP,IAAI;2DAAC;AAGjB;IADC,IAAA,uBAAgB,GAAE;8BACP,IAAI;2DAAC;mCAxCN,wBAAwB;IADpC,IAAA,aAAM,EAAC,sBAAsB,CAAC;GAClB,wBAAwB,CAyCpC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare class WorkflowExecutionEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
workflowId: string;
|
|
4
|
+
/** Execution mode: manual / trigger / webhook / internal / retry / error. */
|
|
5
|
+
mode: string;
|
|
6
|
+
/** Execution status: running / completed / failed / canceled / waiting. */
|
|
7
|
+
status: string;
|
|
8
|
+
/** JSON string storing trigger input data. */
|
|
9
|
+
triggerData: string | null;
|
|
10
|
+
/** JSON string storing IWorkflowExecutionResult (serialized). */
|
|
11
|
+
result: string | null;
|
|
12
|
+
/** Whether the execution has finished (regardless of success or failure). */
|
|
13
|
+
finished: boolean;
|
|
14
|
+
/** Error message if execution failed. */
|
|
15
|
+
error: string | null;
|
|
16
|
+
/** Parent execution ID (for sub-workflow calls). */
|
|
17
|
+
parentExecutionId: string | null;
|
|
18
|
+
/** Original execution ID (when this is a retry). */
|
|
19
|
+
retryOf: string | null;
|
|
20
|
+
/** Successful retry execution ID. */
|
|
21
|
+
retrySuccessId: string | null;
|
|
22
|
+
startedAt: Date;
|
|
23
|
+
completedAt: Date | null;
|
|
24
|
+
createdAt: Date;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=workflow-execution.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-execution.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-execution.entity.ts"],"names":[],"mappings":"AAOA,qBACa,uBAAuB;IAElC,EAAE,EAAG,MAAM,CAAC;IAGZ,UAAU,EAAG,MAAM,CAAC;IAEpB,6EAA6E;IAE7E,IAAI,EAAG,MAAM,CAAC;IAEd,2EAA2E;IAE3E,MAAM,EAAG,MAAM,CAAC;IAEhB,8CAA8C;IAE9C,WAAW,EAAG,MAAM,GAAG,IAAI,CAAC;IAE5B,iEAAiE;IAEjE,MAAM,EAAG,MAAM,GAAG,IAAI,CAAC;IAEvB,6EAA6E;IAE7E,QAAQ,EAAG,OAAO,CAAC;IAEnB,yCAAyC;IAEzC,KAAK,EAAG,MAAM,GAAG,IAAI,CAAC;IAEtB,oDAAoD;IAEpD,iBAAiB,EAAG,MAAM,GAAG,IAAI,CAAC;IAElC,oDAAoD;IAEpD,OAAO,EAAG,MAAM,GAAG,IAAI,CAAC;IAExB,qCAAqC;IAErC,cAAc,EAAG,MAAM,GAAG,IAAI,CAAC;IAG/B,SAAS,EAAG,IAAI,CAAC;IAGjB,WAAW,EAAG,IAAI,GAAG,IAAI,CAAC;IAG1B,SAAS,EAAG,IAAI,CAAC;CAClB"}
|
|
@@ -0,0 +1,99 @@
|
|
|
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.WorkflowExecutionEntity = void 0;
|
|
13
|
+
const core_1 = require("@octo/core");
|
|
14
|
+
let WorkflowExecutionEntity = class WorkflowExecutionEntity {
|
|
15
|
+
id;
|
|
16
|
+
workflowId;
|
|
17
|
+
/** Execution mode: manual / trigger / webhook / internal / retry / error. */
|
|
18
|
+
mode;
|
|
19
|
+
/** Execution status: running / completed / failed / canceled / waiting. */
|
|
20
|
+
status;
|
|
21
|
+
/** JSON string storing trigger input data. */
|
|
22
|
+
triggerData;
|
|
23
|
+
/** JSON string storing IWorkflowExecutionResult (serialized). */
|
|
24
|
+
result;
|
|
25
|
+
/** Whether the execution has finished (regardless of success or failure). */
|
|
26
|
+
finished;
|
|
27
|
+
/** Error message if execution failed. */
|
|
28
|
+
error;
|
|
29
|
+
/** Parent execution ID (for sub-workflow calls). */
|
|
30
|
+
parentExecutionId;
|
|
31
|
+
/** Original execution ID (when this is a retry). */
|
|
32
|
+
retryOf;
|
|
33
|
+
/** Successful retry execution ID. */
|
|
34
|
+
retrySuccessId;
|
|
35
|
+
startedAt;
|
|
36
|
+
completedAt;
|
|
37
|
+
createdAt;
|
|
38
|
+
};
|
|
39
|
+
exports.WorkflowExecutionEntity = WorkflowExecutionEntity;
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, core_1.PrimaryGeneratedColumn)('uuid'),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], WorkflowExecutionEntity.prototype, "id", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, core_1.Column)({ type: 'varchar' }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], WorkflowExecutionEntity.prototype, "workflowId", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, core_1.Column)({ type: 'varchar', default: 'manual' }),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], WorkflowExecutionEntity.prototype, "mode", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, core_1.Column)({ type: 'varchar', default: 'running' }),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], WorkflowExecutionEntity.prototype, "status", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, core_1.Column)({ type: 'text', nullable: true }),
|
|
58
|
+
__metadata("design:type", Object)
|
|
59
|
+
], WorkflowExecutionEntity.prototype, "triggerData", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, core_1.Column)({ type: 'text', nullable: true }),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], WorkflowExecutionEntity.prototype, "result", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, core_1.Column)({ type: 'boolean', default: false }),
|
|
66
|
+
__metadata("design:type", Boolean)
|
|
67
|
+
], WorkflowExecutionEntity.prototype, "finished", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, core_1.Column)({ type: 'text', nullable: true }),
|
|
70
|
+
__metadata("design:type", Object)
|
|
71
|
+
], WorkflowExecutionEntity.prototype, "error", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, core_1.Column)({ type: 'varchar', nullable: true }),
|
|
74
|
+
__metadata("design:type", Object)
|
|
75
|
+
], WorkflowExecutionEntity.prototype, "parentExecutionId", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, core_1.Column)({ type: 'varchar', nullable: true }),
|
|
78
|
+
__metadata("design:type", Object)
|
|
79
|
+
], WorkflowExecutionEntity.prototype, "retryOf", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, core_1.Column)({ type: 'varchar', nullable: true }),
|
|
82
|
+
__metadata("design:type", Object)
|
|
83
|
+
], WorkflowExecutionEntity.prototype, "retrySuccessId", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, core_1.Column)({ type: 'datetime' }),
|
|
86
|
+
__metadata("design:type", Date)
|
|
87
|
+
], WorkflowExecutionEntity.prototype, "startedAt", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, core_1.Column)({ type: 'datetime', nullable: true }),
|
|
90
|
+
__metadata("design:type", Object)
|
|
91
|
+
], WorkflowExecutionEntity.prototype, "completedAt", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, core_1.CreateDateColumn)(),
|
|
94
|
+
__metadata("design:type", Date)
|
|
95
|
+
], WorkflowExecutionEntity.prototype, "createdAt", void 0);
|
|
96
|
+
exports.WorkflowExecutionEntity = WorkflowExecutionEntity = __decorate([
|
|
97
|
+
(0, core_1.Entity)('workflow_executions')
|
|
98
|
+
], WorkflowExecutionEntity);
|
|
99
|
+
//# sourceMappingURL=workflow-execution.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-execution.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-execution.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAKoB;AAGb,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAElC,EAAE,CAAU;IAGZ,UAAU,CAAU;IAEpB,6EAA6E;IAE7E,IAAI,CAAU;IAEd,2EAA2E;IAE3E,MAAM,CAAU;IAEhB,8CAA8C;IAE9C,WAAW,CAAiB;IAE5B,iEAAiE;IAEjE,MAAM,CAAiB;IAEvB,6EAA6E;IAE7E,QAAQ,CAAW;IAEnB,yCAAyC;IAEzC,KAAK,CAAiB;IAEtB,oDAAoD;IAEpD,iBAAiB,CAAiB;IAElC,oDAAoD;IAEpD,OAAO,CAAiB;IAExB,qCAAqC;IAErC,cAAc,CAAiB;IAG/B,SAAS,CAAQ;IAGjB,WAAW,CAAe;IAG1B,SAAS,CAAQ;CAClB,CAAA;AAnDY,0DAAuB;AAElC;IADC,IAAA,6BAAsB,EAAC,MAAM,CAAC;;mDACnB;AAGZ;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;2DACR;AAIpB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;;qDACjC;AAId;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;;uDAChC;AAIhB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACb;AAI5B;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDAClB;AAIvB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;yDACzB;AAInB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACnB;AAItB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kEACV;AAIlC;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACpB;AAIxB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DACb;AAG/B;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BACjB,IAAI;0DAAC;AAGjB;IADC,IAAA,aAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACnB;AAG1B;IADC,IAAA,uBAAgB,GAAE;8BACP,IAAI;0DAAC;kCAlDN,uBAAuB;IADnC,IAAA,aAAM,EAAC,qBAAqB,CAAC;GACjB,uBAAuB,CAmDnC"}
|