frontend-recharge-system/src/routes/routePath.ts

25 lines
444 B
TypeScript

const SETTING = '/setting';
const ETH = '/eth';
const RoutePath = {
LOGIN: '/login',
ETH: ETH,
ETH_ADDRESS: {
LIST: `${ETH}/address`,
EDIT: `${ETH}/address/edit`,
},
ETH_RECORD: {
LIST: `${ETH}/record`,
},
ETH_CURRENCY: {
LIST: `${ETH}/currency`,
EDIT: `${ETH}/currency/edit`,
},
SETTING: SETTING,
WORK: {
LIST: `${SETTING}/work`,
EDIT: `${SETTING}/work/edit`,
},
};
export default RoutePath;