feat(changelog): added in a place to see the changelogs

This commit is contained in:
2025-04-13 10:40:31 -05:00
parent 9baeb1ceff
commit 242b90c75a
4 changed files with 84 additions and 5 deletions

View File

@@ -12,6 +12,7 @@
import { Route as rootRoute } from './routes/__root'
import { Route as LoginImport } from './routes/login'
import { Route as ChangelogImport } from './routes/changelog'
import { Route as AboutImport } from './routes/about'
import { Route as EomImport } from './routes/_eom'
import { Route as AuthImport } from './routes/_auth'
@@ -43,6 +44,12 @@ const LoginRoute = LoginImport.update({
getParentRoute: () => rootRoute,
} as any)
const ChangelogRoute = ChangelogImport.update({
id: '/changelog',
path: '/changelog',
getParentRoute: () => rootRoute,
} as any)
const AboutRoute = AboutImport.update({
id: '/about',
path: '/about',
@@ -217,6 +224,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof AboutImport
parentRoute: typeof rootRoute
}
'/changelog': {
id: '/changelog'
path: '/changelog'
fullPath: '/changelog'
preLoaderRoute: typeof ChangelogImport
parentRoute: typeof rootRoute
}
'/login': {
id: '/login'
path: '/login'
@@ -394,6 +408,7 @@ export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'': typeof EomRouteWithChildren
'/about': typeof AboutRoute
'/changelog': typeof ChangelogRoute
'/login': typeof LoginRoute
'/modules': typeof AdminModulesRoute
'/notificationMGT': typeof AdminNotificationMGTRoute
@@ -418,6 +433,7 @@ export interface FileRoutesByTo {
'/': typeof IndexRoute
'': typeof EomRouteWithChildren
'/about': typeof AboutRoute
'/changelog': typeof ChangelogRoute
'/login': typeof LoginRoute
'/modules': typeof AdminModulesRoute
'/notificationMGT': typeof AdminNotificationMGTRoute
@@ -445,6 +461,7 @@ export interface FileRoutesById {
'/_auth': typeof AuthRouteWithChildren
'/_eom': typeof EomRouteWithChildren
'/about': typeof AboutRoute
'/changelog': typeof ChangelogRoute
'/login': typeof LoginRoute
'/_admin/modules': typeof AdminModulesRoute
'/_admin/notificationMGT': typeof AdminNotificationMGTRoute
@@ -471,6 +488,7 @@ export interface FileRouteTypes {
| '/'
| ''
| '/about'
| '/changelog'
| '/login'
| '/modules'
| '/notificationMGT'
@@ -494,6 +512,7 @@ export interface FileRouteTypes {
| '/'
| ''
| '/about'
| '/changelog'
| '/login'
| '/modules'
| '/notificationMGT'
@@ -519,6 +538,7 @@ export interface FileRouteTypes {
| '/_auth'
| '/_eom'
| '/about'
| '/changelog'
| '/login'
| '/_admin/modules'
| '/_admin/notificationMGT'
@@ -546,6 +566,7 @@ export interface RootRouteChildren {
AuthRoute: typeof AuthRouteWithChildren
EomRoute: typeof EomRouteWithChildren
AboutRoute: typeof AboutRoute
ChangelogRoute: typeof ChangelogRoute
LoginRoute: typeof LoginRoute
OcpIndexRoute: typeof OcpIndexRoute
logisticsSiloAdjustmentsHistRoute: typeof logisticsSiloAdjustmentsHistRoute
@@ -563,6 +584,7 @@ const rootRouteChildren: RootRouteChildren = {
AuthRoute: AuthRouteWithChildren,
EomRoute: EomRouteWithChildren,
AboutRoute: AboutRoute,
ChangelogRoute: ChangelogRoute,
LoginRoute: LoginRoute,
OcpIndexRoute: OcpIndexRoute,
logisticsSiloAdjustmentsHistRoute: logisticsSiloAdjustmentsHistRoute,
@@ -592,6 +614,7 @@ export const routeTree = rootRoute
"/_auth",
"/_eom",
"/about",
"/changelog",
"/login",
"/ocp/",
"/(logistics)/siloAdjustments/$hist",
@@ -633,6 +656,9 @@ export const routeTree = rootRoute
"/about": {
"filePath": "about.tsx"
},
"/changelog": {
"filePath": "changelog.tsx"
},
"/login": {
"filePath": "login.tsx"
},