MSP-3074 add roles
This commit is contained in:
1 parent
5a29bfc7f6
commit
9c1b859971
36 files changed
+1063
-100
No files matched your search
@@ -0,0 +1,6 @@
|
||||
type PathKeys =
|
||||
| 'baseUrl'
|
||||
|
||||
export const apiPaths: Record<PathKeys, string> = {
|
||||
baseUrl: '/',
|
||||
};
|
||||
@@ -0,0 +1,6 @@
|
||||
type LocalStorageKeys = 'HEADER_NAME' | 'USER_TOKEN';
|
||||
|
||||
export const localStorageKeys: Record<LocalStorageKeys, string> = {
|
||||
HEADER_NAME: 'HEADER_NAME',
|
||||
USER_TOKEN: 'USER_TOKEN'
|
||||
};
|
||||
@@ -0,0 +1,10 @@
|
||||
type RoutePaths =
|
||||
| 'home'
|
||||
| 'notFound'
|
||||
| 'error'
|
||||
|
||||
export const routePaths: Record<RoutePaths, string> = {
|
||||
home: '/',
|
||||
error: '/error',
|
||||
notFound: '*',
|
||||
};
|
||||
Reference in new issue
Block a user