@skyvexsoftware/stratos-sdk 0.7.4 → 0.7.6
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.
|
@@ -24,7 +24,6 @@ type UseTrackingSessionReturn = {
|
|
|
24
24
|
elapsedTime: number;
|
|
25
25
|
phase: FlightPhase;
|
|
26
26
|
startFlight: (plan: FlightPlan, options?: {
|
|
27
|
-
skipPreflightWarnings?: boolean;
|
|
28
27
|
forceStart?: boolean;
|
|
29
28
|
}) => Promise<StartFlightResult>;
|
|
30
29
|
pauseFlight: () => Promise<boolean>;
|
|
@@ -49,6 +49,8 @@ export type CurrentFlight = {
|
|
|
49
49
|
startingFuel: number;
|
|
50
50
|
currentFuel: number;
|
|
51
51
|
landingFuel: number | null;
|
|
52
|
+
/** Fuel burned on previously-completed legs of a multi-leg flight (refuel stops, helo repeated ops). Folded into the final fuel_used at submission. */
|
|
53
|
+
fuelUsedPriorLegs: number;
|
|
52
54
|
lastUpdateSentAt: number | null;
|
|
53
55
|
updatesSent: number;
|
|
54
56
|
updateIntervalMs: number;
|
|
@@ -67,7 +69,6 @@ export type PreflightCheck = {
|
|
|
67
69
|
name: string;
|
|
68
70
|
passed: boolean;
|
|
69
71
|
message: string;
|
|
70
|
-
severity: "error" | "warning";
|
|
71
72
|
};
|
|
72
73
|
export type PreflightCheckResult = {
|
|
73
74
|
passed: boolean;
|
|
@@ -75,7 +76,6 @@ export type PreflightCheckResult = {
|
|
|
75
76
|
};
|
|
76
77
|
/** Options for startFlight */
|
|
77
78
|
export type StartFlightOptions = {
|
|
78
|
-
skipPreflightWarnings?: boolean;
|
|
79
79
|
forceStart?: boolean;
|
|
80
80
|
};
|
|
81
81
|
/** Lean subset of stored flight data for recovery prompt in the renderer */
|