@loopstack/contracts 0.22.1 → 0.23.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.
Files changed (82) hide show
  1. package/dist/api/auth.interface.d.ts +9 -0
  2. package/dist/api/auth.interface.d.ts.map +1 -0
  3. package/dist/api/auth.interface.js +3 -0
  4. package/dist/api/auth.interface.js.map +1 -0
  5. package/dist/api/common.interface.d.ts +6 -0
  6. package/dist/api/common.interface.d.ts.map +1 -0
  7. package/dist/api/common.interface.js +3 -0
  8. package/dist/api/common.interface.js.map +1 -0
  9. package/dist/api/dashboard.interface.d.ts +13 -0
  10. package/dist/api/dashboard.interface.d.ts.map +1 -0
  11. package/dist/api/dashboard.interface.js +3 -0
  12. package/dist/api/dashboard.interface.js.map +1 -0
  13. package/dist/api/document.interface.d.ts +6 -0
  14. package/dist/api/document.interface.d.ts.map +1 -0
  15. package/dist/api/document.interface.js +3 -0
  16. package/dist/api/document.interface.js.map +1 -0
  17. package/dist/api/file.interface.d.ts +14 -0
  18. package/dist/api/file.interface.d.ts.map +1 -0
  19. package/dist/api/file.interface.js +3 -0
  20. package/dist/api/file.interface.js.map +1 -0
  21. package/dist/api/index.d.ts +14 -0
  22. package/dist/api/index.d.ts.map +1 -0
  23. package/dist/api/index.js +27 -0
  24. package/dist/api/index.js.map +1 -0
  25. package/dist/api/namespace.interface.d.ts +21 -0
  26. package/dist/api/namespace.interface.d.ts.map +1 -0
  27. package/dist/api/namespace.interface.js +3 -0
  28. package/dist/api/namespace.interface.js.map +1 -0
  29. package/dist/api/pagination.interface.d.ts +7 -0
  30. package/dist/api/pagination.interface.d.ts.map +1 -0
  31. package/dist/api/pagination.interface.js +3 -0
  32. package/dist/api/pagination.interface.js.map +1 -0
  33. package/dist/api/pipeline.interface.d.ts +64 -0
  34. package/dist/api/pipeline.interface.d.ts.map +1 -0
  35. package/dist/api/pipeline.interface.js +3 -0
  36. package/dist/api/pipeline.interface.js.map +1 -0
  37. package/dist/api/workflow.interface.d.ts +24 -0
  38. package/dist/api/workflow.interface.d.ts.map +1 -0
  39. package/dist/api/workflow.interface.js +3 -0
  40. package/dist/api/workflow.interface.js.map +1 -0
  41. package/dist/api/workspace.interface.d.ts +104 -0
  42. package/dist/api/workspace.interface.d.ts.map +1 -0
  43. package/dist/api/workspace.interface.js +3 -0
  44. package/dist/api/workspace.interface.js.map +1 -0
  45. package/dist/enums/environment-type.enum.d.ts +2 -1
  46. package/dist/enums/environment-type.enum.d.ts.map +1 -1
  47. package/dist/enums/environment-type.enum.js +1 -0
  48. package/dist/enums/environment-type.enum.js.map +1 -1
  49. package/dist/enums/index.d.ts +1 -1
  50. package/dist/enums/index.d.ts.map +1 -1
  51. package/dist/enums/index.js +1 -1
  52. package/dist/enums/index.js.map +1 -1
  53. package/dist/enums/sort-order.enum.d.ts +5 -0
  54. package/dist/enums/sort-order.enum.d.ts.map +1 -0
  55. package/dist/enums/sort-order.enum.js +9 -0
  56. package/dist/enums/sort-order.enum.js.map +1 -0
  57. package/dist/schemas/document.schema.d.ts +6 -6
  58. package/dist/schemas/environment-config.schema.d.ts +2 -5
  59. package/dist/schemas/environment-config.schema.d.ts.map +1 -1
  60. package/dist/schemas/environment-config.schema.js +2 -2
  61. package/dist/schemas/environment-config.schema.js.map +1 -1
  62. package/dist/schemas/main.schema.d.ts +23 -22
  63. package/dist/schemas/main.schema.d.ts.map +1 -1
  64. package/dist/schemas/pipeline.schema.d.ts +8 -8
  65. package/dist/schemas/tool-config.schema.d.ts +2 -2
  66. package/dist/schemas/ui-form.schema.d.ts +7 -7
  67. package/dist/schemas/ui-form.schema.d.ts.map +1 -1
  68. package/dist/schemas/ui-form.schema.js +3 -1
  69. package/dist/schemas/ui-form.schema.js.map +1 -1
  70. package/dist/schemas/workflow-transition.schema.d.ts +2 -0
  71. package/dist/schemas/workflow-transition.schema.d.ts.map +1 -1
  72. package/dist/schemas/workflow-transition.schema.js +2 -0
  73. package/dist/schemas/workflow-transition.schema.js.map +1 -1
  74. package/dist/schemas/workflow.schema.d.ts +5 -4
  75. package/dist/schemas/workflow.schema.d.ts.map +1 -1
  76. package/dist/schemas/workspace.schema.d.ts +12 -12
  77. package/dist/schemas/workspace.schema.d.ts.map +1 -1
  78. package/dist/schemas/workspace.schema.js +14 -6
  79. package/dist/schemas/workspace.schema.js.map +1 -1
  80. package/dist/types/interfaces/pipeline-config.interface.d.ts +1 -0
  81. package/dist/types/interfaces/pipeline-config.interface.d.ts.map +1 -1
  82. package/package.json +8 -1
@@ -0,0 +1,9 @@
1
+ export interface HubLoginRequestInterface {
2
+ idToken: string;
3
+ }
4
+ export interface WorkerInfoInterface {
5
+ clientId?: string;
6
+ isConfigured: boolean;
7
+ timestamp: string;
8
+ }
9
+ //# sourceMappingURL=auth.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.interface.d.ts","sourceRoot":"","sources":["../../src/api/auth.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=auth.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.interface.js","sourceRoot":"","sources":["../../src/api/auth.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { SortOrder } from '../enums/sort-order.enum.js';
2
+ export interface SortByInterface {
3
+ field: string;
4
+ order: SortOrder;
5
+ }
6
+ //# sourceMappingURL=common.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.interface.d.ts","sourceRoot":"","sources":["../../src/api/common.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;CAClB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=common.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.interface.js","sourceRoot":"","sources":["../../src/api/common.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import { WorkflowInterface } from '../types/interfaces/workflow.interface.js';
2
+ import { PipelineInterface } from './pipeline.interface.js';
3
+ export interface DashboardStatsInterface {
4
+ workspaceCount: number;
5
+ totalAutomations: number;
6
+ totalAutomationRuns: number;
7
+ completedRuns: number;
8
+ errorRuns: number;
9
+ inProgressRuns: number;
10
+ recentErrors: WorkflowInterface[];
11
+ recentRuns: PipelineInterface[];
12
+ }
13
+ //# sourceMappingURL=dashboard.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard.interface.d.ts","sourceRoot":"","sources":["../../src/api/dashboard.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,WAAW,uBAAuB;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,iBAAiB,EAAE,CAAC;IAClC,UAAU,EAAE,iBAAiB,EAAE,CAAC;CACjC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=dashboard.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard.interface.js","sourceRoot":"","sources":["../../src/api/dashboard.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { SortByInterface } from './common.interface.js';
2
+ export interface DocumentFilterInterface {
3
+ workflowId?: string;
4
+ }
5
+ export type DocumentSortByInterface = SortByInterface;
6
+ //# sourceMappingURL=document.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document.interface.d.ts","sourceRoot":"","sources":["../../src/api/document.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,WAAW,uBAAuB;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=document.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document.interface.js","sourceRoot":"","sources":["../../src/api/document.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { PipelineConfigInterface } from '../types/interfaces/pipeline-config.interface.js';
2
+ export interface FileExplorerNodeInterface {
3
+ id: string;
4
+ name: string;
5
+ path: string;
6
+ type: 'file' | 'folder';
7
+ children?: FileExplorerNodeInterface[];
8
+ }
9
+ export interface FileContentInterface {
10
+ path: string;
11
+ content: string;
12
+ workflowConfig?: PipelineConfigInterface;
13
+ }
14
+ //# sourceMappingURL=file.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file.interface.d.ts","sourceRoot":"","sources":["../../src/api/file.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAE3F,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAC;IACxB,QAAQ,CAAC,EAAE,yBAAyB,EAAE,CAAC;CACxC;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,uBAAuB,CAAC;CAC1C"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=file.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file.interface.js","sourceRoot":"","sources":["../../src/api/file.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export * from './auth.interface.js';
2
+ export * from './common.interface.js';
3
+ export * from './dashboard.interface.js';
4
+ export * from './document.interface.js';
5
+ export * from './file.interface.js';
6
+ export * from './namespace.interface.js';
7
+ export * from './pagination.interface.js';
8
+ export * from './pipeline.interface.js';
9
+ export * from './workspace.interface.js';
10
+ export * from './workflow.interface.js';
11
+ export type { DocumentItemInterface } from '../types/interfaces/document-item.interface.js';
12
+ export type { PipelineConfigInterface } from '../types/interfaces/pipeline-config.interface.js';
13
+ export type { WorkflowInterface } from '../types/interfaces/workflow.interface.js';
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AAGxC,YAAY,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AAC5F,YAAY,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAChG,YAAY,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
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("./auth.interface.js"), exports);
18
+ __exportStar(require("./common.interface.js"), exports);
19
+ __exportStar(require("./dashboard.interface.js"), exports);
20
+ __exportStar(require("./document.interface.js"), exports);
21
+ __exportStar(require("./file.interface.js"), exports);
22
+ __exportStar(require("./namespace.interface.js"), exports);
23
+ __exportStar(require("./pagination.interface.js"), exports);
24
+ __exportStar(require("./pipeline.interface.js"), exports);
25
+ __exportStar(require("./workspace.interface.js"), exports);
26
+ __exportStar(require("./workflow.interface.js"), exports);
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,wDAAsC;AACtC,2DAAyC;AACzC,0DAAwC;AACxC,sDAAoC;AACpC,2DAAyC;AACzC,4DAA0C;AAC1C,0DAAwC;AACxC,2DAAyC;AACzC,0DAAwC"}
@@ -0,0 +1,21 @@
1
+ import { SortByInterface } from './common.interface.js';
2
+ export interface NamespaceInterface {
3
+ id: string;
4
+ name: string;
5
+ workspaceId: string;
6
+ pipelineId: string;
7
+ metadata: Record<string, any> | null;
8
+ parentId: string | null;
9
+ }
10
+ export interface NamespaceItemInterface {
11
+ id: string;
12
+ name: string;
13
+ metadata: Record<string, any> | null;
14
+ parentId: string | null;
15
+ }
16
+ export interface NamespaceFilterInterface {
17
+ workspaceId?: string;
18
+ pipelineId?: string;
19
+ }
20
+ export type NamespaceSortByInterface = SortByInterface;
21
+ //# sourceMappingURL=namespace.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespace.interface.d.ts","sourceRoot":"","sources":["../../src/api/namespace.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IACrC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IACrC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=namespace.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespace.interface.js","sourceRoot":"","sources":["../../src/api/namespace.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ export interface PaginatedInterface<T> {
2
+ data: T[];
3
+ total: number;
4
+ page: number;
5
+ limit: number;
6
+ }
7
+ //# sourceMappingURL=pagination.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination.interface.d.ts","sourceRoot":"","sources":["../../src/api/pagination.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=pagination.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination.interface.js","sourceRoot":"","sources":["../../src/api/pagination.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,64 @@
1
+ import { PipelineState } from '../enums/pipeline-state.js';
2
+ import { SortByInterface } from './common.interface.js';
3
+ export interface PipelineContextInterface {
4
+ [key: string]: any;
5
+ }
6
+ export interface PipelineInterface {
7
+ id: string;
8
+ blockName: string;
9
+ title: string;
10
+ run: number;
11
+ labels: string[];
12
+ order: number;
13
+ status: PipelineState;
14
+ context: PipelineContextInterface;
15
+ schema: any;
16
+ ui: any;
17
+ createdAt: string;
18
+ updatedAt: string;
19
+ workspaceId: string;
20
+ parentId: string | null;
21
+ hasChildren: number;
22
+ }
23
+ export interface PipelineItemInterface {
24
+ id: string;
25
+ blockName: string;
26
+ title: string;
27
+ run: number;
28
+ labels: string[];
29
+ order: number;
30
+ status: PipelineState;
31
+ createdAt: string;
32
+ updatedAt: string;
33
+ workspaceId: string;
34
+ parentId: string | null;
35
+ hasChildren: number;
36
+ }
37
+ export interface PipelineCreateInterface {
38
+ blockName: string;
39
+ title: string | null;
40
+ labels?: string[];
41
+ workspaceId: string;
42
+ transition: string | null;
43
+ args: any;
44
+ context?: Record<string, any>;
45
+ }
46
+ export interface PipelineUpdateInterface {
47
+ title?: string;
48
+ labels?: string[];
49
+ }
50
+ export interface PipelineSourceInterface {
51
+ name: string;
52
+ filePath: string | null;
53
+ raw: string | null;
54
+ }
55
+ export interface PipelineFilterInterface {
56
+ workspaceId?: string;
57
+ parentId?: string | null;
58
+ status?: string;
59
+ }
60
+ export type PipelineSortByInterface = SortByInterface;
61
+ export interface RunPipelinePayloadInterface {
62
+ transition?: any;
63
+ }
64
+ //# sourceMappingURL=pipeline.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipeline.interface.d.ts","sourceRoot":"","sources":["../../src/api/pipeline.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,WAAW,wBAAwB;IACvC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,aAAa,CAAC;IACtB,OAAO,EAAE,wBAAwB,CAAC;IAClC,MAAM,EAAE,GAAG,CAAC;IACZ,EAAE,EAAE,GAAG,CAAC;IACR,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,qBAAqB;IACpC,EAA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
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=pipeline.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipeline.interface.js","sourceRoot":"","sources":["../../src/api/pipeline.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,24 @@
1
+ import { WorkflowState } from '../enums/workflow-state.enum.js';
2
+ import { SortByInterface } from './common.interface.js';
3
+ export interface WorkflowItemInterface {
4
+ id: string;
5
+ blockName: string;
6
+ title: string;
7
+ index: number;
8
+ labels: string[];
9
+ progress: number;
10
+ status: WorkflowState;
11
+ hasError: boolean;
12
+ place: string;
13
+ createdAt: string;
14
+ updatedAt: string;
15
+ workspaceId: string;
16
+ pipelineId: string;
17
+ namespaceId: string;
18
+ }
19
+ export interface WorkflowFilterInterface {
20
+ namespaceId?: string;
21
+ pipelineId?: string;
22
+ }
23
+ export type WorkflowSortByInterface = SortByInterface;
24
+ //# sourceMappingURL=workflow.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow.interface.d.ts","sourceRoot":"","sources":["../../src/api/workflow.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=workflow.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow.interface.js","sourceRoot":"","sources":["../../src/api/workflow.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,104 @@
1
+ import { SortByInterface } from './common.interface.js';
2
+ export interface VolumeInterface {
3
+ path: string;
4
+ permissions: ('read' | 'write')[];
5
+ }
6
+ export interface SidebarFeatureInterface {
7
+ enabled?: boolean;
8
+ }
9
+ export interface FileExplorerFeatureInterface {
10
+ enabled?: boolean;
11
+ environments?: string[];
12
+ options?: Record<string, unknown>;
13
+ }
14
+ export interface FlyInstanceFeatureInterface {
15
+ enabled?: boolean;
16
+ }
17
+ export interface FeaturesInterface {
18
+ sidebar?: SidebarFeatureInterface;
19
+ workflowHistory?: SidebarFeatureInterface;
20
+ workflowNavigation?: SidebarFeatureInterface;
21
+ debugWorkflow?: SidebarFeatureInterface;
22
+ fileExplorer?: FileExplorerFeatureInterface;
23
+ flyInstance?: FlyInstanceFeatureInterface;
24
+ previewPanel?: SidebarFeatureInterface;
25
+ }
26
+ export interface EnvironmentConfigInterface {
27
+ id: string;
28
+ title?: string;
29
+ type?: string;
30
+ optional?: boolean;
31
+ }
32
+ export interface WorkspaceInterface {
33
+ id: string;
34
+ blockName: string;
35
+ title: string;
36
+ isLocked: boolean;
37
+ isFavourite: boolean;
38
+ createdAt: string;
39
+ updatedAt: string;
40
+ volumes?: Record<string, VolumeInterface>;
41
+ features?: FeaturesInterface;
42
+ environments?: WorkspaceEnvironmentInterface[];
43
+ }
44
+ export interface WorkspaceItemInterface {
45
+ id: string;
46
+ blockName: string;
47
+ title: string;
48
+ isFavourite: boolean;
49
+ createdAt: string;
50
+ updatedAt: string;
51
+ environments?: WorkspaceEnvironmentInterface[];
52
+ }
53
+ export interface WorkspaceCreateInterface {
54
+ title?: string;
55
+ blockName: string;
56
+ isFavourite?: boolean;
57
+ environments?: WorkspaceEnvironmentInterface[];
58
+ }
59
+ export interface WorkspaceUpdateInterface {
60
+ title?: string;
61
+ isFavourite?: boolean;
62
+ environments?: WorkspaceEnvironmentInterface[];
63
+ }
64
+ export interface WorkspaceActionInterface {
65
+ widget: string;
66
+ options?: Record<string, any>;
67
+ }
68
+ export interface WorkspaceUiInterface {
69
+ actions?: WorkspaceActionInterface[];
70
+ }
71
+ export interface WorkspaceConfigInterface {
72
+ blockName: string;
73
+ title?: string;
74
+ volumes?: Record<string, VolumeInterface>;
75
+ features?: FeaturesInterface;
76
+ environments?: EnvironmentConfigInterface[];
77
+ ui?: WorkspaceUiInterface;
78
+ }
79
+ export interface WorkspaceEnvironmentInterface {
80
+ slotId: string;
81
+ type?: string;
82
+ remoteEnvironmentId: string;
83
+ envName?: string;
84
+ connectionUrl?: string;
85
+ agentUrl?: string;
86
+ workerId?: string;
87
+ workerUrl?: string;
88
+ local?: boolean;
89
+ }
90
+ export interface WorkspaceFavouriteInterface {
91
+ isFavourite: boolean;
92
+ }
93
+ export interface WorkspaceFilterInterface {
94
+ isFavourite?: boolean;
95
+ }
96
+ export interface AvailableEnvironmentInterface {
97
+ type: string;
98
+ name: string;
99
+ connectionUrl: string;
100
+ agentUrl?: string;
101
+ local?: boolean;
102
+ }
103
+ export type WorkspaceSortByInterface = SortByInterface;
104
+ //# sourceMappingURL=workspace.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspace.interface.d.ts","sourceRoot":"","sources":["../../src/api/workspace.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,WAAW,eAAe;IA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AAC;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,2BAA2B;IAC1C,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=workspace.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspace.interface.js","sourceRoot":"","sources":["../../src/api/workspace.interface.ts"],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
1
  export declare enum EnvironmentType {
2
2
  Sandbox = "sandbox",
3
- Production = "production"
3
+ Production = "production",
4
+ Custom = "custom"
4
5
  }
5
6
  //# sourceMappingURL=environment-type.enum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"environment-type.enum.d.ts","sourceRoot":"","sources":["../../src/enums/environment-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,OAAO,YAAY;IACnB,UAAU,eAAe;CAC1B"}
1
+ {"version":3,"file":"environment-type.enum.d.ts","sourceRoot":"","sources":["../../src/enums/environment-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,MAAM,WAAW;CAClB"}
@@ -5,5 +5,6 @@ var EnvironmentType;
5
5
  (function (EnvironmentType) {
6
6
  EnvironmentType["Sandbox"] = "sandbox";
7
7
  EnvironmentType["Production"] = "production";
8
+ EnvironmentType["Custom"] = "custom";
8
9
  })(EnvironmentType || (exports.EnvironmentType = EnvironmentType = {}));
9
10
  //# sourceMappingURL=environment-type.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"environment-type.enum.js","sourceRoot":"","sources":["../../src/enums/environment-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,sCAAmB,CAAA;IACnB,4CAAyB,CAAA;AAC3B,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B"}
1
+ {"version":3,"file":"environment-type.enum.js","sourceRoot":"","sources":["../../src/enums/environment-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,sCAAmB,CAAA;IACnB,4CAAyB,CAAA;IACzB,oCAAiB,CAAA;AACnB,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B"}
@@ -1,6 +1,6 @@
1
1
  export * from './pipeline-state.js';
2
+ export * from './sort-order.enum.js';
2
3
  export * from './workflow-state.enum.js';
3
4
  export * from './user-type.enum.js';
4
5
  export * from './registry.enum.js';
5
- export * from './environment-type.enum.js';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC"}
@@ -15,8 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./pipeline-state.js"), exports);
18
+ __exportStar(require("./sort-order.enum.js"), exports);
18
19
  __exportStar(require("./workflow-state.enum.js"), exports);
19
20
  __exportStar(require("./user-type.enum.js"), exports);
20
21
  __exportStar(require("./registry.enum.js"), exports);
21
- __exportStar(require("./environment-type.enum.js"), exports);
22
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,2DAAyC;AACzC,sDAAoC;AACpC,qDAAmC;AACnC,6DAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,uDAAqC;AACrC,2DAAyC;AACzC,sDAAoC;AACpC,qDAAmC"}
@@ -0,0 +1,5 @@
1
+ export declare enum SortOrder {
2
+ ASC = "ASC",
3
+ DESC = "DESC"
4
+ }
5
+ //# sourceMappingURL=sort-order.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sort-order.enum.d.ts","sourceRoot":"","sources":["../../src/enums/sort-order.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,GAAG,QAAQ;IACX,IAAI,SAAS;CACd"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SortOrder = void 0;
4
+ var SortOrder;
5
+ (function (SortOrder) {
6
+ SortOrder["ASC"] = "ASC";
7
+ SortOrder["DESC"] = "DESC";
8
+ })(SortOrder || (exports.SortOrder = SortOrder = {}));
9
+ //# sourceMappingURL=sort-order.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sort-order.enum.js","sourceRoot":"","sources":["../../src/enums/sort-order.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
@@ -17,21 +17,21 @@ export declare const DocumentConfigSchema: z.ZodObject<{
17
17
  content: z.ZodOptional<z.ZodAny>;
18
18
  ui: z.ZodOptional<z.ZodObject<{
19
19
  actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
20
- transition: z.ZodString;
21
20
  widget: z.ZodOptional<z.ZodString>;
22
21
  enabledWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
23
22
  type: z.ZodLiteral<"button">;
24
23
  options: z.ZodOptional<z.ZodObject<{
24
+ transition: z.ZodOptional<z.ZodString>;
25
25
  position: z.ZodOptional<z.ZodNumber>;
26
26
  label: z.ZodOptional<z.ZodString>;
27
27
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
28
28
  }, z.core.$strip>>;
29
29
  }, z.core.$strip>, z.ZodObject<{
30
- transition: z.ZodString;
31
30
  widget: z.ZodOptional<z.ZodString>;
32
31
  enabledWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
33
32
  type: z.ZodLiteral<"custom">;
34
33
  options: z.ZodOptional<z.ZodObject<{
34
+ transition: z.ZodOptional<z.ZodString>;
35
35
  label: z.ZodOptional<z.ZodString>;
36
36
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
37
37
  }, z.core.$strip>>;
@@ -66,21 +66,21 @@ export declare const DocumentSchema: z.ZodObject<{
66
66
  content: z.ZodOptional<z.ZodAny>;
67
67
  ui: z.ZodOptional<z.ZodObject<{
68
68
  actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
69
- transition: z.ZodString;
70
69
  widget: z.ZodOptional<z.ZodString>;
71
70
  enabledWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
71
  type: z.ZodLiteral<"button">;
73
72
  options: z.ZodOptional<z.ZodObject<{
73
+ transition: z.ZodOptional<z.ZodString>;
74
74
  position: z.ZodOptional<z.ZodNumber>;
75
75
  label: z.ZodOptional<z.ZodString>;
76
76
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
77
77
  }, z.core.$strip>>;
78
78
  }, z.core.$strip>, z.ZodObject<{
79
- transition: z.ZodString;
80
79
  widget: z.ZodOptional<z.ZodString>;
81
80
  enabledWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
82
81
  type: z.ZodLiteral<"custom">;
83
82
  options: z.ZodOptional<z.ZodObject<{
83
+ transition: z.ZodOptional<z.ZodString>;
84
84
  label: z.ZodOptional<z.ZodString>;
85
85
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
86
86
  }, z.core.$strip>>;
@@ -132,21 +132,21 @@ export declare const DocumentMessageSchema: z.ZodObject<{
132
132
  description: z.ZodOptional<z.ZodString>;
133
133
  ui: z.ZodOptional<z.ZodObject<{
134
134
  actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
135
- transition: z.ZodString;
136
135
  widget: z.ZodOptional<z.ZodString>;
137
136
  enabledWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
138
137
  type: z.ZodLiteral<"button">;
139
138
  options: z.ZodOptional<z.ZodObject<{
139
+ transition: z.ZodOptional<z.ZodString>;
140
140
  position: z.ZodOptional<z.ZodNumber>;
141
141
  label: z.ZodOptional<z.ZodString>;
142
142
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
143
143
  }, z.core.$strip>>;
144
144
  }, z.core.$strip>, z.ZodObject<{
145
- transition: z.ZodString;
146
145
  widget: z.ZodOptional<z.ZodString>;
147
146
  enabledWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
148
147
  type: z.ZodLiteral<"custom">;
149
148
  options: z.ZodOptional<z.ZodObject<{
149
+ transition: z.ZodOptional<z.ZodString>;
150
150
  label: z.ZodOptional<z.ZodString>;
151
151
  props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
152
152
  }, z.core.$strip>>;