Trip: Attachment and Backup interfaces
This commit is contained in:
parent
2b7d517c51
commit
118f64e449
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user