Files
TREK/server/src/db/kysely/Places.table.ts
T
Maurice 1ea435d730 ci: server and shared lint stop rewriting files, and Prettier is checked per file
shared's lint ran eslint --fix with prettier/prettier as an error, so in
lint-prettier.yml the format:check after it only ever saw files it had just
rewritten, and the server's format scripts pointed at a test/ directory that
does not exist. Now lint is check-only in both (lint:fix applies fixes), the
server scripts cover src/ and tests/, and a lint:format ratchet on the shared
library holds every file outside scripts/format-baseline.json to Prettier in
both workspaces: in the server job of test.yml and in lint-prettier.yml,
which keeps providing the lint check. Formatting leaves ESLint in shared, and
the unused eslint-plugin-prettier goes. Once the tree is reformatted in one
commit, --update empties the baselines and the check is a full prettier
--check.
2026-10-10 20:15:54 +02:00

41 lines
1.7 KiB
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 PlacesTable {
id: InsertOptional<number>;
trip_id: number;
name: string;
description: InsertOptional<string | null>;
lat: InsertOptional<number | null>;
lng: InsertOptional<number | null>;
address: InsertOptional<string | null>;
category_id: InsertOptional<number | null>;
price: InsertOptional<number | null>;
currency: InsertOptional<string | null>;
reservation_status: InsertOptional<string | null>;
reservation_notes: InsertOptional<string | null>;
reservation_datetime: InsertOptional<string | null>;
place_time: InsertOptional<string | null>;
end_time: InsertOptional<string | null>;
duration_minutes: InsertOptional<number | null>;
notes: InsertOptional<string | null>;
image_url: InsertOptional<string | null>;
google_place_id: InsertOptional<string | null>;
google_ftid: InsertOptional<string | null>;
website: InsertOptional<string | null>;
phone: InsertOptional<string | null>;
transport_mode: InsertOptional<string | null>;
created_at: InsertOptional<string | null>;
updated_at: InsertOptional<string | null>;
osm_id: InsertOptional<string | null>;
route_geometry: InsertOptional<string | null>;
route_color: InsertOptional<string | null>;
stop_type: InsertOptional<string | null>;
fill_percent: InsertOptional<number | null>;
amap_poi_id: InsertOptional<string | null>;
source: InsertOptional<string | null>;
email: InsertOptional<string | null>;
opening_hours: InsertOptional<string | null>;
}