@spotto/contract 1.0.29-alpha.0 → 1.0.29

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.
Files changed (51) hide show
  1. package/dist/index.d.ts +0 -1
  2. package/dist/index.js +0 -1
  3. package/dist/index.js.map +1 -1
  4. package/dist/readers/constants/deviceTypes.d.ts +1 -1
  5. package/dist/readers/constants/deviceTypes.js +11 -0
  6. package/dist/readers/constants/deviceTypes.js.map +1 -1
  7. package/dist/types/[id]/get.d.ts +0 -23
  8. package/dist/types/[id]/patch/request.d.ts +0 -4
  9. package/dist/types/post/request.d.ts +0 -60
  10. package/dist/types/post/request.js +0 -12
  11. package/dist/types/post/request.js.map +1 -1
  12. package/package.json +2 -2
  13. package/dist/fields/[id]/get.d.ts +0 -16
  14. package/dist/fields/[id]/get.js +0 -3
  15. package/dist/fields/[id]/get.js.map +0 -1
  16. package/dist/fields/[id]/index.d.ts +0 -2
  17. package/dist/fields/[id]/index.js +0 -19
  18. package/dist/fields/[id]/index.js.map +0 -1
  19. package/dist/fields/[id]/patch/index.d.ts +0 -2
  20. package/dist/fields/[id]/patch/index.js +0 -19
  21. package/dist/fields/[id]/patch/index.js.map +0 -1
  22. package/dist/fields/[id]/patch/request.d.ts +0 -13
  23. package/dist/fields/[id]/patch/request.js +0 -3
  24. package/dist/fields/[id]/patch/request.js.map +0 -1
  25. package/dist/fields/[id]/patch/response.d.ts +0 -1
  26. package/dist/fields/[id]/patch/response.js +0 -3
  27. package/dist/fields/[id]/patch/response.js.map +0 -1
  28. package/dist/fields/constants.d.ts +0 -4
  29. package/dist/fields/constants.js +0 -20
  30. package/dist/fields/constants.js.map +0 -1
  31. package/dist/fields/get/index.d.ts +0 -2
  32. package/dist/fields/get/index.js +0 -19
  33. package/dist/fields/get/index.js.map +0 -1
  34. package/dist/fields/get/query.d.ts +0 -11
  35. package/dist/fields/get/query.js +0 -3
  36. package/dist/fields/get/query.js.map +0 -1
  37. package/dist/fields/get/response.d.ts +0 -7
  38. package/dist/fields/get/response.js +0 -3
  39. package/dist/fields/get/response.js.map +0 -1
  40. package/dist/fields/index.d.ts +0 -4
  41. package/dist/fields/index.js +0 -21
  42. package/dist/fields/index.js.map +0 -1
  43. package/dist/fields/post/index.d.ts +0 -2
  44. package/dist/fields/post/index.js +0 -19
  45. package/dist/fields/post/index.js.map +0 -1
  46. package/dist/fields/post/request.d.ts +0 -17
  47. package/dist/fields/post/request.js +0 -8
  48. package/dist/fields/post/request.js.map +0 -1
  49. package/dist/fields/post/response.d.ts +0 -5
  50. package/dist/fields/post/response.js +0 -3
  51. package/dist/fields/post/response.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -15,4 +15,3 @@ export * from './manifests';
15
15
  export * from './users';
16
16
  export * from './errors';
17
17
  export * from './snapshots';
18
- export * from './fields';
package/dist/index.js CHANGED
@@ -31,5 +31,4 @@ __exportStar(require("./manifests"), exports);
31
31
  __exportStar(require("./users"), exports);
32
32
  __exportStar(require("./errors"), exports);
33
33
  __exportStar(require("./snapshots"), exports);
34
- __exportStar(require("./fields"), exports);
35
34
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,iDAA+B;AAC/B,2CAAyB;AACzB,2CAAyB;AACzB,8CAA4B;AAC5B,6CAA2B;AAC3B,kDAAgC;AAChC,4CAA0B;AAC1B,0CAAwB;AACxB,yCAAuB;AACvB,8CAA4B;AAC5B,0CAAwB;AACxB,8CAA4B;AAC5B,0CAAwB;AACxB,2CAAyB;AACzB,8CAA4B;AAC5B,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,iDAA+B;AAC/B,2CAAyB;AACzB,2CAAyB;AACzB,8CAA4B;AAC5B,6CAA2B;AAC3B,kDAAgC;AAChC,4CAA0B;AAC1B,0CAAwB;AACxB,yCAAuB;AACvB,8CAA4B;AAC5B,0CAAwB;AACxB,8CAA4B;AAC5B,0CAAwB;AACxB,2CAAyB;AACzB,8CAA4B"}
@@ -1,4 +1,4 @@
1
- export declare type DeviceType = 'B1' | 'A1' | 'RF1A4' | 'RF1F' | 'HD1' | 'ZEBRA' | 'IMPINJ' | 'TURCK' | 'DIGITAL_MATTER' | 'KKM' | 'MINEW' | 'OTHER' | 'APPLICATION';
1
+ export declare type DeviceType = 'B1' | 'A1' | 'RF1A4' | 'RF1F' | 'HD1' | 'ZEBRA' | 'IMPINJ' | 'TURCK' | 'DIGITAL_MATTER' | 'KKM' | 'MINEW' | 'FR22' | 'OTHER' | 'APPLICATION';
2
2
  export declare const DEVICE_TYPES: DeviceType[];
3
3
  export declare type DeviceTechnologyType = 'BLE' | 'RFID' | 'HID';
4
4
  export declare type ConnectorProtocol = 'http' | 'mqtt';
@@ -13,6 +13,7 @@ exports.DEVICE_TYPES = [
13
13
  'DIGITAL_MATTER',
14
14
  'KKM',
15
15
  'MINEW',
16
+ 'FR22',
16
17
  'OTHER',
17
18
  'APPLICATION',
18
19
  ];
@@ -129,6 +130,16 @@ exports.DEVICE_TYPE_DETAILS = [
129
130
  deviceIdRequired: true,
130
131
  visible: true,
131
132
  },
133
+ {
134
+ id: 'FR22',
135
+ name: 'Bradley FR22 RFID Reaeer',
136
+ technology: ['RFID'],
137
+ endpoint: 'FR22/{organisationId}/{deviceId}',
138
+ protocols: ['mqtt'],
139
+ deviceIdFormat: 'string',
140
+ deviceIdRequired: false,
141
+ visible: true,
142
+ },
132
143
  {
133
144
  id: 'OTHER',
134
145
  name: 'Custom Reader (BYO Device)',
@@ -1 +1 @@
1
- {"version":3,"file":"deviceTypes.js","sourceRoot":"","sources":["../../../src/readers/constants/deviceTypes.ts"],"names":[],"mappings":";;;AAea,QAAA,YAAY,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AG,CAAC,EAAc,EAAE,EAAE,CACxC,IAAA,qCAA6B,EAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AADzC,QAAA,OAAO,WACkC;AAE/C,MAAM,kBAAkB,GAAG,CAAC,EAAc,EAAE,EAAE,CACnD,IAAA,0CAAkC,GAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AADvC,QAAA,kBAAkB,sBACqB"}
1
+ {"version":3,"file":"deviceTypes.js","sourceRoot":"","sources":["../../../src/readers/constants/deviceTypes.ts"],"names":[],"mappings":";;;AAgBa,QAAA,YAAY,GAAiB;IACxC,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,MAAM;IACN,KAAK;IACL,OAAO;IACP,QAAQ;IACR,OAAO;IACP,gBAAgB;IAChB,KAAK;IACL,OAAO;IACP,MAAM;IACN,OAAO;IACP,aAAa;CACd,CAAC;AAiCW,QAAA,mBAAmB,GAAwB;IACtD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,4BAA4B;QAClC,UAAU,EAAE,CAAC,KAAK,CAAC;QACnB,QAAQ,EAAE,kBAAkB;QAC5B,YAAY,EAAE,OAAO;QACrB,SAAS,EAAE,CAAC,MAAM,CAAC;QACnB,cAAc,EAAE,KAAK;QACrB,gBAAgB,EAAE,IAAI;QACtB,OAAO,EAAE,IAAI;KACd;IACD;QACE,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,4BAA4B;QAClC,UAAU,EAAE,CAAC,KAAK,CAAC;QACnB,QAAQ,EAAE,QAAQ;QAClB,YAAY,EAAE,QAAQ;QACtB,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;QAC3B,cAAc,EAAE,KAAK;QACrB,gBAAgB,EAAE,IAAI;QACtB,OAAO,EAAE,IAAI;KACd;IACD;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,0BAA0B;QAChC,UAAU,EAAE,CAAC,MAAM,CAAC;QACpB,QAAQ,EAAE,kBAAkB;QA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CAAC,cAA8B,EAAE,EAAE,CACxE,IAAA,sBAAc,EAAC,EAAE,cAAc,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;AAD5C,QAAA,uBAAuB,2BACqB;AAElD,MAAM,kCAAkC,GAAG,GAAG,EAAE,CACrD,IAAA,sBAAc,EAAC,EAAE,gBAAgB,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;AADpD,QAAA,kCAAkC,sCACkB;AAG1D,MAAM,6BAA6B,GAAG,CAC3C,YAAgC,EAChC,EAAE,CAAC,IAAA,sBAAc,EAAC,EAAE,YAAY,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;AAF7C,QAAA,6BAA6B,iCAEgB;AAMnD,MAAM,OAAO,GAAG,CAAC,EAAc,EAAE,EAAE,CACxC,IAAA,qCAA6B,EAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AADzC,QAAA,OAAO,WACkC;AAE/C,MAAM,kBAAkB,GAAG,CAAC,EAAc,EAAE,EAAE,CACnD,IAAA,0CAAkC,GAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AADvC,QAAA,kBAAkB,sBACqB"}
@@ -1,20 +1,3 @@
1
- import { GetFieldResponse } from '../../fields/[id]/get';
2
- import { IEmbeddedEntity } from '../../shared';
3
- export interface IFieldValue {
4
- id: string;
5
- name: string;
6
- valueString?: string;
7
- valueInteger?: number;
8
- valueDecimal?: number;
9
- valueBoolean?: boolean;
10
- valueDate?: Date;
11
- }
12
- export interface IFieldDefinitionAll extends GetFieldResponse {
13
- typePath: string;
14
- }
15
- export interface IFieldValueAll extends IFieldValue {
16
- typePath: string;
17
- }
18
1
  export interface GetTypeResponse {
19
2
  id: string;
20
3
  name: string;
@@ -23,10 +6,4 @@ export interface GetTypeResponse {
23
6
  fullNameTemplate?: string;
24
7
  description?: string;
25
8
  path?: string;
26
- fields?: IEmbeddedEntity[];
27
- fieldsAll?: IFieldDefinitionAll[];
28
- typeFields?: IEmbeddedEntity[];
29
- typeFieldsAll?: IFieldDefinitionAll[];
30
- typeFieldValues?: IFieldValue[];
31
- typeFieldValuesAll?: IFieldValueAll[];
32
9
  }
@@ -1,11 +1,7 @@
1
- import { IEmbeddedEntityWithIdOrName, IFieldValueWithConstraints } from '../../post';
2
1
  export interface UpdateTypeRequest {
3
2
  name?: string;
4
3
  parent?: string;
5
4
  fullNameTemplate?: string;
6
5
  description?: string;
7
6
  path?: string;
8
- fields?: IEmbeddedEntityWithIdOrName[];
9
- typeFields?: IEmbeddedEntityWithIdOrName[];
10
- typeFieldValues?: IFieldValueWithConstraints[];
11
7
  }
@@ -1,69 +1,9 @@
1
- export declare type IEmbeddedEntityWithIdOrName = {
2
- id: string;
3
- name?: never;
4
- } | {
5
- id?: never;
6
- name: string;
7
- } | {
8
- id: string;
9
- name: string;
10
- };
11
- declare type ValueStringOnly = {
12
- valueString: string;
13
- valueInteger?: never;
14
- valueDecimal?: never;
15
- valueBoolean?: never;
16
- valueDate?: never;
17
- };
18
- declare type ValueIntegerOnly = {
19
- valueString?: never;
20
- valueInteger: number;
21
- valueDecimal?: never;
22
- valueBoolean?: never;
23
- valueDate?: never;
24
- };
25
- declare type ValueDecimalOnly = {
26
- valueString?: never;
27
- valueInteger?: never;
28
- valueDecimal: number;
29
- valueBoolean?: never;
30
- valueDate?: never;
31
- };
32
- declare type ValueBooleanOnly = {
33
- valueString?: never;
34
- valueInteger?: never;
35
- valueDecimal?: never;
36
- valueBoolean: boolean;
37
- valueDate?: never;
38
- };
39
- declare type ValueDateOnly = {
40
- valueString?: never;
41
- valueInteger?: never;
42
- valueDecimal?: never;
43
- valueBoolean?: never;
44
- valueDate: Date;
45
- };
46
- declare type IdOrName = {
47
- id: string;
48
- name?: never;
49
- } | {
50
- id?: never;
51
- name: string;
52
- } | {
53
- id: string;
54
- name: string;
55
- };
56
- export declare type IFieldValueWithConstraints = IdOrName & (ValueStringOnly | ValueIntegerOnly | ValueDecimalOnly | ValueBooleanOnly | ValueDateOnly);
57
1
  export interface PostTypeRequest {
58
2
  name: string;
59
3
  parent?: string;
60
4
  fullNameTemplate?: string;
61
5
  description?: string;
62
6
  path?: string;
63
- fields?: IEmbeddedEntityWithIdOrName[];
64
- typeFields?: IEmbeddedEntityWithIdOrName[];
65
- typeFieldValues?: IFieldValueWithConstraints[];
66
7
  }
67
8
  export declare type PostTypesRequest = PostTypeRequest[];
68
9
  export declare const testPostTypeRequest: PostTypeRequest;
69
- export {};
@@ -5,17 +5,5 @@ exports.testPostTypeRequest = {
5
5
  parent: 'abcd',
6
6
  name: '1 kg',
7
7
  fullNameTemplate: '@name',
8
- fields: [
9
- {
10
- id: '234567',
11
- name: '123456',
12
- },
13
- ],
14
- typeFieldValues: [
15
- {
16
- name: '123456',
17
- valueBoolean: true,
18
- },
19
- ],
20
8
  };
21
9
  //# sourceMappingURL=request.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"request.js","sourceRoot":"","sources":["../../../src/types/post/request.ts"],"names":[],"mappings":";;;AA2Ea,QAAA,mBAAmB,GAAoB;IAClD,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,MAAM;IACZ,gBAAgB,EAAE,OAAO;IACzB,MAAM,EAAE;QACN;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,eAAe,EAAE;QACf;YAEE,IAAI,EAAE,QAAQ;YACd,YAAY,EAAE,IAAI;SAEnB;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"request.js","sourceRoot":"","sources":["../../../src/types/post/request.ts"],"names":[],"mappings":";;;AAWa,QAAA,mBAAmB,GAAoB;IAClD,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,MAAM;IACZ,gBAAgB,EAAE,OAAO;CAC1B,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spotto/contract",
3
3
  "license": "ISC",
4
- "version": "1.0.29-alpha.0",
4
+ "version": "1.0.29",
5
5
  "description": "Spotto's API Contract type definitions",
6
6
  "main": "./dist/index.js",
7
7
  "files": [
@@ -14,5 +14,5 @@
14
14
  "devDependencies": {
15
15
  "@types/geojson": "^7946.0.11"
16
16
  },
17
- "gitHead": "b76b7dfea452f9b56441e7a859e066a6c81cf150"
17
+ "gitHead": "bf918ed223dd49a9f406be94d1fd269739be3958"
18
18
  }
@@ -1,16 +0,0 @@
1
- import { FieldDataType, FieldInputType } from '../constants';
2
- export interface GetFieldResponse {
3
- id: string;
4
- name: string;
5
- dataType: FieldDataType;
6
- inputType?: FieldInputType;
7
- label?: string;
8
- required?: boolean;
9
- regex?: string;
10
- options?: string[];
11
- integerMin?: number;
12
- integerMax?: number;
13
- decimalMin?: number;
14
- decimalMax?: number;
15
- decimalPlaces?: number;
16
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=get.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/fields/[id]/get.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export * from './patch';
2
- export * from './get';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./patch"), exports);
18
- __exportStar(require("./get"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/fields/[id]/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,wCAAsB"}
@@ -1,2 +0,0 @@
1
- export * from './request';
2
- export * from './response';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./request"), exports);
18
- __exportStar(require("./response"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/fields/[id]/patch/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B"}
@@ -1,13 +0,0 @@
1
- import { FieldInputType } from '../../constants';
2
- export interface UpdateFieldRequest {
3
- inputType?: FieldInputType;
4
- label?: string;
5
- required?: boolean;
6
- regex?: string;
7
- options?: string[];
8
- integerMin?: number;
9
- integerMax?: number;
10
- decimalMin?: number;
11
- decimalMax?: number;
12
- decimalPlaces?: number;
13
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"request.js","sourceRoot":"","sources":["../../../../src/fields/[id]/patch/request.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export { GetFieldResponse as UpdateFieldResponse } from '../get';
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"response.js","sourceRoot":"","sources":["../../../../src/fields/[id]/patch/response.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export declare type FieldDataType = 'STRING' | 'INTEGER' | 'DECIMAL' | 'BOOLEAN' | 'DATE';
2
- export declare const FIELD_DATA_TYPES: FieldDataType[];
3
- export declare type FieldInputType = 'SINGLELINE' | 'MULTILINE' | 'LINK' | 'RICHTEXT' | 'DROPDOWN' | 'RADIO' | 'CHECKBOXES';
4
- export declare const FIELD_INPUT_TYPES: FieldInputType[];
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FIELD_INPUT_TYPES = exports.FIELD_DATA_TYPES = void 0;
4
- exports.FIELD_DATA_TYPES = [
5
- 'STRING',
6
- 'INTEGER',
7
- 'DECIMAL',
8
- 'BOOLEAN',
9
- 'DATE',
10
- ];
11
- exports.FIELD_INPUT_TYPES = [
12
- 'SINGLELINE',
13
- 'MULTILINE',
14
- 'LINK',
15
- 'RICHTEXT',
16
- 'DROPDOWN',
17
- 'RADIO',
18
- 'CHECKBOXES',
19
- ];
20
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/fields/constants.ts"],"names":[],"mappings":";;;AAOa,QAAA,gBAAgB,GAAoB;IAC/C,QAAQ;IACR,SAAS;IACT,SAAS;IACT,SAAS;IACT,MAAM;CACP,CAAC;AAWW,QAAA,iBAAiB,GAAqB;IACjD,YAAY;IACZ,WAAW;IACX,MAAM;IACN,UAAU;IACV,UAAU;IACV,OAAO;IACP,YAAY;CACb,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './query';
2
- export * from './response';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./query"), exports);
18
- __exportStar(require("./response"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/fields/get/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,6CAA2B"}
@@ -1,11 +0,0 @@
1
- import { StandardSortFields, SortOrders } from '../../shared';
2
- export declare type FieldSortField = StandardSortFields;
3
- export declare type FieldEmbedField = 'meta';
4
- export interface GetFieldsQuery {
5
- page?: number;
6
- limit?: number;
7
- names?: string[];
8
- sort?: FieldSortField;
9
- sortOrder?: SortOrders;
10
- embed?: Array<FieldEmbedField>;
11
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=query.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../src/fields/get/query.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { GetFieldsQuery } from './query';
2
- import { GetFieldResponse } from '../[id]/get';
3
- export interface GetFieldsResponse {
4
- query: GetFieldsQuery | null;
5
- total: number;
6
- items: GetFieldResponse[];
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"response.js","sourceRoot":"","sources":["../../../src/fields/get/response.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export * from './[id]';
2
- export * from './get';
3
- export * from './post';
4
- export * from './constants';
@@ -1,21 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./[id]"), exports);
18
- __exportStar(require("./get"), exports);
19
- __exportStar(require("./post"), exports);
20
- __exportStar(require("./constants"), exports);
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/fields/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,wCAAsB;AACtB,yCAAuB;AACvB,8CAA4B"}
@@ -1,2 +0,0 @@
1
- export * from './request';
2
- export * from './response';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./request"), exports);
18
- __exportStar(require("./response"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/fields/post/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B"}
@@ -1,17 +0,0 @@
1
- import { FieldDataType, FieldInputType } from '../constants';
2
- export interface PostFieldRequest {
3
- name: string;
4
- dataType: FieldDataType;
5
- inputType?: FieldInputType;
6
- label?: string;
7
- required?: boolean;
8
- regex?: string;
9
- options?: string[];
10
- integerMin?: number;
11
- integerMax?: number;
12
- decimalMin?: number;
13
- decimalMax?: number;
14
- decimalPlaces?: number;
15
- }
16
- export declare type PostFieldsRequest = PostFieldRequest[];
17
- export declare const testPostFieldRequest: PostFieldRequest;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.testPostFieldRequest = void 0;
4
- exports.testPostFieldRequest = {
5
- name: 'Documentation',
6
- dataType: 'STRING',
7
- };
8
- //# sourceMappingURL=request.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"request.js","sourceRoot":"","sources":["../../../src/fields/post/request.ts"],"names":[],"mappings":";;;AAuBa,QAAA,oBAAoB,GAAqB;IACpD,IAAI,EAAE,eAAe;IACrB,QAAQ,EAAE,QAAQ;CACnB,CAAC"}
@@ -1,5 +0,0 @@
1
- import { GetFieldResponse } from '../[id]/get';
2
- export interface PostFieldsResponse {
3
- inserted: number;
4
- items: GetFieldResponse[];
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=response.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"response.js","sourceRoot":"","sources":["../../../src/fields/post/response.ts"],"names":[],"mappings":""}