@coast/core-api-types 1.2.351 → 1.2.353
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/models/automations/CreateAutomation.d.ts +2 -2
- package/dist/models/automations/action/registry/CreateAnyAutomationAction.d.ts +3 -0
- package/dist/models/automations/action/registry/CreateAnyAutomationAction.js +3 -0
- package/dist/models/automations/action/registry/CreateAnyAutomationAction.js.map +1 -0
- package/dist/models/automations/condition/operands/PreviousComponentOperand.d.ts +2 -0
- package/dist/models/automations/condition/operands/SubformComponentRefOperand.d.ts +2 -0
- package/dist/models/automations/condition/operands/WorkflowEntityRefComponentOperand.d.ts +2 -0
- package/dist/models/workflow-app/compensations/automations/ClearWorkflowTemplateReferenceAutomationActionCompensation.d.ts +2 -0
- package/dist/models/workflow-entity-relation/WorkflowEntityRelation.d.ts +7 -0
- package/dist/models/workflow-entity-relation/WorkflowEntityRelation.js +3 -0
- package/dist/models/workflow-entity-relation/WorkflowEntityRelation.js.map +1 -0
- package/dist/scripts/generateTypes.js +1 -0
- package/dist/scripts/generateTypes.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
2
|
-
import {
|
|
2
|
+
import { CreateAnyAutomationAction } from './action/registry/CreateAnyAutomationAction';
|
|
3
3
|
import { Automation } from './Automation';
|
|
4
4
|
export interface CreateAutomation extends Omit<Automation, 'id' | 'businessId' | 'enabled' | 'suppressAutomationChain' | 'createdAt' | 'updatedAt' | 'actions'> {
|
|
5
5
|
enabled: boolean;
|
|
6
6
|
suppressAutomationChain: boolean;
|
|
7
|
-
actions:
|
|
7
|
+
actions: CreateAnyAutomationAction[];
|
|
8
8
|
workflowTemplateId: WorkflowTemplateId;
|
|
9
9
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateAnyAutomationAction.js","sourceRoot":"","sources":["../../../../../src/models/automations/action/registry/CreateAnyAutomationAction.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { OperandType } from '@coast/core-types/automations/condition/operands/OperandType';
|
|
2
2
|
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
3
|
+
import { ScalarKey } from '@coast/core-types/workflow-template/components/scalar/ScalarKey';
|
|
3
4
|
import { Operand } from './Operand';
|
|
4
5
|
export interface PreviousComponentOperand extends Operand<OperandType.PREVIOUS_COMPONENT> {
|
|
5
6
|
componentId: ComponentId;
|
|
7
|
+
scalarKey?: ScalarKey;
|
|
6
8
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { OperandType } from '@coast/core-types/automations/condition/operands/OperandType';
|
|
2
2
|
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
3
3
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
4
|
+
import { ScalarKey } from '@coast/core-types/workflow-template/components/scalar/ScalarKey';
|
|
4
5
|
import { Operand } from './Operand';
|
|
5
6
|
import { WorkflowTemplateComponentCase } from './WorkflowTemplateComponentCase';
|
|
6
7
|
export interface SubformComponentRefOperand extends Operand<OperandType.SUBFORM_COMPONENT_REF> {
|
|
7
8
|
subformComponentId: ComponentId;
|
|
8
9
|
refComponentType: ComponentType;
|
|
9
10
|
cases: WorkflowTemplateComponentCase[];
|
|
11
|
+
scalarKey?: ScalarKey;
|
|
10
12
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { OperandType } from '@coast/core-types/automations/condition/operands/OperandType';
|
|
2
2
|
import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
|
|
3
|
+
import { ScalarKey } from '@coast/core-types/workflow-template/components/scalar/ScalarKey';
|
|
3
4
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
4
5
|
import { Operand } from './Operand';
|
|
5
6
|
export interface WorkflowEntityRefComponentOperand extends Operand<OperandType.WORKFLOW_ENTITY_REF_COMPONENT> {
|
|
6
7
|
componentId: ComponentId;
|
|
7
8
|
refComponentId: ComponentId;
|
|
8
9
|
refWorkflowTemplateId?: WorkflowTemplateId;
|
|
10
|
+
scalarKey?: ScalarKey;
|
|
9
11
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EntityType } from '@coast/core-types/common/EntityType';
|
|
1
2
|
import { CompensationType } from '@coast/core-types/workflow-app/compensations/CompensationType';
|
|
2
3
|
import { AutomationActionReference } from '../AutomationActionReference';
|
|
3
4
|
import { AutomationCompensation } from './AutomationCompensation';
|
|
@@ -5,4 +6,5 @@ export interface ClearWorkflowTemplateReferenceAutomationActionCompensation exte
|
|
|
5
6
|
type: CompensationType.CLEAR_AUTOMATION_ACTION_WORKFLOW_TEMPLATE_REFERENCE;
|
|
6
7
|
sourceAction: AutomationActionReference;
|
|
7
8
|
newAction: AutomationActionReference;
|
|
9
|
+
clearedReferenceType: EntityType.AUTOMATION | EntityType.WORKFLOW_TEMPLATE;
|
|
8
10
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkflowEntityRelation.js","sourceRoot":"","sources":["../../../src/models/workflow-entity-relation/WorkflowEntityRelation.ts"],"names":[],"mappings":""}
|
|
@@ -58,6 +58,7 @@ const dependencies = Object.keys(require(path.resolve(__dirname, '../../../../pa
|
|
|
58
58
|
autoGeneratedFileComment: 'This file was generated from the corresponding source file in core-models/src. Do NOT modify this file by hand.',
|
|
59
59
|
doNotIncludeFiles: [
|
|
60
60
|
'ComponentUtils',
|
|
61
|
+
'ComponentDefaultIcons',
|
|
61
62
|
'ComponentForType',
|
|
62
63
|
'ComponentOverrideForType',
|
|
63
64
|
'ComponentDataForType',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateTypes.js","sourceRoot":"","sources":["../../src/scripts/generateTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;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AE,YAAY;IACrC,uBAAuB,EAAE,CAAC,8BAA8B,EAAE,YAAY,CAAC;IACvE,IAAI,EAAE,IAAI;CACb,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coast/core-api-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.353",
|
|
4
4
|
"description": "Facilitates the generation of core-api-types npm package",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./*": {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"author": "Coast Engineering",
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@coast/core-types": "0.0.
|
|
27
|
-
"@coast/core-utils": "0.0.
|
|
26
|
+
"@coast/core-types": "0.0.69",
|
|
27
|
+
"@coast/core-utils": "0.0.24",
|
|
28
28
|
"@coast/schemas": "^4.0.2",
|
|
29
29
|
"@coast/service-common": "^2.0.79",
|
|
30
30
|
"@paradoxical-io/types": "^2.1.0",
|