Batch 1 to 3 implementation

This commit is contained in:
hagiye
2026-06-16 11:36:24 +03:00
parent c2b5b3b926
commit f5d6d8e7da
26 changed files with 50 additions and 1250 deletions

View File

@@ -19,11 +19,7 @@ const asList = <T>(payload: ListResponse<T>): T[] =>
export const wagonTypesService = {
async getWagonTypes() {
const response = await api.get<ListResponse<WagonType>>('/wagon-types', {
<<<<<<< HEAD
params: { isActive: 'all' },
=======
params: { isActive: 'all', pageSize: 500 },
>>>>>>> 10b011de8feafce5c0bae21594df5b36596587db
});
return asList(response.data);
},