diff --git a/src/src/app/types/settings.ts b/src/src/app/types/settings.ts index 1bbfcc1..0e81bf4 100644 --- a/src/src/app/types/settings.ts +++ b/src/src/app/types/settings.ts @@ -17,3 +17,14 @@ export interface ImportResponse { categories: Category[]; settings: Settings; } + +export interface Backup { + id: number; + status: string; + user: string; + filename?: string; + file_size?: number; + completed_at?: string; + created_at?: string; + error_message?: string; +} diff --git a/src/src/app/types/trip.ts b/src/src/app/types/trip.ts index ef2f536..df51fda 100644 --- a/src/src/app/types/trip.ts +++ b/src/src/app/types/trip.ts @@ -22,6 +22,7 @@ export interface Trip { currency: string; notes?: string; archival_review?: string; + attachments?: TripAttachment[]; // POST / PUT places: Place[]; @@ -29,6 +30,13 @@ export interface Trip { shared?: boolean; } +export interface TripAttachment { + id: number; + filename: string; + file_size: number; + uploaded_by: string; +} + export interface TripDay { id: number; label: string;