Refactor composite submission logic

This commit is contained in:
gpt-engineer-app[bot]
2025-11-02 20:29:08 +00:00
parent 6a9df807fa
commit bb951e637f
6 changed files with 290 additions and 23 deletions

View File

@@ -35,6 +35,37 @@ export interface TempCompanyData {
website_url?: string;
}
export interface TempParkData {
name: string;
slug: string;
park_type: string;
status: string;
description?: string;
opening_date?: string;
closing_date?: string;
operator_id?: string;
property_owner_id?: string;
website_url?: string;
phone?: string;
email?: string;
location?: {
name: string;
city?: string;
state_province?: string;
country: string;
postal_code?: string;
latitude: number;
longitude: number;
};
images?: {
uploaded: UploadedImage[];
banner_assignment?: number | null;
card_assignment?: number | null;
};
_tempNewOperator?: TempCompanyData;
_tempNewPropertyOwner?: TempCompanyData;
}
export interface TempRideModelData {
name: string;
slug: string;