mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-01 08:53:13 +00:00
baa906fb6b
Five tables carry the mail import: forwarding addresses (token hash plus the encrypted token), a person's switches, the readers' cursor and lease, every mail as it arrived, and each booking read from it with its checks and fate. Repositories read the trips a booking may go to by column, so the import weighs a booking without reaching into five other domains.
12 lines
400 B
TypeScript
12 lines
400 B
TypeScript
// 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 MailIngestPrefsTable {
|
|
id: InsertOptional<number>;
|
|
user_id: number;
|
|
enabled: InsertOptional<number>;
|
|
ai_enabled: InsertOptional<number>;
|
|
auto_add: InsertOptional<number>;
|
|
}
|