@spotto/contract 0.2.4-alpha.6 → 0.2.5-alpha.0
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,4 +1,4 @@
|
|
|
1
|
-
export declare type EventType = 'ReaderArrived' | 'ReaderExited' | 'Arrived' | 'ExplicitArrived' | 'Exited' | 'ReaderOnline' | 'ReaderOffline' | 'AssetCreated' | 'AssetUpdated' | 'AssetDeleted' | 'LocationCreated' | 'LocationUpdated' | 'LocationDeleted' | 'ReaderCreated' | 'ReaderUpdated' | 'ReaderDeleted';
|
|
1
|
+
export declare type EventType = 'ReaderArrived' | 'ReaderExited' | 'Arrived' | 'Moved' | 'ExplicitArrived' | 'Exited' | 'ReaderOnline' | 'ReaderOffline' | 'AssetCreated' | 'AssetUpdated' | 'AssetDeleted' | 'LocationCreated' | 'LocationUpdated' | 'LocationDeleted' | 'ReaderCreated' | 'ReaderUpdated' | 'ReaderDeleted' | 'UserSearch';
|
|
2
2
|
export declare const EVENT_TYPES: EventType[];
|
|
3
3
|
export declare type TimestampFormat = 'epoch' | 'iso' | 'human';
|
|
4
4
|
export declare const timestampFormats: TimestampFormat[];
|
|
@@ -5,6 +5,7 @@ exports.EVENT_TYPES = [
|
|
|
5
5
|
'ReaderArrived',
|
|
6
6
|
'ReaderExited',
|
|
7
7
|
'Arrived',
|
|
8
|
+
'Moved',
|
|
8
9
|
'ExplicitArrived',
|
|
9
10
|
'Exited',
|
|
10
11
|
'ReaderOnline',
|
|
@@ -18,6 +19,7 @@ exports.EVENT_TYPES = [
|
|
|
18
19
|
'ReaderCreated',
|
|
19
20
|
'ReaderUpdated',
|
|
20
21
|
'ReaderDeleted',
|
|
22
|
+
'UserSearch',
|
|
21
23
|
];
|
|
22
24
|
exports.timestampFormats = ['epoch', 'iso', 'human'];
|
|
23
25
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/types/events/constants.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/types/events/constants.ts"],"names":[],"mappings":";;;AAoBa,QAAA,WAAW,GAAgB;IACtC,eAAe;IACf,cAAc;IACd,SAAS;IACT,OAAO;IACP,iBAAiB;IACjB,QAAQ;IACR,cAAc;IACd,eAAe;IACf,cAAc;IACd,cAAc;IACd,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,eAAe;IACf,eAAe;IACf,eAAe;IACf,YAAY;CACb,CAAC;AAIW,QAAA,gBAAgB,GAAsB,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.js","sourceRoot":"","sources":["../../../../src/types/events/get/response.ts"],"names":[],"mappings":";;;AAAA,6BAAqC;AACrC,yCAWsB;AACtB,4CAAsD;AACtD,mCAA+D;AAC/D,uDAKiC;
|
|
1
|
+
{"version":3,"file":"response.js","sourceRoot":"","sources":["../../../../src/types/events/get/response.ts"],"names":[],"mappings":";;;AAAA,6BAAqC;AACrC,yCAWsB;AACtB,4CAAsD;AACtD,mCAA+D;AAC/D,uDAKiC;AAoCpB,QAAA,6BAA6B,GAAG,YAAM,CAEjD;IAEA,IAAI,EAAE,YAAM,EAAE;IACd,MAAM,EAAE,wBAAe,EAAE;IACzB,IAAI,EAAE,uBAAc,CAAC,GAAG,wBAAY,CAAC;IACrC,UAAU,EAAE,uBAAc,CAAC,GAAG,wBAAY,CAAC;IAC3C,OAAO,EAAE,gBAAO;IAChB,QAAQ,EAAE,gBAAO;IACjB,QAAQ,EAAE,6BAAoB,EAAE;IAChC,KAAK,EAAE,gBAAO;CACf,CAAC,CAAC;AAEU,QAAA,sBAAsB,GAAG,YAAM,CAAmB;IAE7D,EAAE,EAAE,kBAAS,CAAC,QAAQ,EAAE;IACxB,SAAS,EAAE,cAAK,CAAC,QAAQ,EAAE;IAC3B,IAAI,EAAE,uBAAc,CAAC,GAAG,uBAAW,CAAC,CAAC,QAAQ,EAAE;IAG/C,KAAK,EAAE,6BAAoB,EAAE;IAC7B,QAAQ,EAAE,6BAAoB,EAAE;IAChC,MAAM,EAAE,6BAAoB,EAAE;IAC9B,OAAO,EAAE,qCAA6B;CACvC,CAAC,CAAC;AAgBU,QAAA,uBAAuB,GAAG,YAAM,CAAoB;IAE/D,KAAK,EAAE,4BAAoB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IAClD,KAAK,EAAE,aAAI,CAAC,QAAQ,EAAE;IACtB,KAAK,EAAE,eAAM,CAAC,8BAAsB,EAAE,IAAI,CAAC,CAAC,QAAQ,EAAE;CACvD,CAAC,CAAC;AAEI,MAAM,yBAAyB,GAAG,CAAC,OAAY,EAAE,EAAE,CACxD,0BAAiB,CAAoB,+BAAuB,EAAE,OAAO,CAAC,CAAC;AAD5D,QAAA,yBAAyB,6BACmC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotto/contract",
|
|
3
3
|
"license": "ISC",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.5-alpha.0",
|
|
5
5
|
"description": "Spotto's API Contract",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"files": [
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@airtasker/spot": "^1.4.0",
|
|
20
|
-
"@spotto/core-lib": "^0.2.
|
|
20
|
+
"@spotto/core-lib": "^0.2.5-alpha.0",
|
|
21
21
|
"geojson-validation": "^1.0.2",
|
|
22
22
|
"joi": "^17.2.1",
|
|
23
23
|
"qs": "^6.9.4"
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"jest": "^26.6.3",
|
|
27
27
|
"ts-jest": "^26.5.3"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "f20e4c17e8ac1df0045f734302c91a99983f50c3"
|
|
30
30
|
}
|