thêm toast, thêm logic cho phần ButtonCreateNewHaulOrTrip
This commit is contained in:
14
controller/typings.d.ts
vendored
14
controller/typings.d.ts
vendored
@@ -7,7 +7,7 @@ declare namespace Model {
|
||||
token?: string;
|
||||
}
|
||||
|
||||
interface GPSResonse {
|
||||
interface GPSResponse {
|
||||
lat: number;
|
||||
lon: number;
|
||||
s: number;
|
||||
@@ -174,4 +174,16 @@ declare namespace Model {
|
||||
fish_condition?: string;
|
||||
gear_usage?: string;
|
||||
}
|
||||
interface NewFishingLogRequest {
|
||||
trip_id: string;
|
||||
start_at: Date; // ISO datetime
|
||||
start_lat: number;
|
||||
start_lon: number;
|
||||
weather_description: string;
|
||||
}
|
||||
|
||||
interface TripUpdateStateRequest {
|
||||
status: number;
|
||||
note?: string;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user