|
|
@@ -21,8 +21,10 @@ 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'
|
|
|
@@ -93,6 +95,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 +111,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/',
|
|
|
@@ -169,8 +182,10 @@ export interface FileRoutesByFullPath {
|
|
|
'/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
|
|
|
@@ -191,8 +206,10 @@ export interface FileRoutesByTo {
|
|
|
'/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
|
|
|
@@ -216,8 +233,10 @@ export interface FileRoutesById {
|
|
|
'/_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
|
|
|
@@ -241,8 +260,10 @@ export interface FileRouteTypes {
|
|
|
| '/chats/'
|
|
|
| '/evaluations/'
|
|
|
| '/help-center/'
|
|
|
+ | '/permissions/'
|
|
|
| '/posts/'
|
|
|
| '/referral-codes/'
|
|
|
+ | '/roles/'
|
|
|
| '/settings/'
|
|
|
| '/tasks/'
|
|
|
| '/users/'
|
|
|
@@ -263,8 +284,10 @@ export interface FileRouteTypes {
|
|
|
| '/chats'
|
|
|
| '/evaluations'
|
|
|
| '/help-center'
|
|
|
+ | '/permissions'
|
|
|
| '/posts'
|
|
|
| '/referral-codes'
|
|
|
+ | '/roles'
|
|
|
| '/settings'
|
|
|
| '/tasks'
|
|
|
| '/users'
|
|
|
@@ -287,8 +310,10 @@ export interface FileRouteTypes {
|
|
|
| '/_authenticated/chats/'
|
|
|
| '/_authenticated/evaluations/'
|
|
|
| '/_authenticated/help-center/'
|
|
|
+ | '/_authenticated/permissions/'
|
|
|
| '/_authenticated/posts/'
|
|
|
| '/_authenticated/referral-codes/'
|
|
|
+ | '/_authenticated/roles/'
|
|
|
| '/_authenticated/settings/'
|
|
|
| '/_authenticated/tasks/'
|
|
|
| '/_authenticated/users/'
|
|
|
@@ -390,6 +415,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 +436,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'
|
|
|
@@ -493,8 +532,10 @@ interface AuthenticatedRouteRouteChildren {
|
|
|
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
|
|
|
}
|
|
|
@@ -506,8 +547,10 @@ const AuthenticatedRouteRouteChildren: AuthenticatedRouteRouteChildren = {
|
|
|
AuthenticatedChatsIndexRoute: AuthenticatedChatsIndexRoute,
|
|
|
AuthenticatedEvaluationsIndexRoute: AuthenticatedEvaluationsIndexRoute,
|
|
|
AuthenticatedHelpCenterIndexRoute: AuthenticatedHelpCenterIndexRoute,
|
|
|
+ AuthenticatedPermissionsIndexRoute: AuthenticatedPermissionsIndexRoute,
|
|
|
AuthenticatedPostsIndexRoute: AuthenticatedPostsIndexRoute,
|
|
|
AuthenticatedReferralCodesIndexRoute: AuthenticatedReferralCodesIndexRoute,
|
|
|
+ AuthenticatedRolesIndexRoute: AuthenticatedRolesIndexRoute,
|
|
|
AuthenticatedTasksIndexRoute: AuthenticatedTasksIndexRoute,
|
|
|
AuthenticatedUsersIndexRoute: AuthenticatedUsersIndexRoute,
|
|
|
}
|