@loopstack/common 0.29.0 → 0.31.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/base/base-app.d.ts +7 -0
- package/dist/base/base-app.d.ts.map +1 -0
- package/dist/base/base-app.js +17 -0
- package/dist/base/base-app.js.map +1 -0
- package/dist/base/base-tool.d.ts +2 -2
- package/dist/base/base-tool.d.ts.map +1 -1
- package/dist/base/base-tool.js +10 -13
- package/dist/base/base-tool.js.map +1 -1
- package/dist/base/base-workflow.d.ts +5 -4
- package/dist/base/base-workflow.d.ts.map +1 -1
- package/dist/base/base-workflow.js +16 -19
- package/dist/base/base-workflow.js.map +1 -1
- package/dist/base/index.d.ts +5 -4
- package/dist/base/index.d.ts.map +1 -1
- package/dist/base/index.js +5 -20
- package/dist/base/index.js.map +1 -1
- package/dist/base/server-tool.js +4 -7
- package/dist/base/server-tool.js.map +1 -1
- package/dist/base/workflow-templates.js +1 -2
- package/dist/constants/auth.constants.js +2 -5
- package/dist/constants/auth.constants.js.map +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +1 -17
- package/dist/constants/index.js.map +1 -1
- package/dist/decorators/ai-provider.decorator.js +5 -9
- package/dist/decorators/ai-provider.decorator.js.map +1 -1
- package/dist/decorators/block.decorator.d.ts +5 -5
- package/dist/decorators/block.decorator.d.ts.map +1 -1
- package/dist/decorators/block.decorator.js +49 -69
- package/dist/decorators/block.decorator.js.map +1 -1
- package/dist/decorators/capability-decorator.js +5 -9
- package/dist/decorators/capability-decorator.js.map +1 -1
- package/dist/decorators/current-user.decorator.js +2 -5
- package/dist/decorators/current-user.decorator.js.map +1 -1
- package/dist/decorators/index.d.ts +6 -6
- package/dist/decorators/index.d.ts.map +1 -1
- package/dist/decorators/index.js +6 -22
- package/dist/decorators/index.js.map +1 -1
- package/dist/decorators/public.decorator.js +3 -7
- package/dist/decorators/public.decorator.js.map +1 -1
- package/dist/decorators/roles.decorator.d.ts +1 -1
- package/dist/decorators/roles.decorator.d.ts.map +1 -1
- package/dist/decorators/roles.decorator.js +3 -7
- package/dist/decorators/roles.decorator.js.map +1 -1
- package/dist/documents/error-document.js +9 -12
- package/dist/documents/error-document.js.map +1 -1
- package/dist/documents/index.d.ts +5 -5
- package/dist/documents/index.d.ts.map +1 -1
- package/dist/documents/index.js +5 -21
- package/dist/documents/index.js.map +1 -1
- package/dist/documents/link-document.js +13 -16
- package/dist/documents/link-document.js.map +1 -1
- package/dist/documents/markdown-document.js +9 -12
- package/dist/documents/markdown-document.js.map +1 -1
- package/dist/documents/message-document.js +10 -13
- package/dist/documents/message-document.js.map +1 -1
- package/dist/documents/plain-document.js +9 -12
- package/dist/documents/plain-document.js.map +1 -1
- package/dist/dtos/execution-context.d.ts +1 -1
- package/dist/dtos/execution-context.d.ts.map +1 -1
- package/dist/dtos/execution-context.js +1 -5
- package/dist/dtos/execution-context.js.map +1 -1
- package/dist/dtos/index.d.ts +5 -5
- package/dist/dtos/index.d.ts.map +1 -1
- package/dist/dtos/index.js +5 -21
- package/dist/dtos/index.js.map +1 -1
- package/dist/dtos/run-context.d.ts +4 -4
- package/dist/dtos/run-context.d.ts.map +1 -1
- package/dist/dtos/run-context.js +2 -6
- package/dist/dtos/run-context.js.map +1 -1
- package/dist/dtos/workflow-state.dto.d.ts +3 -3
- package/dist/dtos/workflow-state.dto.d.ts.map +1 -1
- package/dist/dtos/workflow-state.dto.js +1 -5
- package/dist/dtos/workflow-state.dto.js.map +1 -1
- package/dist/dtos/workflow-transition.dto.js +1 -5
- package/dist/dtos/workflow-transition.dto.js.map +1 -1
- package/dist/dtos/workspace-environment-context.dto.d.ts +1 -1
- package/dist/dtos/workspace-environment-context.dto.d.ts.map +1 -1
- package/dist/dtos/workspace-environment-context.dto.js +10 -14
- package/dist/dtos/workspace-environment-context.dto.js.map +1 -1
- package/dist/entities/document.entity.d.ts +6 -5
- package/dist/entities/document.entity.d.ts.map +1 -1
- package/dist/entities/document.entity.js +43 -46
- package/dist/entities/document.entity.js.map +1 -1
- package/dist/entities/index.js +7 -23
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/role.entity.d.ts +4 -3
- package/dist/entities/role.entity.d.ts.map +1 -1
- package/dist/entities/role.entity.js +10 -13
- package/dist/entities/role.entity.js.map +1 -1
- package/dist/entities/user.entity.d.ts +4 -3
- package/dist/entities/user.entity.d.ts.map +1 -1
- package/dist/entities/user.entity.js +15 -18
- package/dist/entities/user.entity.js.map +1 -1
- package/dist/entities/workflow-checkpoint.entity.d.ts +1 -1
- package/dist/entities/workflow-checkpoint.entity.d.ts.map +1 -1
- package/dist/entities/workflow-checkpoint.entity.js +20 -23
- package/dist/entities/workflow-checkpoint.entity.js.map +1 -1
- package/dist/entities/workflow.entity.d.ts +11 -10
- package/dist/entities/workflow.entity.d.ts.map +1 -1
- package/dist/entities/workflow.entity.js +51 -54
- package/dist/entities/workflow.entity.js.map +1 -1
- package/dist/entities/workspace-environment.entity.d.ts +3 -2
- package/dist/entities/workspace-environment.entity.d.ts.map +1 -1
- package/dist/entities/workspace-environment.entity.js +22 -25
- package/dist/entities/workspace-environment.entity.js.map +1 -1
- package/dist/entities/workspace.entity.d.ts +7 -6
- package/dist/entities/workspace.entity.d.ts.map +1 -1
- package/dist/entities/workspace.entity.js +23 -26
- package/dist/entities/workspace.entity.js.map +1 -1
- package/dist/enums/index.js +3 -19
- package/dist/enums/index.js.map +1 -1
- package/dist/enums/role-name.enum.js +2 -5
- package/dist/enums/role-name.enum.js.map +1 -1
- package/dist/enums/user-type.enum.js +2 -5
- package/dist/enums/user-type.enum.js.map +1 -1
- package/dist/enums/workflow-state.enum.js +2 -5
- package/dist/enums/workflow-state.enum.js.map +1 -1
- package/dist/index.js +12 -28
- package/dist/index.js.map +1 -1
- package/dist/interfaces/ai-provider.interface.js +1 -2
- package/dist/interfaces/block.interface.d.ts +3 -3
- package/dist/interfaces/block.interface.d.ts.map +1 -1
- package/dist/interfaces/block.interface.js +1 -2
- package/dist/interfaces/current-user.interface.d.ts +1 -1
- package/dist/interfaces/current-user.interface.d.ts.map +1 -1
- package/dist/interfaces/current-user.interface.js +1 -2
- package/dist/interfaces/document-repository.interface.d.ts +1 -1
- package/dist/interfaces/document-repository.interface.d.ts.map +1 -1
- package/dist/interfaces/document-repository.interface.js +1 -2
- package/dist/interfaces/execution-context.interface.d.ts +21 -8
- package/dist/interfaces/execution-context.interface.d.ts.map +1 -1
- package/dist/interfaces/execution-context.interface.js +1 -2
- package/dist/interfaces/handler.interface.js +1 -2
- package/dist/interfaces/index.d.ts +1 -0
- package/dist/interfaces/index.d.ts.map +1 -1
- package/dist/interfaces/index.js +19 -34
- package/dist/interfaces/index.js.map +1 -1
- package/dist/interfaces/jwt-payload.interface.d.ts +1 -1
- package/dist/interfaces/jwt-payload.interface.d.ts.map +1 -1
- package/dist/interfaces/jwt-payload.interface.js +1 -2
- package/dist/interfaces/persistence-state.interface.js +1 -2
- package/dist/interfaces/role.interface.js +1 -2
- package/dist/interfaces/sso-response.interface.js +1 -2
- package/dist/interfaces/tool-execution-interceptor.interface.d.ts +5 -3
- package/dist/interfaces/tool-execution-interceptor.interface.d.ts.map +1 -1
- package/dist/interfaces/tool-execution-interceptor.interface.js +7 -11
- package/dist/interfaces/tool-execution-interceptor.interface.js.map +1 -1
- package/dist/interfaces/transition-results.types.d.ts +1 -1
- package/dist/interfaces/transition-results.types.d.ts.map +1 -1
- package/dist/interfaces/transition-results.types.js +1 -2
- package/dist/interfaces/user.interface.d.ts +1 -1
- package/dist/interfaces/user.interface.d.ts.map +1 -1
- package/dist/interfaces/user.interface.js +1 -2
- package/dist/interfaces/workflow-execution.interface.d.ts +2 -2
- package/dist/interfaces/workflow-execution.interface.d.ts.map +1 -1
- package/dist/interfaces/workflow-execution.interface.js +1 -2
- package/dist/interfaces/workflow-memento-data.interfate.js +1 -2
- package/dist/interfaces/workflow-metadata.interface.d.ts +1 -1
- package/dist/interfaces/workflow-metadata.interface.d.ts.map +1 -1
- package/dist/interfaces/workflow-metadata.interface.js +1 -2
- package/dist/interfaces/workflow-orchestrator.interface.d.ts +4 -4
- package/dist/interfaces/workflow-orchestrator.interface.d.ts.map +1 -1
- package/dist/interfaces/workflow-orchestrator.interface.js +1 -2
- package/dist/interfaces/workflow-runner.interface.d.ts +27 -0
- package/dist/interfaces/workflow-runner.interface.d.ts.map +1 -0
- package/dist/interfaces/workflow-runner.interface.js +2 -0
- package/dist/interfaces/workflow-runner.interface.js.map +1 -0
- package/dist/interfaces/workflow-state.interface.js +1 -2
- package/dist/schema/index.js +1 -17
- package/dist/schema/index.js.map +1 -1
- package/dist/schema/runtime-metadata.schema.js +3 -6
- package/dist/schema/runtime-metadata.schema.js.map +1 -1
- package/dist/tokens.js +4 -7
- package/dist/tokens.js.map +1 -1
- package/dist/utils/block-config.builder.d.ts +1 -1
- package/dist/utils/block-config.builder.d.ts.map +1 -1
- package/dist/utils/block-config.builder.js +7 -13
- package/dist/utils/block-config.builder.js.map +1 -1
- package/dist/utils/block-metadata.utils.d.ts +5 -5
- package/dist/utils/block-metadata.utils.d.ts.map +1 -1
- package/dist/utils/block-metadata.utils.js +41 -65
- package/dist/utils/block-metadata.utils.js.map +1 -1
- package/dist/utils/deep-merge.js +1 -4
- package/dist/utils/deep-merge.js.map +1 -1
- package/dist/utils/index.js +5 -21
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/normalize-object.js +1 -4
- package/dist/utils/normalize-object.js.map +1 -1
- package/dist/utils/stable-json-transformer.js +3 -10
- package/dist/utils/stable-json-transformer.js.map +1 -1
- package/dist/utils/workflow-transitions.builder.js +4 -7
- package/dist/utils/workflow-transitions.builder.js.map +1 -1
- package/package.json +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document.entity.js","sourceRoot":"","sources":["../../src/entities/document.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"document.entity.js","sourceRoot":"","sources":["../../src/entities/document.entity.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js
CHANGED
|
@@ -1,24 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./document.entity.js"), exports);
|
|
18
|
-
__exportStar(require("./workflow.entity.js"), exports);
|
|
19
|
-
__exportStar(require("./workflow-checkpoint.entity.js"), exports);
|
|
20
|
-
__exportStar(require("./workspace.entity.js"), exports);
|
|
21
|
-
__exportStar(require("./workspace-environment.entity.js"), exports);
|
|
22
|
-
__exportStar(require("./role.entity.js"), exports);
|
|
23
|
-
__exportStar(require("./user.entity.js"), exports);
|
|
1
|
+
export * from './document.entity.js';
|
|
2
|
+
export * from './workflow.entity.js';
|
|
3
|
+
export * from './workflow-checkpoint.entity.js';
|
|
4
|
+
export * from './workspace.entity.js';
|
|
5
|
+
export * from './workspace-environment.entity.js';
|
|
6
|
+
export * from './role.entity.js';
|
|
7
|
+
export * from './user.entity.js';
|
|
24
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","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"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Relation } from 'typeorm';
|
|
2
|
+
import { RoleInterface } from '../interfaces/index.js';
|
|
3
|
+
import { User } from './user.entity.js';
|
|
3
4
|
export declare class Role implements RoleInterface {
|
|
4
5
|
id: string;
|
|
5
6
|
name: string;
|
|
6
7
|
description: string;
|
|
7
|
-
users: User[]
|
|
8
|
+
users: Relation<User[]>;
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=role.entity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.entity.d.ts","sourceRoot":"","sources":["../../src/entities/role.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"role.entity.d.ts","sourceRoot":"","sources":["../../src/entities/role.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsD,QAAQ,EAAE,MAAM,SAAS,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,qBACa,IAAK,YAAW,aAAa;IAExC,EAAE,EAAG,MAAM,CAAC;IAGZ,IAAI,EAAG,MAAM,CAAC;IAGd,WAAW,EAAG,MAAM,CAAC;IAGrB,KAAK,EAAG,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;CAC1B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
2
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
3
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -8,34 +7,32 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
9
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const user_entity_1 = require("./user.entity");
|
|
10
|
+
import { Column, Entity, ManyToMany, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
+
import { User } from './user.entity.js';
|
|
15
12
|
let Role = class Role {
|
|
16
13
|
id;
|
|
17
14
|
name;
|
|
18
15
|
description;
|
|
19
16
|
users;
|
|
20
17
|
};
|
|
21
|
-
exports.Role = Role;
|
|
22
18
|
__decorate([
|
|
23
|
-
|
|
19
|
+
PrimaryGeneratedColumn('uuid'),
|
|
24
20
|
__metadata("design:type", String)
|
|
25
21
|
], Role.prototype, "id", void 0);
|
|
26
22
|
__decorate([
|
|
27
|
-
|
|
23
|
+
Column({ unique: true }),
|
|
28
24
|
__metadata("design:type", String)
|
|
29
25
|
], Role.prototype, "name", void 0);
|
|
30
26
|
__decorate([
|
|
31
|
-
|
|
27
|
+
Column({ nullable: true }),
|
|
32
28
|
__metadata("design:type", String)
|
|
33
29
|
], Role.prototype, "description", void 0);
|
|
34
30
|
__decorate([
|
|
35
|
-
|
|
36
|
-
__metadata("design:type",
|
|
31
|
+
ManyToMany(() => User, (user) => user.roles),
|
|
32
|
+
__metadata("design:type", Object)
|
|
37
33
|
], Role.prototype, "users", void 0);
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
Role = __decorate([
|
|
35
|
+
Entity('auth_roles')
|
|
40
36
|
], Role);
|
|
37
|
+
export { Role };
|
|
41
38
|
//# sourceMappingURL=role.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"role.entity.js","sourceRoot":"","sources":["../../src/entities/role.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"role.entity.js","sourceRoot":"","sources":["../../src/entities/role.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,sBAAsB,EAAY,MAAM,SAAS,CAAC;AAEvF,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGjC,IAAM,IAAI,GAAV,MAAM,IAAI;IAEf,EAAE,CAAU;IAGZ,IAAI,CAAU;IAGd,WAAW,CAAU;IAGrB,KAAK,CAAoB;CAC1B,CAAA;AAVC;IADC,sBAAsB,CAAC,MAAM,CAAC;;gCACnB;AAGZ;IADC,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;kCACX;AAGd;IADC,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACN;AAGrB;IADC,UAAU,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC;;mCACpB;AAXd,IAAI;IADhB,MAAM,CAAC,YAAY,CAAC;GACR,IAAI,CAYhB"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Relation } from 'typeorm';
|
|
2
|
+
import { UserTypeEnum } from '../enums/user-type.enum.js';
|
|
3
|
+
import { Role } from './role.entity.js';
|
|
3
4
|
export declare class User {
|
|
4
5
|
id: string;
|
|
5
6
|
type: UserTypeEnum;
|
|
6
7
|
isActive: boolean;
|
|
7
|
-
roles: Role[]
|
|
8
|
+
roles: Relation<Role[]>;
|
|
8
9
|
createdAt: Date;
|
|
9
10
|
updatedAt: Date;
|
|
10
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.entity.d.ts","sourceRoot":"","sources":["../../src/entities/user.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user.entity.d.ts","sourceRoot":"","sources":["../../src/entities/user.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,QAAQ,EAET,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,qBACa,IAAI;IAEf,EAAE,EAAG,MAAM,CAAC;IAMZ,IAAI,EAAG,YAAY,CAAC;IAGpB,QAAQ,EAAG,OAAO,CAAC;IAQnB,KAAK,EAAG,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;IAGzB,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,EAAG,IAAI,CAAC;CAClB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
2
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
3
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -8,11 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
9
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const user_type_enum_1 = require("../enums/user-type.enum");
|
|
15
|
-
const role_entity_1 = require("./role.entity");
|
|
10
|
+
import { Column, CreateDateColumn, Entity, JoinTable, ManyToMany, PrimaryColumn, UpdateDateColumn, } from 'typeorm';
|
|
11
|
+
import { UserTypeEnum } from '../enums/user-type.enum.js';
|
|
12
|
+
import { Role } from './role.entity.js';
|
|
16
13
|
let User = class User {
|
|
17
14
|
id;
|
|
18
15
|
type;
|
|
@@ -21,40 +18,40 @@ let User = class User {
|
|
|
21
18
|
createdAt;
|
|
22
19
|
updatedAt;
|
|
23
20
|
};
|
|
24
|
-
exports.User = User;
|
|
25
21
|
__decorate([
|
|
26
|
-
|
|
22
|
+
PrimaryColumn({ type: 'uuid' }),
|
|
27
23
|
__metadata("design:type", String)
|
|
28
24
|
], User.prototype, "id", void 0);
|
|
29
25
|
__decorate([
|
|
30
|
-
|
|
26
|
+
Column({
|
|
31
27
|
type: 'enum',
|
|
32
|
-
enum:
|
|
28
|
+
enum: UserTypeEnum,
|
|
33
29
|
}),
|
|
34
30
|
__metadata("design:type", String)
|
|
35
31
|
], User.prototype, "type", void 0);
|
|
36
32
|
__decorate([
|
|
37
|
-
|
|
33
|
+
Column({ default: true }),
|
|
38
34
|
__metadata("design:type", Boolean)
|
|
39
35
|
], User.prototype, "isActive", void 0);
|
|
40
36
|
__decorate([
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
ManyToMany(() => Role, (role) => role.users),
|
|
38
|
+
JoinTable({
|
|
43
39
|
name: 'auth_user_roles',
|
|
44
40
|
joinColumn: { name: 'user_id', referencedColumnName: 'id' },
|
|
45
41
|
inverseJoinColumn: { name: 'role_id', referencedColumnName: 'id' },
|
|
46
42
|
}),
|
|
47
|
-
__metadata("design:type",
|
|
43
|
+
__metadata("design:type", Object)
|
|
48
44
|
], User.prototype, "roles", void 0);
|
|
49
45
|
__decorate([
|
|
50
|
-
|
|
46
|
+
CreateDateColumn(),
|
|
51
47
|
__metadata("design:type", Date)
|
|
52
48
|
], User.prototype, "createdAt", void 0);
|
|
53
49
|
__decorate([
|
|
54
|
-
|
|
50
|
+
UpdateDateColumn(),
|
|
55
51
|
__metadata("design:type", Date)
|
|
56
52
|
], User.prototype, "updatedAt", void 0);
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
User = __decorate([
|
|
54
|
+
Entity('auth_users')
|
|
59
55
|
], User);
|
|
56
|
+
export { User };
|
|
60
57
|
//# sourceMappingURL=user.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../src/entities/user.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../src/entities/user.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EACN,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,UAAU,EACV,aAAa,EAEb,gBAAgB,GACjB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAGjC,IAAM,IAAI,GAAV,MAAM,IAAI;IAEf,EAAE,CAAU;IAMZ,IAAI,CAAgB;IAGpB,QAAQ,CAAW;IAQnB,KAAK,CAAoB;IAGzB,SAAS,CAAQ;IAGjB,SAAS,CAAQ;CAClB,CAAA;AAxBC;IADC,aAAa,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;gCACpB;AAMZ;IAJC,MAAM,CAAC;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,YAAY;KACnB,CAAC;;kCACkB;AAGpB;IADC,MAAM,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;sCACP;AAQnB;IANC,UAAU,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC;IAC5C,SAAS,CAAC;QACT,IAAI,EAAE,iBAAiB;QACvB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,oBAAoB,EAAE,IAAI,EAAE;QAC3D,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,oBAAoB,EAAE,IAAI,EAAE;KACnE,CAAC;;mCACuB;AAGzB;IADC,gBAAgB,EAAE;8BACP,IAAI;uCAAC;AAGjB;IADC,gBAAgB,EAAE;8BACP,IAAI;uCAAC;AAzBN,IAAI;IADhB,MAAM,CAAC,YAAY,CAAC;GACR,IAAI,CA0BhB"}
|
|
@@ -1 +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,
|
|
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,sBAAsB,CAAC;AAEtD,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"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
2
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
3
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -8,10 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
9
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const workflow_entity_1 = require("./workflow.entity");
|
|
10
|
+
import { Column, CreateDateColumn, Entity, Index, JoinColumn, ManyToOne, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
+
import { WorkflowEntity } from './workflow.entity.js';
|
|
15
12
|
let WorkflowCheckpointEntity = class WorkflowCheckpointEntity {
|
|
16
13
|
id;
|
|
17
14
|
workflow;
|
|
@@ -26,58 +23,58 @@ let WorkflowCheckpointEntity = class WorkflowCheckpointEntity {
|
|
|
26
23
|
version;
|
|
27
24
|
createdAt;
|
|
28
25
|
};
|
|
29
|
-
exports.WorkflowCheckpointEntity = WorkflowCheckpointEntity;
|
|
30
26
|
__decorate([
|
|
31
|
-
|
|
27
|
+
PrimaryGeneratedColumn('uuid'),
|
|
32
28
|
__metadata("design:type", String)
|
|
33
29
|
], WorkflowCheckpointEntity.prototype, "id", void 0);
|
|
34
30
|
__decorate([
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
__metadata("design:type",
|
|
31
|
+
ManyToOne(() => WorkflowEntity, { onDelete: 'CASCADE' }),
|
|
32
|
+
JoinColumn({ name: 'workflow_id' }),
|
|
33
|
+
__metadata("design:type", WorkflowEntity)
|
|
38
34
|
], WorkflowCheckpointEntity.prototype, "workflow", void 0);
|
|
39
35
|
__decorate([
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
Column({ name: 'workflow_id' }),
|
|
37
|
+
Index(),
|
|
42
38
|
__metadata("design:type", String)
|
|
43
39
|
], WorkflowCheckpointEntity.prototype, "workflowId", void 0);
|
|
44
40
|
__decorate([
|
|
45
|
-
|
|
41
|
+
Column({ type: 'varchar' }),
|
|
46
42
|
__metadata("design:type", String)
|
|
47
43
|
], WorkflowCheckpointEntity.prototype, "place", void 0);
|
|
48
44
|
__decorate([
|
|
49
|
-
|
|
45
|
+
Column({ type: 'varchar', name: 'transition_id', nullable: true }),
|
|
50
46
|
__metadata("design:type", Object)
|
|
51
47
|
], WorkflowCheckpointEntity.prototype, "transitionId", void 0);
|
|
52
48
|
__decorate([
|
|
53
|
-
|
|
49
|
+
Column({ type: 'varchar', name: 'transition_from', nullable: true }),
|
|
54
50
|
__metadata("design:type", Object)
|
|
55
51
|
], WorkflowCheckpointEntity.prototype, "transitionFrom", void 0);
|
|
56
52
|
__decorate([
|
|
57
|
-
|
|
53
|
+
Column('jsonb', { default: {} }),
|
|
58
54
|
__metadata("design:type", Object)
|
|
59
55
|
], WorkflowCheckpointEntity.prototype, "state", void 0);
|
|
60
56
|
__decorate([
|
|
61
|
-
|
|
57
|
+
Column('jsonb', { default: {} }),
|
|
62
58
|
__metadata("design:type", Object)
|
|
63
59
|
], WorkflowCheckpointEntity.prototype, "tools", void 0);
|
|
64
60
|
__decorate([
|
|
65
|
-
|
|
61
|
+
Column('uuid', { name: 'document_ids', array: true, default: '{}' }),
|
|
66
62
|
__metadata("design:type", Array)
|
|
67
63
|
], WorkflowCheckpointEntity.prototype, "documentIds", void 0);
|
|
68
64
|
__decorate([
|
|
69
|
-
|
|
65
|
+
Column('uuid', { name: 'invalidated_document_ids', array: true, default: '{}' }),
|
|
70
66
|
__metadata("design:type", Array)
|
|
71
67
|
], WorkflowCheckpointEntity.prototype, "invalidatedDocumentIds", void 0);
|
|
72
68
|
__decorate([
|
|
73
|
-
|
|
69
|
+
Column({ default: 1 }),
|
|
74
70
|
__metadata("design:type", Number)
|
|
75
71
|
], WorkflowCheckpointEntity.prototype, "version", void 0);
|
|
76
72
|
__decorate([
|
|
77
|
-
|
|
73
|
+
CreateDateColumn({ name: 'created_at' }),
|
|
78
74
|
__metadata("design:type", Date)
|
|
79
75
|
], WorkflowCheckpointEntity.prototype, "createdAt", void 0);
|
|
80
|
-
|
|
81
|
-
|
|
76
|
+
WorkflowCheckpointEntity = __decorate([
|
|
77
|
+
Entity({ name: 'core_workflow_checkpoint' })
|
|
82
78
|
], WorkflowCheckpointEntity);
|
|
79
|
+
export { WorkflowCheckpointEntity };
|
|
83
80
|
//# sourceMappingURL=workflow-checkpoint.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-checkpoint.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-checkpoint.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workflow-checkpoint.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-checkpoint.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACjH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAG/C,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;AApCC;IADC,sBAAsB,CAAC,MAAM,CAAC;;oDACnB;AAIZ;IAFC,SAAS,CAAC,GAAG,EAAE,CAAC,cAAc,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACxD,UAAU,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BACzB,cAAc;0DAAC;AAI1B;IAFC,MAAM,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;IAC/B,KAAK,EAAE;;4DACY;AAGpB;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;uDACb;AAGf;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACtC;AAG7B;IADC,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,iBAAiB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACtC;AAG/B;IADC,MAAM,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;uDACD;AAGhC;IADC,MAAM,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;uDACD;AAGhC;IADC,MAAM,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;6DAC9C;AAGvB;IADC,MAAM,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,0BAA0B,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;wEAC/C;AAGlC;IADC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;yDACN;AAGjB;IADC,gBAAgB,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;8BAC7B,IAAI;2DAAC;AArCN,wBAAwB;IADpC,MAAM,CAAC,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC;GAChC,wBAAwB,CAsCpC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Relation } from 'typeorm';
|
|
1
2
|
import type { WorkflowTransitionType } from '@loopstack/contracts/types';
|
|
2
|
-
import { WorkflowState } from '../enums';
|
|
3
|
-
import { DocumentEntity } from './document.entity';
|
|
4
|
-
import { User } from './user.entity';
|
|
5
|
-
import { WorkspaceEntity } from './workspace.entity';
|
|
3
|
+
import { WorkflowState } from '../enums/index.js';
|
|
4
|
+
import { DocumentEntity } from './document.entity.js';
|
|
5
|
+
import { User } from './user.entity.js';
|
|
6
|
+
import { WorkspaceEntity } from './workspace.entity.js';
|
|
6
7
|
export declare class WorkflowEntity {
|
|
7
8
|
id: string;
|
|
8
9
|
alias: string;
|
|
@@ -25,15 +26,15 @@ export declare class WorkflowEntity {
|
|
|
25
26
|
result: Record<string, unknown> | null;
|
|
26
27
|
availableTransitions: WorkflowTransitionType[] | null;
|
|
27
28
|
labels: string[];
|
|
28
|
-
dependencies: DocumentEntity[]
|
|
29
|
+
dependencies: Relation<DocumentEntity[]>;
|
|
29
30
|
hashRecord: Record<string, string | null> | null;
|
|
30
|
-
documents: DocumentEntity[]
|
|
31
|
-
workspace: WorkspaceEntity
|
|
31
|
+
documents: Relation<DocumentEntity[]>;
|
|
32
|
+
workspace: Relation<WorkspaceEntity>;
|
|
32
33
|
workspaceId: string;
|
|
33
|
-
creator: User
|
|
34
|
+
creator: Relation<User>;
|
|
34
35
|
createdBy: string;
|
|
35
|
-
parent: WorkflowEntity | null;
|
|
36
|
+
parent: Relation<WorkflowEntity> | null;
|
|
36
37
|
parentId: string | null;
|
|
37
|
-
children: WorkflowEntity[]
|
|
38
|
+
children: Relation<WorkflowEntity[]>;
|
|
38
39
|
}
|
|
39
40
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"workflow.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAWL,QAAQ,EAET,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,qBACa,c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