clarion-shared-types 1.0.92 → 1.0.93
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.
|
@@ -60,6 +60,12 @@ export interface TrackingBoundingBox {
|
|
|
60
60
|
west: number;
|
|
61
61
|
}
|
|
62
62
|
export interface TrackingCurrentPositionQuery {
|
|
63
|
+
/**
|
|
64
|
+
* Tenant to read. REQUIRED for a Super-Admin, who has no tenant of their own
|
|
65
|
+
* (the service answers 403 without it); ignored for everyone else, whose scope
|
|
66
|
+
* always comes from their own access context and cannot be widened from here.
|
|
67
|
+
*/
|
|
68
|
+
organizationId?: number;
|
|
63
69
|
controlCentreId?: number;
|
|
64
70
|
status?: TrackingUnitOnlineStatus;
|
|
65
71
|
north?: number;
|
|
@@ -15,7 +15,12 @@ export interface TrackingPositionSocketEvent {
|
|
|
15
15
|
longitude: number;
|
|
16
16
|
accuracyMetres?: number;
|
|
17
17
|
speedKph?: number;
|
|
18
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Heading in degrees clockwise from north, [0,360). Resolved by the server:
|
|
20
|
+
* the provider's course while moving, else the direction actually travelled,
|
|
21
|
+
* else the last known heading. Omitted ONLY when it is genuinely unknown —
|
|
22
|
+
* keep whatever heading is already shown; do not reset the unit to north.
|
|
23
|
+
*/
|
|
19
24
|
courseDegrees?: number;
|
|
20
25
|
moving?: boolean;
|
|
21
26
|
ignitionOn?: boolean;
|