|
|
@@ -11,6 +11,7 @@
|
|
|
// Import Routes
|
|
|
|
|
|
import { Route as rootRoute } from './routes/__root'
|
|
|
+import { Route as ClerkRouteImport } from './routes/clerk/route'
|
|
|
import { Route as AuthenticatedRouteImport } from './routes/_authenticated/route'
|
|
|
import { Route as AuthenticatedIndexImport } from './routes/_authenticated/index'
|
|
|
import { Route as errors503Import } from './routes/(errors)/503'
|
|
|
@@ -23,6 +24,8 @@ import { Route as authSignIn2Import } from './routes/(auth)/sign-in-2'
|
|
|
import { Route as authSignInImport } from './routes/(auth)/sign-in'
|
|
|
import { Route as authOtpImport } from './routes/(auth)/otp'
|
|
|
import { Route as authForgotPasswordImport } from './routes/(auth)/forgot-password'
|
|
|
+import { Route as ClerkAuthenticatedRouteImport } from './routes/clerk/_authenticated/route'
|
|
|
+import { Route as ClerkauthRouteImport } from './routes/clerk/(auth)/route'
|
|
|
import { Route as AuthenticatedSettingsRouteImport } from './routes/_authenticated/settings/route'
|
|
|
import { Route as AuthenticatedUsersIndexImport } from './routes/_authenticated/users/index'
|
|
|
import { Route as AuthenticatedTasksIndexImport } from './routes/_authenticated/tasks/index'
|
|
|
@@ -30,6 +33,9 @@ import { Route as AuthenticatedSettingsIndexImport } from './routes/_authenticat
|
|
|
import { Route as AuthenticatedHelpCenterIndexImport } from './routes/_authenticated/help-center/index'
|
|
|
import { Route as AuthenticatedChatsIndexImport } from './routes/_authenticated/chats/index'
|
|
|
import { Route as AuthenticatedAppsIndexImport } from './routes/_authenticated/apps/index'
|
|
|
+import { Route as ClerkAuthenticatedUserManagementImport } from './routes/clerk/_authenticated/user-management'
|
|
|
+import { Route as ClerkauthSignUpImport } from './routes/clerk/(auth)/sign-up'
|
|
|
+import { Route as ClerkauthSignInImport } from './routes/clerk/(auth)/sign-in'
|
|
|
import { Route as AuthenticatedSettingsNotificationsImport } from './routes/_authenticated/settings/notifications'
|
|
|
import { Route as AuthenticatedSettingsDisplayImport } from './routes/_authenticated/settings/display'
|
|
|
import { Route as AuthenticatedSettingsAppearanceImport } from './routes/_authenticated/settings/appearance'
|
|
|
@@ -37,6 +43,12 @@ import { Route as AuthenticatedSettingsAccountImport } from './routes/_authentic
|
|
|
|
|
|
// Create/Update Routes
|
|
|
|
|
|
+const ClerkRouteRoute = ClerkRouteImport.update({
|
|
|
+ id: '/clerk',
|
|
|
+ path: '/clerk',
|
|
|
+ getParentRoute: () => rootRoute,
|
|
|
+} as any)
|
|
|
+
|
|
|
const AuthenticatedRouteRoute = AuthenticatedRouteImport.update({
|
|
|
id: '/_authenticated',
|
|
|
getParentRoute: () => rootRoute,
|
|
|
@@ -108,6 +120,16 @@ const authForgotPasswordRoute = authForgotPasswordImport.update({
|
|
|
getParentRoute: () => rootRoute,
|
|
|
} as any)
|
|
|
|
|
|
+const ClerkAuthenticatedRouteRoute = ClerkAuthenticatedRouteImport.update({
|
|
|
+ id: '/_authenticated',
|
|
|
+ getParentRoute: () => ClerkRouteRoute,
|
|
|
+} as any)
|
|
|
+
|
|
|
+const ClerkauthRouteRoute = ClerkauthRouteImport.update({
|
|
|
+ id: '/(auth)',
|
|
|
+ getParentRoute: () => ClerkRouteRoute,
|
|
|
+} as any)
|
|
|
+
|
|
|
const AuthenticatedSettingsRouteRoute = AuthenticatedSettingsRouteImport.update(
|
|
|
{
|
|
|
id: '/settings',
|
|
|
@@ -155,6 +177,25 @@ const AuthenticatedAppsIndexRoute = AuthenticatedAppsIndexImport.update({
|
|
|
getParentRoute: () => AuthenticatedRouteRoute,
|
|
|
} as any)
|
|
|
|
|
|
+const ClerkAuthenticatedUserManagementRoute =
|
|
|
+ ClerkAuthenticatedUserManagementImport.update({
|
|
|
+ id: '/user-management',
|
|
|
+ path: '/user-management',
|
|
|
+ getParentRoute: () => ClerkAuthenticatedRouteRoute,
|
|
|
+ } as any)
|
|
|
+
|
|
|
+const ClerkauthSignUpRoute = ClerkauthSignUpImport.update({
|
|
|
+ id: '/sign-up',
|
|
|
+ path: '/sign-up',
|
|
|
+ getParentRoute: () => ClerkauthRouteRoute,
|
|
|
+} as any)
|
|
|
+
|
|
|
+const ClerkauthSignInRoute = ClerkauthSignInImport.update({
|
|
|
+ id: '/sign-in',
|
|
|
+ path: '/sign-in',
|
|
|
+ getParentRoute: () => ClerkauthRouteRoute,
|
|
|
+} as any)
|
|
|
+
|
|
|
const AuthenticatedSettingsNotificationsRoute =
|
|
|
AuthenticatedSettingsNotificationsImport.update({
|
|
|
id: '/notifications',
|
|
|
@@ -194,6 +235,13 @@ declare module '@tanstack/react-router' {
|
|
|
preLoaderRoute: typeof AuthenticatedRouteImport
|
|
|
parentRoute: typeof rootRoute
|
|
|
}
|
|
|
+ '/clerk': {
|
|
|
+ id: '/clerk'
|
|
|
+ path: '/clerk'
|
|
|
+ fullPath: '/clerk'
|
|
|
+ preLoaderRoute: typeof ClerkRouteImport
|
|
|
+ parentRoute: typeof rootRoute
|
|
|
+ }
|
|
|
'/_authenticated/settings': {
|
|
|
id: '/_authenticated/settings'
|
|
|
path: '/settings'
|
|
|
@@ -201,6 +249,20 @@ declare module '@tanstack/react-router' {
|
|
|
preLoaderRoute: typeof AuthenticatedSettingsRouteImport
|
|
|
parentRoute: typeof AuthenticatedRouteImport
|
|
|
}
|
|
|
+ '/clerk/(auth)': {
|
|
|
+ id: '/clerk/(auth)'
|
|
|
+ path: '/'
|
|
|
+ fullPath: '/clerk/'
|
|
|
+ preLoaderRoute: typeof ClerkauthRouteImport
|
|
|
+ parentRoute: typeof ClerkRouteImport
|
|
|
+ }
|
|
|
+ '/clerk/_authenticated': {
|
|
|
+ id: '/clerk/_authenticated'
|
|
|
+ path: ''
|
|
|
+ fullPath: '/clerk'
|
|
|
+ preLoaderRoute: typeof ClerkAuthenticatedRouteImport
|
|
|
+ parentRoute: typeof ClerkRouteImport
|
|
|
+ }
|
|
|
'/(auth)/forgot-password': {
|
|
|
id: '/(auth)/forgot-password'
|
|
|
path: '/forgot-password'
|
|
|
@@ -306,6 +368,27 @@ declare module '@tanstack/react-router' {
|
|
|
preLoaderRoute: typeof AuthenticatedSettingsNotificationsImport
|
|
|
parentRoute: typeof AuthenticatedSettingsRouteImport
|
|
|
}
|
|
|
+ '/clerk/(auth)/sign-in': {
|
|
|
+ id: '/clerk/(auth)/sign-in'
|
|
|
+ path: '/sign-in'
|
|
|
+ fullPath: '/clerk/sign-in'
|
|
|
+ preLoaderRoute: typeof ClerkauthSignInImport
|
|
|
+ parentRoute: typeof ClerkauthRouteImport
|
|
|
+ }
|
|
|
+ '/clerk/(auth)/sign-up': {
|
|
|
+ id: '/clerk/(auth)/sign-up'
|
|
|
+ path: '/sign-up'
|
|
|
+ fullPath: '/clerk/sign-up'
|
|
|
+ preLoaderRoute: typeof ClerkauthSignUpImport
|
|
|
+ parentRoute: typeof ClerkauthRouteImport
|
|
|
+ }
|
|
|
+ '/clerk/_authenticated/user-management': {
|
|
|
+ id: '/clerk/_authenticated/user-management'
|
|
|
+ path: '/user-management'
|
|
|
+ fullPath: '/clerk/user-management'
|
|
|
+ preLoaderRoute: typeof ClerkAuthenticatedUserManagementImport
|
|
|
+ parentRoute: typeof ClerkAuthenticatedRouteImport
|
|
|
+ }
|
|
|
'/_authenticated/apps/': {
|
|
|
id: '/_authenticated/apps/'
|
|
|
path: '/apps'
|
|
|
@@ -399,9 +482,54 @@ const AuthenticatedRouteRouteChildren: AuthenticatedRouteRouteChildren = {
|
|
|
const AuthenticatedRouteRouteWithChildren =
|
|
|
AuthenticatedRouteRoute._addFileChildren(AuthenticatedRouteRouteChildren)
|
|
|
|
|
|
+interface ClerkauthRouteRouteChildren {
|
|
|
+ ClerkauthSignInRoute: typeof ClerkauthSignInRoute
|
|
|
+ ClerkauthSignUpRoute: typeof ClerkauthSignUpRoute
|
|
|
+}
|
|
|
+
|
|
|
+const ClerkauthRouteRouteChildren: ClerkauthRouteRouteChildren = {
|
|
|
+ ClerkauthSignInRoute: ClerkauthSignInRoute,
|
|
|
+ ClerkauthSignUpRoute: ClerkauthSignUpRoute,
|
|
|
+}
|
|
|
+
|
|
|
+const ClerkauthRouteRouteWithChildren = ClerkauthRouteRoute._addFileChildren(
|
|
|
+ ClerkauthRouteRouteChildren,
|
|
|
+)
|
|
|
+
|
|
|
+interface ClerkAuthenticatedRouteRouteChildren {
|
|
|
+ ClerkAuthenticatedUserManagementRoute: typeof ClerkAuthenticatedUserManagementRoute
|
|
|
+}
|
|
|
+
|
|
|
+const ClerkAuthenticatedRouteRouteChildren: ClerkAuthenticatedRouteRouteChildren =
|
|
|
+ {
|
|
|
+ ClerkAuthenticatedUserManagementRoute:
|
|
|
+ ClerkAuthenticatedUserManagementRoute,
|
|
|
+ }
|
|
|
+
|
|
|
+const ClerkAuthenticatedRouteRouteWithChildren =
|
|
|
+ ClerkAuthenticatedRouteRoute._addFileChildren(
|
|
|
+ ClerkAuthenticatedRouteRouteChildren,
|
|
|
+ )
|
|
|
+
|
|
|
+interface ClerkRouteRouteChildren {
|
|
|
+ ClerkauthRouteRoute: typeof ClerkauthRouteRouteWithChildren
|
|
|
+ ClerkAuthenticatedRouteRoute: typeof ClerkAuthenticatedRouteRouteWithChildren
|
|
|
+}
|
|
|
+
|
|
|
+const ClerkRouteRouteChildren: ClerkRouteRouteChildren = {
|
|
|
+ ClerkauthRouteRoute: ClerkauthRouteRouteWithChildren,
|
|
|
+ ClerkAuthenticatedRouteRoute: ClerkAuthenticatedRouteRouteWithChildren,
|
|
|
+}
|
|
|
+
|
|
|
+const ClerkRouteRouteWithChildren = ClerkRouteRoute._addFileChildren(
|
|
|
+ ClerkRouteRouteChildren,
|
|
|
+)
|
|
|
+
|
|
|
export interface FileRoutesByFullPath {
|
|
|
'': typeof AuthenticatedRouteRouteWithChildren
|
|
|
+ '/clerk': typeof ClerkAuthenticatedRouteRouteWithChildren
|
|
|
'/settings': typeof AuthenticatedSettingsRouteRouteWithChildren
|
|
|
+ '/clerk/': typeof ClerkauthRouteRouteWithChildren
|
|
|
'/forgot-password': typeof authForgotPasswordRoute
|
|
|
'/otp': typeof authOtpRoute
|
|
|
'/sign-in': typeof authSignInRoute
|
|
|
@@ -417,6 +545,9 @@ export interface FileRoutesByFullPath {
|
|
|
'/settings/appearance': typeof AuthenticatedSettingsAppearanceRoute
|
|
|
'/settings/display': typeof AuthenticatedSettingsDisplayRoute
|
|
|
'/settings/notifications': typeof AuthenticatedSettingsNotificationsRoute
|
|
|
+ '/clerk/sign-in': typeof ClerkauthSignInRoute
|
|
|
+ '/clerk/sign-up': typeof ClerkauthSignUpRoute
|
|
|
+ '/clerk/user-management': typeof ClerkAuthenticatedUserManagementRoute
|
|
|
'/apps': typeof AuthenticatedAppsIndexRoute
|
|
|
'/chats': typeof AuthenticatedChatsIndexRoute
|
|
|
'/help-center': typeof AuthenticatedHelpCenterIndexRoute
|
|
|
@@ -426,6 +557,7 @@ export interface FileRoutesByFullPath {
|
|
|
}
|
|
|
|
|
|
export interface FileRoutesByTo {
|
|
|
+ '/clerk': typeof ClerkAuthenticatedRouteRouteWithChildren
|
|
|
'/forgot-password': typeof authForgotPasswordRoute
|
|
|
'/otp': typeof authOtpRoute
|
|
|
'/sign-in': typeof authSignInRoute
|
|
|
@@ -441,6 +573,9 @@ export interface FileRoutesByTo {
|
|
|
'/settings/appearance': typeof AuthenticatedSettingsAppearanceRoute
|
|
|
'/settings/display': typeof AuthenticatedSettingsDisplayRoute
|
|
|
'/settings/notifications': typeof AuthenticatedSettingsNotificationsRoute
|
|
|
+ '/clerk/sign-in': typeof ClerkauthSignInRoute
|
|
|
+ '/clerk/sign-up': typeof ClerkauthSignUpRoute
|
|
|
+ '/clerk/user-management': typeof ClerkAuthenticatedUserManagementRoute
|
|
|
'/apps': typeof AuthenticatedAppsIndexRoute
|
|
|
'/chats': typeof AuthenticatedChatsIndexRoute
|
|
|
'/help-center': typeof AuthenticatedHelpCenterIndexRoute
|
|
|
@@ -452,7 +587,10 @@ export interface FileRoutesByTo {
|
|
|
export interface FileRoutesById {
|
|
|
__root__: typeof rootRoute
|
|
|
'/_authenticated': typeof AuthenticatedRouteRouteWithChildren
|
|
|
+ '/clerk': typeof ClerkRouteRouteWithChildren
|
|
|
'/_authenticated/settings': typeof AuthenticatedSettingsRouteRouteWithChildren
|
|
|
+ '/clerk/(auth)': typeof ClerkauthRouteRouteWithChildren
|
|
|
+ '/clerk/_authenticated': typeof ClerkAuthenticatedRouteRouteWithChildren
|
|
|
'/(auth)/forgot-password': typeof authForgotPasswordRoute
|
|
|
'/(auth)/otp': typeof authOtpRoute
|
|
|
'/(auth)/sign-in': typeof authSignInRoute
|
|
|
@@ -468,6 +606,9 @@ export interface FileRoutesById {
|
|
|
'/_authenticated/settings/appearance': typeof AuthenticatedSettingsAppearanceRoute
|
|
|
'/_authenticated/settings/display': typeof AuthenticatedSettingsDisplayRoute
|
|
|
'/_authenticated/settings/notifications': typeof AuthenticatedSettingsNotificationsRoute
|
|
|
+ '/clerk/(auth)/sign-in': typeof ClerkauthSignInRoute
|
|
|
+ '/clerk/(auth)/sign-up': typeof ClerkauthSignUpRoute
|
|
|
+ '/clerk/_authenticated/user-management': typeof ClerkAuthenticatedUserManagementRoute
|
|
|
'/_authenticated/apps/': typeof AuthenticatedAppsIndexRoute
|
|
|
'/_authenticated/chats/': typeof AuthenticatedChatsIndexRoute
|
|
|
'/_authenticated/help-center/': typeof AuthenticatedHelpCenterIndexRoute
|
|
|
@@ -480,7 +621,9 @@ export interface FileRouteTypes {
|
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
|
fullPaths:
|
|
|
| ''
|
|
|
+ | '/clerk'
|
|
|
| '/settings'
|
|
|
+ | '/clerk/'
|
|
|
| '/forgot-password'
|
|
|
| '/otp'
|
|
|
| '/sign-in'
|
|
|
@@ -496,6 +639,9 @@ export interface FileRouteTypes {
|
|
|
| '/settings/appearance'
|
|
|
| '/settings/display'
|
|
|
| '/settings/notifications'
|
|
|
+ | '/clerk/sign-in'
|
|
|
+ | '/clerk/sign-up'
|
|
|
+ | '/clerk/user-management'
|
|
|
| '/apps'
|
|
|
| '/chats'
|
|
|
| '/help-center'
|
|
|
@@ -504,6 +650,7 @@ export interface FileRouteTypes {
|
|
|
| '/users'
|
|
|
fileRoutesByTo: FileRoutesByTo
|
|
|
to:
|
|
|
+ | '/clerk'
|
|
|
| '/forgot-password'
|
|
|
| '/otp'
|
|
|
| '/sign-in'
|
|
|
@@ -519,6 +666,9 @@ export interface FileRouteTypes {
|
|
|
| '/settings/appearance'
|
|
|
| '/settings/display'
|
|
|
| '/settings/notifications'
|
|
|
+ | '/clerk/sign-in'
|
|
|
+ | '/clerk/sign-up'
|
|
|
+ | '/clerk/user-management'
|
|
|
| '/apps'
|
|
|
| '/chats'
|
|
|
| '/help-center'
|
|
|
@@ -528,7 +678,10 @@ export interface FileRouteTypes {
|
|
|
id:
|
|
|
| '__root__'
|
|
|
| '/_authenticated'
|
|
|
+ | '/clerk'
|
|
|
| '/_authenticated/settings'
|
|
|
+ | '/clerk/(auth)'
|
|
|
+ | '/clerk/_authenticated'
|
|
|
| '/(auth)/forgot-password'
|
|
|
| '/(auth)/otp'
|
|
|
| '/(auth)/sign-in'
|
|
|
@@ -544,6 +697,9 @@ export interface FileRouteTypes {
|
|
|
| '/_authenticated/settings/appearance'
|
|
|
| '/_authenticated/settings/display'
|
|
|
| '/_authenticated/settings/notifications'
|
|
|
+ | '/clerk/(auth)/sign-in'
|
|
|
+ | '/clerk/(auth)/sign-up'
|
|
|
+ | '/clerk/_authenticated/user-management'
|
|
|
| '/_authenticated/apps/'
|
|
|
| '/_authenticated/chats/'
|
|
|
| '/_authenticated/help-center/'
|
|
|
@@ -555,6 +711,7 @@ export interface FileRouteTypes {
|
|
|
|
|
|
export interface RootRouteChildren {
|
|
|
AuthenticatedRouteRoute: typeof AuthenticatedRouteRouteWithChildren
|
|
|
+ ClerkRouteRoute: typeof ClerkRouteRouteWithChildren
|
|
|
authForgotPasswordRoute: typeof authForgotPasswordRoute
|
|
|
authOtpRoute: typeof authOtpRoute
|
|
|
authSignInRoute: typeof authSignInRoute
|
|
|
@@ -569,6 +726,7 @@ export interface RootRouteChildren {
|
|
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
|
AuthenticatedRouteRoute: AuthenticatedRouteRouteWithChildren,
|
|
|
+ ClerkRouteRoute: ClerkRouteRouteWithChildren,
|
|
|
authForgotPasswordRoute: authForgotPasswordRoute,
|
|
|
authOtpRoute: authOtpRoute,
|
|
|
authSignInRoute: authSignInRoute,
|
|
|
@@ -592,6 +750,7 @@ export const routeTree = rootRoute
|
|
|
"filePath": "__root.tsx",
|
|
|
"children": [
|
|
|
"/_authenticated",
|
|
|
+ "/clerk",
|
|
|
"/(auth)/forgot-password",
|
|
|
"/(auth)/otp",
|
|
|
"/(auth)/sign-in",
|
|
|
@@ -616,6 +775,13 @@ export const routeTree = rootRoute
|
|
|
"/_authenticated/users/"
|
|
|
]
|
|
|
},
|
|
|
+ "/clerk": {
|
|
|
+ "filePath": "clerk/route.tsx",
|
|
|
+ "children": [
|
|
|
+ "/clerk/(auth)",
|
|
|
+ "/clerk/_authenticated"
|
|
|
+ ]
|
|
|
+ },
|
|
|
"/_authenticated/settings": {
|
|
|
"filePath": "_authenticated/settings/route.tsx",
|
|
|
"parent": "/_authenticated",
|
|
|
@@ -627,6 +793,21 @@ export const routeTree = rootRoute
|
|
|
"/_authenticated/settings/"
|
|
|
]
|
|
|
},
|
|
|
+ "/clerk/(auth)": {
|
|
|
+ "filePath": "clerk/(auth)/route.tsx",
|
|
|
+ "parent": "/clerk",
|
|
|
+ "children": [
|
|
|
+ "/clerk/(auth)/sign-in",
|
|
|
+ "/clerk/(auth)/sign-up"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "/clerk/_authenticated": {
|
|
|
+ "filePath": "clerk/_authenticated/route.tsx",
|
|
|
+ "parent": "/clerk",
|
|
|
+ "children": [
|
|
|
+ "/clerk/_authenticated/user-management"
|
|
|
+ ]
|
|
|
+ },
|
|
|
"/(auth)/forgot-password": {
|
|
|
"filePath": "(auth)/forgot-password.tsx"
|
|
|
},
|
|
|
@@ -677,6 +858,18 @@ export const routeTree = rootRoute
|
|
|
"filePath": "_authenticated/settings/notifications.tsx",
|
|
|
"parent": "/_authenticated/settings"
|
|
|
},
|
|
|
+ "/clerk/(auth)/sign-in": {
|
|
|
+ "filePath": "clerk/(auth)/sign-in.tsx",
|
|
|
+ "parent": "/clerk/(auth)"
|
|
|
+ },
|
|
|
+ "/clerk/(auth)/sign-up": {
|
|
|
+ "filePath": "clerk/(auth)/sign-up.tsx",
|
|
|
+ "parent": "/clerk/(auth)"
|
|
|
+ },
|
|
|
+ "/clerk/_authenticated/user-management": {
|
|
|
+ "filePath": "clerk/_authenticated/user-management.tsx",
|
|
|
+ "parent": "/clerk/_authenticated"
|
|
|
+ },
|
|
|
"/_authenticated/apps/": {
|
|
|
"filePath": "_authenticated/apps/index.tsx",
|
|
|
"parent": "/_authenticated"
|