@spotto/contract 1.0.69-alpha.2 → 1.0.69-alpha.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.
- package/README.md +33 -33
- package/dist/assets/[id]/get.d.ts +17 -0
- package/dist/assets/get/query.d.ts +21 -10
- package/dist/assets/location/request.d.ts +4 -0
- package/dist/assets/summary/index.d.ts +1 -0
- package/dist/assets/summary/index.js +1 -0
- package/dist/assets/summary/index.js.map +1 -1
- package/dist/assets/summary/response.d.ts +7 -0
- package/dist/assets/summary/response.js +3 -0
- package/dist/assets/summary/response.js.map +1 -0
- package/dist/events/constants.d.ts +1 -1
- package/dist/events/constants.js +1 -0
- package/dist/events/constants.js.map +1 -1
- package/dist/events/get/response.d.ts +32 -16
- package/dist/fields/constants.d.ts +1 -1
- package/dist/fields/constants.js +24 -19
- package/dist/fields/constants.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/integrations/constants.d.ts +21 -0
- package/dist/integrations/constants.js +5 -0
- package/dist/integrations/constants.js.map +1 -1
- package/dist/integrations/index.d.ts +1 -0
- package/dist/integrations/index.js +1 -0
- package/dist/integrations/index.js.map +1 -1
- package/dist/integrations/oneblink/index.d.ts +2 -0
- package/dist/integrations/oneblink/index.js +19 -0
- package/dist/integrations/oneblink/index.js.map +1 -0
- package/dist/integrations/oneblink/patch/index.d.ts +1 -0
- package/dist/integrations/oneblink/patch/index.js +18 -0
- package/dist/integrations/oneblink/patch/index.js.map +1 -0
- package/dist/integrations/oneblink/patch/request.d.ts +7 -0
- package/dist/integrations/oneblink/patch/request.js +3 -0
- package/dist/integrations/oneblink/patch/request.js.map +1 -0
- package/dist/integrations/oneblink/token.d.ts +4 -0
- package/dist/integrations/oneblink/token.js +3 -0
- package/dist/integrations/oneblink/token.js.map +1 -0
- package/dist/locations/constants.d.ts +1 -1
- package/dist/locations/constants.js +2 -0
- package/dist/locations/constants.js.map +1 -1
- package/dist/manifests/get/query.d.ts +3 -2
- package/dist/manifests/index.d.ts +1 -0
- package/dist/manifests/index.js +1 -0
- package/dist/manifests/index.js.map +1 -1
- package/dist/manifests/suggestions/index.d.ts +2 -0
- package/dist/manifests/suggestions/index.js +19 -0
- package/dist/manifests/suggestions/index.js.map +1 -0
- package/dist/manifests/suggestions/query.d.ts +5 -0
- package/dist/manifests/suggestions/query.js +3 -0
- package/dist/manifests/suggestions/query.js.map +1 -0
- package/dist/manifests/suggestions/response.d.ts +15 -0
- package/dist/manifests/suggestions/response.js +3 -0
- package/dist/manifests/suggestions/response.js.map +1 -0
- package/dist/organisations/constants.d.ts +0 -1
- package/dist/reports.d.ts +38 -0
- package/dist/reports.js +3 -0
- package/dist/reports.js.map +1 -0
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/index.js +1 -0
- package/dist/shared/index.js.map +1 -1
- package/dist/shared/relative-date.d.ts +17 -0
- package/dist/shared/relative-date.js +12 -0
- package/dist/shared/relative-date.js.map +1 -0
- package/dist/snapshots/[id]/get.d.ts +16 -0
- package/dist/snapshots/[id]/get.js +1 -0
- package/dist/snapshots/[id]/get.js.map +1 -1
- package/dist/snapshots/get/query.d.ts +2 -2
- package/dist/snapshots/post/request.d.ts +4 -1
- package/dist/snapshots/post/request.js.map +1 -1
- package/dist/system/index.d.ts +4 -2
- package/dist/types/[id]/get.d.ts +0 -2
- package/dist/users/current.d.ts +2 -0
- package/dist/views/[id]/index.d.ts +1 -0
- package/dist/views/[id]/index.js +18 -0
- package/dist/views/[id]/index.js.map +1 -0
- package/dist/views/[id]/patch/index.d.ts +2 -0
- package/dist/views/[id]/patch/index.js +19 -0
- package/dist/views/[id]/patch/index.js.map +1 -0
- package/dist/views/[id]/patch/request.d.ts +9 -0
- package/dist/views/[id]/patch/request.js +3 -0
- package/dist/views/[id]/patch/request.js.map +1 -0
- package/dist/views/[id]/patch/response.d.ts +1 -0
- package/dist/views/[id]/patch/response.js +3 -0
- package/dist/views/[id]/patch/response.js.map +1 -0
- package/dist/views/get/index.d.ts +2 -0
- package/dist/views/get/index.js +19 -0
- package/dist/views/get/index.js.map +1 -0
- package/dist/views/get/query.d.ts +12 -0
- package/dist/views/get/query.js +3 -0
- package/dist/views/get/query.js.map +1 -0
- package/dist/views/get/response.d.ts +20 -0
- package/dist/views/get/response.js +3 -0
- package/dist/views/get/response.js.map +1 -0
- package/dist/views/index.d.ts +4 -0
- package/dist/views/index.js +21 -0
- package/dist/views/index.js.map +1 -0
- package/dist/views/post/index.d.ts +2 -0
- package/dist/views/post/index.js +19 -0
- package/dist/views/post/index.js.map +1 -0
- package/dist/views/post/request.d.ts +10 -0
- package/dist/views/post/request.js +3 -0
- package/dist/views/post/request.js.map +1 -0
- package/dist/views/post/response.d.ts +1 -0
- package/dist/views/post/response.js +3 -0
- package/dist/views/post/response.js.map +1 -0
- package/dist/views/shared.d.ts +26 -0
- package/dist/views/shared.js +3 -0
- package/dist/views/shared.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SortOrders } from '../shared';
|
|
2
|
+
import { AssetSortField } from '../assets/get/query';
|
|
3
|
+
export declare type ViewEntityType = 'asset';
|
|
4
|
+
export declare type ViewVisibility = 'private' | 'organisation';
|
|
5
|
+
export interface AssetViewFilters {
|
|
6
|
+
search?: string;
|
|
7
|
+
typePathBeginsWith?: string[];
|
|
8
|
+
locationPathBeginsWith?: string[];
|
|
9
|
+
customFieldValues?: string;
|
|
10
|
+
supportsWith?: boolean;
|
|
11
|
+
withAsset?: boolean;
|
|
12
|
+
createdAt?: string;
|
|
13
|
+
updatedAt?: string;
|
|
14
|
+
lastSeen?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare type ViewFilters = AssetViewFilters;
|
|
17
|
+
interface BaseViewDisplay {
|
|
18
|
+
columnVisibility?: Record<string, boolean>;
|
|
19
|
+
columnOrder?: string[];
|
|
20
|
+
sortOrder?: SortOrders;
|
|
21
|
+
}
|
|
22
|
+
export interface AssetViewDisplay extends BaseViewDisplay {
|
|
23
|
+
sort?: AssetSortField;
|
|
24
|
+
}
|
|
25
|
+
export declare type ViewDisplay = AssetViewDisplay;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/views/shared.ts"],"names":[],"mappings":""}
|
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.21",
|
|
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": "1e06b9d2ee7793a9b38c27b276e878e9a2ba75f1"
|
|
22
22
|
}
|