|
|
@@ -21,11 +21,14 @@ import { Route as AuthenticatedSettingsRouteRouteImport } from './routes/_authen
|
|
|
import { Route as AuthenticatedUsersIndexRouteImport } from './routes/_authenticated/users/index'
|
|
|
import { Route as AuthenticatedTasksIndexRouteImport } from './routes/_authenticated/tasks/index'
|
|
|
import { Route as AuthenticatedSettingsIndexRouteImport } from './routes/_authenticated/settings/index'
|
|
|
+import { Route as AuthenticatedRolesIndexRouteImport } from './routes/_authenticated/roles/index'
|
|
|
import { Route as AuthenticatedReferralCodesIndexRouteImport } from './routes/_authenticated/referral-codes/index'
|
|
|
import { Route as AuthenticatedPostsIndexRouteImport } from './routes/_authenticated/posts/index'
|
|
|
+import { Route as AuthenticatedPermissionsIndexRouteImport } from './routes/_authenticated/permissions/index'
|
|
|
import { Route as AuthenticatedHelpCenterIndexRouteImport } from './routes/_authenticated/help-center/index'
|
|
|
import { Route as AuthenticatedEvaluationsIndexRouteImport } from './routes/_authenticated/evaluations/index'
|
|
|
import { Route as AuthenticatedChatsIndexRouteImport } from './routes/_authenticated/chats/index'
|
|
|
+import { Route as AuthenticatedAdminsIndexRouteImport } from './routes/_authenticated/admins/index'
|
|
|
import { Route as AuthenticatedSettingsNotificationsRouteImport } from './routes/_authenticated/settings/notifications'
|
|
|
import { Route as AuthenticatedSettingsDisplayRouteImport } from './routes/_authenticated/settings/display'
|
|
|
import { Route as AuthenticatedSettingsAppearanceRouteImport } from './routes/_authenticated/settings/appearance'
|
|
|
@@ -93,6 +96,11 @@ const AuthenticatedSettingsIndexRoute =
|
|
|
path: '/',
|
|
|
getParentRoute: () => AuthenticatedSettingsRouteRoute,
|
|
|
} as any)
|
|
|
+const AuthenticatedRolesIndexRoute = AuthenticatedRolesIndexRouteImport.update({
|
|
|
+ id: '/roles/',
|
|
|
+ path: '/roles/',
|
|
|
+ getParentRoute: () => AuthenticatedRouteRoute,
|
|
|
+} as any)
|
|
|
const AuthenticatedReferralCodesIndexRoute =
|
|
|
AuthenticatedReferralCodesIndexRouteImport.update({
|
|
|
id: '/referral-codes/',
|
|
|
@@ -104,6 +112,12 @@ const AuthenticatedPostsIndexRoute = AuthenticatedPostsIndexRouteImport.update({
|
|
|
path: '/posts/',
|
|
|
getParentRoute: () => AuthenticatedRouteRoute,
|
|
|
} as any)
|
|
|
+const AuthenticatedPermissionsIndexRoute =
|
|
|
+ AuthenticatedPermissionsIndexRouteImport.update({
|
|
|
+ id: '/permissions/',
|
|
|
+ path: '/permissions/',
|
|
|
+ getParentRoute: () => AuthenticatedRouteRoute,
|
|
|
+ } as any)
|
|
|
const AuthenticatedHelpCenterIndexRoute =
|
|
|
AuthenticatedHelpCenterIndexRouteImport.update({
|
|
|
id: '/help-center/',
|
|
|
@@ -121,6 +135,12 @@ const AuthenticatedChatsIndexRoute = AuthenticatedChatsIndexRouteImport.update({
|
|
|
path: '/chats/',
|
|
|
getParentRoute: () => AuthenticatedRouteRoute,
|
|
|
} as any)
|
|
|
+const AuthenticatedAdminsIndexRoute =
|
|
|
+ AuthenticatedAdminsIndexRouteImport.update({
|
|
|
+ id: '/admins/',
|
|
|
+ path: '/admins/',
|
|
|
+ getParentRoute: () => AuthenticatedRouteRoute,
|
|
|
+ } as any)
|
|
|
const AuthenticatedSettingsNotificationsRoute =
|
|
|
AuthenticatedSettingsNotificationsRouteImport.update({
|
|
|
id: '/notifications',
|
|
|
@@ -166,11 +186,14 @@ export interface FileRoutesByFullPath {
|
|
|
'/settings/appearance': typeof AuthenticatedSettingsAppearanceRoute
|
|
|
'/settings/display': typeof AuthenticatedSettingsDisplayRoute
|
|
|
'/settings/notifications': typeof AuthenticatedSettingsNotificationsRoute
|
|
|
+ '/admins/': typeof AuthenticatedAdminsIndexRoute
|
|
|
'/chats/': typeof AuthenticatedChatsIndexRoute
|
|
|
'/evaluations/': typeof AuthenticatedEvaluationsIndexRoute
|
|
|
'/help-center/': typeof AuthenticatedHelpCenterIndexRoute
|
|
|
+ '/permissions/': typeof AuthenticatedPermissionsIndexRoute
|
|
|
'/posts/': typeof AuthenticatedPostsIndexRoute
|
|
|
'/referral-codes/': typeof AuthenticatedReferralCodesIndexRoute
|
|
|
+ '/roles/': typeof AuthenticatedRolesIndexRoute
|
|
|
'/settings/': typeof AuthenticatedSettingsIndexRoute
|
|
|
'/tasks/': typeof AuthenticatedTasksIndexRoute
|
|
|
'/users/': typeof AuthenticatedUsersIndexRoute
|
|
|
@@ -188,11 +211,14 @@ export interface FileRoutesByTo {
|
|
|
'/settings/appearance': typeof AuthenticatedSettingsAppearanceRoute
|
|
|
'/settings/display': typeof AuthenticatedSettingsDisplayRoute
|
|
|
'/settings/notifications': typeof AuthenticatedSettingsNotificationsRoute
|
|
|
+ '/admins': typeof AuthenticatedAdminsIndexRoute
|
|
|
'/chats': typeof AuthenticatedChatsIndexRoute
|
|
|
'/evaluations': typeof AuthenticatedEvaluationsIndexRoute
|
|
|
'/help-center': typeof AuthenticatedHelpCenterIndexRoute
|
|
|
+ '/permissions': typeof AuthenticatedPermissionsIndexRoute
|
|
|
'/posts': typeof AuthenticatedPostsIndexRoute
|
|
|
'/referral-codes': typeof AuthenticatedReferralCodesIndexRoute
|
|
|
+ '/roles': typeof AuthenticatedRolesIndexRoute
|
|
|
'/settings': typeof AuthenticatedSettingsIndexRoute
|
|
|
'/tasks': typeof AuthenticatedTasksIndexRoute
|
|
|
'/users': typeof AuthenticatedUsersIndexRoute
|
|
|
@@ -213,11 +239,14 @@ export interface FileRoutesById {
|
|
|
'/_authenticated/settings/appearance': typeof AuthenticatedSettingsAppearanceRoute
|
|
|
'/_authenticated/settings/display': typeof AuthenticatedSettingsDisplayRoute
|
|
|
'/_authenticated/settings/notifications': typeof AuthenticatedSettingsNotificationsRoute
|
|
|
+ '/_authenticated/admins/': typeof AuthenticatedAdminsIndexRoute
|
|
|
'/_authenticated/chats/': typeof AuthenticatedChatsIndexRoute
|
|
|
'/_authenticated/evaluations/': typeof AuthenticatedEvaluationsIndexRoute
|
|
|
'/_authenticated/help-center/': typeof AuthenticatedHelpCenterIndexRoute
|
|
|
+ '/_authenticated/permissions/': typeof AuthenticatedPermissionsIndexRoute
|
|
|
'/_authenticated/posts/': typeof AuthenticatedPostsIndexRoute
|
|
|
'/_authenticated/referral-codes/': typeof AuthenticatedReferralCodesIndexRoute
|
|
|
+ '/_authenticated/roles/': typeof AuthenticatedRolesIndexRoute
|
|
|
'/_authenticated/settings/': typeof AuthenticatedSettingsIndexRoute
|
|
|
'/_authenticated/tasks/': typeof AuthenticatedTasksIndexRoute
|
|
|
'/_authenticated/users/': typeof AuthenticatedUsersIndexRoute
|
|
|
@@ -238,11 +267,14 @@ export interface FileRouteTypes {
|
|
|
| '/settings/appearance'
|
|
|
| '/settings/display'
|
|
|
| '/settings/notifications'
|
|
|
+ | '/admins/'
|
|
|
| '/chats/'
|
|
|
| '/evaluations/'
|
|
|
| '/help-center/'
|
|
|
+ | '/permissions/'
|
|
|
| '/posts/'
|
|
|
| '/referral-codes/'
|
|
|
+ | '/roles/'
|
|
|
| '/settings/'
|
|
|
| '/tasks/'
|
|
|
| '/users/'
|
|
|
@@ -260,11 +292,14 @@ export interface FileRouteTypes {
|
|
|
| '/settings/appearance'
|
|
|
| '/settings/display'
|
|
|
| '/settings/notifications'
|
|
|
+ | '/admins'
|
|
|
| '/chats'
|
|
|
| '/evaluations'
|
|
|
| '/help-center'
|
|
|
+ | '/permissions'
|
|
|
| '/posts'
|
|
|
| '/referral-codes'
|
|
|
+ | '/roles'
|
|
|
| '/settings'
|
|
|
| '/tasks'
|
|
|
| '/users'
|
|
|
@@ -284,11 +319,14 @@ export interface FileRouteTypes {
|
|
|
| '/_authenticated/settings/appearance'
|
|
|
| '/_authenticated/settings/display'
|
|
|
| '/_authenticated/settings/notifications'
|
|
|
+ | '/_authenticated/admins/'
|
|
|
| '/_authenticated/chats/'
|
|
|
| '/_authenticated/evaluations/'
|
|
|
| '/_authenticated/help-center/'
|
|
|
+ | '/_authenticated/permissions/'
|
|
|
| '/_authenticated/posts/'
|
|
|
| '/_authenticated/referral-codes/'
|
|
|
+ | '/_authenticated/roles/'
|
|
|
| '/_authenticated/settings/'
|
|
|
| '/_authenticated/tasks/'
|
|
|
| '/_authenticated/users/'
|
|
|
@@ -390,6 +428,13 @@ declare module '@tanstack/react-router' {
|
|
|
preLoaderRoute: typeof AuthenticatedSettingsIndexRouteImport
|
|
|
parentRoute: typeof AuthenticatedSettingsRouteRoute
|
|
|
}
|
|
|
+ '/_authenticated/roles/': {
|
|
|
+ id: '/_authenticated/roles/'
|
|
|
+ path: '/roles'
|
|
|
+ fullPath: '/roles/'
|
|
|
+ preLoaderRoute: typeof AuthenticatedRolesIndexRouteImport
|
|
|
+ parentRoute: typeof AuthenticatedRouteRoute
|
|
|
+ }
|
|
|
'/_authenticated/referral-codes/': {
|
|
|
id: '/_authenticated/referral-codes/'
|
|
|
path: '/referral-codes'
|
|
|
@@ -404,6 +449,13 @@ declare module '@tanstack/react-router' {
|
|
|
preLoaderRoute: typeof AuthenticatedPostsIndexRouteImport
|
|
|
parentRoute: typeof AuthenticatedRouteRoute
|
|
|
}
|
|
|
+ '/_authenticated/permissions/': {
|
|
|
+ id: '/_authenticated/permissions/'
|
|
|
+ path: '/permissions'
|
|
|
+ fullPath: '/permissions/'
|
|
|
+ preLoaderRoute: typeof AuthenticatedPermissionsIndexRouteImport
|
|
|
+ parentRoute: typeof AuthenticatedRouteRoute
|
|
|
+ }
|
|
|
'/_authenticated/help-center/': {
|
|
|
id: '/_authenticated/help-center/'
|
|
|
path: '/help-center'
|
|
|
@@ -425,6 +477,13 @@ declare module '@tanstack/react-router' {
|
|
|
preLoaderRoute: typeof AuthenticatedChatsIndexRouteImport
|
|
|
parentRoute: typeof AuthenticatedRouteRoute
|
|
|
}
|
|
|
+ '/_authenticated/admins/': {
|
|
|
+ id: '/_authenticated/admins/'
|
|
|
+ path: '/admins'
|
|
|
+ fullPath: '/admins/'
|
|
|
+ preLoaderRoute: typeof AuthenticatedAdminsIndexRouteImport
|
|
|
+ parentRoute: typeof AuthenticatedRouteRoute
|
|
|
+ }
|
|
|
'/_authenticated/settings/notifications': {
|
|
|
id: '/_authenticated/settings/notifications'
|
|
|
path: '/notifications'
|
|
|
@@ -490,11 +549,14 @@ interface AuthenticatedRouteRouteChildren {
|
|
|
AuthenticatedSettingsRouteRoute: typeof AuthenticatedSettingsRouteRouteWithChildren
|
|
|
AuthenticatedIndexRoute: typeof AuthenticatedIndexRoute
|
|
|
AuthenticatedErrorsErrorRoute: typeof AuthenticatedErrorsErrorRoute
|
|
|
+ AuthenticatedAdminsIndexRoute: typeof AuthenticatedAdminsIndexRoute
|
|
|
AuthenticatedChatsIndexRoute: typeof AuthenticatedChatsIndexRoute
|
|
|
AuthenticatedEvaluationsIndexRoute: typeof AuthenticatedEvaluationsIndexRoute
|
|
|
AuthenticatedHelpCenterIndexRoute: typeof AuthenticatedHelpCenterIndexRoute
|
|
|
+ AuthenticatedPermissionsIndexRoute: typeof AuthenticatedPermissionsIndexRoute
|
|
|
AuthenticatedPostsIndexRoute: typeof AuthenticatedPostsIndexRoute
|
|
|
AuthenticatedReferralCodesIndexRoute: typeof AuthenticatedReferralCodesIndexRoute
|
|
|
+ AuthenticatedRolesIndexRoute: typeof AuthenticatedRolesIndexRoute
|
|
|
AuthenticatedTasksIndexRoute: typeof AuthenticatedTasksIndexRoute
|
|
|
AuthenticatedUsersIndexRoute: typeof AuthenticatedUsersIndexRoute
|
|
|
}
|
|
|
@@ -503,11 +565,14 @@ const AuthenticatedRouteRouteChildren: AuthenticatedRouteRouteChildren = {
|
|
|
AuthenticatedSettingsRouteRoute: AuthenticatedSettingsRouteRouteWithChildren,
|
|
|
AuthenticatedIndexRoute: AuthenticatedIndexRoute,
|
|
|
AuthenticatedErrorsErrorRoute: AuthenticatedErrorsErrorRoute,
|
|
|
+ AuthenticatedAdminsIndexRoute: AuthenticatedAdminsIndexRoute,
|
|
|
AuthenticatedChatsIndexRoute: AuthenticatedChatsIndexRoute,
|
|
|
AuthenticatedEvaluationsIndexRoute: AuthenticatedEvaluationsIndexRoute,
|
|
|
AuthenticatedHelpCenterIndexRoute: AuthenticatedHelpCenterIndexRoute,
|
|
|
+ AuthenticatedPermissionsIndexRoute: AuthenticatedPermissionsIndexRoute,
|
|
|
AuthenticatedPostsIndexRoute: AuthenticatedPostsIndexRoute,
|
|
|
AuthenticatedReferralCodesIndexRoute: AuthenticatedReferralCodesIndexRoute,
|
|
|
+ AuthenticatedRolesIndexRoute: AuthenticatedRolesIndexRoute,
|
|
|
AuthenticatedTasksIndexRoute: AuthenticatedTasksIndexRoute,
|
|
|
AuthenticatedUsersIndexRoute: AuthenticatedUsersIndexRoute,
|
|
|
}
|