Trip: Attachment and Backup interfaces

This commit is contained in:
itskovacs 2025-10-15 23:35:29 +02:00
parent 2b7d517c51
commit 118f64e449
2 changed files with 19 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;