update tab nhật ký (Lọc, Ngôn ngữ,...)
This commit is contained in:
30
controller/typings.d.ts
vendored
30
controller/typings.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user