@mydoormot/app-types 2.2.1 → 2.2.2
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/.turbo/turbo-build.log +18 -18
- package/CHANGELOG.md +6 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/tracker.ts +4 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
> @mydoormot/app-types@2.2.
|
|
3
|
-
> tsup src/index.ts --format esm,cjs --dts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
|
|
2
|
+
> @mydoormot/app-types@2.2.1 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
|
|
3
|
+
> tsup src/index.ts --format esm,cjs --dts
|
|
4
|
+
|
|
5
|
+
CLI Building entry: src/index.ts
|
|
6
|
+
CLI Using tsconfig: tsconfig.json
|
|
7
|
+
CLI tsup v7.3.0
|
|
8
|
+
CLI Target: es2021
|
|
9
|
+
ESM Build start
|
|
10
|
+
CJS Build start
|
|
11
|
+
ESM dist/index.js 15.13 KB
|
|
12
|
+
ESM ⚡️ Build success in 42ms
|
|
13
|
+
CJS dist/index.cjs 18.21 KB
|
|
14
|
+
CJS ⚡️ Build success in 43ms
|
|
15
|
+
DTS Build start
|
|
16
|
+
DTS ⚡️ Build success in 699ms
|
|
17
|
+
DTS dist/index.d.ts 58.82 KB
|
|
18
|
+
DTS dist/index.d.cts 58.82 KB
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1882,6 +1882,8 @@ type Tracker = {
|
|
|
1882
1882
|
type?: TrackerType;
|
|
1883
1883
|
/** Unset means unassigned. A vehicle has at most one tracker. */
|
|
1884
1884
|
vehicleId?: string;
|
|
1885
|
+
/** The assigned vehicle, on list and assign. */
|
|
1886
|
+
vehicleDetails?: Vehicle;
|
|
1885
1887
|
location?: GeoPoint;
|
|
1886
1888
|
lastPosition?: TrackerPosition;
|
|
1887
1889
|
lastSeenAt?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1882,6 +1882,8 @@ type Tracker = {
|
|
|
1882
1882
|
type?: TrackerType;
|
|
1883
1883
|
/** Unset means unassigned. A vehicle has at most one tracker. */
|
|
1884
1884
|
vehicleId?: string;
|
|
1885
|
+
/** The assigned vehicle, on list and assign. */
|
|
1886
|
+
vehicleDetails?: Vehicle;
|
|
1885
1887
|
location?: GeoPoint;
|
|
1886
1888
|
lastPosition?: TrackerPosition;
|
|
1887
1889
|
lastSeenAt?: string;
|
package/package.json
CHANGED
package/src/tracker.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Vehicle } from './vehicle';
|
|
2
|
+
|
|
1
3
|
/** GeoJSON Point. `coordinates` is `[longitude, latitude]`. */
|
|
2
4
|
export type GeoPoint = {
|
|
3
5
|
type: 'Point';
|
|
@@ -53,6 +55,8 @@ export type Tracker = {
|
|
|
53
55
|
type?: TrackerType;
|
|
54
56
|
/** Unset means unassigned. A vehicle has at most one tracker. */
|
|
55
57
|
vehicleId?: string;
|
|
58
|
+
/** The assigned vehicle, on list and assign. */
|
|
59
|
+
vehicleDetails?: Vehicle;
|
|
56
60
|
location?: GeoPoint;
|
|
57
61
|
lastPosition?: TrackerPosition;
|
|
58
62
|
lastSeenAt?: string;
|