230 lines
5.6 KiB
TypeScript
230 lines
5.6 KiB
TypeScript
/* eslint-disable */
|
|
|
|
// @ts-nocheck
|
|
|
|
// noinspection JSUnusedGlobalSymbols
|
|
|
|
// This file was automatically generated by TanStack Router.
|
|
// You should NOT make any changes in this file as it will be overwritten.
|
|
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
|
|
|
// Import Routes
|
|
|
|
import { Route as rootRoute } from "./__root"
|
|
import { Route as SignupImport } from "./signup"
|
|
import { Route as LoginImport } from "./login"
|
|
import { Route as BookmarksImport } from "./bookmarks"
|
|
import { Route as IndexImport } from "./index"
|
|
import { Route as BookmarksIndexImport } from "./bookmarks/index"
|
|
import { Route as BookmarksBookmarkIdImport } from "./bookmarks/$bookmarkId"
|
|
|
|
// Create/Update Routes
|
|
|
|
const SignupRoute = SignupImport.update({
|
|
id: "/signup",
|
|
path: "/signup",
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const LoginRoute = LoginImport.update({
|
|
id: "/login",
|
|
path: "/login",
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const BookmarksRoute = BookmarksImport.update({
|
|
id: "/bookmarks",
|
|
path: "/bookmarks",
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const IndexRoute = IndexImport.update({
|
|
id: "/",
|
|
path: "/",
|
|
getParentRoute: () => rootRoute,
|
|
} as any)
|
|
|
|
const BookmarksIndexRoute = BookmarksIndexImport.update({
|
|
id: "/",
|
|
path: "/",
|
|
getParentRoute: () => BookmarksRoute,
|
|
} as any)
|
|
|
|
const BookmarksBookmarkIdRoute = BookmarksBookmarkIdImport.update({
|
|
id: "/$bookmarkId",
|
|
path: "/$bookmarkId",
|
|
getParentRoute: () => BookmarksRoute,
|
|
} as any)
|
|
|
|
// Populate the FileRoutesByPath interface
|
|
|
|
declare module "@tanstack/react-router" {
|
|
interface FileRoutesByPath {
|
|
"/": {
|
|
id: "/"
|
|
path: "/"
|
|
fullPath: "/"
|
|
preLoaderRoute: typeof IndexImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
"/bookmarks": {
|
|
id: "/bookmarks"
|
|
path: "/bookmarks"
|
|
fullPath: "/bookmarks"
|
|
preLoaderRoute: typeof BookmarksImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
"/login": {
|
|
id: "/login"
|
|
path: "/login"
|
|
fullPath: "/login"
|
|
preLoaderRoute: typeof LoginImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
"/signup": {
|
|
id: "/signup"
|
|
path: "/signup"
|
|
fullPath: "/signup"
|
|
preLoaderRoute: typeof SignupImport
|
|
parentRoute: typeof rootRoute
|
|
}
|
|
"/bookmarks/$bookmarkId": {
|
|
id: "/bookmarks/$bookmarkId"
|
|
path: "/$bookmarkId"
|
|
fullPath: "/bookmarks/$bookmarkId"
|
|
preLoaderRoute: typeof BookmarksBookmarkIdImport
|
|
parentRoute: typeof BookmarksImport
|
|
}
|
|
"/bookmarks/": {
|
|
id: "/bookmarks/"
|
|
path: "/"
|
|
fullPath: "/bookmarks/"
|
|
preLoaderRoute: typeof BookmarksIndexImport
|
|
parentRoute: typeof BookmarksImport
|
|
}
|
|
}
|
|
}
|
|
|
|
// Create and export the route tree
|
|
|
|
interface BookmarksRouteChildren {
|
|
BookmarksBookmarkIdRoute: typeof BookmarksBookmarkIdRoute
|
|
BookmarksIndexRoute: typeof BookmarksIndexRoute
|
|
}
|
|
|
|
const BookmarksRouteChildren: BookmarksRouteChildren = {
|
|
BookmarksBookmarkIdRoute: BookmarksBookmarkIdRoute,
|
|
BookmarksIndexRoute: BookmarksIndexRoute,
|
|
}
|
|
|
|
const BookmarksRouteWithChildren = BookmarksRoute._addFileChildren(
|
|
BookmarksRouteChildren,
|
|
)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
"/": typeof IndexRoute
|
|
"/bookmarks": typeof BookmarksRouteWithChildren
|
|
"/login": typeof LoginRoute
|
|
"/signup": typeof SignupRoute
|
|
"/bookmarks/$bookmarkId": typeof BookmarksBookmarkIdRoute
|
|
"/bookmarks/": typeof BookmarksIndexRoute
|
|
}
|
|
|
|
export interface FileRoutesByTo {
|
|
"/": typeof IndexRoute
|
|
"/login": typeof LoginRoute
|
|
"/signup": typeof SignupRoute
|
|
"/bookmarks/$bookmarkId": typeof BookmarksBookmarkIdRoute
|
|
"/bookmarks": typeof BookmarksIndexRoute
|
|
}
|
|
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRoute
|
|
"/": typeof IndexRoute
|
|
"/bookmarks": typeof BookmarksRouteWithChildren
|
|
"/login": typeof LoginRoute
|
|
"/signup": typeof SignupRoute
|
|
"/bookmarks/$bookmarkId": typeof BookmarksBookmarkIdRoute
|
|
"/bookmarks/": typeof BookmarksIndexRoute
|
|
}
|
|
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| "/"
|
|
| "/bookmarks"
|
|
| "/login"
|
|
| "/signup"
|
|
| "/bookmarks/$bookmarkId"
|
|
| "/bookmarks/"
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to: "/" | "/login" | "/signup" | "/bookmarks/$bookmarkId" | "/bookmarks"
|
|
id:
|
|
| "__root__"
|
|
| "/"
|
|
| "/bookmarks"
|
|
| "/login"
|
|
| "/signup"
|
|
| "/bookmarks/$bookmarkId"
|
|
| "/bookmarks/"
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
BookmarksRoute: typeof BookmarksRouteWithChildren
|
|
LoginRoute: typeof LoginRoute
|
|
SignupRoute: typeof SignupRoute
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
BookmarksRoute: BookmarksRouteWithChildren,
|
|
LoginRoute: LoginRoute,
|
|
SignupRoute: SignupRoute,
|
|
}
|
|
|
|
export const routeTree = rootRoute
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|
|
|
|
/* ROUTE_MANIFEST_START
|
|
{
|
|
"routes": {
|
|
"__root__": {
|
|
"filePath": "__root.tsx",
|
|
"children": [
|
|
"/",
|
|
"/bookmarks",
|
|
"/login",
|
|
"/signup"
|
|
]
|
|
},
|
|
"/": {
|
|
"filePath": "index.tsx"
|
|
},
|
|
"/bookmarks": {
|
|
"filePath": "bookmarks.tsx",
|
|
"children": [
|
|
"/bookmarks/$bookmarkId",
|
|
"/bookmarks/"
|
|
]
|
|
},
|
|
"/login": {
|
|
"filePath": "login.tsx"
|
|
},
|
|
"/signup": {
|
|
"filePath": "signup.tsx"
|
|
},
|
|
"/bookmarks/$bookmarkId": {
|
|
"filePath": "bookmarks/$bookmarkId.tsx",
|
|
"parent": "/bookmarks"
|
|
},
|
|
"/bookmarks/": {
|
|
"filePath": "bookmarks/index.tsx",
|
|
"parent": "/bookmarks"
|
|
}
|
|
}
|
|
}
|
|
ROUTE_MANIFEST_END */
|