Refactor: Implement cleanup plan

This commit is contained in:
gpt-engineer-app[bot]
2025-10-03 13:54:27 +00:00
parent c51c848da4
commit f061bb9d5f
9 changed files with 49 additions and 155 deletions

View File

@@ -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[];

View File

@@ -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;
}
/**