mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 14:51:13 -05:00
Fix ride versioning inconsistencies
This commit is contained in:
27
src/types/ride-former-names.ts
Normal file
27
src/types/ride-former-names.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* Ride Former Names Types
|
||||
* Relational replacement for JSONB former_names field
|
||||
*/
|
||||
|
||||
export interface RideFormerName {
|
||||
id: string;
|
||||
ride_id: string;
|
||||
name: string;
|
||||
used_from: string | null;
|
||||
used_until: string | null;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
}
|
||||
|
||||
export interface RideFormerNameInsert {
|
||||
ride_id: string;
|
||||
name: string;
|
||||
used_from?: string | null;
|
||||
used_until?: string | null;
|
||||
}
|
||||
|
||||
export interface RideFormerNameUpdate {
|
||||
name?: string;
|
||||
used_from?: string | null;
|
||||
used_until?: string | null;
|
||||
}
|
||||
Reference in New Issue
Block a user