feat(freight): added routes and locomotives

This commit is contained in:
Michael Abebe
2026-06-06 16:23:48 +03:00
parent e067da29df
commit a9c2f2eb97
32 changed files with 1443 additions and 64 deletions

View File

@@ -111,6 +111,13 @@ export const URL_CONSTANTS = {
LOCOMOTIVES: {
BASE: "/locomotives",
BY_ID: (id: string) => `/locomotives/${id}`,
DECOMMISSION: (id: string) => `/locomotives/${id}/decommission`,
},
ROUTES: {
BASE: '/routes',
BY_ID: (id: string) => `/routes/${id}`,
},
TRAIN_SCHEDULING: {