@coast/core-api-types 1.2.378 → 1.2.380

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.
@@ -0,0 +1,5 @@
1
+ import { OperandType } from '@coast/core-types/automations/condition/operands/OperandType';
2
+ import { OperandGql } from './OperandGql';
3
+ export interface BooleanOperandGql extends OperandGql<OperandType.BOOLEAN> {
4
+ booleanValue: boolean;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BooleanOperandGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BooleanOperandGql.js","sourceRoot":"","sources":["../../../../../src/models/automations/condition/operands/BooleanOperandGql.ts"],"names":[],"mappings":""}
@@ -1,4 +1,5 @@
1
1
  import { ActionResultNumberOperandGql } from './ActionResultNumberOperandGql';
2
+ import { BooleanOperandGql } from './BooleanOperandGql';
2
3
  import { ComponentOperandGql } from './ComponentOperandGql';
3
4
  import { DateOperandGql } from './DateOperandGql';
4
5
  import { DateTokenOperandGql } from './DateTokenOperandGql';
@@ -11,6 +12,7 @@ import { SubformComponentRefOperandGql } from './SubformComponentRefOperandGql';
11
12
  import { WorkflowEntityRefComponentOperandGql } from './WorkflowEntityRefComponentOperandGql';
12
13
  export interface DataOperandOneOfGql {
13
14
  actionResultNumberOperand?: ActionResultNumberOperandGql;
15
+ booleanOperand?: BooleanOperandGql;
14
16
  componentOperand?: ComponentOperandGql;
15
17
  dateOperand?: DateOperandGql;
16
18
  dateTokenOperand?: DateTokenOperandGql;
@@ -1,3 +1,3 @@
1
1
  import { OperandOneOfGql } from './OperandOneOfGql';
2
- export interface NumberOperandOneOfGql extends Omit<OperandOneOfGql, 'stringOperand' | 'stringArrayOperand' | 'numberArrayOperand'> {
2
+ export interface NumberOperandOneOfGql extends Omit<OperandOneOfGql, 'stringOperand' | 'stringArrayOperand' | 'numberArrayOperand' | 'booleanOperand'> {
3
3
  }
@@ -8,6 +8,7 @@ import { DateTokenIs } from './DateTokenIs';
8
8
  import { IsEmpty } from './IsEmpty';
9
9
  import { MatchesRelatedEntity } from './MatchesRelatedEntity';
10
10
  import { NumberIs } from './NumberIs';
11
+ import { ReferencedBy } from './ReferencedBy';
11
12
  import { StringWildcard } from './StringWildcard';
12
13
  export interface FilterOneOf {
13
14
  booleanIs?: BooleanIs;
@@ -20,5 +21,6 @@ export interface FilterOneOf {
20
21
  isEmpty?: IsEmpty;
21
22
  matchesRelatedEntity?: MatchesRelatedEntity;
22
23
  numberIs?: NumberIs;
24
+ referencedBy?: ReferencedBy;
23
25
  stringWildcard?: StringWildcard;
24
26
  }
@@ -0,0 +1,9 @@
1
+ import { FilterType } from '@coast/core-types/workflow-entity/filters/FilterType';
2
+ import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
3
+ import { FilterOneOfByComponent } from './FilterOneOfByComponent';
4
+ export interface ReferencedBy {
5
+ filterByComponents?: FilterOneOfByComponent[];
6
+ negate?: boolean;
7
+ type: FilterType.REFERENCED_BY;
8
+ workflowTemplateId: WorkflowTemplateId;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ReferencedBy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReferencedBy.js","sourceRoot":"","sources":["../../../../src/models/workflow-entity/filters/ReferencedBy.ts"],"names":[],"mappings":""}
@@ -8,5 +8,6 @@ import { DateTokenIs } from '../DateTokenIs';
8
8
  import { IsEmpty } from '../IsEmpty';
9
9
  import { MatchesRelatedEntity } from '../MatchesRelatedEntity';
10
10
  import { NumberIs } from '../NumberIs';
11
+ import { ReferencedBy } from '../ReferencedBy';
11
12
  import { StringWildcard } from '../StringWildcard';
12
- export type AnyFilter = BooleanIs | ContainsCurrentUser | ContainsNumber | ContainsString | DateIs | DateRange | DateTokenIs | IsEmpty | MatchesRelatedEntity | NumberIs | StringWildcard;
13
+ export type AnyFilter = BooleanIs | ContainsCurrentUser | ContainsNumber | ContainsString | DateIs | DateRange | DateTokenIs | IsEmpty | MatchesRelatedEntity | NumberIs | ReferencedBy | StringWildcard;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.378",
3
+ "version": "1.2.380",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {
@@ -23,7 +23,7 @@
23
23
  "author": "Coast Engineering",
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@coast/core-types": "0.0.94",
26
+ "@coast/core-types": "0.0.99",
27
27
  "@coast/core-utils": "0.0.25",
28
28
  "@coast/schemas": "^4.0.2",
29
29
  "@coast/service-common": "^2.0.81",