@spotto/contract 1.0.66-alpha.7 → 1.0.66-alpha.9
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.
|
@@ -17,10 +17,16 @@ export interface ILastLocation {
|
|
|
17
17
|
geolocation?: Point;
|
|
18
18
|
organisation?: IEmbeddedEntity;
|
|
19
19
|
status: LocationStatus;
|
|
20
|
+
supportsWith?: boolean;
|
|
20
21
|
withAsset?: {
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|
|
23
24
|
};
|
|
25
|
+
nearReader?: {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
type?: LocationType;
|
|
29
|
+
};
|
|
24
30
|
}
|
|
25
31
|
export interface ICandidateLocation extends IEmbeddedEntity {
|
|
26
32
|
type: LocationType;
|
|
@@ -6,7 +6,7 @@ exports.testGetSnapshotRequest = {
|
|
|
6
6
|
created: 123456789,
|
|
7
7
|
location: {
|
|
8
8
|
id: 'locationId',
|
|
9
|
-
name: 'locationName'
|
|
9
|
+
name: 'locationName',
|
|
10
10
|
},
|
|
11
11
|
computed: {
|
|
12
12
|
missingTotal: 0,
|
|
@@ -16,17 +16,17 @@ exports.testGetSnapshotRequest = {
|
|
|
16
16
|
count: 2,
|
|
17
17
|
countMissingTypes: 1,
|
|
18
18
|
countMissing: 1,
|
|
19
|
-
countSighted: 1
|
|
19
|
+
countSighted: 1,
|
|
20
20
|
},
|
|
21
21
|
manifestAssets: {
|
|
22
22
|
count: 2,
|
|
23
23
|
countMissing: 1,
|
|
24
|
-
countSighted: 1
|
|
24
|
+
countSighted: 1,
|
|
25
25
|
},
|
|
26
26
|
additional: {
|
|
27
27
|
countTypes: 1,
|
|
28
|
-
countAssets: 1
|
|
29
|
-
}
|
|
30
|
-
}
|
|
28
|
+
countAssets: 1,
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
31
|
};
|
|
32
32
|
//# sourceMappingURL=get.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/snapshots/[id]/get.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/snapshots/[id]/get.ts"],"names":[],"mappings":";;;AAwHa,QAAA,sBAAsB,GAAwB;IACzD,EAAE,EAAE,OAAO;IACX,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE;QACR,EAAE,EAAE,YAAY;QAChB,IAAI,EAAE,cAAc;KACrB;IACD,QAAQ,EAAE;QACR,YAAY,EAAE,CAAC;QACf,cAAc,EAAE,CAAC;QACjB,YAAY,EAAE,CAAC;QACf,aAAa,EAAE;YACb,KAAK,EAAE,CAAC;YACR,iBAAiB,EAAE,CAAC;YACpB,YAAY,EAAE,CAAC;YACf,YAAY,EAAE,CAAC;SAEhB;QACD,cAAc,EAAE;YACd,KAAK,EAAE,CAAC;YACR,YAAY,EAAE,CAAC;YACf,YAAY,EAAE,CAAC;SAChB;QACD,UAAU,EAAE;YACV,UAAU,EAAE,CAAC;YACb,WAAW,EAAE,CAAC;SACf;KACF;CACF,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotto/contract",
|
|
3
3
|
"license": "ISC",
|
|
4
|
-
"version": "1.0.66-alpha.
|
|
4
|
+
"version": "1.0.66-alpha.9",
|
|
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": "bcdc10df1eba51f245ddbab6fa8dd7e24d79054d"
|
|
22
22
|
}
|