source: src/routes/paths.ts@ 5d6f37a

main
Last change on this file since 5d6f37a was 5d6f37a, checked in by Naum Shapkarovski <naumshapkarovski@…>, 7 weeks ago

add customer

  • Property mode set to 100644
File size: 1.1 KB
Line 
1// ----------------------------------------------------------------------
2
3const ROOTS = {
4 AUTH: '/auth',
5 DASHBOARD: '/dashboard',
6};
7
8// ----------------------------------------------------------------------
9
10export const paths = {
11 mvpmastersUI: 'https://mvpmasters.com',
12 // AUTH
13 auth: {
14 firebase: {
15 login: `${ROOTS.AUTH}/firebase/login`,
16 // verify: `${ROOTS.AUTH}/firebase/verify`,
17 // register: `${ROOTS.AUTH}/firebase/register`,
18 // forgotPassword: `${ROOTS.AUTH}/firebase/forgot-password`,
19 },
20 },
21 // DASHBOARD
22 dashboard: {
23 root: `${ROOTS.DASHBOARD}`,
24 banking: `${ROOTS.DASHBOARD}`,
25 invoice: {
26 root: `${ROOTS.DASHBOARD}/invoice`,
27 new: `${ROOTS.DASHBOARD}/invoice/new`,
28 details: (id: string) => `${ROOTS.DASHBOARD}/invoice/${id}`,
29 edit: (id: string) => `${ROOTS.DASHBOARD}/invoice/${id}/edit`,
30 copy: (id: string) => `${ROOTS.DASHBOARD}/invoice/${id}/copy`,
31 },
32 customer: {
33 new: `${ROOTS.DASHBOARD}/customer/new`,
34 list: `${ROOTS.DASHBOARD}/customer/list`,
35 },
36 },
37};
Note: See TracBrowser for help on using the repository browser.