Files
TREK/server/src/db/kysely/TrekPhotoSignals.table.ts
T
Maurice 2c98ae8e4a feat(photos): a photo knows its colours and its calm areas
Photo signals move to version 3: a deterministic palette, a busy grid and
the point of most detail, stored as measured values, never as image bytes.
2026-10-22 21:34:15 +00:00

21 lines
765 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 TrekPhotoSignalsTable {
id: InsertOptional<number>;
photo_id: number;
algo: number;
phash: InsertOptional<string | null>;
sharpness: InsertOptional<number | null>;
luma: InsertOptional<number | null>;
clipped: InsertOptional<number | null>;
orig_width: InsertOptional<number | null>;
orig_height: InsertOptional<number | null>;
computed_at: InsertOptional<string>;
palette: InsertOptional<string | null>;
busy: InsertOptional<string | null>;
sal_x: InsertOptional<number | null>;
sal_y: InsertOptional<number | null>;
}