mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 22:51:13 -05:00
Refactor: Implement cleanup plan
This commit is contained in:
@@ -112,8 +112,7 @@ export interface RideModel {
|
||||
category: 'roller_coaster' | 'flat_ride' | 'water_ride' | 'dark_ride' | 'kiddie_ride' | 'transportation';
|
||||
ride_type: string;
|
||||
description?: string;
|
||||
technical_specs?: any; // ⚠️ DEPRECATED - Use ride_model_technical_specifications table instead
|
||||
technical_specifications?: RideModelTechnicalSpec[]; // New relational data
|
||||
technical_specifications?: RideModelTechnicalSpec[];
|
||||
}
|
||||
|
||||
export interface Ride {
|
||||
@@ -138,10 +137,6 @@ export interface Ride {
|
||||
max_height_meters?: number;
|
||||
length_meters?: number;
|
||||
inversions?: number;
|
||||
coaster_stats?: any; // ⚠️ DEPRECATED - Use ride_coaster_statistics table instead
|
||||
technical_specs?: any; // ⚠️ DEPRECATED - Use ride_technical_specifications table instead
|
||||
former_names?: any; // ⚠️ DEPRECATED - Use ride_name_history table instead
|
||||
// New relational data
|
||||
technical_specifications?: RideTechnicalSpec[];
|
||||
coaster_statistics?: RideCoasterStat[];
|
||||
name_history?: RideNameHistory[];
|
||||
|
||||
@@ -54,10 +54,6 @@ export interface UppyPhotoSubmissionUploadProps {
|
||||
entityId: string;
|
||||
entityType: EntityType;
|
||||
parentId?: string; // Optional parent (e.g., parkId for rides)
|
||||
|
||||
// Deprecated (kept for backwards compatibility)
|
||||
parkId?: string;
|
||||
rideId?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user