@spotto/contract 1.0.31 → 1.0.32
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.
|
@@ -3,6 +3,7 @@ import { IEmbeddedLabel } from '../../labels';
|
|
|
3
3
|
import { LocationType } from '../../locations/constants';
|
|
4
4
|
import { IEntityMeta, IEmbeddedEntity } from '../../shared';
|
|
5
5
|
import { IAssetTelemetry } from '../../telemetry';
|
|
6
|
+
import { IFieldValue } from '../../types';
|
|
6
7
|
export interface ILastLocation {
|
|
7
8
|
id?: string;
|
|
8
9
|
name?: string;
|
|
@@ -31,6 +32,7 @@ export interface GetAssetResponse {
|
|
|
31
32
|
typeId?: string;
|
|
32
33
|
typeName?: string;
|
|
33
34
|
typePath?: string;
|
|
35
|
+
fieldValues?: IFieldValue[];
|
|
34
36
|
score?: number;
|
|
35
37
|
meta?: IEntityMeta;
|
|
36
38
|
telemetry?: IAssetTelemetry;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { IFieldValueWithConstraints } from '../../types';
|
|
1
2
|
export interface PostAssetRequest {
|
|
2
3
|
name?: string;
|
|
3
4
|
nameSuffix?: string;
|
|
4
5
|
tagIds?: string[];
|
|
5
6
|
labels?: string[];
|
|
6
7
|
typeId?: string;
|
|
8
|
+
fieldValues?: IFieldValueWithConstraints[];
|
|
7
9
|
}
|
|
8
10
|
export declare type PostAssetsRequest = PostAssetRequest[];
|
|
9
11
|
export declare const testPostAssetRequest: PostAssetRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../src/assets/post/request.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../src/assets/post/request.ts"],"names":[],"mappings":";;;AAca,QAAA,oBAAoB,GAAqB;IACpD,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,MAAM;IAClB,MAAM,EAAE,OAAO;CAChB,CAAC"}
|
package/dist/types/[id]/get.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotto/contract",
|
|
3
3
|
"license": "ISC",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.32",
|
|
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": "
|
|
17
|
+
"gitHead": "f23cf9b7df9e04bdc2a8f6c2c803297b4651e9e6"
|
|
18
18
|
}
|