@spotto/contract 0.0.9 → 0.0.10
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.
- package/dist/types/assets/[id]/get.js.map +1 -1
- package/dist/types/assets/[id]/patch/request.js.map +1 -1
- package/dist/types/assets/post/request.js.map +1 -1
- package/dist/types/events/get/query.js.map +1 -1
- package/dist/types/events/get/response.js.map +1 -1
- package/dist/types/integrations/constants.d.ts +3 -2
- package/dist/types/integrations/constants.js +12 -2
- package/dist/types/integrations/constants.js.map +1 -1
- package/dist/types/levels/get.js.map +1 -1
- package/dist/types/levels/post.js.map +1 -1
- package/dist/types/levels/put.js.map +1 -1
- package/dist/types/locations/[id]/get.js.map +1 -1
- package/dist/types/locations/[id]/inventory.d.ts +3 -4
- package/dist/types/locations/[id]/inventory.js +1 -4
- package/dist/types/locations/[id]/inventory.js.map +1 -1
- package/dist/types/locations/[id]/patch/request.js.map +1 -1
- package/dist/types/locations/get/query.js.map +1 -1
- package/dist/types/locations/post/request.js.map +1 -1
- package/dist/types/networks/constants.js.map +1 -1
- package/dist/types/organisations/[id]/get.js.map +1 -1
- package/dist/types/readers/[id]/get.js.map +1 -1
- package/dist/types/readers/constants.js.map +1 -1
- package/dist/types/readers/get/query.js.map +1 -1
- package/dist/types/readers/post/request.js.map +1 -1
- package/dist/types/roles/[id]/get.js.map +1 -1
- package/dist/types/shared/embed.js.map +1 -1
- package/dist/types/triggers/[id]/get.js.map +1 -1
- package/dist/types/triggers/[id]/patch/request.js.map +1 -1
- package/dist/types/triggers/constants.js.map +1 -1
- package/dist/types/triggers/get/query.js.map +1 -1
- package/dist/types/users/[id]/get/response.js.map +1 -1
- package/dist/types/users/[id]/key.js.map +1 -1
- package/dist/types/users/[id]/patch/request.js.map +1 -1
- package/dist/types/users/current.js.map +1 -1
- package/dist/types/users/get/query.js.map +1 -1
- package/dist/types/users/post/request.js.map +1 -1
- package/package.json +7 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/types/assets/[id]/get.ts"],"names":[],"mappings":";;;AAAA,6BAAqC;AACrC,yCAUsB;
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/types/assets/[id]/get.ts"],"names":[],"mappings":";;;AAAA,6BAAqC;AACrC,yCAUsB;AA6BT,QAAA,sBAAsB,GAAG,YAAM,CAAmB;IAE7D,EAAE,EAAE,kBAAS,CAAC,QAAQ,EAAE;IACxB,IAAI,EAAE,gBAAO,CAAC,QAAQ,EAAE;IAGxB,KAAK,EAAE,YAAM,EAAE,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/B,IAAI,EAAE,yBAAgB;IACtB,MAAM,EAAE,wBAAe,EAAE;IACzB,YAAY,EAAE,6BAAoB,EAAiB,CAAC,MAAM,CAAC;QACzD,SAAS,EAAE,cAAK,CAAC,QAAQ,EAAE;QAC3B,QAAQ,EAAE,cAAK,CAAC,QAAQ,EAAE;KAC3B,CAAC;CACH,CAAC,CAAC;AAEI,MAAM,wBAAwB,GAAG,CAAC,OAAY,EAAE,EAAE,CACvD,0BAAiB,CAAmB,8BAAsB,EAAE,OAAO,CAAC,CAAC;AAD1D,QAAA,wBAAwB,4BACkC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../../src/types/assets/[id]/patch/request.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,4CAA4E;
|
|
1
|
+
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../../src/types/assets/[id]/patch/request.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,4CAA4E;AAgB/D,QAAA,wBAAwB,GAAG,YAAM,CAAqB;IACjE,IAAI,EAAE,gBAAO;IACb,QAAQ,EAAE,cAAK;IAMf,MAAM,EAAE,eAAM,CAAC,gBAAO,CAAC,SAAS,EAAE,CAAC;CACpC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEH,MAAM,0BAA0B,GAAG,CAAC,OAAY,EAAE,EAAE,CACzD,0BAAiB,CAAqB,gCAAwB,EAAE,OAAO,CAAC,CAAC;AAD9D,QAAA,0BAA0B,8BACoC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../src/types/assets/post/request.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAAkE;
|
|
1
|
+
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../src/types/assets/post/request.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAAkE;AAYrD,QAAA,uBAAuB,GAAG,eAAM,CAC3C,YAAM,CAAmB;IACvB,IAAI,EAAE,gBAAO,CAAC,QAAQ,EAAE;IAMxB,MAAM,EAAE,eAAM,CAAC,gBAAO,CAAC,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;CAC3C,CAAC,CACH,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEF,MAAM,yBAAyB,GAAG,CAAC,OAAY,EAAE,EAAE,CACxD,0BAAiB,CAAoB,+BAAuB,EAAE,OAAO,CAAC,CAAC;AAD5D,QAAA,yBAAyB,6BACmC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/types/events/get/query.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCASsB;AACtB,4CAAsD;AAKzC,QAAA,eAAe,GAA0B;IACpD,WAAW;IACX,OAAO;IACP,UAAU;IACV,QAAQ;CACT,CAAC;
|
|
1
|
+
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/types/events/get/query.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCASsB;AACtB,4CAAsD;AAKzC,QAAA,eAAe,GAA0B;IACpD,WAAW;IACX,OAAO;IACP,UAAU;IACV,QAAQ;CACT,CAAC;AA8DW,QAAA,oBAAoB,GAAG,YAAM,CAAiB;IAEzD,IAAI,EAAE,aAAI;IACV,KAAK,EAAE,aAAI;IAGX,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,IAAI,EAAE,uBAAc,CAAC,GAAG,uBAAe,CAAC;IACxC,SAAS,EAAE,mBAAU;IAGrB,KAAK,EAAE,gCAAuB,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,CAAC;CAC9D,CAAC,CAAC;AAEI,MAAM,sBAAsB,GAAG,CAAC,OAAY,EAAE,EAAE,CACrD,kCAAyB,CAAiB,4BAAoB,EAAE,OAAO,CAAC,CAAC;AAD9D,QAAA,sBAAsB,0BACwC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.js","sourceRoot":"","sources":["../../../../src/types/events/get/response.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,mCAA+D;AAC/D,yCASsB;AACtB,4CAAsD;
|
|
1
|
+
{"version":3,"file":"response.js","sourceRoot":"","sources":["../../../../src/types/events/get/response.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,mCAA+D;AAC/D,yCASsB;AACtB,4CAAsD;AAqBzC,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,CAAC,kBAAS,EAAE,6BAAoB,EAAE,CAAC;IAC1C,QAAQ,EAAE,CAAC,kBAAS,EAAE,6BAAoB,EAAE,CAAC;IAC7C,MAAM,EAAE,CAAC,kBAAS,EAAE,6BAAoB,EAAE,CAAC;CAC5C,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"}
|
|
@@ -7,12 +7,13 @@ export interface MQTTEnabled {
|
|
|
7
7
|
}
|
|
8
8
|
export interface MQTTEnabledWithDetails extends MQTTEnabled {
|
|
9
9
|
password: string;
|
|
10
|
-
|
|
10
|
+
host: string;
|
|
11
|
+
rootTopic: string;
|
|
11
12
|
}
|
|
12
13
|
export declare type MQTTIntegrationDetails = MQTTEnabled | MQTTDisabled;
|
|
13
14
|
export declare type MQTTSettings = MQTTEnabledWithDetails | MQTTDisabled;
|
|
14
15
|
export interface Integrations {
|
|
15
|
-
mqtt?:
|
|
16
|
+
mqtt?: boolean;
|
|
16
17
|
}
|
|
17
18
|
export declare const mqttIntegrationDetailsSchema: <T>() => import("joi").ObjectSchema<(MQTTDisabled & T) | (MQTTEnabled & T)>;
|
|
18
19
|
export declare const mqttSettingsSchema: import("joi").ObjectSchema<MQTTDisabled | (MQTTEnabled & MQTTEnabledWithDetails)>;
|
|
@@ -15,11 +15,21 @@ exports.mqttIntegrationDetailsSchema = mqttIntegrationDetailsSchema;
|
|
|
15
15
|
exports.mqttSettingsSchema = exports.mqttIntegrationDetailsSchema().append({
|
|
16
16
|
password: joi_1.when('enabled', {
|
|
17
17
|
is: true,
|
|
18
|
-
then: shared_1.xString,
|
|
18
|
+
then: shared_1.xString.required(),
|
|
19
|
+
otherwise: joi_1.forbidden(),
|
|
20
|
+
}),
|
|
21
|
+
host: joi_1.when('enabled', {
|
|
22
|
+
is: true,
|
|
23
|
+
then: shared_1.xString.required(),
|
|
24
|
+
otherwise: joi_1.forbidden(),
|
|
25
|
+
}),
|
|
26
|
+
rootTopic: joi_1.when('enabled', {
|
|
27
|
+
is: true,
|
|
28
|
+
then: shared_1.xString.required(),
|
|
19
29
|
otherwise: joi_1.forbidden(),
|
|
20
30
|
}),
|
|
21
31
|
});
|
|
22
32
|
exports.integrationsSchema = joi_1.object({
|
|
23
|
-
mqtt:
|
|
33
|
+
mqtt: shared_1.xBool,
|
|
24
34
|
});
|
|
25
35
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/types/integrations/constants.ts"],"names":[],"mappings":";;;AAAA,6BAA8C;AAC9C,sCAA2C;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/types/integrations/constants.ts"],"names":[],"mappings":";;;AAAA,6BAA8C;AAC9C,sCAA2C;AAuCpC,MAAM,4BAA4B,GAAG,GAAM,EAAE,CAClD,YAAM,CAA6B;IACjC,OAAO,EAAE,cAAK,CAAC,QAAQ,EAAE;IACzB,QAAQ,EAAE,UAAI,CAAC,SAAS,EAAE;QACxB,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,gBAAO,CAAC,QAAQ,EAAE;QACxB,SAAS,EAAE,eAAS,EAAE;KACvB,CAAC;CACH,CAAC,CAAC;AARQ,QAAA,4BAA4B,gCAQpC;AAEQ,QAAA,kBAAkB,GAAG,oCAA4B,EAAgB,CAAC,MAAM,CACnF;IACE,QAAQ,EAAE,UAAI,CAAC,SAAS,EAAE;QACxB,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,gBAAO,CAAC,QAAQ,EAAE;QACxB,SAAS,EAAE,eAAS,EAAE;KACvB,CAAC;IACF,IAAI,EAAE,UAAI,CAAC,SAAS,EAAE;QACpB,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,gBAAO,CAAC,QAAQ,EAAE;QACxB,SAAS,EAAE,eAAS,EAAE;KACvB,CAAC;IACF,SAAS,EAAE,UAAI,CAAC,SAAS,EAAE;QACzB,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,gBAAO,CAAC,QAAQ,EAAE;QACxB,SAAS,EAAE,eAAS,EAAE;KACvB,CAAC;CACH,CACF,CAAC;AAEW,QAAA,kBAAkB,GAAG,YAAM,CAAe;IACrD,IAAI,EAAE,cAAK;CACZ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/types/levels/get.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,sCAA+D;
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/types/levels/get.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,sCAA+D;AAOlD,QAAA,uBAAuB,GAAG,YAAM,CAAoB;IAC/D,MAAM,EAAE,wBAAe,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAC;AAEI,MAAM,yBAAyB,GAAG,CAAC,OAAY,EAAE,EAAE,CACxD,0BAAiB,CAAoB,+BAAuB,EAAE,OAAO,CAAC,CAAC;AAD5D,QAAA,yBAAyB,6BACmC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post.js","sourceRoot":"","sources":["../../../src/types/levels/post.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,sCAAuD;
|
|
1
|
+
{"version":3,"file":"post.js","sourceRoot":"","sources":["../../../src/types/levels/post.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,sCAAuD;AAO1C,QAAA,sBAAsB,GAAG,YAAM,CAAmB;IAC7D,KAAK,EAAE,gBAAO,CAAC,QAAQ,EAAE;CAC1B,CAAC,CAAC;AAEI,MAAM,wBAAwB,GAAG,CAAC,OAAY,EAAE,EAAE,CACvD,0BAAiB,CAAmB,8BAAsB,EAAE,OAAO,CAAC,CAAC;AAD1D,QAAA,wBAAwB,4BACkC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put.js","sourceRoot":"","sources":["../../../src/types/levels/put.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,sCAA+D;
|
|
1
|
+
{"version":3,"file":"put.js","sourceRoot":"","sources":["../../../src/types/levels/put.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,sCAA+D;AAOlD,QAAA,sBAAsB,GAAG,YAAM,CAAmB;IAC7D,MAAM,EAAE,wBAAe,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAEI,MAAM,wBAAwB,GAAG,CAAC,OAAY,EAAE,EAAE,CACvD,0BAAiB,CAAmB,8BAAsB,EAAE,OAAO,CAAC,CAAC;AAD1D,QAAA,wBAAwB,4BACkC;AAQ1D,QAAA,uBAAuB,GAAG,8BAAsB,CAAC;AAEvD,MAAM,yBAAyB,GAAG,CAAC,OAAY,EAAE,EAAE,CACxD,0BAAiB,CAAoB,+BAAuB,EAAE,OAAO,CAAC,CAAC;AAD5D,QAAA,yBAAyB,6BACmC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/types/locations/[id]/get.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAUsB;
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/types/locations/[id]/get.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAUsB;AAqBT,QAAA,yBAAyB,GAAG,YAAM,CAAsB;IAEnE,EAAE,EAAE,kBAAS,CAAC,QAAQ,EAAE;IACxB,IAAI,EAAE,gBAAO,CAAC,QAAQ,EAAE;IAGxB,KAAK,EAAE,gBAAO;IACd,MAAM,EAAE,wBAAe,EAAE;IACzB,OAAO,EAAE,eAAM,CAAC,6BAAoB,EAAE,CAAC;IACvC,IAAI,EAAE,yBAAgB;CACvB,CAAC,CAAC;AAEI,MAAM,2BAA2B,GAAG,CAAC,OAAY,EAAE,EAAE,CAC1D,0BAAiB,CAAsB,iCAAyB,EAAE,OAAO,CAAC,CAAC;AADhE,QAAA,2BAA2B,+BACqC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
name: string;
|
|
1
|
+
import { IEmbeddedEntity } from '../../shared';
|
|
2
|
+
export interface IInventoryItem extends IEmbeddedEntity {
|
|
4
3
|
firstSeen: number;
|
|
5
4
|
lastSeen: number;
|
|
6
5
|
}
|
|
7
6
|
export declare type GetLocationInventoryResponse = IInventoryItem[];
|
|
8
|
-
export declare const inventoryItemSchema: import("joi").ObjectSchema<IInventoryItem>;
|
|
7
|
+
export declare const inventoryItemSchema: import("joi").ObjectSchema<IEmbeddedEntity & IInventoryItem>;
|
|
9
8
|
export declare const getLocationInventoryResponseSchema: import("joi").ArraySchema;
|
|
10
9
|
export declare const validateGetLocationInventoryResponse: (payload: any) => GetLocationInventoryResponse;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.validateGetLocationInventoryResponse = exports.getLocationInventoryResponseSchema = exports.inventoryItemSchema = void 0;
|
|
4
|
-
const joi_1 = require("joi");
|
|
5
4
|
const shared_1 = require("../../shared");
|
|
6
|
-
exports.inventoryItemSchema =
|
|
7
|
-
id: shared_1.xObjectId.required(),
|
|
8
|
-
name: shared_1.xString.required(),
|
|
5
|
+
exports.inventoryItemSchema = shared_1.embeddedEntitySchema().append({
|
|
9
6
|
firstSeen: shared_1.xTime.required(),
|
|
10
7
|
lastSeen: shared_1.xTime.required(),
|
|
11
8
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inventory.js","sourceRoot":"","sources":["../../../../src/types/locations/[id]/inventory.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"inventory.js","sourceRoot":"","sources":["../../../../src/types/locations/[id]/inventory.ts"],"names":[],"mappings":";;;AAAA,yCAMsB;AAYT,QAAA,mBAAmB,GAAG,6BAAoB,EAAkB,CAAC,MAAM,CAC9E;IACE,SAAS,EAAE,cAAK,CAAC,QAAQ,EAAE;IAC3B,QAAQ,EAAE,cAAK,CAAC,QAAQ,EAAE;CAC3B,CACF,CAAC;AAEW,QAAA,kCAAkC,GAAG,eAAM,CAAC,2BAAmB,CAAC,CAAC;AAEvE,MAAM,oCAAoC,GAAG,CAAC,OAAY,EAAE,EAAE,CACnE,0BAAiB,CACf,0CAAkC,EAClC,OAAO,CACR,CAAC;AAJS,QAAA,oCAAoC,wCAI7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../../src/types/locations/[id]/patch/request.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAE7B,2DAAqD;AAErD,4CAMyB;
|
|
1
|
+
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../../src/types/locations/[id]/patch/request.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAE7B,2DAAqD;AAErD,4CAMyB;AAYZ,QAAA,2BAA2B,GAAG,YAAM,CAAwB;IACvE,IAAI,EAAE,gBAAO;IACb,KAAK,EAAE,gBAAO;IAMd,MAAM,EAAE,eAAM,CAAC,gBAAO,CAAC,SAAS,EAAE,CAAC;IACnC,QAAQ,EAAE,cAAK;IACf,OAAO,EAAE,oBAAW;IAGpB,WAAW,EAAE,YAAM,EAAE;CACtB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEH,MAAM,6BAA6B,GAAG,CAAC,OAAY,EAAE,EAAE;IAC5D,MAAM,KAAK,GAAG,0BAAiB,CAC7B,mCAA2B,EAC3B,OAAO,CACR,CAAC;IAEF,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAE9B,IAAI,WAAW,IAAI,CAAC,oCAAe,CAAC,WAAW,CAAC,EAAE;QAChD,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;KACzE;IAED,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAbW,QAAA,6BAA6B,iCAaxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/types/locations/get/query.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAYsB;
|
|
1
|
+
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/types/locations/get/query.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAYsB;AA8ET,QAAA,uBAAuB,GAAG,YAAM,CAAoB;IAE/D,IAAI,EAAE,aAAI;IACV,KAAK,EAAE,aAAI;IAGX,GAAG,EAAE,0BAAiB,CAAC,IAAI,CAAC;IAC5B,MAAM,EAAE,wBAAe,CAAC,IAAI,CAAC;IAC7B,MAAM,EAAE,wBAAe,CAAC,IAAI,CAAC;IAC7B,OAAO,EAAE,cAAK;IACd,UAAU,EAAE,cAAK;IACjB,QAAQ,EAAE,cAAK;IAGf,IAAI,EAAE,8BAAqB;IAC3B,SAAS,EAAE,mBAAU;IAGrB,MAAM,EAAE,gBAAO,CAAC,SAAS,EAAE;IAC3B,WAAW,EAAE,cAAK;IAClB,YAAY,EAAE,gCAAuB,CAAC,MAAM,CAAC;IAG7C,KAAK,EAAE,gCAAuB,CAAC,MAAM,EAAE,QAAQ,EAAE,SAAS,CAAC;CAC5D,CAAC,CAAC;AAEI,MAAM,yBAAyB,GAAG,CAAC,OAAY,EAAE,EAAE,CACxD,kCAAyB,CACvB,+BAAuB,EACvB,OAAO,CACR,CAAC;AAJS,QAAA,yBAAyB,6BAIlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../src/types/locations/post/request.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAE7B,2DAAqD;AAErD,yCAA+E;
|
|
1
|
+
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../src/types/locations/post/request.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAE7B,2DAAqD;AAErD,yCAA+E;AAalE,QAAA,0BAA0B,GAAG,eAAM,CAC9C,YAAM,CAAsB;IAC1B,IAAI,EAAE,gBAAO,CAAC,QAAQ,EAAE;IACxB,KAAK,EAAE,gBAAO;IAMd,MAAM,EAAE,eAAM,CAAC,gBAAO,CAAC,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1C,OAAO,EAAE,oBAAW;IAGpB,WAAW,EAAE,YAAM,EAAE;CACtB,CAAC,CACH,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEF,MAAM,4BAA4B,GAAG,CAAC,OAAY,EAAE,EAAE;IAC3D,MAAM,KAAK,GAAG,0BAAiB,CAC7B,kCAA0B,EAC1B,OAAO,CACR,CAAC;IAGF,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;QACvB,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,CAAC;QAEjC,IAAI,WAAW,IAAI,CAAC,oCAAe,CAAC,WAAW,CAAC,EAAE;YAChD,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;SACzE;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAhBW,QAAA,4BAA4B,gCAgBvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/types/networks/constants.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,sCAAoC;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/types/networks/constants.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,sCAAoC;AAc7B,MAAM,aAAa,GAAG,GAAM,EAAE,CACnC,YAAM,CAAsB;IAC1B,IAAI,EAAE,gBAAO,CAAC,QAAQ,EAAE;IACxB,QAAQ,EAAE,gBAAO;IACjB,QAAQ,EAAE,gBAAO;CAClB,CAAC,CAAC;AALQ,QAAA,aAAa,iBAKrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/types/organisations/[id]/get.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAMsB;AACtB,4CAA8D;AAC9D,4DAAgF;
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/types/organisations/[id]/get.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAMsB;AACtB,4CAA8D;AAC9D,4DAAgF;AAkBnE,QAAA,6BAA6B,GAAG,YAAM,CAA0B;IAE3E,EAAE,EAAE,kBAAS,CAAC,QAAQ,EAAE;IACxB,IAAI,EAAE,gBAAO,CAAC,QAAQ,EAAE;IAGxB,WAAW,EAAE,6BAAiB;IAC9B,YAAY,EAAE,8BAAkB;IAChC,IAAI,EAAE,yBAAgB;CACvB,CAAC,CAAC;AAEI,MAAM,+BAA+B,GAAG,CAAC,OAAY,EAAE,EAAE,CAC9D,0BAAiB,CACf,qCAA6B,EAC7B,OAAO,CACR,CAAC;AAJS,QAAA,+BAA+B,mCAIxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/types/readers/[id]/get.ts"],"names":[],"mappings":";;;AAAA,6BAAsD;AACtD,yCAYsB;AACtB,4CAKsB;
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/types/readers/[id]/get.ts"],"names":[],"mappings":";;;AAAA,6BAAsD;AACtD,yCAYsB;AACtB,4CAKsB;AAyET,QAAA,kBAAkB,GAAG,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AkB;CAC3B,CAAC,CAAC;AAEI,MAAM,yBAAyB,GAAG,CAAC,OAAY,EAAE,EAAE,CACxD,0BAAiB,CAAoB,+BAAuB,EAAE,OAAO,CAAC,CAAC;AAD5D,QAAA,yBAAyB,6BACmC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/types/readers/constants.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/types/readers/constants.ts"],"names":[],"mappings":";;;AASa,QAAA,YAAY,GAAiB;IACxC,OAAO;IACP,QAAQ;IACR,SAAS;IACT,QAAQ;CACT,CAAC;AAiBW,QAAA,aAAa,GAAmB;IAC3C,OAAO;IACP,kBAAkB;IAClB,QAAQ;IACR,UAAU;IACV,OAAO;IACP,aAAa;IACb,OAAO;IACP,OAAO;IACP,YAAY;CACb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/types/readers/get/query.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAasB;AACtB,4CAKsB;
|
|
1
|
+
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/types/readers/get/query.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAasB;AACtB,4CAKsB;AA8ET,QAAA,qBAAqB,GAAG,YAAM,CAAkB;IAE3D,IAAI,EAAE,aAAI;IACV,KAAK,EAAE,aAAI;IAGX,GAAG,EAAE,0BAAiB,CAAC,IAAI,CAAC;IAC5B,SAAS,EAAE,wBAAe,CAAC,IAAI,CAAC;IAChC,IAAI,EAAE,uBAAc,CAAC,GAAG,wBAAY,CAAC;IACrC,YAAY,EAAE,uBAAc,CAAC,GAAG,yBAAa,CAAC;IAC9C,QAAQ,EAAE,cAAK;IAGf,IAAI,EAAE,8BAAqB;IAC3B,SAAS,EAAE,mBAAU;IAGrB,MAAM,EAAE,gBAAO,CAAC,SAAS,EAAE;IAC3B,WAAW,EAAE,cAAK;IAClB,YAAY,EAAE,gCAAuB,CAAC,MAAM,EAAE,UAAU,CAAC;IAGzD,KAAK,EAAE,gCAAuB,CAAC,MAAM,EAAE,QAAQ,CAAC;CACjD,CAAC,CAAC;AAEI,MAAM,uBAAuB,GAAG,CAAC,OAAY,EAAE,EAAE,CACtD,kCAAyB,CAAkB,6BAAqB,EAAE,OAAO,CAAC,CAAC;AADhE,QAAA,uBAAuB,2BACyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../src/types/readers/post/request.ts"],"names":[],"mappings":";;;AAAA,6BAAqD;AACrD,6CAAgE;AAChE,yCASsB;AACtB,4CAKsB;
|
|
1
|
+
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../src/types/readers/post/request.ts"],"names":[],"mappings":";;;AAAA,6BAAqD;AACrD,6CAAgE;AAChE,yCASsB;AACtB,4CAKsB;AAsDT,QAAA,sBAAsB,GAAG,YAAM,CAAoB;IAC9D,IAAI,EAAE,gBAAO;IACb,KAAK,EAAE,gBAAO;CACf,CAAC,CAAC;AAEU,QAAA,aAAa,GAAG,YAAM,CAAkB;IACnD,IAAI,EAAE,aAAI,CAAC,QAAQ,EAAE;IACrB,IAAI,EAAE,gBAAO;IACb,UAAU,EAAE,kBAAS;IACrB,QAAQ,EAAE,8BAAsB;CACjC,CAAC,CAAC;AAEU,QAAA,mBAAmB,GAAG,eAAM,CACvC,qBAAa,CAAC,GAAG,CAAC,UAAU,EAAE,YAAY,CAAC,EAE3C,MAAM,CACP;KACE,QAAQ,EAAE;KACV,GAAG,CAAC,CAAC,CAAC,CAAC;AAEG,QAAA,oBAAoB,GAAG,eAAM,CACxC,qBAAa,CAAC,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,EAC5C,MAAM,CACP,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEI,QAAA,wBAAwB,GAAG,eAAM,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CAAC;CACH,CAAC,CAAC,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,CAClC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEF,MAAM,0BAA0B,GAAG,CAAC,OAAY,EAAE,EAAE,CACzD,0BAAiB,CAAqB,gCAAwB,EAAE,OAAO,CAAC,CAAC;AAD9D,QAAA,0BAA0B,8BACoC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/types/roles/[id]/get.ts"],"names":[],"mappings":";;;AAAA,6BAAqC;AACrC,yCASsB;
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/types/roles/[id]/get.ts"],"names":[],"mappings":";;;AAAA,6BAAqC;AACrC,yCASsB;AAUT,QAAA,iBAAiB,GAAG,eAAM,CACrC,YAAM,EAAE,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,+BAA+B,CAAC,CAAC,CAC9D;KACE,GAAG,CAAC,CAAC,CAAC;KACN,QAAQ,EAAE,CAAC;AAED,QAAA,qBAAqB,GAAG,YAAM,CAAkB;IAE3D,EAAE,EAAE,kBAAS,CAAC,QAAQ,EAAE;IACxB,IAAI,EAAE,gBAAO,CAAC,QAAQ,EAAE;IACxB,WAAW,EAAE,oBAAW,CAAC,QAAQ,EAAE;IACnC,WAAW,EAAE,yBAAiB;IAC9B,OAAO,EAAE,cAAK,CAAC,QAAQ,EAAE;IAGzB,IAAI,EAAE,yBAAgB;CACvB,CAAC,CAAC;AAEI,MAAM,uBAAuB,GAAG,CAAC,OAAY,EAAE,EAAE,CACtD,0BAAiB,CAAkB,6BAAqB,EAAE,OAAO,CAAC,CAAC;AADxD,QAAA,uBAAuB,2BACiC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed.js","sourceRoot":"","sources":["../../../src/types/shared/embed.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,qCAAqD;
|
|
1
|
+
{"version":3,"file":"embed.js","sourceRoot":"","sources":["../../../src/types/shared/embed.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,qCAAqD;AAcxC,QAAA,gBAAgB,GAAG,YAAM,CAAc;IAClD,OAAO,EAAE,cAAK,CAAC,QAAQ,EAAE;IACzB,OAAO,EAAE,cAAK;IACd,OAAO,EAAE,cAAK;CACf,CAAC,CAAC;AAUI,MAAM,oBAAoB,GAAG,GAAM,EAAE,CAC1C,YAAM,CAAsB;IAC1B,EAAE,EAAE,kBAAS,CAAC,QAAQ,EAAE;IACxB,IAAI,EAAE,gBAAO,CAAC,QAAQ,EAAE;CACzB,CAAC,CAAC;AAJQ,QAAA,oBAAoB,wBAI5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/types/triggers/[id]/get.ts"],"names":[],"mappings":";;;AAAA,6BAA8C;AAC9C,yCAQsB;AACtB,4CAMsB;
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/types/triggers/[id]/get.ts"],"names":[],"mappings":";;;AAAA,6BAA8C;AAC9C,yCAQsB;AACtB,4CAMsB;AA2DT,QAAA,wBAAwB,GAAG,YAAM,CAAqB;IAEjE,EAAE,EAAE,kBAAS,CAAC,QAAQ,EAAE;IACxB,IAAI,EAAE,gBAAO,CAAC,QAAQ,EAAE;IACxB,OAAO,EAAE,cAAK,CAAC,QAAQ,EAAE;IACzB,IAAI,EAAE,uBAAc,CAAC,GAAG,yBAAa,CAAC,CAAC,QAAQ,EAAE;IACjD,OAAO,EAAE,gCAAoB,CAAC,QAAQ,EAAE;IACxC,YAAY,EAAE,8BAAkB,CAAC,QAAQ,EAAE;IAG3C,aAAa,EAAE,UAAI,CAAC,MAAM,EAAE;QAC1B,EAAE,EAAE,WAAW;QACf,IAAI,EAAE,8BAAkB,CAAC,QAAQ,EAAE;QACnC,SAAS,EAAE,eAAS,EAAE;KACvB,CAAC;IAGF,IAAI,EAAE,yBAAgB;CACvB,CAAC,CAAC;AAEI,MAAM,0BAA0B,GAAG,CAAC,OAAY,EAAE,EAAE,CACzD,0BAAiB,CAAqB,gCAAwB,EAAE,OAAO,CAAC,CAAC;AAD9D,QAAA,0BAA0B,8BACoC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../../src/types/triggers/[id]/patch/request.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,4CAAoE;AACpE,+CAKyB;
|
|
1
|
+
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../../src/types/triggers/[id]/patch/request.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,4CAAoE;AACpE,+CAKyB;AAsCZ,QAAA,0BAA0B,GAAG,YAAM,CAAuB;IACrE,IAAI,EAAE,gBAAO;IACb,OAAO,EAAE,cAAK;IACd,OAAO,EAAE,gCAAoB;IAC7B,YAAY,EAAE,8BAAkB;IAChC,aAAa,EAAE,8BAAkB;CAClC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEH,MAAM,4BAA4B,GAAG,CAAC,OAAY,EAAE,EAAE,CAC3D,0BAAiB,CAAuB,kCAA0B,EAAE,OAAO,CAAC,CAAC;AADlE,QAAA,4BAA4B,gCACsC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/types/triggers/constants.ts"],"names":[],"mappings":";;;AAAA,6BAAsD;AACtD,sCAA+E;AAOlE,QAAA,YAAY,GAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/types/triggers/constants.ts"],"names":[],"mappings":";;;AAAA,6BAAsD;AACtD,sCAA+E;AAOlE,QAAA,YAAY,GAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;AA4B1D,QAAA,oBAAoB,G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
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/types/triggers/get/query.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAWsB;AACtB,4CAA0D;
|
|
1
|
+
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/types/triggers/get/query.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAWsB;AACtB,4CAA0D;AA8C7C,QAAA,sBAAsB,GAAG,YAAM,CAAmB;IAE7D,IAAI,EAAE,aAAI;IACV,KAAK,EAAE,aAAI;IAGX,GAAG,EAAE,0BAAiB,CAAC,IAAI,CAAC;IAC5B,OAAO,EAAE,cAAK;IACd,IAAI,EAAE,uBAAc,CAAC,GAAG,yBAAa,CAAC;IAGtC,IAAI,EAAE,4BAAmB;IACzB,SAAS,EAAE,mBAAU;IAGrB,KAAK,EAAE,gCAAuB,CAAC,MAAM,CAAC;CACvC,CAAC,CAAC;AAEI,MAAM,wBAAwB,GAAG,CAAC,OAAY,EAAE,EAAE,CACvD,kCAAyB,CAAmB,8BAAsB,EAAE,OAAO,CAAC,CAAC;AADlE,QAAA,wBAAwB,4BAC0C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.js","sourceRoot":"","sources":["../../../../../src/types/users/[id]/get/response.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,4CASyB;AACzB,+CAAkE;
|
|
1
|
+
{"version":3,"file":"response.js","sourceRoot":"","sources":["../../../../../src/types/users/[id]/get/response.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,4CASyB;AACzB,+CAAkE;AAuCrD,QAAA,qBAAqB,GAAG,YAAM,CAAkB;IAE3D,EAAE,EAAE,kBAAS,CAAC,QAAQ,EAAE;IACxB,IAAI,EAAE,gBAAO,CAAC,QAAQ,EAAE;IACxB,IAAI,EAAE,6BAAoB,EAAE,CAAC,QAAQ,EAAE;IACvC,YAAY,EAAE,6BAAoB,EAAE,CAAC,QAAQ,EAAE;IAC/C,IAAI,EAAE,uBAAc,CAAC,GAAG,sBAAU,CAAC,CAAC,QAAQ,EAAE;IAG9C,KAAK,EAAE,+BAAmB;IAG1B,GAAG,EAAE,gBAAO;IAGZ,IAAI,EAAE,yBAAgB;CACvB,CAAC,CAAC;AAEI,MAAM,uBAAuB,GAAG,CAAC,OAAY,EAAE,EAAE,CACtD,0BAAiB,CAAkB,6BAAqB,EAAE,OAAO,CAAC,CAAC;AADxD,QAAA,uBAAuB,2BACiC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key.js","sourceRoot":"","sources":["../../../../src/types/users/[id]/key.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAA0D;
|
|
1
|
+
{"version":3,"file":"key.js","sourceRoot":"","sources":["../../../../src/types/users/[id]/key.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAA0D;AAW7C,QAAA,oBAAoB,GAAG,YAAM,CAAiB;IACzD,GAAG,EAAE,gBAAO,CAAC,QAAQ,EAAE;CACxB,CAAC,CAAC;AAEI,MAAM,sBAAsB,GAAG,CAAC,OAAY,EAAE,EAAE,CACrD,0BAAiB,CAAiB,4BAAoB,EAAE,OAAO,CAAC,CAAC;AADtD,QAAA,sBAAsB,0BACgC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../../src/types/users/[id]/patch/request.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,4CAAwE;
|
|
1
|
+
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../../src/types/users/[id]/patch/request.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,4CAAwE;AAmB3D,QAAA,uBAAuB,GAAG,YAAM,CAAoB;IAC/D,IAAI,EAAE,gBAAO;IACb,IAAI,EAAE,kBAAS;IACf,YAAY,EAAE,kBAAS;CACxB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEH,MAAM,yBAAyB,GAAG,CAAC,OAAY,EAAE,EAAE,CACxD,0BAAiB,CAAoB,+BAAuB,EAAE,OAAO,CAAC,CAAC;AAD5D,QAAA,yBAAyB,6BACmC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"current.js","sourceRoot":"","sources":["../../../src/types/users/current.ts"],"names":[],"mappings":";;;AAAA,sCAKmB;AACnB,gCAA+C;AAC/C,2CAAsD;
|
|
1
|
+
{"version":3,"file":"current.js","sourceRoot":"","sources":["../../../src/types/users/current.ts"],"names":[],"mappings":";;;AAAA,sCAKmB;AACnB,gCAA+C;AAC/C,2CAAsD;AA2BzC,QAAA,yBAAyB,GAAG,2BAAqB,CAAC,MAAM,CAAC;IACpE,IAAI,EAAE,6BAAoB,EAAgB;SACvC,MAAM,CAAC;QACN,WAAW,EAAE,uBAAiB;KAC/B,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAC;AAEI,MAAM,2BAA2B,GAAG,CAAC,OAAY,EAAE,EAAE,CAC1D,0BAAiB,CAAsB,iCAAyB,EAAE,OAAO,CAAC,CAAC;AADhE,QAAA,2BAA2B,+BACqC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/types/users/get/query.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAUsB;AACtB,4CAAoD;
|
|
1
|
+
{"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/types/users/get/query.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,yCAUsB;AACtB,4CAAoD;AA8CvC,QAAA,mBAAmB,GAAG,YAAM,CAAgB;IAEvD,IAAI,EAAE,aAAI;IACV,KAAK,EAAE,aAAI;IAGX,GAAG,EAAE,0BAAiB,CAAC,IAAI,CAAC;IAC5B,IAAI,EAAE,0BAAiB,CAAC,IAAI,CAAC;IAC7B,IAAI,EAAE,uBAAc,CAAC,GAAG,sBAAU,CAAC;IAGnC,IAAI,EAAE,4BAAmB;IACzB,SAAS,EAAE,mBAAU;IAGrB,KAAK,EAAE,gCAAuB,CAAC,MAAM,CAAC;CACvC,CAAC,CAAC;AAEI,MAAM,qBAAqB,GAAG,CAAC,OAAY,EAAE,EAAE,CACpD,kCAAyB,CAAgB,2BAAmB,EAAE,OAAO,CAAC,CAAC;AAD5D,QAAA,qBAAqB,yBACuC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../src/types/users/post/request.ts"],"names":[],"mappings":";;;AAAA,6BAAsD;AACtD,yCAKsB;AACtB,4CAA+D;
|
|
1
|
+
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../src/types/users/post/request.ts"],"names":[],"mappings":";;;AAAA,6BAAsD;AACtD,yCAKsB;AACtB,4CAA+D;AAkClD,QAAA,qBAAqB,GAAG,YAAM,CAAkB;IAE3D,IAAI,EAAE,gBAAO,CAAC,QAAQ,EAAE;IACxB,IAAI,EAAE,kBAAS,CAAC,QAAQ,EAAE;IAC1B,IAAI,EAAE,uBAAc,CAAC,GAAG,sBAAU,CAAC,CAAC,QAAQ,EAAE;IAG9C,KAAK,EAAE,+BAAmB;IAK1B,QAAQ,EAAE,UAAI,CAAC,MAAM,EAAE;QACrB,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,YAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QACrB,SAAS,EAAE,eAAS,EAAE;KACvB,CAAC;CACH,CAAC,CAAC;AAEI,MAAM,uBAAuB,GAAG,CAAC,OAAY,EAAE,EAAE,CACtD,0BAAiB,CAAkB,6BAAqB,EAAE,OAAO,CAAC,CAAC;AADxD,QAAA,uBAAuB,2BACiC"}
|
package/package.json
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotto/contract",
|
|
3
3
|
"license": "ISC",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.10",
|
|
5
5
|
"description": "Spotto's API Contract",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist/**/*"
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
|
-
"build": "rm -
|
|
11
|
+
"build": "rm -rf dist && tsc --project tsconfig.types.json",
|
|
12
12
|
"clean": "rm -rf node_modules && rm -rf yarn.lock",
|
|
13
13
|
"test": "jest src",
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"validate": "spot validate src/api.ts"
|
|
14
|
+
"internal": "spot docs src/api.internal.ts",
|
|
15
|
+
"public": "spot docs src/api.public.ts",
|
|
16
|
+
"generate": "spot generate -c src/api.public.ts --language json --generator openapi3 --out ../docs/constants"
|
|
18
17
|
},
|
|
19
18
|
"dependencies": {
|
|
20
19
|
"@airtasker/spot": "^1.4.0",
|
|
21
|
-
"@spotto/core-lib": "^0.0.
|
|
20
|
+
"@spotto/core-lib": "^0.0.10",
|
|
22
21
|
"geojson-validation": "^1.0.2",
|
|
23
22
|
"joi": "^17.2.1",
|
|
24
23
|
"qs": "^6.9.4"
|
|
@@ -27,5 +26,5 @@
|
|
|
27
26
|
"jest": "^26.6.3",
|
|
28
27
|
"ts-jest": "^26.5.3"
|
|
29
28
|
},
|
|
30
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "5e13832fa4aa8ffdfbbddeb278731c93d147b661"
|
|
31
30
|
}
|