mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-23 07:26:30 +00:00
2c98ae8e4a
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.
21 lines
765 B
TypeScript
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>;
|
|
}
|