mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 19:58:11 +00:00
Warehouse
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { api as apiClient } from '../auth/http';
|
||||
|
||||
import { URL_CONSTANTS } from '@/constants/URLS';
|
||||
import type { Facility } from '@/types/warehouse';
|
||||
|
||||
export const facilityService = {
|
||||
list: () => apiClient.get<Facility[]>(URL_CONSTANTS.FACILITIES.BASE),
|
||||
getById: (id: string) => apiClient.get<Facility>(URL_CONSTANTS.FACILITIES.BY_ID(id)),
|
||||
};
|
||||
Reference in New Issue
Block a user