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 MailIngestMessagesTable {
  id: InsertOptional<number>;
  transport: string;
  message_id_hdr: InsertOptional<string | null>;
  dedupe_hash: string;
  address_id: InsertOptional<number | null>;
  user_id: number;
  trip_id: InsertOptional<number | null>;
  from_addr: InsertOptional<string | null>;
  from_verified: InsertOptional<number>;
  auth_results: InsertOptional<string | null>;
  subject: InsertOptional<string | null>;
  received_at: InsertOptional<string>;
  size: number;
  raw_eml_enc: InsertOptional<string | null>;
  raw_purged_at: InsertOptional<string | null>;
  status: InsertOptional<string>;
  reason: InsertOptional<string | null>;
  hints: InsertOptional<string | null>;
  attachments: InsertOptional<string | null>;
  forwarding_code: InsertOptional<string | null>;
  attempts: InsertOptional<number>;
  next_attempt_at: InsertOptional<string>;
  lease_until: InsertOptional<string | null>;
  ai_used: InsertOptional<number>;
  processed_at: InsertOptional<string | null>;
}