feat(sgw): Add new services and utilities for ship, trip, and photo management

This commit is contained in:
Lê Tuấn Anh
2026-01-23 15:18:02 +07:00
parent e5b388505a
commit 1a06328c77
75 changed files with 9749 additions and 8 deletions

View File

@@ -2,3 +2,31 @@ export const SGW_ROUTE_HOME = '/maps';
export const SGW_ROUTE_TRIP = '/trip';
export const SGW_ROUTE_CREATE_BANZONE = '/manager/banzones/create';
export const SGW_ROUTE_MANAGER_BANZONE = '/manager/banzones';
// API Routes
export const SGW_ROUTE_PORTS = '/api/sgw/ports';
export const SGW_ROUTE_SHIPS = '/api/sgw/ships';
export const SGW_ROUTE_SHIP_TYPES = '/api/sgw/ships/types';
export const SGW_ROUTE_SHIP_GROUPS = '/api/sgw/shipsgroup';
// Trip API Routes
export const SGW_ROUTE_TRIPS = '/api/sgw/trips';
export const SGW_ROUTE_TRIPS_LIST = '/api/sgw/tripslist';
export const SGW_ROUTE_TRIPS_LAST = '/api/sgw/trips/last';
export const SGW_ROUTE_TRIPS_BY_ID = '/api/sgw/trips-by-id';
export const SGW_ROUTE_UPDATE_TRIP_STATUS = '/api/sgw/update-trip-status';
export const SGW_ROUTE_HAUL_HANDLE = '/api/sgw/haul-handle';
export const SGW_ROUTE_GET_FISH = '/api/sgw/fish-species';
export const SGW_ROUTE_UPDATE_FISHING_LOGS = '/api/sgw/update-fishing-logs';
// Crew API Routes
export const SGW_ROUTE_CREW = '/api/sgw/crew';
export const SGW_ROUTE_TRIP_CREW = '/api/sgw/tripcrew';
export const SGW_ROUTE_TRIPS_CREWS = '/api/sgw/trips/crews';
// Photo API Routes
export const SGW_ROUTE_PHOTO = '/api/sgw/photo';
// Banzone API Routes
export const SGW_ROUTE_BANZONES = '/api/sgw/banzones';
export const SGW_ROUTE_BANZONES_LIST = '/api/sgw/banzones/list';