FEAT: Rename 'Depth' to 'Draft' in Berth model and update related components for consistency

This commit is contained in:
2025-06-17 16:18:29 +02:00
parent adf226a38a
commit 150f7f9aa9
3 changed files with 76 additions and 61 deletions

View File

@@ -79,10 +79,15 @@ export interface Berth {
Area: string; // Area enum values: A, B, C, D, E
Status: string; // BerthStatus enum values
"Nominal Boat Size": number; // in feet (imperial)
"Nominal Boat Size (Metric)": number; // formula field - read only
"Water Depth": number; // in feet
"Water Depth (Metric)": number; // formula field - read only
Length: number; // in feet
"Length (Metric)": number; // formula field - read only
Width: number; // in feet
Depth: number; // in feet
"Width (Metric)": number; // formula field - read only
Draft: number; // in feet (was previously "Depth")
"Draft (Metric)": number; // formula field - read only
"Side Pontoon": string; // SidePontoon enum values
"Power Capacity": number;
Voltage: number;
@@ -95,10 +100,6 @@ export interface Berth {
Access: string; // Access enum values
Price: number;
"Interested Parties"?: InterestedParty[];
"Map Data"?: {};
"Water Depth Is Minimum"?: boolean;
"Width Is Minimum"?: boolean;
"Berth Approved"?: boolean;
"Created At"?: string;
"Updated At"?: string;
}