@spotto/contract 1.0.69-alpha.5 → 1.0.69-alpha.7
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.
|
@@ -99,12 +99,12 @@ export interface IExitedEvent extends IBaseEvent {
|
|
|
99
99
|
}
|
|
100
100
|
export interface IReaderArrivedEvent extends IBaseEvent {
|
|
101
101
|
type: 'ReaderArrived';
|
|
102
|
-
location
|
|
102
|
+
location?: EventLocation;
|
|
103
103
|
reader: IEmbeddedEntity;
|
|
104
104
|
}
|
|
105
105
|
export interface IReaderExitedEvent extends IBaseEvent {
|
|
106
106
|
type: 'ReaderExited';
|
|
107
|
-
location
|
|
107
|
+
location?: EventLocation;
|
|
108
108
|
reader: IEmbeddedEntity;
|
|
109
109
|
}
|
|
110
110
|
export interface IMovedEvent extends IBaseEvent {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type FieldDataType = 'STRING' | 'INTEGER' | 'DECIMAL' | 'BOOLEAN' | 'DATE' | 'DATETIME';
|
|
1
|
+
export declare type FieldDataType = 'STRING' | 'INTEGER' | 'DECIMAL' | 'BOOLEAN' | 'DATE' | 'DATETIME' | 'INTEGER' | 'DECIMAL';
|
|
2
2
|
export declare const FIELD_DATA_TYPES: FieldDataType[];
|
|
3
|
-
export declare type FieldInputType = 'SINGLELINE' | 'MULTILINE' | 'LINK' | 'RICHTEXT' | 'DROPDOWN' | 'RADIO' | 'CHECKBOXES' | 'DATE' | 'DATETIME';
|
|
3
|
+
export declare type FieldInputType = 'SINGLELINE' | 'MULTILINE' | 'LINK' | 'RICHTEXT' | 'DROPDOWN' | 'RADIO' | 'CHECKBOXES' | 'DATE' | 'DATETIME' | 'INTEGER' | 'DECIMAL';
|
|
4
4
|
export declare const FIELD_INPUT_TYPES: FieldInputType[];
|
package/dist/fields/constants.js
CHANGED
|
@@ -8,6 +8,8 @@ exports.FIELD_DATA_TYPES = [
|
|
|
8
8
|
'BOOLEAN',
|
|
9
9
|
'DATE',
|
|
10
10
|
'DATETIME',
|
|
11
|
+
'INTEGER',
|
|
12
|
+
'DECIMAL',
|
|
11
13
|
];
|
|
12
14
|
exports.FIELD_INPUT_TYPES = [
|
|
13
15
|
'SINGLELINE',
|
|
@@ -19,5 +21,7 @@ exports.FIELD_INPUT_TYPES = [
|
|
|
19
21
|
'CHECKBOXES',
|
|
20
22
|
'DATE',
|
|
21
23
|
'DATETIME',
|
|
24
|
+
'INTEGER',
|
|
25
|
+
'DECIMAL',
|
|
22
26
|
];
|
|
23
27
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/fields/constants.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/fields/constants.ts"],"names":[],"mappings":";;;AAUa,QAAA,gBAAgB,GAAoB;IAC/C,QAAQ;IACR,SAAS;IACT,SAAS;IACT,SAAS;IACT,MAAM;IACN,UAAU;IACV,SAAS;IACT,SAAS;CACV,CAAA;AAeY,QAAA,iBAAiB,GAAqB;IACjD,YAAY;IACZ,WAAW;IACX,MAAM;IACN,UAAU;IACV,UAAU;IACV,OAAO;IACP,YAAY;IACZ,MAAM;IACN,UAAU;IACV,SAAS;IACT,SAAS;CACV,CAAA"}
|
package/dist/types/[id]/get.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { GetFieldResponse } from '../../fields/[id]/get';
|
|
2
|
-
import { GetManifestResponse } from '../../manifests';
|
|
3
2
|
import { IEmbeddedEntity } from '../../shared';
|
|
4
3
|
export interface IFieldValue {
|
|
5
4
|
id: string;
|
|
@@ -36,6 +35,5 @@ export interface GetTypeResponse {
|
|
|
36
35
|
*/
|
|
37
36
|
manifestId?: string;
|
|
38
37
|
manifestIds?: string[];
|
|
39
|
-
manifest?: GetManifestResponse;
|
|
40
38
|
supportsStocktake?: boolean;
|
|
41
39
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotto/contract",
|
|
3
3
|
"license": "ISC",
|
|
4
|
-
"version": "1.0.69-alpha.
|
|
4
|
+
"version": "1.0.69-alpha.7",
|
|
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": "2fb106e9ce843dd9039c4f429bd316b40f0e8648"
|
|
22
22
|
}
|