@spotto/contract 1.0.65-alpha.2 → 1.0.65-alpha.3

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.
@@ -40,21 +40,21 @@ declare type ValueBooleanOnly = {
40
40
  valueDate?: never;
41
41
  valueDateTime?: never;
42
42
  };
43
- declare type ValueDate = {
43
+ declare type ValueDateOnly = {
44
44
  valueString?: never;
45
45
  valueInteger?: never;
46
46
  valueDecimal?: never;
47
- valueBoolean: never;
48
- valueDate?: number;
47
+ valueBoolean?: never;
48
+ valueDate: number;
49
49
  valueDateTime?: never;
50
50
  };
51
- declare type ValueDateTime = {
51
+ declare type ValueDateTimeOnly = {
52
52
  valueString?: never;
53
53
  valueInteger?: never;
54
54
  valueDecimal?: never;
55
- valueBoolean: never;
55
+ valueBoolean?: never;
56
56
  valueDate?: never;
57
- valueDateTime?: Date;
57
+ valueDateTime: Date;
58
58
  };
59
59
  declare type IdOrName = {
60
60
  id: string;
@@ -66,7 +66,7 @@ declare type IdOrName = {
66
66
  id: string;
67
67
  name: string;
68
68
  };
69
- export declare type IFieldValueWithConstraints = IdOrName & (ValueStringOnly | ValueIntegerOnly | ValueDecimalOnly | ValueBooleanOnly | ValueDate | ValueDateTime);
69
+ export declare type IFieldValueWithConstraints = IdOrName & (ValueStringOnly | ValueIntegerOnly | ValueDecimalOnly | ValueBooleanOnly | ValueDateOnly | ValueDateTimeOnly);
70
70
  export interface PostTypeRequest {
71
71
  name: string;
72
72
  parent?: string;
@@ -12,7 +12,11 @@ export declare type WorkflowConditionSnapshotCreatedWithManifest = {
12
12
  type: 'SNAPSHOT_CREATED_WITH_MANIFEST';
13
13
  manifestIds: string[];
14
14
  };
15
- export declare type WorkflowCondition = WorkflowConditionSnapshotCreatedWithMissingItems | WorkflowConditionSnapshotCreatedWithManifest;
15
+ export declare type WorkflowConditionSnapshotCreatedWithLocation = {
16
+ type: 'SNAPSHOT_CREATED_WITH_LOCATION';
17
+ locationIds: string[];
18
+ };
19
+ export declare type WorkflowCondition = WorkflowConditionSnapshotCreatedWithMissingItems | WorkflowConditionSnapshotCreatedWithManifest | WorkflowConditionSnapshotCreatedWithLocation;
16
20
  export declare type NewWorkflow = {
17
21
  label: string;
18
22
  trigger: 'SNAPSHOT_CREATED';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spotto/contract",
3
3
  "license": "ISC",
4
- "version": "1.0.65-alpha.2",
4
+ "version": "1.0.65-alpha.3",
5
5
  "description": "Spotto's API Contract type definitions",
6
6
  "main": "./dist/index.js",
7
7
  "files": [
@@ -18,5 +18,5 @@
18
18
  "@types/geojson": "^7946.0.11",
19
19
  "shx": "^0.3.4"
20
20
  },
21
- "gitHead": "85af17c47bab92ea048d4d3a7927f9ca8c93558d"
21
+ "gitHead": "fc82d9b6edcca44a151f1463c0f123be11793957"
22
22
  }