@spotto/contract 1.0.69-alpha.15 → 1.0.69-alpha.17

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.
@@ -48,6 +48,8 @@ export interface AssetFilters {
48
48
  customFieldValues?: CustomFieldValues;
49
49
  locationWithIds?: string[];
50
50
  manifestIds?: string[];
51
+ supportsWith?: boolean;
52
+ withAsset?: boolean;
51
53
  }
52
54
  export interface GetAssetsQuery extends AssetFilters {
53
55
  page?: number;
package/dist/index.d.ts CHANGED
@@ -18,3 +18,4 @@ export * from './snapshots';
18
18
  export * from './fields';
19
19
  export * from './workflows';
20
20
  export * from './system';
21
+ export * from './reports';
package/dist/index.js CHANGED
@@ -34,4 +34,5 @@ __exportStar(require("./snapshots"), exports);
34
34
  __exportStar(require("./fields"), exports);
35
35
  __exportStar(require("./workflows"), exports);
36
36
  __exportStar(require("./system"), exports);
37
+ __exportStar(require("./reports"), exports);
37
38
  //# 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,2CAAwB;AACxB,2CAAwB;AACxB,iDAA8B;AAC9B,2CAAwB;AACxB,2CAAwB;AACxB,8CAA2B;AAC3B,6CAA0B;AAC1B,kDAA+B;AAC/B,4CAAyB;AACzB,0CAAuB;AACvB,yCAAsB;AACtB,8CAA2B;AAC3B,0CAAuB;AACvB,8CAA2B;AAC3B,0CAAuB;AACvB,2CAAwB;AACxB,8CAA2B;AAC3B,2CAAwB;AACxB,8CAA2B;AAC3B,2CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,2CAAwB;AACxB,iDAA8B;AAC9B,2CAAwB;AACxB,2CAAwB;AACxB,8CAA2B;AAC3B,6CAA0B;AAC1B,kDAA+B;AAC/B,4CAAyB;AACzB,0CAAuB;AACvB,yCAAsB;AACtB,8CAA2B;AAC3B,0CAAuB;AACvB,8CAA2B;AAC3B,0CAAuB;AACvB,2CAAwB;AACxB,8CAA2B;AAC3B,2CAAwB;AACxB,8CAA2B;AAC3B,2CAAwB;AACxB,4CAAyB"}
@@ -0,0 +1,38 @@
1
+ import { IEntityMeta, StandardSortFields, SortOrders } from './shared';
2
+ export interface SavedFilterValues {
3
+ search?: string;
4
+ typePathBeginsWith?: string[];
5
+ locationPathBeginsWith?: string[];
6
+ customFieldValues?: string;
7
+ supportsWith?: boolean;
8
+ withAsset?: boolean;
9
+ columnVisibility?: Record<string, boolean>;
10
+ visibleColumnCount?: number;
11
+ }
12
+ export declare type ReportEmbedField = 'meta';
13
+ export interface GetReportResponse {
14
+ id: string;
15
+ name: string;
16
+ description?: string;
17
+ filters: SavedFilterValues;
18
+ meta?: IEntityMeta;
19
+ }
20
+ export interface GetReportsQuery {
21
+ page?: number;
22
+ limit?: number;
23
+ ids?: string[];
24
+ sort?: StandardSortFields;
25
+ sortOrder?: SortOrders;
26
+ embed?: Array<ReportEmbedField>;
27
+ }
28
+ export interface GetReportsResponse {
29
+ query: GetReportsQuery | null;
30
+ total: number;
31
+ items: GetReportResponse[];
32
+ }
33
+ export interface PostReportRequest {
34
+ name: string;
35
+ description?: string;
36
+ filters?: SavedFilterValues;
37
+ }
38
+ export declare type PostReportResponse = GetReportResponse;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=reports.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reports.js","sourceRoot":"","sources":["../src/reports.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.15",
4
+ "version": "1.0.69-alpha.17",
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": "a39c0d47aaed97f9279b4ddb7729ee34255012a7"
21
+ "gitHead": "fc6478a48cbaf274c0b55c376066596e4f799eb9"
22
22
  }