@coast/core-api-types 1.2.249 → 1.2.251
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/condition/Condition.d.ts +2 -1
- package/dist/models/automations/condition/CreateCondition.d.ts +2 -1
- package/dist/models/automations/condition/UpdateCondition.d.ts +2 -1
- package/dist/models/automations/condition/operands/DataOperandOneOf.d.ts +22 -0
- package/dist/models/automations/condition/operands/DataOperandOneOf.js +3 -0
- package/dist/models/automations/condition/operands/DataOperandOneOf.js.map +1 -0
- package/dist/models/automations/condition/operands/EmptyOperand.d.ts +3 -0
- package/dist/models/automations/condition/operands/EmptyOperand.js +3 -0
- package/dist/models/automations/condition/operands/EmptyOperand.js.map +1 -0
- package/dist/models/automations/condition/operands/OperandOneOf.d.ts +4 -21
- package/dist/models/automations/condition/operands/registry/AnyDataOperand.d.ts +2 -0
- package/dist/models/automations/condition/operands/registry/AnyDataOperand.js +3 -0
- package/dist/models/automations/condition/operands/registry/AnyDataOperand.js.map +1 -0
- package/dist/models/automations/condition/operands/registry/AnyNumberOperand.d.ts +2 -1
- package/dist/models/user/ListUsers.d.ts +1 -0
- package/package.json +3 -3
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { LogicalOperator } from '@coast/core-types/automations/condition/LogicalOperator';
|
|
2
2
|
import { ComparisonOperator } from '@coast/core-types/workflow-entity/filters/ComparisonOperator';
|
|
3
|
+
import { AnyDataOperand } from './operands/registry/AnyDataOperand';
|
|
3
4
|
import { AnyOperand } from './operands/registry/AnyOperand';
|
|
4
5
|
export interface Condition {
|
|
5
6
|
comparisonOperator: ComparisonOperator;
|
|
6
7
|
id: string;
|
|
7
|
-
leftOperand:
|
|
8
|
+
leftOperand: AnyDataOperand;
|
|
8
9
|
logicalOperator?: LogicalOperator;
|
|
9
10
|
rightOperand: AnyOperand;
|
|
10
11
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Condition } from './Condition';
|
|
2
|
+
import { DataOperandOneOf } from './operands/DataOperandOneOf';
|
|
2
3
|
import { OperandOneOf } from './operands/OperandOneOf';
|
|
3
4
|
export interface CreateCondition extends Omit<Condition, 'id' | 'leftOperand' | 'rightOperand'> {
|
|
4
|
-
leftOperand:
|
|
5
|
+
leftOperand: DataOperandOneOf;
|
|
5
6
|
rightOperand: OperandOneOf;
|
|
6
7
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Condition } from './Condition';
|
|
2
|
+
import { DataOperandOneOf } from './operands/DataOperandOneOf';
|
|
2
3
|
import { OperandOneOf } from './operands/OperandOneOf';
|
|
3
4
|
export interface UpdateCondition extends Omit<Condition, 'id' | 'leftOperand' | 'rightOperand'> {
|
|
4
5
|
id?: string;
|
|
5
|
-
leftOperand:
|
|
6
|
+
leftOperand: DataOperandOneOf;
|
|
6
7
|
rightOperand: OperandOneOf;
|
|
7
8
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ActionResultNumberOperand } from './ActionResultNumberOperand';
|
|
2
|
+
import { ComponentOperand } from './ComponentOperand';
|
|
3
|
+
import { DateOperand } from './DateOperand';
|
|
4
|
+
import { DateTokenOperand } from './DateTokenOperand';
|
|
5
|
+
import { NumberArrayOperand } from './NumberArrayOperand';
|
|
6
|
+
import { NumberOperand } from './NumberOperand';
|
|
7
|
+
import { PreviousComponentOperand } from './PreviousComponentOperand';
|
|
8
|
+
import { StringArrayOperand } from './StringArrayOperand';
|
|
9
|
+
import { StringOperand } from './StringOperand';
|
|
10
|
+
import { WorkflowEntityRefComponentOperand } from './WorkflowEntityRefComponentOperand';
|
|
11
|
+
export interface DataOperandOneOf {
|
|
12
|
+
actionResultNumberOperand?: ActionResultNumberOperand;
|
|
13
|
+
componentOperand?: ComponentOperand;
|
|
14
|
+
dateOperand?: DateOperand;
|
|
15
|
+
dateTokenOperand?: DateTokenOperand;
|
|
16
|
+
numberOperand?: NumberOperand;
|
|
17
|
+
numberArrayOperand?: NumberArrayOperand;
|
|
18
|
+
previousComponentOperand?: PreviousComponentOperand;
|
|
19
|
+
stringArrayOperand?: StringArrayOperand;
|
|
20
|
+
stringOperand?: StringOperand;
|
|
21
|
+
workflowEntityRefComponentOperand?: WorkflowEntityRefComponentOperand;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataOperandOneOf.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/DataOperandOneOf.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyOperand.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/EmptyOperand.ts"],"names":[],"mappings":""}
|
|
@@ -1,22 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { NumberArrayOperand } from './NumberArrayOperand';
|
|
6
|
-
import { NumberOperand } from './NumberOperand';
|
|
7
|
-
import { PreviousComponentOperand } from './PreviousComponentOperand';
|
|
8
|
-
import { StringArrayOperand } from './StringArrayOperand';
|
|
9
|
-
import { StringOperand } from './StringOperand';
|
|
10
|
-
import { WorkflowEntityRefComponentOperand } from './WorkflowEntityRefComponentOperand';
|
|
11
|
-
export interface OperandOneOf {
|
|
12
|
-
actionResultNumberOperand?: ActionResultNumberOperand;
|
|
13
|
-
componentOperand?: ComponentOperand;
|
|
14
|
-
dateOperand?: DateOperand;
|
|
15
|
-
dateTokenOperand?: DateTokenOperand;
|
|
16
|
-
numberOperand?: NumberOperand;
|
|
17
|
-
numberArrayOperand?: NumberArrayOperand;
|
|
18
|
-
previousComponentOperand?: PreviousComponentOperand;
|
|
19
|
-
stringArrayOperand?: StringArrayOperand;
|
|
20
|
-
stringOperand?: StringOperand;
|
|
21
|
-
workflowEntityRefComponentOperand?: WorkflowEntityRefComponentOperand;
|
|
1
|
+
import { DataOperandOneOf } from './DataOperandOneOf';
|
|
2
|
+
import { EmptyOperand } from './EmptyOperand';
|
|
3
|
+
export interface OperandOneOf extends DataOperandOneOf {
|
|
4
|
+
emptyOperand?: EmptyOperand;
|
|
22
5
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnyDataOperand.js","sourceRoot":"","sources":["../../../../../../src/models/automations/condition/operands/registry/AnyDataOperand.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ActionResultNumberOperand } from '../ActionResultNumberOperand';
|
|
2
2
|
import { ComponentOperand } from '../ComponentOperand';
|
|
3
|
+
import { EmptyOperand } from '../EmptyOperand';
|
|
3
4
|
import { NumberOperand } from '../NumberOperand';
|
|
4
5
|
import { PreviousComponentOperand } from '../PreviousComponentOperand';
|
|
5
6
|
import { WorkflowEntityRefComponentOperand } from '../WorkflowEntityRefComponentOperand';
|
|
6
|
-
export type AnyNumberOperand = ActionResultNumberOperand | ComponentOperand | NumberOperand | PreviousComponentOperand | WorkflowEntityRefComponentOperand;
|
|
7
|
+
export type AnyNumberOperand = ActionResultNumberOperand | ComponentOperand | EmptyOperand | NumberOperand | PreviousComponentOperand | WorkflowEntityRefComponentOperand;
|
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.251",
|
|
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.5",
|
|
27
|
+
"@coast/core-utils": "0.0.5",
|
|
28
28
|
"@coast/schemas": "^4.0.0",
|
|
29
29
|
"@paradoxical-io/types": "^2.1.0",
|
|
30
30
|
"@types/json-schema": "^7.0.15",
|