@coast/core-types 0.0.67 → 0.0.69
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/automations/condition/operands/TPreviousComponentOperand.d.ts +2 -0
- package/dist/automations/condition/operands/TSubformComponentRefOperand.d.ts +2 -0
- package/dist/automations/condition/operands/TWorkflowEntityRefComponentOperand.d.ts +2 -0
- package/dist/error/ErrorCode.d.ts +2 -1
- package/dist/error/ErrorCode.js +2 -1
- package/dist/error/ErrorCode.js.map +1 -1
- package/dist/view-template-layout/error/ViewTemplateLayoutErrorCode.d.ts +3 -0
- package/dist/view-template-layout/error/ViewTemplateLayoutErrorCode.js +8 -0
- package/dist/view-template-layout/error/ViewTemplateLayoutErrorCode.js.map +1 -0
- package/dist/workflow-app/compensations/automations/TClearWorkflowTemplateReferenceAutomationActionCompensation.d.ts +2 -0
- package/dist/workflow-template/error/WorkflowTemplateErrorCode.d.ts +1 -0
- package/dist/workflow-template/error/WorkflowTemplateErrorCode.js +1 -0
- package/dist/workflow-template/error/WorkflowTemplateErrorCode.js.map +1 -1
- package/package.json +1 -1
- package/src/automations/condition/operands/TPreviousComponentOperand.ts +2 -0
- package/src/automations/condition/operands/TSubformComponentRefOperand.ts +2 -0
- package/src/automations/condition/operands/TWorkflowEntityRefComponentOperand.ts +2 -0
- package/src/error/ErrorCode.ts +2 -0
- package/src/view-template-layout/error/ViewTemplateLayoutErrorCode.ts +3 -0
- package/src/workflow-app/compensations/automations/TClearWorkflowTemplateReferenceAutomationActionCompensation.ts +2 -0
- package/src/workflow-template/error/WorkflowTemplateErrorCode.ts +1 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ComponentId } from '../../../workflow-template/components/ComponentId';
|
|
2
|
+
import { ScalarKey } from '../../../workflow-template/components/scalar/ScalarKey';
|
|
2
3
|
import { OperandType } from './OperandType';
|
|
3
4
|
import { TOperand } from './TOperand';
|
|
4
5
|
export interface TPreviousComponentOperand extends TOperand<OperandType.PREVIOUS_COMPONENT> {
|
|
5
6
|
componentId: ComponentId;
|
|
7
|
+
scalarKey?: ScalarKey;
|
|
6
8
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ComponentId } from '../../../workflow-template/components/ComponentId';
|
|
2
2
|
import { ComponentType } from '../../../workflow-template/components/ComponentType';
|
|
3
|
+
import { ScalarKey } from '../../../workflow-template/components/scalar/ScalarKey';
|
|
3
4
|
import { OperandType } from './OperandType';
|
|
4
5
|
import { TOperand } from './TOperand';
|
|
5
6
|
import { TWorkflowTemplateComponentCase } from './TWorkflowTemplateComponentCase';
|
|
@@ -7,4 +8,5 @@ export interface TSubformComponentRefOperand extends TOperand<OperandType.SUBFOR
|
|
|
7
8
|
subformComponentId: ComponentId;
|
|
8
9
|
refComponentType: ComponentType;
|
|
9
10
|
cases: TWorkflowTemplateComponentCase[];
|
|
11
|
+
scalarKey?: ScalarKey;
|
|
10
12
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ComponentId } from '../../../workflow-template/components/ComponentId';
|
|
2
|
+
import { ScalarKey } from '../../../workflow-template/components/scalar/ScalarKey';
|
|
2
3
|
import { WorkflowTemplateId } from '../../../workflow-template/WorkflowTemplateId';
|
|
3
4
|
import { OperandType } from './OperandType';
|
|
4
5
|
import { TOperand } from './TOperand';
|
|
@@ -6,4 +7,5 @@ export interface TWorkflowEntityRefComponentOperand extends TOperand<OperandType
|
|
|
6
7
|
componentId: ComponentId;
|
|
7
8
|
refComponentId: ComponentId;
|
|
8
9
|
refWorkflowTemplateId?: WorkflowTemplateId;
|
|
10
|
+
scalarKey?: ScalarKey;
|
|
9
11
|
}
|
|
@@ -5,6 +5,7 @@ import { IntegrationErrorCode } from '../integration/error/IntegrationErrorCode'
|
|
|
5
5
|
import { MessagingErrorCode } from '../messaging/error/MessagingErrorCode';
|
|
6
6
|
import { UserErrorCode } from '../user/error/UserErrorCode';
|
|
7
7
|
import { ConstEnum } from '../utils/ConstEnum';
|
|
8
|
+
import { ViewTemplateLayoutErrorCode } from '../view-template-layout/error/ViewTemplateLayoutErrorCode';
|
|
8
9
|
import { ViewTemplateErrorCode } from '../view-template/error/ViewTemplateErrorCode';
|
|
9
10
|
import { WorkspaceDuplicationErrorCode } from '../workflow-app/error/WorkspaceDuplicationErrorCode';
|
|
10
11
|
import { ComponentDataErrorCode } from '../workflow-entity/error/ComponentDataErrorCode';
|
|
@@ -14,5 +15,5 @@ import { WorkflowEntitySearchErrorCode } from '../workflow-entity/search/error/W
|
|
|
14
15
|
import { ComponentErrorCode } from '../workflow-template/components/error/ComponentErrorCode';
|
|
15
16
|
import { WorkflowTemplateErrorCode } from '../workflow-template/error/WorkflowTemplateErrorCode';
|
|
16
17
|
import { GeneralErrorCode } from './GeneralErrorCode';
|
|
17
|
-
export declare const ErrorCode: typeof AutomationErrorCode & typeof BundleListingErrorCode & typeof DashboardErrorCode & typeof IntegrationErrorCode & typeof MessagingErrorCode & typeof UserErrorCode & typeof ViewTemplateErrorCode & typeof WorkspaceDuplicationErrorCode & typeof ComponentDataErrorCode & typeof WorkflowEntityErrorCode & typeof RecurringEntitiesErrorCode & typeof WorkflowEntitySearchErrorCode & typeof ComponentErrorCode & typeof WorkflowTemplateErrorCode & typeof GeneralErrorCode;
|
|
18
|
+
export declare const ErrorCode: typeof AutomationErrorCode & typeof BundleListingErrorCode & typeof DashboardErrorCode & typeof IntegrationErrorCode & typeof MessagingErrorCode & typeof UserErrorCode & typeof ViewTemplateLayoutErrorCode & typeof ViewTemplateErrorCode & typeof WorkspaceDuplicationErrorCode & typeof ComponentDataErrorCode & typeof WorkflowEntityErrorCode & typeof RecurringEntitiesErrorCode & typeof WorkflowEntitySearchErrorCode & typeof ComponentErrorCode & typeof WorkflowTemplateErrorCode & typeof GeneralErrorCode;
|
|
18
19
|
export type ErrorCode = ConstEnum<typeof ErrorCode>;
|
package/dist/error/ErrorCode.js
CHANGED
|
@@ -8,6 +8,7 @@ const IntegrationErrorCode_1 = require("../integration/error/IntegrationErrorCod
|
|
|
8
8
|
const MessagingErrorCode_1 = require("../messaging/error/MessagingErrorCode");
|
|
9
9
|
const UserErrorCode_1 = require("../user/error/UserErrorCode");
|
|
10
10
|
const MultiEnum_1 = require("../utils/MultiEnum");
|
|
11
|
+
const ViewTemplateLayoutErrorCode_1 = require("../view-template-layout/error/ViewTemplateLayoutErrorCode");
|
|
11
12
|
const ViewTemplateErrorCode_1 = require("../view-template/error/ViewTemplateErrorCode");
|
|
12
13
|
const WorkspaceDuplicationErrorCode_1 = require("../workflow-app/error/WorkspaceDuplicationErrorCode");
|
|
13
14
|
const ComponentDataErrorCode_1 = require("../workflow-entity/error/ComponentDataErrorCode");
|
|
@@ -17,5 +18,5 @@ const WorkflowEntitySearchErrorCode_1 = require("../workflow-entity/search/error
|
|
|
17
18
|
const ComponentErrorCode_1 = require("../workflow-template/components/error/ComponentErrorCode");
|
|
18
19
|
const WorkflowTemplateErrorCode_1 = require("../workflow-template/error/WorkflowTemplateErrorCode");
|
|
19
20
|
const GeneralErrorCode_1 = require("./GeneralErrorCode");
|
|
20
|
-
exports.ErrorCode = (0, MultiEnum_1.MultiEnum)(AutomationErrorCode_1.AutomationErrorCode, BundleListingErrorCode_1.BundleListingErrorCode, ComponentDataErrorCode_1.ComponentDataErrorCode, ComponentErrorCode_1.ComponentErrorCode, DashboardErrorCode_1.DashboardErrorCode, GeneralErrorCode_1.GeneralErrorCode, IntegrationErrorCode_1.IntegrationErrorCode, MessagingErrorCode_1.MessagingErrorCode, RecurringEntitiesErrorCode_1.RecurringEntitiesErrorCode, UserErrorCode_1.UserErrorCode, ViewTemplateErrorCode_1.ViewTemplateErrorCode, WorkflowEntityErrorCode_1.WorkflowEntityErrorCode, WorkflowEntitySearchErrorCode_1.WorkflowEntitySearchErrorCode, WorkflowTemplateErrorCode_1.WorkflowTemplateErrorCode, WorkspaceDuplicationErrorCode_1.WorkspaceDuplicationErrorCode);
|
|
21
|
+
exports.ErrorCode = (0, MultiEnum_1.MultiEnum)(AutomationErrorCode_1.AutomationErrorCode, BundleListingErrorCode_1.BundleListingErrorCode, ComponentDataErrorCode_1.ComponentDataErrorCode, ComponentErrorCode_1.ComponentErrorCode, DashboardErrorCode_1.DashboardErrorCode, GeneralErrorCode_1.GeneralErrorCode, IntegrationErrorCode_1.IntegrationErrorCode, MessagingErrorCode_1.MessagingErrorCode, RecurringEntitiesErrorCode_1.RecurringEntitiesErrorCode, UserErrorCode_1.UserErrorCode, ViewTemplateErrorCode_1.ViewTemplateErrorCode, ViewTemplateLayoutErrorCode_1.ViewTemplateLayoutErrorCode, WorkflowEntityErrorCode_1.WorkflowEntityErrorCode, WorkflowEntitySearchErrorCode_1.WorkflowEntitySearchErrorCode, WorkflowTemplateErrorCode_1.WorkflowTemplateErrorCode, WorkspaceDuplicationErrorCode_1.WorkspaceDuplicationErrorCode);
|
|
21
22
|
//# sourceMappingURL=ErrorCode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorCode.js","sourceRoot":"","sources":["../../src/error/ErrorCode.ts"],"names":[],"mappings":";;;AAAA,kFAA+E;AAC/E,mFAAgF;AAChF,8EAA2E;AAC3E,oFAAiF;AACjF,8EAA2E;AAC3E,+DAA4D;AAE5D,kDAA+C;AAC/C,wFAAqF;AACrF,uGAAoG;AACpG,4FAAyF;AACzF,8FAA2F;AAC3F,8GAA2G;AAC3G,iHAA8G;AAC9G,iGAA8F;AAC9F,oGAAiG;AACjG,yDAAsD;AAEzC,QAAA,SAAS,GAAG,IAAA,qBAAS,EAC9B,yCAAmB,EACnB,+CAAsB,EACtB,+CAAsB,EACtB,uCAAkB,EAClB,uCAAkB,EAClB,mCAAgB,EAChB,2CAAoB,EACpB,uCAAkB,EAClB,uDAA0B,EAC1B,6BAAa,EACb,6CAAqB,EACrB,iDAAuB,EACvB,6DAA6B,EAC7B,qDAAyB,EACzB,6DAA6B,CAChC,CAAC"}
|
|
1
|
+
{"version":3,"file":"ErrorCode.js","sourceRoot":"","sources":["../../src/error/ErrorCode.ts"],"names":[],"mappings":";;;AAAA,kFAA+E;AAC/E,mFAAgF;AAChF,8EAA2E;AAC3E,oFAAiF;AACjF,8EAA2E;AAC3E,+DAA4D;AAE5D,kDAA+C;AAC/C,2GAAwG;AACxG,wFAAqF;AACrF,uGAAoG;AACpG,4FAAyF;AACzF,8FAA2F;AAC3F,8GAA2G;AAC3G,iHAA8G;AAC9G,iGAA8F;AAC9F,oGAAiG;AACjG,yDAAsD;AAEzC,QAAA,SAAS,GAAG,IAAA,qBAAS,EAC9B,yCAAmB,EACnB,+CAAsB,EACtB,+CAAsB,EACtB,uCAAkB,EAClB,uCAAkB,EAClB,mCAAgB,EAChB,2CAAoB,EACpB,uCAAkB,EAClB,uDAA0B,EAC1B,6BAAa,EACb,6CAAqB,EACrB,yDAA2B,EAC3B,iDAAuB,EACvB,6DAA6B,EAC7B,qDAAyB,EACzB,6DAA6B,CAChC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ViewTemplateLayoutErrorCode = void 0;
|
|
4
|
+
var ViewTemplateLayoutErrorCode;
|
|
5
|
+
(function (ViewTemplateLayoutErrorCode) {
|
|
6
|
+
ViewTemplateLayoutErrorCode["VIEW_TEMPLATE_LAYOUT_UNKNOWN_COMPONENT_IDS"] = "VIEW_TEMPLATE_LAYOUT_UNKNOWN_COMPONENT_IDS";
|
|
7
|
+
})(ViewTemplateLayoutErrorCode || (exports.ViewTemplateLayoutErrorCode = ViewTemplateLayoutErrorCode = {}));
|
|
8
|
+
//# sourceMappingURL=ViewTemplateLayoutErrorCode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ViewTemplateLayoutErrorCode.js","sourceRoot":"","sources":["../../../src/view-template-layout/error/ViewTemplateLayoutErrorCode.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BAEX;AAFD,WAAY,2BAA2B;IACnC,wHAAyF,CAAA;AAC7F,CAAC,EAFW,2BAA2B,aAA3B,2BAA2B,GAA3B,2BAA2B,QAEtC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { EntityType } from '../../../common/EntityType';
|
|
1
2
|
import { CompensationType } from '../CompensationType';
|
|
2
3
|
import { TAutomationActionReference } from '../TAutomationActionReference';
|
|
3
4
|
import { TAutomationCompensation } from './TAutomationCompensation';
|
|
4
5
|
export interface TClearWorkflowTemplateReferenceAutomationActionCompensation extends TAutomationCompensation<CompensationType.CLEAR_AUTOMATION_ACTION_WORKFLOW_TEMPLATE_REFERENCE> {
|
|
5
6
|
sourceAction: TAutomationActionReference;
|
|
6
7
|
newAction: TAutomationActionReference;
|
|
8
|
+
clearedReferenceType: EntityType.AUTOMATION | EntityType.WORKFLOW_TEMPLATE;
|
|
7
9
|
}
|
|
@@ -2,6 +2,7 @@ export declare enum WorkflowTemplateErrorCode {
|
|
|
2
2
|
WORKFLOW_TEMPLATE_ACTIVE_COMPONENT_IS_ARCHIVED = "WORKFLOW_TEMPLATE_ACTIVE_COMPONENT_IS_ARCHIVED",
|
|
3
3
|
WORKFLOW_TEMPLATE_ARCHIVED_COMPONENT_REFERENCE = "WORKFLOW_TEMPLATE_ARCHIVED_COMPONENT_REFERENCE",
|
|
4
4
|
WORKFLOW_TEMPLATE_CANNOT_DELETE_COMPONENTS = "WORKFLOW_TEMPLATE_CANNOT_DELETE_COMPONENTS",
|
|
5
|
+
WORKFLOW_TEMPLATE_CANNOT_DELETE_TAG_OPTIONS = "WORKFLOW_TEMPLATE_CANNOT_DELETE_TAG_OPTIONS",
|
|
5
6
|
WORKFLOW_TEMPLATE_CANNOT_HAVE_MULTIPLE_SUBFORM_COMPONENTS = "WORKFLOW_TEMPLATE_CANNOT_HAVE_MULTIPLE_SUBFORM_COMPONENTS",
|
|
6
7
|
WORKFLOW_TEMPLATE_COMPONENT_CANNOT_BE_REQUIRED_AND_HIDDEN = "WORKFLOW_TEMPLATE_COMPONENT_CANNOT_BE_REQUIRED_AND_HIDDEN",
|
|
7
8
|
WORKFLOW_TEMPLATE_COMPONENT_NOT_ALLOWED = "WORKFLOW_TEMPLATE_COMPONENT_NOT_ALLOWED",
|
|
@@ -6,6 +6,7 @@ var WorkflowTemplateErrorCode;
|
|
|
6
6
|
WorkflowTemplateErrorCode["WORKFLOW_TEMPLATE_ACTIVE_COMPONENT_IS_ARCHIVED"] = "WORKFLOW_TEMPLATE_ACTIVE_COMPONENT_IS_ARCHIVED";
|
|
7
7
|
WorkflowTemplateErrorCode["WORKFLOW_TEMPLATE_ARCHIVED_COMPONENT_REFERENCE"] = "WORKFLOW_TEMPLATE_ARCHIVED_COMPONENT_REFERENCE";
|
|
8
8
|
WorkflowTemplateErrorCode["WORKFLOW_TEMPLATE_CANNOT_DELETE_COMPONENTS"] = "WORKFLOW_TEMPLATE_CANNOT_DELETE_COMPONENTS";
|
|
9
|
+
WorkflowTemplateErrorCode["WORKFLOW_TEMPLATE_CANNOT_DELETE_TAG_OPTIONS"] = "WORKFLOW_TEMPLATE_CANNOT_DELETE_TAG_OPTIONS";
|
|
9
10
|
WorkflowTemplateErrorCode["WORKFLOW_TEMPLATE_CANNOT_HAVE_MULTIPLE_SUBFORM_COMPONENTS"] = "WORKFLOW_TEMPLATE_CANNOT_HAVE_MULTIPLE_SUBFORM_COMPONENTS";
|
|
10
11
|
WorkflowTemplateErrorCode["WORKFLOW_TEMPLATE_COMPONENT_CANNOT_BE_REQUIRED_AND_HIDDEN"] = "WORKFLOW_TEMPLATE_COMPONENT_CANNOT_BE_REQUIRED_AND_HIDDEN";
|
|
11
12
|
WorkflowTemplateErrorCode["WORKFLOW_TEMPLATE_COMPONENT_NOT_ALLOWED"] = "WORKFLOW_TEMPLATE_COMPONENT_NOT_ALLOWED";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowTemplateErrorCode.js","sourceRoot":"","sources":["../../../src/workflow-template/error/WorkflowTemplateErrorCode.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"WorkflowTemplateErrorCode.js","sourceRoot":"","sources":["../../../src/workflow-template/error/WorkflowTemplateErrorCode.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAiBX;AAjBD,WAAY,yBAAyB;IACjC,8HAAiG,CAAA;IACjG,8HAAiG,CAAA;IACjG,sHAAyF,CAAA;IACzF,wHAA2F,CAAA;IAC3F,oJAAuH,CAAA;IACvH,oJAAuH,CAAA;IACvH,gHAAmF,CAAA;IACnF,gIAAmG,CAAA;IACnG,wJAA2H,CAAA;IAC3H,kJAAqH,CAAA;IACrH,4IAA+G,CAAA;IAC/G,oKAAuI,CAAA;IACvI,oIAAuG,CAAA;IACvG,oHAAuF,CAAA;IACvF,oLAAuJ,CAAA;IACvJ,wLAA2J,CAAA;AAC/J,CAAC,EAjBW,yBAAyB,aAAzB,yBAAyB,GAAzB,yBAAyB,QAiBpC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ComponentId } from '../../../workflow-template/components/ComponentId';
|
|
2
|
+
import { ScalarKey } from '../../../workflow-template/components/scalar/ScalarKey';
|
|
2
3
|
import { OperandType } from './OperandType';
|
|
3
4
|
import { TOperand } from './TOperand';
|
|
4
5
|
|
|
5
6
|
export interface TPreviousComponentOperand extends TOperand<OperandType.PREVIOUS_COMPONENT> {
|
|
6
7
|
componentId: ComponentId;
|
|
8
|
+
scalarKey?: ScalarKey;
|
|
7
9
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ComponentId } from '../../../workflow-template/components/ComponentId';
|
|
2
2
|
import { ComponentType } from '../../../workflow-template/components/ComponentType';
|
|
3
|
+
import { ScalarKey } from '../../../workflow-template/components/scalar/ScalarKey';
|
|
3
4
|
import { OperandType } from './OperandType';
|
|
4
5
|
import { TOperand } from './TOperand';
|
|
5
6
|
import { TWorkflowTemplateComponentCase } from './TWorkflowTemplateComponentCase';
|
|
@@ -25,4 +26,5 @@ export interface TSubformComponentRefOperand extends TOperand<OperandType.SUBFOR
|
|
|
25
26
|
* supplies the leaf componentId; no match resolves to null.
|
|
26
27
|
*/
|
|
27
28
|
cases: TWorkflowTemplateComponentCase[];
|
|
29
|
+
scalarKey?: ScalarKey;
|
|
28
30
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ComponentId } from '../../../workflow-template/components/ComponentId';
|
|
2
|
+
import { ScalarKey } from '../../../workflow-template/components/scalar/ScalarKey';
|
|
2
3
|
import { WorkflowTemplateId } from '../../../workflow-template/WorkflowTemplateId';
|
|
3
4
|
import { OperandType } from './OperandType';
|
|
4
5
|
import { TOperand } from './TOperand';
|
|
@@ -7,4 +8,5 @@ export interface TWorkflowEntityRefComponentOperand extends TOperand<OperandType
|
|
|
7
8
|
componentId: ComponentId;
|
|
8
9
|
refComponentId: ComponentId;
|
|
9
10
|
refWorkflowTemplateId?: WorkflowTemplateId;
|
|
11
|
+
scalarKey?: ScalarKey;
|
|
10
12
|
}
|
package/src/error/ErrorCode.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { MessagingErrorCode } from '../messaging/error/MessagingErrorCode';
|
|
|
6
6
|
import { UserErrorCode } from '../user/error/UserErrorCode';
|
|
7
7
|
import { ConstEnum } from '../utils/ConstEnum';
|
|
8
8
|
import { MultiEnum } from '../utils/MultiEnum';
|
|
9
|
+
import { ViewTemplateLayoutErrorCode } from '../view-template-layout/error/ViewTemplateLayoutErrorCode';
|
|
9
10
|
import { ViewTemplateErrorCode } from '../view-template/error/ViewTemplateErrorCode';
|
|
10
11
|
import { WorkspaceDuplicationErrorCode } from '../workflow-app/error/WorkspaceDuplicationErrorCode';
|
|
11
12
|
import { ComponentDataErrorCode } from '../workflow-entity/error/ComponentDataErrorCode';
|
|
@@ -28,6 +29,7 @@ export const ErrorCode = MultiEnum(
|
|
|
28
29
|
RecurringEntitiesErrorCode,
|
|
29
30
|
UserErrorCode,
|
|
30
31
|
ViewTemplateErrorCode,
|
|
32
|
+
ViewTemplateLayoutErrorCode,
|
|
31
33
|
WorkflowEntityErrorCode,
|
|
32
34
|
WorkflowEntitySearchErrorCode,
|
|
33
35
|
WorkflowTemplateErrorCode,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EntityType } from '../../../common/EntityType';
|
|
1
2
|
import { CompensationType } from '../CompensationType';
|
|
2
3
|
import { TAutomationActionReference } from '../TAutomationActionReference';
|
|
3
4
|
import { TAutomationCompensation } from './TAutomationCompensation';
|
|
@@ -5,4 +6,5 @@ import { TAutomationCompensation } from './TAutomationCompensation';
|
|
|
5
6
|
export interface TClearWorkflowTemplateReferenceAutomationActionCompensation extends TAutomationCompensation<CompensationType.CLEAR_AUTOMATION_ACTION_WORKFLOW_TEMPLATE_REFERENCE> {
|
|
6
7
|
sourceAction: TAutomationActionReference;
|
|
7
8
|
newAction: TAutomationActionReference;
|
|
9
|
+
clearedReferenceType: EntityType.AUTOMATION | EntityType.WORKFLOW_TEMPLATE;
|
|
8
10
|
}
|
|
@@ -2,6 +2,7 @@ export enum WorkflowTemplateErrorCode {
|
|
|
2
2
|
WORKFLOW_TEMPLATE_ACTIVE_COMPONENT_IS_ARCHIVED = 'WORKFLOW_TEMPLATE_ACTIVE_COMPONENT_IS_ARCHIVED',
|
|
3
3
|
WORKFLOW_TEMPLATE_ARCHIVED_COMPONENT_REFERENCE = 'WORKFLOW_TEMPLATE_ARCHIVED_COMPONENT_REFERENCE',
|
|
4
4
|
WORKFLOW_TEMPLATE_CANNOT_DELETE_COMPONENTS = 'WORKFLOW_TEMPLATE_CANNOT_DELETE_COMPONENTS',
|
|
5
|
+
WORKFLOW_TEMPLATE_CANNOT_DELETE_TAG_OPTIONS = 'WORKFLOW_TEMPLATE_CANNOT_DELETE_TAG_OPTIONS',
|
|
5
6
|
WORKFLOW_TEMPLATE_CANNOT_HAVE_MULTIPLE_SUBFORM_COMPONENTS = 'WORKFLOW_TEMPLATE_CANNOT_HAVE_MULTIPLE_SUBFORM_COMPONENTS',
|
|
6
7
|
WORKFLOW_TEMPLATE_COMPONENT_CANNOT_BE_REQUIRED_AND_HIDDEN = 'WORKFLOW_TEMPLATE_COMPONENT_CANNOT_BE_REQUIRED_AND_HIDDEN',
|
|
7
8
|
WORKFLOW_TEMPLATE_COMPONENT_NOT_ALLOWED = 'WORKFLOW_TEMPLATE_COMPONENT_NOT_ALLOWED',
|