Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

1.2 KB
Raw Blame
// Generated by scripts/generate-db-types.ts from the migrated schema. Do not edit by hand:
// change the migration, then run `npm run gen:db-types`.
import type { InsertOptional } from './columns';

export interface FlightLiveStatesTable {
  callsign: string;
  service_date: string;
  origin: string;
  destination: string;
  phase: InsertOptional<string>;
  departed_at: InsertOptional<string | null>;
  landed_at: InsertOptional<string | null>;
  lat: InsertOptional<number | null>;
  lng: InsertOptional<number | null>;
  altitude_ft: InsertOptional<number | null>;
  ground_speed_kt: InsertOptional<number | null>;
  track_deg: InsertOptional<number | null>;
  vertical_rate_fpm: InsertOptional<number | null>;
  on_ground: InsertOptional<number | null>;
  registration: InsertOptional<string | null>;
  aircraft_type: InsertOptional<string | null>;
  source: InsertOptional<string | null>;
  first_seen_at: InsertOptional<string | null>;
  last_seen_at: InsertOptional<string | null>;
  fetched_at: InsertOptional<string | null>;
  next_poll_at: InsertOptional<string | null>;
  fail_count: InsertOptional<number>;
  departed_notified: InsertOptional<number>;
  landed_notified: InsertOptional<number>;
  delay_notified: InsertOptional<number>;
}