1 | // ----------------------------------------------------------------------
|
---|
2 |
|
---|
3 | const ROOTS = {
|
---|
4 | AUTH: '/auth',
|
---|
5 | DASHBOARD: '/dashboard',
|
---|
6 | };
|
---|
7 |
|
---|
8 | // ----------------------------------------------------------------------
|
---|
9 |
|
---|
10 | export 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 | employee: {
|
---|
37 | root: '/dashboard/employee',
|
---|
38 | list: '/dashboard/employee/list',
|
---|
39 | new: '/dashboard/employee/new',
|
---|
40 | edit: (id: string) => `/dashboard/employee/${id}/edit`,
|
---|
41 | },
|
---|
42 | },
|
---|
43 | };
|
---|