@spotto/contract 0.0.19 → 0.0.21
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,6 +1,6 @@
|
|
|
1
1
|
import { SortOrders } from '../../shared';
|
|
2
2
|
import { EventType } from '../constants';
|
|
3
|
-
export declare type TimestampFormat = 'epoch' | 'iso';
|
|
3
|
+
export declare type TimestampFormat = 'epoch' | 'iso' | 'human';
|
|
4
4
|
export declare const timestampFormats: TimestampFormat[];
|
|
5
5
|
export interface DownloadEventsQuery {
|
|
6
6
|
limit?: number;
|
|
@@ -4,7 +4,7 @@ exports.validateDownloadEventsQuery = exports.downloadEventsQuerySchema = export
|
|
|
4
4
|
const joi_1 = require("joi");
|
|
5
5
|
const shared_1 = require("../../shared");
|
|
6
6
|
const constants_1 = require("../constants");
|
|
7
|
-
exports.timestampFormats = ['epoch', 'iso'];
|
|
7
|
+
exports.timestampFormats = ['epoch', 'iso', 'human'];
|
|
8
8
|
exports.downloadEventsQuerySchema = joi_1.object({
|
|
9
9
|
readers: shared_1.xArrayOfObjectIds(true),
|
|
10
10
|
locations: shared_1.xArrayOfObjectIds(true),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/types/events/download/query.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAUsB;AACtB,4CAAsD;AAGzC,QAAA,gBAAgB,GAAsB,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/types/events/download/query.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAUsB;AACtB,4CAAsD;AAGzC,QAAA,gBAAgB,GAAsB,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;AAkDhE,QAAA,yBAAyB,GAAG,YAAM,CAAsB;IAEnE,OAAO,EAAE,0BAAiB,CAAC,IAAI,CAAC;IAChC,SAAS,EAAE,0BAAiB,CAAC,IAAI,CAAC;IAClC,MAAM,EAAE,0BAAiB,CAAC,IAAI,CAAC;IAC/B,QAAQ,EAAE,cAAK;IACf,MAAM,EAAE,cAAK;IACb,IAAI,EAAE,gCAAuB,CAAC,GAAG,uBAAW,CAAC;IAG7C,SAAS,EAAE,mBAAU;IAGrB,KAAK,EAAE,aAAI;IACX,eAAe,EAAE,uBAAc,CAAC,GAAG,wBAAgB,CAAC;IACpD,eAAe,EAAE,cAAK;CACvB,CAAC,CAAC;AAEI,MAAM,2BAA2B,GAAG,CAAC,OAAY,EAAE,EAAE,CAC1D,kCAAyB,CACvB,iCAAyB,EACzB,OAAO,CACR,CAAC;AAJS,QAAA,2BAA2B,+BAIpC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotto/contract",
|
|
3
3
|
"license": "ISC",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.21",
|
|
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.0.
|
|
20
|
+
"@spotto/core-lib": "^0.0.21",
|
|
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": "985166c4b46328e9f5875ffc4346762847a90f7f"
|
|
30
30
|
}
|