// Most recent known position for a device, from whichever source is newest —
// a live "status" ping (never persisted as a LocatePoint) or a persisted
// "log" point. Stored as JSON on Device.lastPosition.
export interface DevicePositionSnapshot {
  lat: number;
  lng: number;
  altitude: number | null;
  utilityType: string;
  fixType: string;
  hAccuracy: number | null;
  vAccuracy: number | null;
  satellites: number | null;
  hdop: number | null;
  depth: number | null;
  frequencyHz: number | null;
  currentMa: number | null;
  signalDb: number | null;
  gainDb: number | null;
  locateMode: string | null;
  phaseDeg: number | null;
  compassDeg: number | null;
  distortionPct: number | null;
  recordedAt: string;
  jobId: string;
  jobTicketNumber: string;
  jobTitle: string;
}
