mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 21:11:14 +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.
33 lines
1.2 KiB
TypeScript
33 lines
1.2 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 DawarichVisitSuggestionsTable {
|
|
id: InsertOptional<number>;
|
|
user_id: number;
|
|
source_visit_id: string;
|
|
trip_id: InsertOptional<number | null>;
|
|
name: string;
|
|
lat: InsertOptional<number | null>;
|
|
lng: InsertOptional<number | null>;
|
|
started_at: string;
|
|
ended_at: string;
|
|
duration_minutes: InsertOptional<number>;
|
|
local_date: string;
|
|
source_status: InsertOptional<string>;
|
|
confidence: InsertOptional<number | null>;
|
|
confidence_band: InsertOptional<string | null>;
|
|
country_code: InsertOptional<string | null>;
|
|
state: InsertOptional<string>;
|
|
target: InsertOptional<string | null>;
|
|
accepted_place_id: InsertOptional<number | null>;
|
|
accepted_journal_entry_id: InsertOptional<number | null>;
|
|
accepted_bucket_list_item_id: InsertOptional<number | null>;
|
|
matched_bucket_list_item_id: InsertOptional<number | null>;
|
|
source_hash: string;
|
|
accepted_hash: InsertOptional<string | null>;
|
|
source_missing_at: InsertOptional<string | null>;
|
|
first_seen_at: InsertOptional<string>;
|
|
last_seen_at: InsertOptional<string>;
|
|
}
|