feat(migration): moved changed log and properly added in the link to it
This commit is contained in:
@@ -13,6 +13,7 @@ import { createFileRoute } from '@tanstack/react-router'
|
||||
import { Route as rootRouteImport } from './routes/__root'
|
||||
import { Route as AppRouteRouteImport } from './routes/_app/route'
|
||||
import { Route as AppIndexRouteImport } from './routes/_app/index'
|
||||
import { Route as AppChangelogRouteImport } from './routes/_app/changelog'
|
||||
import { Route as OldOldRouteRouteImport } from './routes/_old/old/route'
|
||||
import { Route as MobileMobileLayoutRouteRouteImport } from './routes/_mobile/_mobileLayout/route'
|
||||
import { Route as AppAdminLayoutRouteRouteImport } from './routes/_app/_adminLayout/route'
|
||||
@@ -49,6 +50,11 @@ const AppIndexRoute = AppIndexRouteImport.update({
|
||||
path: '/',
|
||||
getParentRoute: () => AppRouteRoute,
|
||||
} as any)
|
||||
const AppChangelogRoute = AppChangelogRouteImport.update({
|
||||
id: '/changelog',
|
||||
path: '/changelog',
|
||||
getParentRoute: () => AppRouteRoute,
|
||||
} as any)
|
||||
const OldOldRouteRoute = OldOldRouteRouteImport.update({
|
||||
id: '/_old/old',
|
||||
path: '/old',
|
||||
@@ -178,6 +184,7 @@ const OldOldlogisticsSiloAdjustmentsCommentCommentRoute =
|
||||
|
||||
export interface FileRoutesByFullPath {
|
||||
'/old': typeof OldOldRouteRouteWithChildren
|
||||
'/changelog': typeof AppChangelogRoute
|
||||
'/': typeof AppIndexRoute
|
||||
'/login': typeof AppauthLoginRoute
|
||||
'/old/': typeof OldOldIndexRoute
|
||||
@@ -200,6 +207,7 @@ export interface FileRoutesByFullPath {
|
||||
'/old/siloAdjustments/comment/$comment': typeof OldOldlogisticsSiloAdjustmentsCommentCommentRoute
|
||||
}
|
||||
export interface FileRoutesByTo {
|
||||
'/changelog': typeof AppChangelogRoute
|
||||
'/': typeof AppIndexRoute
|
||||
'/login': typeof AppauthLoginRoute
|
||||
'/old': typeof OldOldIndexRoute
|
||||
@@ -227,6 +235,7 @@ export interface FileRoutesById {
|
||||
'/_app/_adminLayout': typeof AppAdminLayoutRouteRouteWithChildren
|
||||
'/_mobile/_mobileLayout': typeof MobileMobileLayoutRouteRouteWithChildren
|
||||
'/_old/old': typeof OldOldRouteRouteWithChildren
|
||||
'/_app/changelog': typeof AppChangelogRoute
|
||||
'/_app/': typeof AppIndexRoute
|
||||
'/_app/(auth)/login': typeof AppauthLoginRoute
|
||||
'/_old/old/': typeof OldOldIndexRoute
|
||||
@@ -253,6 +262,7 @@ export interface FileRouteTypes {
|
||||
fileRoutesByFullPath: FileRoutesByFullPath
|
||||
fullPaths:
|
||||
| '/old'
|
||||
| '/changelog'
|
||||
| '/'
|
||||
| '/login'
|
||||
| '/old/'
|
||||
@@ -275,6 +285,7 @@ export interface FileRouteTypes {
|
||||
| '/old/siloAdjustments/comment/$comment'
|
||||
fileRoutesByTo: FileRoutesByTo
|
||||
to:
|
||||
| '/changelog'
|
||||
| '/'
|
||||
| '/login'
|
||||
| '/old'
|
||||
@@ -301,6 +312,7 @@ export interface FileRouteTypes {
|
||||
| '/_app/_adminLayout'
|
||||
| '/_mobile/_mobileLayout'
|
||||
| '/_old/old'
|
||||
| '/_app/changelog'
|
||||
| '/_app/'
|
||||
| '/_app/(auth)/login'
|
||||
| '/_old/old/'
|
||||
@@ -346,6 +358,13 @@ declare module '@tanstack/react-router' {
|
||||
preLoaderRoute: typeof AppIndexRouteImport
|
||||
parentRoute: typeof AppRouteRoute
|
||||
}
|
||||
'/_app/changelog': {
|
||||
id: '/_app/changelog'
|
||||
path: '/changelog'
|
||||
fullPath: '/changelog'
|
||||
preLoaderRoute: typeof AppChangelogRouteImport
|
||||
parentRoute: typeof AppRouteRoute
|
||||
}
|
||||
'/_old/old': {
|
||||
id: '/_old/old'
|
||||
path: '/old'
|
||||
@@ -556,6 +575,7 @@ const AppAdminLayoutRouteRouteWithChildren =
|
||||
|
||||
interface AppRouteRouteChildren {
|
||||
AppAdminLayoutRouteRoute: typeof AppAdminLayoutRouteRouteWithChildren
|
||||
AppChangelogRoute: typeof AppChangelogRoute
|
||||
AppIndexRoute: typeof AppIndexRoute
|
||||
AppauthLoginRoute: typeof AppauthLoginRoute
|
||||
AppauthUserProfileRoute: typeof AppauthUserProfileRoute
|
||||
@@ -567,6 +587,7 @@ interface AppRouteRouteChildren {
|
||||
|
||||
const AppRouteRouteChildren: AppRouteRouteChildren = {
|
||||
AppAdminLayoutRouteRoute: AppAdminLayoutRouteRouteWithChildren,
|
||||
AppChangelogRoute: AppChangelogRoute,
|
||||
AppIndexRoute: AppIndexRoute,
|
||||
AppauthLoginRoute: AppauthLoginRoute,
|
||||
AppauthUserProfileRoute: AppauthUserProfileRoute,
|
||||
|
||||
Reference in New Issue
Block a user