update tab nhật ký (Lọc, Ngôn ngữ,...)

This commit is contained in:
2025-12-07 20:23:10 +07:00
parent 0672f8adf9
commit e405a0bcfa
17 changed files with 851 additions and 332 deletions

View File

@@ -93,7 +93,37 @@ declare namespace Model {
message?: string;
started_at?: number;
}
// Trip
// Body API trip
interface TripListBody {
name?: string;
order?: string;
dir?: "asc" | "desc";
limit: number;
offset: number;
metadata?: TripRequestMetadata;
}
interface TripRequestMetadata {
status?: string;
from?: string;
to?: string;
ship_name?: string;
reg_number?: string;
province_code?: string;
owner_id?: string;
ship_id?: string;
thing_id?: string;
}
interface TripsListResponse {
total?: number;
offset?: number;
limit?: number;
trips?: Trip[];
}
interface Trip {
id: string;
ship_id: string;