mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 15:31:13 -05:00
Refactor composite submission logic
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user