mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-21 22:46:32 +00:00
1ea435d730
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.
23 lines
947 B
TypeScript
23 lines
947 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 DayAssignmentsTable {
|
|
id: InsertOptional<number>;
|
|
day_id: number;
|
|
place_id: number;
|
|
order_index: InsertOptional<number | null>;
|
|
notes: InsertOptional<string | null>;
|
|
reservation_status: InsertOptional<string | null>;
|
|
reservation_notes: InsertOptional<string | null>;
|
|
reservation_datetime: InsertOptional<string | null>;
|
|
created_at: InsertOptional<string | null>;
|
|
assignment_time: InsertOptional<string | null>;
|
|
assignment_end_time: InsertOptional<string | null>;
|
|
leg_transport_mode: InsertOptional<string | null>;
|
|
incoming_leg_transport_mode: InsertOptional<string | null>;
|
|
end_day: InsertOptional<number>;
|
|
accommodation_id: InsertOptional<number | null>;
|
|
route_excluded: InsertOptional<number>;
|
|
}
|