@spotto/contract 1.0.65-alpha.1 → 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
|
|
43
|
+
declare type ValueDateOnly = {
|
|
44
44
|
valueString?: never;
|
|
45
45
|
valueInteger?: never;
|
|
46
46
|
valueDecimal?: never;
|
|
47
|
-
valueBoolean
|
|
48
|
-
valueDate
|
|
47
|
+
valueBoolean?: never;
|
|
48
|
+
valueDate: number;
|
|
49
49
|
valueDateTime?: never;
|
|
50
50
|
};
|
|
51
|
-
declare type
|
|
51
|
+
declare type ValueDateTimeOnly = {
|
|
52
52
|
valueString?: never;
|
|
53
53
|
valueInteger?: never;
|
|
54
54
|
valueDecimal?: never;
|
|
55
|
-
valueBoolean
|
|
55
|
+
valueBoolean?: never;
|
|
56
56
|
valueDate?: never;
|
|
57
|
-
valueDateTime
|
|
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 |
|
|
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;
|
|
@@ -8,7 +8,15 @@ export declare type WorkflowAction = WorkflowActionEmail;
|
|
|
8
8
|
export declare type WorkflowConditionSnapshotCreatedWithMissingItems = {
|
|
9
9
|
type: 'SNAPSHOT_CREATED_WITH_MISSING_ITEMS';
|
|
10
10
|
};
|
|
11
|
-
export declare type
|
|
11
|
+
export declare type WorkflowConditionSnapshotCreatedWithManifest = {
|
|
12
|
+
type: 'SNAPSHOT_CREATED_WITH_MANIFEST';
|
|
13
|
+
manifestIds: string[];
|
|
14
|
+
};
|
|
15
|
+
export declare type WorkflowConditionSnapshotCreatedWithLocation = {
|
|
16
|
+
type: 'SNAPSHOT_CREATED_WITH_LOCATION';
|
|
17
|
+
locationIds: string[];
|
|
18
|
+
};
|
|
19
|
+
export declare type WorkflowCondition = WorkflowConditionSnapshotCreatedWithMissingItems | WorkflowConditionSnapshotCreatedWithManifest | WorkflowConditionSnapshotCreatedWithLocation;
|
|
12
20
|
export declare type NewWorkflow = {
|
|
13
21
|
label: string;
|
|
14
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.
|
|
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": "
|
|
21
|
+
"gitHead": "fc82d9b6edcca44a151f1463c0f123be11793957"
|
|
22
22
|
}
|