refactor: everything to nuxt.js
This commit is contained in:
20
app/utils/boat.types.ts
Normal file
20
app/utils/boat.types.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import type { Models } from 'appwrite';
|
||||
|
||||
export interface Boat extends Models.Document {
|
||||
$id: string;
|
||||
name: string;
|
||||
displayName?: string;
|
||||
class?: string;
|
||||
year?: number;
|
||||
imgSrc?: string;
|
||||
iconSrc?: string;
|
||||
bookingAvailable: boolean;
|
||||
requiredCerts: string[];
|
||||
maxPassengers: number;
|
||||
defects: {
|
||||
type: string;
|
||||
severity: string;
|
||||
description: string;
|
||||
detail?: string;
|
||||
}[];
|
||||
}
|
||||
Reference in New Issue
Block a user