@coast/core-api-types 1.2.365 → 1.2.366

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.
@@ -1,3 +1,4 @@
1
+ import { BooleanIs } from './BooleanIs';
1
2
  import { ContainsCurrentUser } from './ContainsCurrentUser';
2
3
  import { ContainsNestedString } from './ContainsNestedString';
3
4
  import { ContainsNumber } from './ContainsNumber';
@@ -12,4 +13,4 @@ import { MultiMatchNumber } from './MultiMatchNumber';
12
13
  import { MultiMatchString } from './MultiMatchString';
13
14
  import { NumberIs } from './NumberIs';
14
15
  import { StringWildcard } from './StringWildcard';
15
- export type AnyComponentFilter = ContainsCurrentUser | ContainsNestedString | ContainsNumber | ContainsString | DateIs | DateRange | DateTokenIs | IsEmpty | IsNestedEmpty | MatchesScript | MultiMatchNumber | MultiMatchString | NumberIs | StringWildcard;
16
+ export type AnyComponentFilter = BooleanIs | ContainsCurrentUser | ContainsNestedString | ContainsNumber | ContainsString | DateIs | DateRange | DateTokenIs | IsEmpty | IsNestedEmpty | MatchesScript | MultiMatchNumber | MultiMatchString | NumberIs | StringWildcard;
@@ -1,3 +1,4 @@
1
+ import { BooleanIs } from './BooleanIs';
1
2
  import { ContainsCurrentUser } from './ContainsCurrentUser';
2
3
  import { ContainsNestedString } from './ContainsNestedString';
3
4
  import { ContainsNumber } from './ContainsNumber';
@@ -9,4 +10,4 @@ import { IsEmpty } from './IsEmpty';
9
10
  import { IsNestedEmpty } from './IsNestedEmpty';
10
11
  import { NumberIs } from './NumberIs';
11
12
  import { StringWildcard } from './StringWildcard';
12
- export type AnySingleComponentFilter = ContainsCurrentUser | ContainsNestedString | ContainsNumber | ContainsString | DateIs | DateRange | DateTokenIs | IsEmpty | IsNestedEmpty | NumberIs | StringWildcard;
13
+ export type AnySingleComponentFilter = BooleanIs | ContainsCurrentUser | ContainsNestedString | ContainsNumber | ContainsString | DateIs | DateRange | DateTokenIs | IsEmpty | IsNestedEmpty | NumberIs | StringWildcard;
@@ -0,0 +1,8 @@
1
+ import { ComparisonOperator } from '@coast/core-types/workflow-entity/filters/ComparisonOperator';
2
+ import { FilterType } from '@coast/core-types/workflow-entity/filters/FilterType';
3
+ import { FilterBase } from './FilterBase';
4
+ export interface BooleanIs extends FilterBase<FilterType.BOOLEAN_IS> {
5
+ operator: ComparisonOperator.EQ;
6
+ value: boolean;
7
+ type: FilterType.BOOLEAN_IS;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BooleanIs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BooleanIs.js","sourceRoot":"","sources":["../../../../src/models/workflow-entity/filters/BooleanIs.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
+ import { BooleanIs } from './BooleanIs';
1
2
  import { ContainsCurrentUser } from './ContainsCurrentUser';
2
3
  import { ContainsNumber } from './ContainsNumber';
3
4
  import { ContainsString } from './ContainsString';
@@ -9,6 +10,7 @@ import { MatchesRelatedEntity } from './MatchesRelatedEntity';
9
10
  import { NumberIs } from './NumberIs';
10
11
  import { StringWildcard } from './StringWildcard';
11
12
  export interface FilterOneOf {
13
+ booleanIs?: BooleanIs;
12
14
  containsCurrentUser?: ContainsCurrentUser;
13
15
  containsNumber?: ContainsNumber;
14
16
  containsString?: ContainsString;
@@ -1,3 +1,4 @@
1
+ import { BooleanIs } from '../BooleanIs';
1
2
  import { ContainsCurrentUser } from '../ContainsCurrentUser';
2
3
  import { ContainsNumber } from '../ContainsNumber';
3
4
  import { ContainsString } from '../ContainsString';
@@ -8,4 +9,4 @@ import { IsEmpty } from '../IsEmpty';
8
9
  import { MatchesRelatedEntity } from '../MatchesRelatedEntity';
9
10
  import { NumberIs } from '../NumberIs';
10
11
  import { StringWildcard } from '../StringWildcard';
11
- export type AnyFilter = ContainsCurrentUser | ContainsNumber | ContainsString | DateIs | DateRange | DateTokenIs | IsEmpty | MatchesRelatedEntity | NumberIs | StringWildcard;
12
+ export type AnyFilter = BooleanIs | ContainsCurrentUser | ContainsNumber | ContainsString | DateIs | DateRange | DateTokenIs | IsEmpty | MatchesRelatedEntity | NumberIs | StringWildcard;
@@ -1,4 +1,5 @@
1
1
  import { AnySingleComponentFilter } from '../filters/AnySingleComponentFilter';
2
+ import { BooleanIs } from '../filters/BooleanIs';
2
3
  import { ContainsNestedString } from '../filters/ContainsNestedString';
3
4
  import { ContainsNumber } from '../filters/ContainsNumber';
4
5
  import { ContainsString } from '../filters/ContainsString';
@@ -13,4 +14,4 @@ export interface SingleKeySearchFilterBase<T extends AnySingleComponentFilter> {
13
14
  type: T['type'];
14
15
  filter: T;
15
16
  }
16
- export type SingleKeySearchFilter = SingleKeySearchFilterBase<ContainsNestedString> | SingleKeySearchFilterBase<ContainsNumber> | SingleKeySearchFilterBase<ContainsString> | SingleKeySearchFilterBase<DateIs> | SingleKeySearchFilterBase<DateRange> | SingleKeySearchFilterBase<IsEmpty> | SingleKeySearchFilterBase<IsNestedEmpty> | SingleKeySearchFilterBase<NumberIs> | SingleKeySearchFilterBase<StringWildcard>;
17
+ export type SingleKeySearchFilter = SingleKeySearchFilterBase<BooleanIs> | SingleKeySearchFilterBase<ContainsNestedString> | SingleKeySearchFilterBase<ContainsNumber> | SingleKeySearchFilterBase<ContainsString> | SingleKeySearchFilterBase<DateIs> | SingleKeySearchFilterBase<DateRange> | SingleKeySearchFilterBase<IsEmpty> | SingleKeySearchFilterBase<IsNestedEmpty> | SingleKeySearchFilterBase<NumberIs> | SingleKeySearchFilterBase<StringWildcard>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.365",
3
+ "version": "1.2.366",
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.82",
26
+ "@coast/core-types": "0.0.84",
27
27
  "@coast/core-utils": "0.0.25",
28
28
  "@coast/schemas": "^4.0.2",
29
29
  "@coast/service-common": "^2.0.81",