From efac276c05377d1820649966da97a61f41d0ee19 Mon Sep 17 00:00:00 2001 From: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:19:52 +1200 Subject: [PATCH 01/13] refactor: set the `index` and `route` tokens on the router --- src/route-tree.gen.ts | 728 +++++++++--------- ...agreements.$agreementId._details.index.tsx | 2 +- .../_auth/(agreements)/agreements.index.tsx | 2 +- .../customers.$customerId._details.index.tsx | 2 +- .../_auth/(customers)/customers.index.tsx | 2 +- src/routes/_auth/(dashboard)/index.tsx | 2 +- .../fleet.$vehicleId._details.index.tsx | 2 +- src/routes/_auth/(fleet)/fleet.index.tsx | 2 +- .../(reports)/reports.$reportId.index.tsx | 2 +- src/routes/_auth/(reports)/reports.index.tsx | 2 +- ...rvations.$reservationId._details.index.tsx | 2 +- .../(reservations)/reservations.index.tsx | 2 +- .../(settings)/settings.application.index.tsx | 2 +- .../_auth/(settings)/settings.index.tsx | 2 +- vite.config.ts | 2 + 15 files changed, 389 insertions(+), 367 deletions(-) diff --git a/src/route-tree.gen.ts b/src/route-tree.gen.ts index 87e86afb..e6e6a6c0 100644 --- a/src/route-tree.gen.ts +++ b/src/route-tree.gen.ts @@ -18,39 +18,39 @@ import { Route as PublicLogoutImport } from "./routes/_public/logout" import { Route as PublicLoginImport } from "./routes/_public/login" import { Route as PublicLoggedOutImport } from "./routes/_public/logged-out" import { Route as PublicDevImport } from "./routes/_public/dev" -import { Route as AuthdashboardIndexImport } from "./routes/_auth/(dashboard)/index" import { Route as AuthsettingsSettingsImport } from "./routes/_auth/(settings)/settings" import { Route as AuthreservationsReservationsImport } from "./routes/_auth/(reservations)/reservations" import { Route as AuthfleetFleetImport } from "./routes/_auth/(fleet)/fleet" +import { Route as AuthdashboardIndexImport } from "./routes/_auth/(dashboard)/index" import { Route as AuthcustomersCustomersImport } from "./routes/_auth/(customers)/customers" import { Route as AuthagreementsAgreementsImport } from "./routes/_auth/(agreements)/agreements" -import { Route as AuthsettingsSettingsIndexImport } from "./routes/_auth/(settings)/settings.index" -import { Route as AuthreservationsReservationsIndexImport } from "./routes/_auth/(reservations)/reservations.index" -import { Route as AuthreportsReportsIndexImport } from "./routes/_auth/(reports)/reports.index" -import { Route as AuthfleetFleetIndexImport } from "./routes/_auth/(fleet)/fleet.index" -import { Route as AuthcustomersCustomersIndexImport } from "./routes/_auth/(customers)/customers.index" -import { Route as AuthagreementsAgreementsIndexImport } from "./routes/_auth/(agreements)/agreements.index" import { Route as AuthsettingsSettingsVehiclesAndCategoriesImport } from "./routes/_auth/(settings)/settings.vehicles-and-categories" import { Route as AuthsettingsSettingsRuntimeConfigurationImport } from "./routes/_auth/(settings)/settings.runtime-configuration" import { Route as AuthsettingsSettingsRatesAndChargesImport } from "./routes/_auth/(settings)/settings.rates-and-charges" import { Route as AuthsettingsSettingsProfileImport } from "./routes/_auth/(settings)/settings.profile" +import { Route as AuthsettingsSettingsIndexImport } from "./routes/_auth/(settings)/settings.index" import { Route as AuthsettingsSettingsApplicationImport } from "./routes/_auth/(settings)/settings.application" import { Route as AuthreservationsReservationsNewImport } from "./routes/_auth/(reservations)/reservations.new" +import { Route as AuthreservationsReservationsIndexImport } from "./routes/_auth/(reservations)/reservations.index" import { Route as AuthreservationsReservationsReservationIdImport } from "./routes/_auth/(reservations)/reservations.$reservationId" +import { Route as AuthreportsReportsIndexImport } from "./routes/_auth/(reports)/reports.index" import { Route as AuthfleetFleetNewImport } from "./routes/_auth/(fleet)/fleet.new" +import { Route as AuthfleetFleetIndexImport } from "./routes/_auth/(fleet)/fleet.index" import { Route as AuthfleetFleetVehicleIdImport } from "./routes/_auth/(fleet)/fleet.$vehicleId" import { Route as AuthcustomersCustomersNewImport } from "./routes/_auth/(customers)/customers.new" +import { Route as AuthcustomersCustomersIndexImport } from "./routes/_auth/(customers)/customers.index" import { Route as AuthcustomersCustomersCustomerIdImport } from "./routes/_auth/(customers)/customers.$customerId" import { Route as AuthagreementsAgreementsNewImport } from "./routes/_auth/(agreements)/agreements.new" +import { Route as AuthagreementsAgreementsIndexImport } from "./routes/_auth/(agreements)/agreements.index" import { Route as AuthagreementsAgreementsAgreementIdImport } from "./routes/_auth/(agreements)/agreements.$agreementId" -import { Route as AuthsettingsSettingsApplicationIndexImport } from "./routes/_auth/(settings)/settings.application.index" -import { Route as AuthreportsReportsReportIdIndexImport } from "./routes/_auth/(reports)/reports.$reportId.index" import { Route as AuthsettingsSettingsApplicationUsersImport } from "./routes/_auth/(settings)/settings.application.users" import { Route as AuthsettingsSettingsApplicationStoreHoursAndHolidaysImport } from "./routes/_auth/(settings)/settings.application.store-hours-and-holidays" import { Route as AuthsettingsSettingsApplicationPermissionsAndRolesImport } from "./routes/_auth/(settings)/settings.application.permissions-and-roles" import { Route as AuthsettingsSettingsApplicationLocationsImport } from "./routes/_auth/(settings)/settings.application.locations" +import { Route as AuthsettingsSettingsApplicationIndexImport } from "./routes/_auth/(settings)/settings.application.index" import { Route as AuthreservationsReservationsReservationIdEditImport } from "./routes/_auth/(reservations)/reservations.$reservationId.edit" import { Route as AuthreservationsReservationsReservationIdDetailsImport } from "./routes/_auth/(reservations)/reservations.$reservationId._details" +import { Route as AuthreportsReportsReportIdIndexImport } from "./routes/_auth/(reports)/reports.$reportId.index" import { Route as AuthfleetFleetVehicleIdEditImport } from "./routes/_auth/(fleet)/fleet.$vehicleId.edit" import { Route as AuthfleetFleetVehicleIdDetailsImport } from "./routes/_auth/(fleet)/fleet.$vehicleId._details" import { Route as AuthcustomersCustomersCustomerIdEditImport } from "./routes/_auth/(customers)/customers.$customerId.edit" @@ -58,20 +58,20 @@ import { Route as AuthcustomersCustomersCustomerIdDetailsImport } from "./routes import { Route as AuthagreementsAgreementsAgreementIdEditImport } from "./routes/_auth/(agreements)/agreements.$agreementId.edit" import { Route as AuthagreementsAgreementsAgreementIdCheckInImport } from "./routes/_auth/(agreements)/agreements.$agreementId.check-in" import { Route as AuthagreementsAgreementsAgreementIdDetailsImport } from "./routes/_auth/(agreements)/agreements.$agreementId._details" -import { Route as AuthreservationsReservationsReservationIdDetailsIndexImport } from "./routes/_auth/(reservations)/reservations.$reservationId._details.index" -import { Route as AuthfleetFleetVehicleIdDetailsIndexImport } from "./routes/_auth/(fleet)/fleet.$vehicleId._details.index" -import { Route as AuthcustomersCustomersCustomerIdDetailsIndexImport } from "./routes/_auth/(customers)/customers.$customerId._details.index" -import { Route as AuthagreementsAgreementsAgreementIdDetailsIndexImport } from "./routes/_auth/(agreements)/agreements.$agreementId._details.index" import { Route as AuthreservationsReservationsReservationIdDetailsSummaryImport } from "./routes/_auth/(reservations)/reservations.$reservationId._details.summary" import { Route as AuthreservationsReservationsReservationIdDetailsNotesImport } from "./routes/_auth/(reservations)/reservations.$reservationId._details.notes" +import { Route as AuthreservationsReservationsReservationIdDetailsIndexImport } from "./routes/_auth/(reservations)/reservations.$reservationId._details.index" import { Route as AuthfleetFleetVehicleIdDetailsSummaryImport } from "./routes/_auth/(fleet)/fleet.$vehicleId._details.summary" import { Route as AuthfleetFleetVehicleIdDetailsReservationsImport } from "./routes/_auth/(fleet)/fleet.$vehicleId._details.reservations" import { Route as AuthfleetFleetVehicleIdDetailsNotesImport } from "./routes/_auth/(fleet)/fleet.$vehicleId._details.notes" +import { Route as AuthfleetFleetVehicleIdDetailsIndexImport } from "./routes/_auth/(fleet)/fleet.$vehicleId._details.index" import { Route as AuthfleetFleetVehicleIdDetailsAgreementsImport } from "./routes/_auth/(fleet)/fleet.$vehicleId._details.agreements" import { Route as AuthcustomersCustomersCustomerIdDetailsSummaryImport } from "./routes/_auth/(customers)/customers.$customerId._details.summary" import { Route as AuthcustomersCustomersCustomerIdDetailsNotesImport } from "./routes/_auth/(customers)/customers.$customerId._details.notes" +import { Route as AuthcustomersCustomersCustomerIdDetailsIndexImport } from "./routes/_auth/(customers)/customers.$customerId._details.index" import { Route as AuthagreementsAgreementsAgreementIdDetailsSummaryImport } from "./routes/_auth/(agreements)/agreements.$agreementId._details.summary" import { Route as AuthagreementsAgreementsAgreementIdDetailsNotesImport } from "./routes/_auth/(agreements)/agreements.$agreementId._details.notes" +import { Route as AuthagreementsAgreementsAgreementIdDetailsIndexImport } from "./routes/_auth/(agreements)/agreements.$agreementId._details.index" import { Route as AuthagreementsAgreementsAgreementIdDetailsExchangesImport } from "./routes/_auth/(agreements)/agreements.$agreementId._details.exchanges" // Create/Update Routes @@ -111,11 +111,6 @@ const PublicDevRoute = PublicDevImport.update({ getParentRoute: () => PublicRoute, } as any) -const AuthdashboardIndexRoute = AuthdashboardIndexImport.update({ - path: "/", - getParentRoute: () => AuthRoute, -} as any) - const AuthsettingsSettingsRoute = AuthsettingsSettingsImport.update({ path: "/settings", getParentRoute: () => AuthRoute, @@ -132,6 +127,11 @@ const AuthfleetFleetRoute = AuthfleetFleetImport.update({ getParentRoute: () => AuthRoute, } as any) +const AuthdashboardIndexRoute = AuthdashboardIndexImport.update({ + path: "/index", + getParentRoute: () => AuthRoute, +} as any) + const AuthcustomersCustomersRoute = AuthcustomersCustomersImport.update({ path: "/customers", getParentRoute: () => AuthRoute, @@ -142,39 +142,6 @@ const AuthagreementsAgreementsRoute = AuthagreementsAgreementsImport.update({ getParentRoute: () => AuthRoute, } as any) -const AuthsettingsSettingsIndexRoute = AuthsettingsSettingsIndexImport.update({ - path: "/", - getParentRoute: () => AuthsettingsSettingsRoute, -} as any) - -const AuthreservationsReservationsIndexRoute = - AuthreservationsReservationsIndexImport.update({ - path: "/", - getParentRoute: () => AuthreservationsReservationsRoute, - } as any) - -const AuthreportsReportsIndexRoute = AuthreportsReportsIndexImport.update({ - path: "/reports/", - getParentRoute: () => AuthRoute, -} as any) - -const AuthfleetFleetIndexRoute = AuthfleetFleetIndexImport.update({ - path: "/", - getParentRoute: () => AuthfleetFleetRoute, -} as any) - -const AuthcustomersCustomersIndexRoute = - AuthcustomersCustomersIndexImport.update({ - path: "/", - getParentRoute: () => AuthcustomersCustomersRoute, - } as any) - -const AuthagreementsAgreementsIndexRoute = - AuthagreementsAgreementsIndexImport.update({ - path: "/", - getParentRoute: () => AuthagreementsAgreementsRoute, - } as any) - const AuthsettingsSettingsVehiclesAndCategoriesRoute = AuthsettingsSettingsVehiclesAndCategoriesImport.update({ path: "/vehicles-and-categories", @@ -199,6 +166,11 @@ const AuthsettingsSettingsProfileRoute = getParentRoute: () => AuthsettingsSettingsRoute, } as any) +const AuthsettingsSettingsIndexRoute = AuthsettingsSettingsIndexImport.update({ + path: "/index", + getParentRoute: () => AuthsettingsSettingsRoute, +} as any) + const AuthsettingsSettingsApplicationRoute = AuthsettingsSettingsApplicationImport.update({ path: "/application", @@ -211,17 +183,33 @@ const AuthreservationsReservationsNewRoute = getParentRoute: () => AuthreservationsReservationsRoute, } as any) +const AuthreservationsReservationsIndexRoute = + AuthreservationsReservationsIndexImport.update({ + path: "/index", + getParentRoute: () => AuthreservationsReservationsRoute, + } as any) + const AuthreservationsReservationsReservationIdRoute = AuthreservationsReservationsReservationIdImport.update({ path: "/$reservationId", getParentRoute: () => AuthreservationsReservationsRoute, } as any) +const AuthreportsReportsIndexRoute = AuthreportsReportsIndexImport.update({ + path: "/reports/index", + getParentRoute: () => AuthRoute, +} as any) + const AuthfleetFleetNewRoute = AuthfleetFleetNewImport.update({ path: "/new", getParentRoute: () => AuthfleetFleetRoute, } as any) +const AuthfleetFleetIndexRoute = AuthfleetFleetIndexImport.update({ + path: "/index", + getParentRoute: () => AuthfleetFleetRoute, +} as any) + const AuthfleetFleetVehicleIdRoute = AuthfleetFleetVehicleIdImport.update({ path: "/$vehicleId", getParentRoute: () => AuthfleetFleetRoute, @@ -232,6 +220,12 @@ const AuthcustomersCustomersNewRoute = AuthcustomersCustomersNewImport.update({ getParentRoute: () => AuthcustomersCustomersRoute, } as any) +const AuthcustomersCustomersIndexRoute = + AuthcustomersCustomersIndexImport.update({ + path: "/index", + getParentRoute: () => AuthcustomersCustomersRoute, + } as any) + const AuthcustomersCustomersCustomerIdRoute = AuthcustomersCustomersCustomerIdImport.update({ path: "/$customerId", @@ -244,24 +238,18 @@ const AuthagreementsAgreementsNewRoute = getParentRoute: () => AuthagreementsAgreementsRoute, } as any) +const AuthagreementsAgreementsIndexRoute = + AuthagreementsAgreementsIndexImport.update({ + path: "/index", + getParentRoute: () => AuthagreementsAgreementsRoute, + } as any) + const AuthagreementsAgreementsAgreementIdRoute = AuthagreementsAgreementsAgreementIdImport.update({ path: "/$agreementId", getParentRoute: () => AuthagreementsAgreementsRoute, } as any) -const AuthsettingsSettingsApplicationIndexRoute = - AuthsettingsSettingsApplicationIndexImport.update({ - path: "/", - getParentRoute: () => AuthsettingsSettingsApplicationRoute, - } as any) - -const AuthreportsReportsReportIdIndexRoute = - AuthreportsReportsReportIdIndexImport.update({ - path: "/reports/$reportId/", - getParentRoute: () => AuthRoute, - } as any) - const AuthsettingsSettingsApplicationUsersRoute = AuthsettingsSettingsApplicationUsersImport.update({ path: "/users", @@ -286,6 +274,12 @@ const AuthsettingsSettingsApplicationLocationsRoute = getParentRoute: () => AuthsettingsSettingsApplicationRoute, } as any) +const AuthsettingsSettingsApplicationIndexRoute = + AuthsettingsSettingsApplicationIndexImport.update({ + path: "/index", + getParentRoute: () => AuthsettingsSettingsApplicationRoute, + } as any) + const AuthreservationsReservationsReservationIdEditRoute = AuthreservationsReservationsReservationIdEditImport.update({ path: "/edit", @@ -298,6 +292,12 @@ const AuthreservationsReservationsReservationIdDetailsRoute = getParentRoute: () => AuthreservationsReservationsReservationIdRoute, } as any) +const AuthreportsReportsReportIdIndexRoute = + AuthreportsReportsReportIdIndexImport.update({ + path: "/reports/$reportId/index", + getParentRoute: () => AuthRoute, + } as any) + const AuthfleetFleetVehicleIdEditRoute = AuthfleetFleetVehicleIdEditImport.update({ path: "/edit", @@ -340,30 +340,6 @@ const AuthagreementsAgreementsAgreementIdDetailsRoute = getParentRoute: () => AuthagreementsAgreementsAgreementIdRoute, } as any) -const AuthreservationsReservationsReservationIdDetailsIndexRoute = - AuthreservationsReservationsReservationIdDetailsIndexImport.update({ - path: "/", - getParentRoute: () => AuthreservationsReservationsReservationIdDetailsRoute, - } as any) - -const AuthfleetFleetVehicleIdDetailsIndexRoute = - AuthfleetFleetVehicleIdDetailsIndexImport.update({ - path: "/", - getParentRoute: () => AuthfleetFleetVehicleIdDetailsRoute, - } as any) - -const AuthcustomersCustomersCustomerIdDetailsIndexRoute = - AuthcustomersCustomersCustomerIdDetailsIndexImport.update({ - path: "/", - getParentRoute: () => AuthcustomersCustomersCustomerIdDetailsRoute, - } as any) - -const AuthagreementsAgreementsAgreementIdDetailsIndexRoute = - AuthagreementsAgreementsAgreementIdDetailsIndexImport.update({ - path: "/", - getParentRoute: () => AuthagreementsAgreementsAgreementIdDetailsRoute, - } as any) - const AuthreservationsReservationsReservationIdDetailsSummaryRoute = AuthreservationsReservationsReservationIdDetailsSummaryImport.update({ path: "/summary", @@ -376,6 +352,12 @@ const AuthreservationsReservationsReservationIdDetailsNotesRoute = getParentRoute: () => AuthreservationsReservationsReservationIdDetailsRoute, } as any) +const AuthreservationsReservationsReservationIdDetailsIndexRoute = + AuthreservationsReservationsReservationIdDetailsIndexImport.update({ + path: "/index", + getParentRoute: () => AuthreservationsReservationsReservationIdDetailsRoute, + } as any) + const AuthfleetFleetVehicleIdDetailsSummaryRoute = AuthfleetFleetVehicleIdDetailsSummaryImport.update({ path: "/summary", @@ -394,6 +376,12 @@ const AuthfleetFleetVehicleIdDetailsNotesRoute = getParentRoute: () => AuthfleetFleetVehicleIdDetailsRoute, } as any) +const AuthfleetFleetVehicleIdDetailsIndexRoute = + AuthfleetFleetVehicleIdDetailsIndexImport.update({ + path: "/index", + getParentRoute: () => AuthfleetFleetVehicleIdDetailsRoute, + } as any) + const AuthfleetFleetVehicleIdDetailsAgreementsRoute = AuthfleetFleetVehicleIdDetailsAgreementsImport.update({ path: "/agreements", @@ -412,6 +400,12 @@ const AuthcustomersCustomersCustomerIdDetailsNotesRoute = getParentRoute: () => AuthcustomersCustomersCustomerIdDetailsRoute, } as any) +const AuthcustomersCustomersCustomerIdDetailsIndexRoute = + AuthcustomersCustomersCustomerIdDetailsIndexImport.update({ + path: "/index", + getParentRoute: () => AuthcustomersCustomersCustomerIdDetailsRoute, + } as any) + const AuthagreementsAgreementsAgreementIdDetailsSummaryRoute = AuthagreementsAgreementsAgreementIdDetailsSummaryImport.update({ path: "/summary", @@ -424,6 +418,12 @@ const AuthagreementsAgreementsAgreementIdDetailsNotesRoute = getParentRoute: () => AuthagreementsAgreementsAgreementIdDetailsRoute, } as any) +const AuthagreementsAgreementsAgreementIdDetailsIndexRoute = + AuthagreementsAgreementsAgreementIdDetailsIndexImport.update({ + path: "/index", + getParentRoute: () => AuthagreementsAgreementsAgreementIdDetailsRoute, + } as any) + const AuthagreementsAgreementsAgreementIdDetailsExchangesRoute = AuthagreementsAgreementsAgreementIdDetailsExchangesImport.update({ path: "/exchanges", @@ -497,6 +497,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthcustomersCustomersImport parentRoute: typeof AuthImport } + "/_auth/(dashboard)/index": { + id: "/_auth/index" + path: "/index" + fullPath: "/index" + preLoaderRoute: typeof AuthdashboardIndexImport + parentRoute: typeof AuthImport + } "/_auth/(fleet)/fleet": { id: "/_auth/fleet" path: "/fleet" @@ -518,13 +525,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthsettingsSettingsImport parentRoute: typeof AuthImport } - "/_auth/(dashboard)/": { - id: "/_auth/" - path: "/" - fullPath: "/" - preLoaderRoute: typeof AuthdashboardIndexImport - parentRoute: typeof AuthImport - } "/_auth/(agreements)/agreements/$agreementId": { id: "/_auth/agreements/$agreementId" path: "/$agreementId" @@ -532,6 +532,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthagreementsAgreementsAgreementIdImport parentRoute: typeof AuthagreementsAgreementsImport } + "/_auth/(agreements)/agreements/index": { + id: "/_auth/agreements/index" + path: "/index" + fullPath: "/agreements/index" + preLoaderRoute: typeof AuthagreementsAgreementsIndexImport + parentRoute: typeof AuthagreementsAgreementsImport + } "/_auth/(agreements)/agreements/new": { id: "/_auth/agreements/new" path: "/new" @@ -546,6 +553,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthcustomersCustomersCustomerIdImport parentRoute: typeof AuthcustomersCustomersImport } + "/_auth/(customers)/customers/index": { + id: "/_auth/customers/index" + path: "/index" + fullPath: "/customers/index" + preLoaderRoute: typeof AuthcustomersCustomersIndexImport + parentRoute: typeof AuthcustomersCustomersImport + } "/_auth/(customers)/customers/new": { id: "/_auth/customers/new" path: "/new" @@ -560,6 +574,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthfleetFleetVehicleIdImport parentRoute: typeof AuthfleetFleetImport } + "/_auth/(fleet)/fleet/index": { + id: "/_auth/fleet/index" + path: "/index" + fullPath: "/fleet/index" + preLoaderRoute: typeof AuthfleetFleetIndexImport + parentRoute: typeof AuthfleetFleetImport + } "/_auth/(fleet)/fleet/new": { id: "/_auth/fleet/new" path: "/new" @@ -567,6 +588,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthfleetFleetNewImport parentRoute: typeof AuthfleetFleetImport } + "/_auth/(reports)/reports/index": { + id: "/_auth/reports/index" + path: "/reports/index" + fullPath: "/reports/index" + preLoaderRoute: typeof AuthreportsReportsIndexImport + parentRoute: typeof AuthImport + } "/_auth/(reservations)/reservations/$reservationId": { id: "/_auth/reservations/$reservationId" path: "/$reservationId" @@ -574,6 +602,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthreservationsReservationsReservationIdImport parentRoute: typeof AuthreservationsReservationsImport } + "/_auth/(reservations)/reservations/index": { + id: "/_auth/reservations/index" + path: "/index" + fullPath: "/reservations/index" + preLoaderRoute: typeof AuthreservationsReservationsIndexImport + parentRoute: typeof AuthreservationsReservationsImport + } "/_auth/(reservations)/reservations/new": { id: "/_auth/reservations/new" path: "/new" @@ -588,6 +623,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthsettingsSettingsApplicationImport parentRoute: typeof AuthsettingsSettingsImport } + "/_auth/(settings)/settings/index": { + id: "/_auth/settings/index" + path: "/index" + fullPath: "/settings/index" + preLoaderRoute: typeof AuthsettingsSettingsIndexImport + parentRoute: typeof AuthsettingsSettingsImport + } "/_auth/(settings)/settings/profile": { id: "/_auth/settings/profile" path: "/profile" @@ -616,48 +658,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthsettingsSettingsVehiclesAndCategoriesImport parentRoute: typeof AuthsettingsSettingsImport } - "/_auth/(agreements)/agreements/": { - id: "/_auth/agreements/" - path: "/" - fullPath: "/agreements/" - preLoaderRoute: typeof AuthagreementsAgreementsIndexImport - parentRoute: typeof AuthagreementsAgreementsImport - } - "/_auth/(customers)/customers/": { - id: "/_auth/customers/" - path: "/" - fullPath: "/customers/" - preLoaderRoute: typeof AuthcustomersCustomersIndexImport - parentRoute: typeof AuthcustomersCustomersImport - } - "/_auth/(fleet)/fleet/": { - id: "/_auth/fleet/" - path: "/" - fullPath: "/fleet/" - preLoaderRoute: typeof AuthfleetFleetIndexImport - parentRoute: typeof AuthfleetFleetImport - } - "/_auth/(reports)/reports/": { - id: "/_auth/reports/" - path: "/reports" - fullPath: "/reports" - preLoaderRoute: typeof AuthreportsReportsIndexImport - parentRoute: typeof AuthImport - } - "/_auth/(reservations)/reservations/": { - id: "/_auth/reservations/" - path: "/" - fullPath: "/reservations/" - preLoaderRoute: typeof AuthreservationsReservationsIndexImport - parentRoute: typeof AuthreservationsReservationsImport - } - "/_auth/(settings)/settings/": { - id: "/_auth/settings/" - path: "/" - fullPath: "/settings/" - preLoaderRoute: typeof AuthsettingsSettingsIndexImport - parentRoute: typeof AuthsettingsSettingsImport - } "/_auth/(agreements)/agreements/$agreementId/_details": { id: "/_auth/agreements/$agreementId/_details" path: "" @@ -707,6 +707,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthfleetFleetVehicleIdEditImport parentRoute: typeof AuthfleetFleetVehicleIdImport } + "/_auth/(reports)/reports/$reportId/index": { + id: "/_auth/reports/$reportId/index" + path: "/reports/$reportId/index" + fullPath: "/reports/$reportId/index" + preLoaderRoute: typeof AuthreportsReportsReportIdIndexImport + parentRoute: typeof AuthImport + } "/_auth/(reservations)/reservations/$reservationId/_details": { id: "/_auth/reservations/$reservationId/_details" path: "" @@ -721,6 +728,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthreservationsReservationsReservationIdEditImport parentRoute: typeof AuthreservationsReservationsReservationIdImport } + "/_auth/(settings)/settings/application/index": { + id: "/_auth/settings/application/index" + path: "/index" + fullPath: "/settings/application/index" + preLoaderRoute: typeof AuthsettingsSettingsApplicationIndexImport + parentRoute: typeof AuthsettingsSettingsApplicationImport + } "/_auth/(settings)/settings/application/locations": { id: "/_auth/settings/application/locations" path: "/locations" @@ -749,20 +763,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthsettingsSettingsApplicationUsersImport parentRoute: typeof AuthsettingsSettingsApplicationImport } - "/_auth/(reports)/reports/$reportId/": { - id: "/_auth/reports/$reportId/" - path: "/reports/$reportId" - fullPath: "/reports/$reportId" - preLoaderRoute: typeof AuthreportsReportsReportIdIndexImport - parentRoute: typeof AuthImport - } - "/_auth/(settings)/settings/application/": { - id: "/_auth/settings/application/" - path: "/" - fullPath: "/settings/application/" - preLoaderRoute: typeof AuthsettingsSettingsApplicationIndexImport - parentRoute: typeof AuthsettingsSettingsApplicationImport - } "/_auth/(agreements)/agreements/$agreementId/_details/exchanges": { id: "/_auth/agreements/$agreementId/_details/exchanges" path: "/exchanges" @@ -770,6 +770,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthagreementsAgreementsAgreementIdDetailsExchangesImport parentRoute: typeof AuthagreementsAgreementsAgreementIdDetailsImport } + "/_auth/(agreements)/agreements/$agreementId/_details/index": { + id: "/_auth/agreements/$agreementId/_details/index" + path: "/index" + fullPath: "/agreements/$agreementId/index" + preLoaderRoute: typeof AuthagreementsAgreementsAgreementIdDetailsIndexImport + parentRoute: typeof AuthagreementsAgreementsAgreementIdDetailsImport + } "/_auth/(agreements)/agreements/$agreementId/_details/notes": { id: "/_auth/agreements/$agreementId/_details/notes" path: "/notes" @@ -784,6 +791,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthagreementsAgreementsAgreementIdDetailsSummaryImport parentRoute: typeof AuthagreementsAgreementsAgreementIdDetailsImport } + "/_auth/(customers)/customers/$customerId/_details/index": { + id: "/_auth/customers/$customerId/_details/index" + path: "/index" + fullPath: "/customers/$customerId/index" + preLoaderRoute: typeof AuthcustomersCustomersCustomerIdDetailsIndexImport + parentRoute: typeof AuthcustomersCustomersCustomerIdDetailsImport + } "/_auth/(customers)/customers/$customerId/_details/notes": { id: "/_auth/customers/$customerId/_details/notes" path: "/notes" @@ -805,6 +819,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthfleetFleetVehicleIdDetailsAgreementsImport parentRoute: typeof AuthfleetFleetVehicleIdDetailsImport } + "/_auth/(fleet)/fleet/$vehicleId/_details/index": { + id: "/_auth/fleet/$vehicleId/_details/index" + path: "/index" + fullPath: "/fleet/$vehicleId/index" + preLoaderRoute: typeof AuthfleetFleetVehicleIdDetailsIndexImport + parentRoute: typeof AuthfleetFleetVehicleIdDetailsImport + } "/_auth/(fleet)/fleet/$vehicleId/_details/notes": { id: "/_auth/fleet/$vehicleId/_details/notes" path: "/notes" @@ -826,6 +847,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthfleetFleetVehicleIdDetailsSummaryImport parentRoute: typeof AuthfleetFleetVehicleIdDetailsImport } + "/_auth/(reservations)/reservations/$reservationId/_details/index": { + id: "/_auth/reservations/$reservationId/_details/index" + path: "/index" + fullPath: "/reservations/$reservationId/index" + preLoaderRoute: typeof AuthreservationsReservationsReservationIdDetailsIndexImport + parentRoute: typeof AuthreservationsReservationsReservationIdDetailsImport + } "/_auth/(reservations)/reservations/$reservationId/_details/notes": { id: "/_auth/reservations/$reservationId/_details/notes" path: "/notes" @@ -840,34 +868,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthreservationsReservationsReservationIdDetailsSummaryImport parentRoute: typeof AuthreservationsReservationsReservationIdDetailsImport } - "/_auth/(agreements)/agreements/$agreementId/_details/": { - id: "/_auth/agreements/$agreementId/_details/" - path: "/" - fullPath: "/agreements/$agreementId/" - preLoaderRoute: typeof AuthagreementsAgreementsAgreementIdDetailsIndexImport - parentRoute: typeof AuthagreementsAgreementsAgreementIdDetailsImport - } - "/_auth/(customers)/customers/$customerId/_details/": { - id: "/_auth/customers/$customerId/_details/" - path: "/" - fullPath: "/customers/$customerId/" - preLoaderRoute: typeof AuthcustomersCustomersCustomerIdDetailsIndexImport - parentRoute: typeof AuthcustomersCustomersCustomerIdDetailsImport - } - "/_auth/(fleet)/fleet/$vehicleId/_details/": { - id: "/_auth/fleet/$vehicleId/_details/" - path: "/" - fullPath: "/fleet/$vehicleId/" - preLoaderRoute: typeof AuthfleetFleetVehicleIdDetailsIndexImport - parentRoute: typeof AuthfleetFleetVehicleIdDetailsImport - } - "/_auth/(reservations)/reservations/$reservationId/_details/": { - id: "/_auth/reservations/$reservationId/_details/" - path: "/" - fullPath: "/reservations/$reservationId/" - preLoaderRoute: typeof AuthreservationsReservationsReservationIdDetailsIndexImport - parentRoute: typeof AuthreservationsReservationsReservationIdDetailsImport - } } } @@ -875,21 +875,21 @@ declare module "@tanstack/react-router" { interface AuthagreementsAgreementsAgreementIdDetailsRouteChildren { AuthagreementsAgreementsAgreementIdDetailsExchangesRoute: typeof AuthagreementsAgreementsAgreementIdDetailsExchangesRoute + AuthagreementsAgreementsAgreementIdDetailsIndexRoute: typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute AuthagreementsAgreementsAgreementIdDetailsNotesRoute: typeof AuthagreementsAgreementsAgreementIdDetailsNotesRoute AuthagreementsAgreementsAgreementIdDetailsSummaryRoute: typeof AuthagreementsAgreementsAgreementIdDetailsSummaryRoute - AuthagreementsAgreementsAgreementIdDetailsIndexRoute: typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute } const AuthagreementsAgreementsAgreementIdDetailsRouteChildren: AuthagreementsAgreementsAgreementIdDetailsRouteChildren = { AuthagreementsAgreementsAgreementIdDetailsExchangesRoute: AuthagreementsAgreementsAgreementIdDetailsExchangesRoute, + AuthagreementsAgreementsAgreementIdDetailsIndexRoute: + AuthagreementsAgreementsAgreementIdDetailsIndexRoute, AuthagreementsAgreementsAgreementIdDetailsNotesRoute: AuthagreementsAgreementsAgreementIdDetailsNotesRoute, AuthagreementsAgreementsAgreementIdDetailsSummaryRoute: AuthagreementsAgreementsAgreementIdDetailsSummaryRoute, - AuthagreementsAgreementsAgreementIdDetailsIndexRoute: - AuthagreementsAgreementsAgreementIdDetailsIndexRoute, } const AuthagreementsAgreementsAgreementIdDetailsRouteWithChildren = @@ -920,16 +920,16 @@ const AuthagreementsAgreementsAgreementIdRouteWithChildren = interface AuthagreementsAgreementsRouteChildren { AuthagreementsAgreementsAgreementIdRoute: typeof AuthagreementsAgreementsAgreementIdRouteWithChildren - AuthagreementsAgreementsNewRoute: typeof AuthagreementsAgreementsNewRoute AuthagreementsAgreementsIndexRoute: typeof AuthagreementsAgreementsIndexRoute + AuthagreementsAgreementsNewRoute: typeof AuthagreementsAgreementsNewRoute } const AuthagreementsAgreementsRouteChildren: AuthagreementsAgreementsRouteChildren = { AuthagreementsAgreementsAgreementIdRoute: AuthagreementsAgreementsAgreementIdRouteWithChildren, - AuthagreementsAgreementsNewRoute: AuthagreementsAgreementsNewRoute, AuthagreementsAgreementsIndexRoute: AuthagreementsAgreementsIndexRoute, + AuthagreementsAgreementsNewRoute: AuthagreementsAgreementsNewRoute, } const AuthagreementsAgreementsRouteWithChildren = @@ -938,19 +938,19 @@ const AuthagreementsAgreementsRouteWithChildren = ) interface AuthcustomersCustomersCustomerIdDetailsRouteChildren { + AuthcustomersCustomersCustomerIdDetailsIndexRoute: typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute AuthcustomersCustomersCustomerIdDetailsNotesRoute: typeof AuthcustomersCustomersCustomerIdDetailsNotesRoute AuthcustomersCustomersCustomerIdDetailsSummaryRoute: typeof AuthcustomersCustomersCustomerIdDetailsSummaryRoute - AuthcustomersCustomersCustomerIdDetailsIndexRoute: typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute } const AuthcustomersCustomersCustomerIdDetailsRouteChildren: AuthcustomersCustomersCustomerIdDetailsRouteChildren = { + AuthcustomersCustomersCustomerIdDetailsIndexRoute: + AuthcustomersCustomersCustomerIdDetailsIndexRoute, AuthcustomersCustomersCustomerIdDetailsNotesRoute: AuthcustomersCustomersCustomerIdDetailsNotesRoute, AuthcustomersCustomersCustomerIdDetailsSummaryRoute: AuthcustomersCustomersCustomerIdDetailsSummaryRoute, - AuthcustomersCustomersCustomerIdDetailsIndexRoute: - AuthcustomersCustomersCustomerIdDetailsIndexRoute, } const AuthcustomersCustomersCustomerIdDetailsRouteWithChildren = @@ -978,16 +978,16 @@ const AuthcustomersCustomersCustomerIdRouteWithChildren = interface AuthcustomersCustomersRouteChildren { AuthcustomersCustomersCustomerIdRoute: typeof AuthcustomersCustomersCustomerIdRouteWithChildren - AuthcustomersCustomersNewRoute: typeof AuthcustomersCustomersNewRoute AuthcustomersCustomersIndexRoute: typeof AuthcustomersCustomersIndexRoute + AuthcustomersCustomersNewRoute: typeof AuthcustomersCustomersNewRoute } const AuthcustomersCustomersRouteChildren: AuthcustomersCustomersRouteChildren = { AuthcustomersCustomersCustomerIdRoute: AuthcustomersCustomersCustomerIdRouteWithChildren, - AuthcustomersCustomersNewRoute: AuthcustomersCustomersNewRoute, AuthcustomersCustomersIndexRoute: AuthcustomersCustomersIndexRoute, + AuthcustomersCustomersNewRoute: AuthcustomersCustomersNewRoute, } const AuthcustomersCustomersRouteWithChildren = @@ -997,24 +997,24 @@ const AuthcustomersCustomersRouteWithChildren = interface AuthfleetFleetVehicleIdDetailsRouteChildren { AuthfleetFleetVehicleIdDetailsAgreementsRoute: typeof AuthfleetFleetVehicleIdDetailsAgreementsRoute + AuthfleetFleetVehicleIdDetailsIndexRoute: typeof AuthfleetFleetVehicleIdDetailsIndexRoute AuthfleetFleetVehicleIdDetailsNotesRoute: typeof AuthfleetFleetVehicleIdDetailsNotesRoute AuthfleetFleetVehicleIdDetailsReservationsRoute: typeof AuthfleetFleetVehicleIdDetailsReservationsRoute AuthfleetFleetVehicleIdDetailsSummaryRoute: typeof AuthfleetFleetVehicleIdDetailsSummaryRoute - AuthfleetFleetVehicleIdDetailsIndexRoute: typeof AuthfleetFleetVehicleIdDetailsIndexRoute } const AuthfleetFleetVehicleIdDetailsRouteChildren: AuthfleetFleetVehicleIdDetailsRouteChildren = { AuthfleetFleetVehicleIdDetailsAgreementsRoute: AuthfleetFleetVehicleIdDetailsAgreementsRoute, + AuthfleetFleetVehicleIdDetailsIndexRoute: + AuthfleetFleetVehicleIdDetailsIndexRoute, AuthfleetFleetVehicleIdDetailsNotesRoute: AuthfleetFleetVehicleIdDetailsNotesRoute, AuthfleetFleetVehicleIdDetailsReservationsRoute: AuthfleetFleetVehicleIdDetailsReservationsRoute, AuthfleetFleetVehicleIdDetailsSummaryRoute: AuthfleetFleetVehicleIdDetailsSummaryRoute, - AuthfleetFleetVehicleIdDetailsIndexRoute: - AuthfleetFleetVehicleIdDetailsIndexRoute, } const AuthfleetFleetVehicleIdDetailsRouteWithChildren = @@ -1041,14 +1041,14 @@ const AuthfleetFleetVehicleIdRouteWithChildren = interface AuthfleetFleetRouteChildren { AuthfleetFleetVehicleIdRoute: typeof AuthfleetFleetVehicleIdRouteWithChildren - AuthfleetFleetNewRoute: typeof AuthfleetFleetNewRoute AuthfleetFleetIndexRoute: typeof AuthfleetFleetIndexRoute + AuthfleetFleetNewRoute: typeof AuthfleetFleetNewRoute } const AuthfleetFleetRouteChildren: AuthfleetFleetRouteChildren = { AuthfleetFleetVehicleIdRoute: AuthfleetFleetVehicleIdRouteWithChildren, - AuthfleetFleetNewRoute: AuthfleetFleetNewRoute, AuthfleetFleetIndexRoute: AuthfleetFleetIndexRoute, + AuthfleetFleetNewRoute: AuthfleetFleetNewRoute, } const AuthfleetFleetRouteWithChildren = AuthfleetFleetRoute._addFileChildren( @@ -1056,19 +1056,19 @@ const AuthfleetFleetRouteWithChildren = AuthfleetFleetRoute._addFileChildren( ) interface AuthreservationsReservationsReservationIdDetailsRouteChildren { + AuthreservationsReservationsReservationIdDetailsIndexRoute: typeof AuthreservationsReservationsReservationIdDetailsIndexRoute AuthreservationsReservationsReservationIdDetailsNotesRoute: typeof AuthreservationsReservationsReservationIdDetailsNotesRoute AuthreservationsReservationsReservationIdDetailsSummaryRoute: typeof AuthreservationsReservationsReservationIdDetailsSummaryRoute - AuthreservationsReservationsReservationIdDetailsIndexRoute: typeof AuthreservationsReservationsReservationIdDetailsIndexRoute } const AuthreservationsReservationsReservationIdDetailsRouteChildren: AuthreservationsReservationsReservationIdDetailsRouteChildren = { + AuthreservationsReservationsReservationIdDetailsIndexRoute: + AuthreservationsReservationsReservationIdDetailsIndexRoute, AuthreservationsReservationsReservationIdDetailsNotesRoute: AuthreservationsReservationsReservationIdDetailsNotesRoute, AuthreservationsReservationsReservationIdDetailsSummaryRoute: AuthreservationsReservationsReservationIdDetailsSummaryRoute, - AuthreservationsReservationsReservationIdDetailsIndexRoute: - AuthreservationsReservationsReservationIdDetailsIndexRoute, } const AuthreservationsReservationsReservationIdDetailsRouteWithChildren = @@ -1096,17 +1096,17 @@ const AuthreservationsReservationsReservationIdRouteWithChildren = interface AuthreservationsReservationsRouteChildren { AuthreservationsReservationsReservationIdRoute: typeof AuthreservationsReservationsReservationIdRouteWithChildren - AuthreservationsReservationsNewRoute: typeof AuthreservationsReservationsNewRoute AuthreservationsReservationsIndexRoute: typeof AuthreservationsReservationsIndexRoute + AuthreservationsReservationsNewRoute: typeof AuthreservationsReservationsNewRoute } const AuthreservationsReservationsRouteChildren: AuthreservationsReservationsRouteChildren = { AuthreservationsReservationsReservationIdRoute: AuthreservationsReservationsReservationIdRouteWithChildren, - AuthreservationsReservationsNewRoute: AuthreservationsReservationsNewRoute, AuthreservationsReservationsIndexRoute: AuthreservationsReservationsIndexRoute, + AuthreservationsReservationsNewRoute: AuthreservationsReservationsNewRoute, } const AuthreservationsReservationsRouteWithChildren = @@ -1115,15 +1115,17 @@ const AuthreservationsReservationsRouteWithChildren = ) interface AuthsettingsSettingsApplicationRouteChildren { + AuthsettingsSettingsApplicationIndexRoute: typeof AuthsettingsSettingsApplicationIndexRoute AuthsettingsSettingsApplicationLocationsRoute: typeof AuthsettingsSettingsApplicationLocationsRoute AuthsettingsSettingsApplicationPermissionsAndRolesRoute: typeof AuthsettingsSettingsApplicationPermissionsAndRolesRoute AuthsettingsSettingsApplicationStoreHoursAndHolidaysRoute: typeof AuthsettingsSettingsApplicationStoreHoursAndHolidaysRoute AuthsettingsSettingsApplicationUsersRoute: typeof AuthsettingsSettingsApplicationUsersRoute - AuthsettingsSettingsApplicationIndexRoute: typeof AuthsettingsSettingsApplicationIndexRoute } const AuthsettingsSettingsApplicationRouteChildren: AuthsettingsSettingsApplicationRouteChildren = { + AuthsettingsSettingsApplicationIndexRoute: + AuthsettingsSettingsApplicationIndexRoute, AuthsettingsSettingsApplicationLocationsRoute: AuthsettingsSettingsApplicationLocationsRoute, AuthsettingsSettingsApplicationPermissionsAndRolesRoute: @@ -1132,8 +1134,6 @@ const AuthsettingsSettingsApplicationRouteChildren: AuthsettingsSettingsApplicat AuthsettingsSettingsApplicationStoreHoursAndHolidaysRoute, AuthsettingsSettingsApplicationUsersRoute: AuthsettingsSettingsApplicationUsersRoute, - AuthsettingsSettingsApplicationIndexRoute: - AuthsettingsSettingsApplicationIndexRoute, } const AuthsettingsSettingsApplicationRouteWithChildren = @@ -1143,16 +1143,17 @@ const AuthsettingsSettingsApplicationRouteWithChildren = interface AuthsettingsSettingsRouteChildren { AuthsettingsSettingsApplicationRoute: typeof AuthsettingsSettingsApplicationRouteWithChildren + AuthsettingsSettingsIndexRoute: typeof AuthsettingsSettingsIndexRoute AuthsettingsSettingsProfileRoute: typeof AuthsettingsSettingsProfileRoute AuthsettingsSettingsRatesAndChargesRoute: typeof AuthsettingsSettingsRatesAndChargesRoute AuthsettingsSettingsRuntimeConfigurationRoute: typeof AuthsettingsSettingsRuntimeConfigurationRoute AuthsettingsSettingsVehiclesAndCategoriesRoute: typeof AuthsettingsSettingsVehiclesAndCategoriesRoute - AuthsettingsSettingsIndexRoute: typeof AuthsettingsSettingsIndexRoute } const AuthsettingsSettingsRouteChildren: AuthsettingsSettingsRouteChildren = { AuthsettingsSettingsApplicationRoute: AuthsettingsSettingsApplicationRouteWithChildren, + AuthsettingsSettingsIndexRoute: AuthsettingsSettingsIndexRoute, AuthsettingsSettingsProfileRoute: AuthsettingsSettingsProfileRoute, AuthsettingsSettingsRatesAndChargesRoute: AuthsettingsSettingsRatesAndChargesRoute, @@ -1160,7 +1161,6 @@ const AuthsettingsSettingsRouteChildren: AuthsettingsSettingsRouteChildren = { AuthsettingsSettingsRuntimeConfigurationRoute, AuthsettingsSettingsVehiclesAndCategoriesRoute: AuthsettingsSettingsVehiclesAndCategoriesRoute, - AuthsettingsSettingsIndexRoute: AuthsettingsSettingsIndexRoute, } const AuthsettingsSettingsRouteWithChildren = @@ -1169,10 +1169,10 @@ const AuthsettingsSettingsRouteWithChildren = interface AuthRouteChildren { AuthagreementsAgreementsRoute: typeof AuthagreementsAgreementsRouteWithChildren AuthcustomersCustomersRoute: typeof AuthcustomersCustomersRouteWithChildren + AuthdashboardIndexRoute: typeof AuthdashboardIndexRoute AuthfleetFleetRoute: typeof AuthfleetFleetRouteWithChildren AuthreservationsReservationsRoute: typeof AuthreservationsReservationsRouteWithChildren AuthsettingsSettingsRoute: typeof AuthsettingsSettingsRouteWithChildren - AuthdashboardIndexRoute: typeof AuthdashboardIndexRoute AuthreportsReportsIndexRoute: typeof AuthreportsReportsIndexRoute AuthreportsReportsReportIdIndexRoute: typeof AuthreportsReportsReportIdIndexRoute } @@ -1180,11 +1180,11 @@ interface AuthRouteChildren { const AuthRouteChildren: AuthRouteChildren = { AuthagreementsAgreementsRoute: AuthagreementsAgreementsRouteWithChildren, AuthcustomersCustomersRoute: AuthcustomersCustomersRouteWithChildren, + AuthdashboardIndexRoute: AuthdashboardIndexRoute, AuthfleetFleetRoute: AuthfleetFleetRouteWithChildren, AuthreservationsReservationsRoute: AuthreservationsReservationsRouteWithChildren, AuthsettingsSettingsRoute: AuthsettingsSettingsRouteWithChildren, - AuthdashboardIndexRoute: AuthdashboardIndexRoute, AuthreportsReportsIndexRoute: AuthreportsReportsIndexRoute, AuthreportsReportsReportIdIndexRoute: AuthreportsReportsReportIdIndexRoute, } @@ -1219,55 +1219,55 @@ export interface FileRoutesByFullPath { "/oidc-callback": typeof PublicOidcCallbackRoute "/agreements": typeof AuthagreementsAgreementsRouteWithChildren "/customers": typeof AuthcustomersCustomersRouteWithChildren + "/index": typeof AuthdashboardIndexRoute "/fleet": typeof AuthfleetFleetRouteWithChildren "/reservations": typeof AuthreservationsReservationsRouteWithChildren "/settings": typeof AuthsettingsSettingsRouteWithChildren - "/": typeof AuthdashboardIndexRoute "/agreements/$agreementId": typeof AuthagreementsAgreementsAgreementIdDetailsRouteWithChildren + "/agreements/index": typeof AuthagreementsAgreementsIndexRoute "/agreements/new": typeof AuthagreementsAgreementsNewRoute "/customers/$customerId": typeof AuthcustomersCustomersCustomerIdDetailsRouteWithChildren + "/customers/index": typeof AuthcustomersCustomersIndexRoute "/customers/new": typeof AuthcustomersCustomersNewRoute "/fleet/$vehicleId": typeof AuthfleetFleetVehicleIdDetailsRouteWithChildren + "/fleet/index": typeof AuthfleetFleetIndexRoute "/fleet/new": typeof AuthfleetFleetNewRoute + "/reports/index": typeof AuthreportsReportsIndexRoute "/reservations/$reservationId": typeof AuthreservationsReservationsReservationIdDetailsRouteWithChildren + "/reservations/index": typeof AuthreservationsReservationsIndexRoute "/reservations/new": typeof AuthreservationsReservationsNewRoute "/settings/application": typeof AuthsettingsSettingsApplicationRouteWithChildren + "/settings/index": typeof AuthsettingsSettingsIndexRoute "/settings/profile": typeof AuthsettingsSettingsProfileRoute "/settings/rates-and-charges": typeof AuthsettingsSettingsRatesAndChargesRoute "/settings/runtime-configuration": typeof AuthsettingsSettingsRuntimeConfigurationRoute "/settings/vehicles-and-categories": typeof AuthsettingsSettingsVehiclesAndCategoriesRoute - "/agreements/": typeof AuthagreementsAgreementsIndexRoute - "/customers/": typeof AuthcustomersCustomersIndexRoute - "/fleet/": typeof AuthfleetFleetIndexRoute - "/reports": typeof AuthreportsReportsIndexRoute - "/reservations/": typeof AuthreservationsReservationsIndexRoute - "/settings/": typeof AuthsettingsSettingsIndexRoute "/agreements/$agreementId/check-in": typeof AuthagreementsAgreementsAgreementIdCheckInRoute "/agreements/$agreementId/edit": typeof AuthagreementsAgreementsAgreementIdEditRoute "/customers/$customerId/edit": typeof AuthcustomersCustomersCustomerIdEditRoute "/fleet/$vehicleId/edit": typeof AuthfleetFleetVehicleIdEditRoute + "/reports/$reportId/index": typeof AuthreportsReportsReportIdIndexRoute "/reservations/$reservationId/edit": typeof AuthreservationsReservationsReservationIdEditRoute + "/settings/application/index": typeof AuthsettingsSettingsApplicationIndexRoute "/settings/application/locations": typeof AuthsettingsSettingsApplicationLocationsRoute "/settings/application/permissions-and-roles": typeof AuthsettingsSettingsApplicationPermissionsAndRolesRoute "/settings/application/store-hours-and-holidays": typeof AuthsettingsSettingsApplicationStoreHoursAndHolidaysRoute "/settings/application/users": typeof AuthsettingsSettingsApplicationUsersRoute - "/reports/$reportId": typeof AuthreportsReportsReportIdIndexRoute - "/settings/application/": typeof AuthsettingsSettingsApplicationIndexRoute "/agreements/$agreementId/exchanges": typeof AuthagreementsAgreementsAgreementIdDetailsExchangesRoute + "/agreements/$agreementId/index": typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute "/agreements/$agreementId/notes": typeof AuthagreementsAgreementsAgreementIdDetailsNotesRoute "/agreements/$agreementId/summary": typeof AuthagreementsAgreementsAgreementIdDetailsSummaryRoute + "/customers/$customerId/index": typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute "/customers/$customerId/notes": typeof AuthcustomersCustomersCustomerIdDetailsNotesRoute "/customers/$customerId/summary": typeof AuthcustomersCustomersCustomerIdDetailsSummaryRoute "/fleet/$vehicleId/agreements": typeof AuthfleetFleetVehicleIdDetailsAgreementsRoute + "/fleet/$vehicleId/index": typeof AuthfleetFleetVehicleIdDetailsIndexRoute "/fleet/$vehicleId/notes": typeof AuthfleetFleetVehicleIdDetailsNotesRoute "/fleet/$vehicleId/reservations": typeof AuthfleetFleetVehicleIdDetailsReservationsRoute "/fleet/$vehicleId/summary": typeof AuthfleetFleetVehicleIdDetailsSummaryRoute + "/reservations/$reservationId/index": typeof AuthreservationsReservationsReservationIdDetailsIndexRoute "/reservations/$reservationId/notes": typeof AuthreservationsReservationsReservationIdDetailsNotesRoute "/reservations/$reservationId/summary": typeof AuthreservationsReservationsReservationIdDetailsSummaryRoute - "/agreements/$agreementId/": typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute - "/customers/$customerId/": typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute - "/fleet/$vehicleId/": typeof AuthfleetFleetVehicleIdDetailsIndexRoute - "/reservations/$reservationId/": typeof AuthreservationsReservationsReservationIdDetailsIndexRoute } export interface FileRoutesByTo { @@ -1277,45 +1277,55 @@ export interface FileRoutesByTo { "/login": typeof PublicLoginRoute "/logout": typeof PublicLogoutRoute "/oidc-callback": typeof PublicOidcCallbackRoute - "/": typeof AuthdashboardIndexRoute - "/agreements/$agreementId": typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute + "/agreements": typeof AuthagreementsAgreementsRouteWithChildren + "/customers": typeof AuthcustomersCustomersRouteWithChildren + "/index": typeof AuthdashboardIndexRoute + "/fleet": typeof AuthfleetFleetRouteWithChildren + "/reservations": typeof AuthreservationsReservationsRouteWithChildren + "/settings": typeof AuthsettingsSettingsRouteWithChildren + "/agreements/$agreementId": typeof AuthagreementsAgreementsAgreementIdDetailsRouteWithChildren + "/agreements/index": typeof AuthagreementsAgreementsIndexRoute "/agreements/new": typeof AuthagreementsAgreementsNewRoute - "/customers/$customerId": typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute + "/customers/$customerId": typeof AuthcustomersCustomersCustomerIdDetailsRouteWithChildren + "/customers/index": typeof AuthcustomersCustomersIndexRoute "/customers/new": typeof AuthcustomersCustomersNewRoute - "/fleet/$vehicleId": typeof AuthfleetFleetVehicleIdDetailsIndexRoute + "/fleet/$vehicleId": typeof AuthfleetFleetVehicleIdDetailsRouteWithChildren + "/fleet/index": typeof AuthfleetFleetIndexRoute "/fleet/new": typeof AuthfleetFleetNewRoute - "/reservations/$reservationId": typeof AuthreservationsReservationsReservationIdDetailsIndexRoute + "/reports/index": typeof AuthreportsReportsIndexRoute + "/reservations/$reservationId": typeof AuthreservationsReservationsReservationIdDetailsRouteWithChildren + "/reservations/index": typeof AuthreservationsReservationsIndexRoute "/reservations/new": typeof AuthreservationsReservationsNewRoute + "/settings/application": typeof AuthsettingsSettingsApplicationRouteWithChildren + "/settings/index": typeof AuthsettingsSettingsIndexRoute "/settings/profile": typeof AuthsettingsSettingsProfileRoute "/settings/rates-and-charges": typeof AuthsettingsSettingsRatesAndChargesRoute "/settings/runtime-configuration": typeof AuthsettingsSettingsRuntimeConfigurationRoute "/settings/vehicles-and-categories": typeof AuthsettingsSettingsVehiclesAndCategoriesRoute - "/agreements": typeof AuthagreementsAgreementsIndexRoute - "/customers": typeof AuthcustomersCustomersIndexRoute - "/fleet": typeof AuthfleetFleetIndexRoute - "/reports": typeof AuthreportsReportsIndexRoute - "/reservations": typeof AuthreservationsReservationsIndexRoute - "/settings": typeof AuthsettingsSettingsIndexRoute "/agreements/$agreementId/check-in": typeof AuthagreementsAgreementsAgreementIdCheckInRoute "/agreements/$agreementId/edit": typeof AuthagreementsAgreementsAgreementIdEditRoute "/customers/$customerId/edit": typeof AuthcustomersCustomersCustomerIdEditRoute "/fleet/$vehicleId/edit": typeof AuthfleetFleetVehicleIdEditRoute + "/reports/$reportId/index": typeof AuthreportsReportsReportIdIndexRoute "/reservations/$reservationId/edit": typeof AuthreservationsReservationsReservationIdEditRoute + "/settings/application/index": typeof AuthsettingsSettingsApplicationIndexRoute "/settings/application/locations": typeof AuthsettingsSettingsApplicationLocationsRoute "/settings/application/permissions-and-roles": typeof AuthsettingsSettingsApplicationPermissionsAndRolesRoute "/settings/application/store-hours-and-holidays": typeof AuthsettingsSettingsApplicationStoreHoursAndHolidaysRoute "/settings/application/users": typeof AuthsettingsSettingsApplicationUsersRoute - "/reports/$reportId": typeof AuthreportsReportsReportIdIndexRoute - "/settings/application": typeof AuthsettingsSettingsApplicationIndexRoute "/agreements/$agreementId/exchanges": typeof AuthagreementsAgreementsAgreementIdDetailsExchangesRoute + "/agreements/$agreementId/index": typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute "/agreements/$agreementId/notes": typeof AuthagreementsAgreementsAgreementIdDetailsNotesRoute "/agreements/$agreementId/summary": typeof AuthagreementsAgreementsAgreementIdDetailsSummaryRoute + "/customers/$customerId/index": typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute "/customers/$customerId/notes": typeof AuthcustomersCustomersCustomerIdDetailsNotesRoute "/customers/$customerId/summary": typeof AuthcustomersCustomersCustomerIdDetailsSummaryRoute "/fleet/$vehicleId/agreements": typeof AuthfleetFleetVehicleIdDetailsAgreementsRoute + "/fleet/$vehicleId/index": typeof AuthfleetFleetVehicleIdDetailsIndexRoute "/fleet/$vehicleId/notes": typeof AuthfleetFleetVehicleIdDetailsNotesRoute "/fleet/$vehicleId/reservations": typeof AuthfleetFleetVehicleIdDetailsReservationsRoute "/fleet/$vehicleId/summary": typeof AuthfleetFleetVehicleIdDetailsSummaryRoute + "/reservations/$reservationId/index": typeof AuthreservationsReservationsReservationIdDetailsIndexRoute "/reservations/$reservationId/notes": typeof AuthreservationsReservationsReservationIdDetailsNotesRoute "/reservations/$reservationId/summary": typeof AuthreservationsReservationsReservationIdDetailsSummaryRoute } @@ -1331,29 +1341,29 @@ export interface FileRoutesById { "/_public/oidc-callback": typeof PublicOidcCallbackRoute "/_auth/agreements": typeof AuthagreementsAgreementsRouteWithChildren "/_auth/customers": typeof AuthcustomersCustomersRouteWithChildren + "/_auth/index": typeof AuthdashboardIndexRoute "/_auth/fleet": typeof AuthfleetFleetRouteWithChildren "/_auth/reservations": typeof AuthreservationsReservationsRouteWithChildren "/_auth/settings": typeof AuthsettingsSettingsRouteWithChildren - "/_auth/": typeof AuthdashboardIndexRoute "/_auth/agreements/$agreementId": typeof AuthagreementsAgreementsAgreementIdRouteWithChildren + "/_auth/agreements/index": typeof AuthagreementsAgreementsIndexRoute "/_auth/agreements/new": typeof AuthagreementsAgreementsNewRoute "/_auth/customers/$customerId": typeof AuthcustomersCustomersCustomerIdRouteWithChildren + "/_auth/customers/index": typeof AuthcustomersCustomersIndexRoute "/_auth/customers/new": typeof AuthcustomersCustomersNewRoute "/_auth/fleet/$vehicleId": typeof AuthfleetFleetVehicleIdRouteWithChildren + "/_auth/fleet/index": typeof AuthfleetFleetIndexRoute "/_auth/fleet/new": typeof AuthfleetFleetNewRoute + "/_auth/reports/index": typeof AuthreportsReportsIndexRoute "/_auth/reservations/$reservationId": typeof AuthreservationsReservationsReservationIdRouteWithChildren + "/_auth/reservations/index": typeof AuthreservationsReservationsIndexRoute "/_auth/reservations/new": typeof AuthreservationsReservationsNewRoute "/_auth/settings/application": typeof AuthsettingsSettingsApplicationRouteWithChildren + "/_auth/settings/index": typeof AuthsettingsSettingsIndexRoute "/_auth/settings/profile": typeof AuthsettingsSettingsProfileRoute "/_auth/settings/rates-and-charges": typeof AuthsettingsSettingsRatesAndChargesRoute "/_auth/settings/runtime-configuration": typeof AuthsettingsSettingsRuntimeConfigurationRoute "/_auth/settings/vehicles-and-categories": typeof AuthsettingsSettingsVehiclesAndCategoriesRoute - "/_auth/agreements/": typeof AuthagreementsAgreementsIndexRoute - "/_auth/customers/": typeof AuthcustomersCustomersIndexRoute - "/_auth/fleet/": typeof AuthfleetFleetIndexRoute - "/_auth/reports/": typeof AuthreportsReportsIndexRoute - "/_auth/reservations/": typeof AuthreservationsReservationsIndexRoute - "/_auth/settings/": typeof AuthsettingsSettingsIndexRoute "/_auth/agreements/$agreementId/_details": typeof AuthagreementsAgreementsAgreementIdDetailsRouteWithChildren "/_auth/agreements/$agreementId/check-in": typeof AuthagreementsAgreementsAgreementIdCheckInRoute "/_auth/agreements/$agreementId/edit": typeof AuthagreementsAgreementsAgreementIdEditRoute @@ -1361,29 +1371,29 @@ export interface FileRoutesById { "/_auth/customers/$customerId/edit": typeof AuthcustomersCustomersCustomerIdEditRoute "/_auth/fleet/$vehicleId/_details": typeof AuthfleetFleetVehicleIdDetailsRouteWithChildren "/_auth/fleet/$vehicleId/edit": typeof AuthfleetFleetVehicleIdEditRoute + "/_auth/reports/$reportId/index": typeof AuthreportsReportsReportIdIndexRoute "/_auth/reservations/$reservationId/_details": typeof AuthreservationsReservationsReservationIdDetailsRouteWithChildren "/_auth/reservations/$reservationId/edit": typeof AuthreservationsReservationsReservationIdEditRoute + "/_auth/settings/application/index": typeof AuthsettingsSettingsApplicationIndexRoute "/_auth/settings/application/locations": typeof AuthsettingsSettingsApplicationLocationsRoute "/_auth/settings/application/permissions-and-roles": typeof AuthsettingsSettingsApplicationPermissionsAndRolesRoute "/_auth/settings/application/store-hours-and-holidays": typeof AuthsettingsSettingsApplicationStoreHoursAndHolidaysRoute "/_auth/settings/application/users": typeof AuthsettingsSettingsApplicationUsersRoute - "/_auth/reports/$reportId/": typeof AuthreportsReportsReportIdIndexRoute - "/_auth/settings/application/": typeof AuthsettingsSettingsApplicationIndexRoute "/_auth/agreements/$agreementId/_details/exchanges": typeof AuthagreementsAgreementsAgreementIdDetailsExchangesRoute + "/_auth/agreements/$agreementId/_details/index": typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute "/_auth/agreements/$agreementId/_details/notes": typeof AuthagreementsAgreementsAgreementIdDetailsNotesRoute "/_auth/agreements/$agreementId/_details/summary": typeof AuthagreementsAgreementsAgreementIdDetailsSummaryRoute + "/_auth/customers/$customerId/_details/index": typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute "/_auth/customers/$customerId/_details/notes": typeof AuthcustomersCustomersCustomerIdDetailsNotesRoute "/_auth/customers/$customerId/_details/summary": typeof AuthcustomersCustomersCustomerIdDetailsSummaryRoute "/_auth/fleet/$vehicleId/_details/agreements": typeof AuthfleetFleetVehicleIdDetailsAgreementsRoute + "/_auth/fleet/$vehicleId/_details/index": typeof AuthfleetFleetVehicleIdDetailsIndexRoute "/_auth/fleet/$vehicleId/_details/notes": typeof AuthfleetFleetVehicleIdDetailsNotesRoute "/_auth/fleet/$vehicleId/_details/reservations": typeof AuthfleetFleetVehicleIdDetailsReservationsRoute "/_auth/fleet/$vehicleId/_details/summary": typeof AuthfleetFleetVehicleIdDetailsSummaryRoute + "/_auth/reservations/$reservationId/_details/index": typeof AuthreservationsReservationsReservationIdDetailsIndexRoute "/_auth/reservations/$reservationId/_details/notes": typeof AuthreservationsReservationsReservationIdDetailsNotesRoute "/_auth/reservations/$reservationId/_details/summary": typeof AuthreservationsReservationsReservationIdDetailsSummaryRoute - "/_auth/agreements/$agreementId/_details/": typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute - "/_auth/customers/$customerId/_details/": typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute - "/_auth/fleet/$vehicleId/_details/": typeof AuthfleetFleetVehicleIdDetailsIndexRoute - "/_auth/reservations/$reservationId/_details/": typeof AuthreservationsReservationsReservationIdDetailsIndexRoute } export interface FileRouteTypes { @@ -1397,55 +1407,55 @@ export interface FileRouteTypes { | "/oidc-callback" | "/agreements" | "/customers" + | "/index" | "/fleet" | "/reservations" | "/settings" - | "/" | "/agreements/$agreementId" + | "/agreements/index" | "/agreements/new" | "/customers/$customerId" + | "/customers/index" | "/customers/new" | "/fleet/$vehicleId" + | "/fleet/index" | "/fleet/new" + | "/reports/index" | "/reservations/$reservationId" + | "/reservations/index" | "/reservations/new" | "/settings/application" + | "/settings/index" | "/settings/profile" | "/settings/rates-and-charges" | "/settings/runtime-configuration" | "/settings/vehicles-and-categories" - | "/agreements/" - | "/customers/" - | "/fleet/" - | "/reports" - | "/reservations/" - | "/settings/" | "/agreements/$agreementId/check-in" | "/agreements/$agreementId/edit" | "/customers/$customerId/edit" | "/fleet/$vehicleId/edit" + | "/reports/$reportId/index" | "/reservations/$reservationId/edit" + | "/settings/application/index" | "/settings/application/locations" | "/settings/application/permissions-and-roles" | "/settings/application/store-hours-and-holidays" | "/settings/application/users" - | "/reports/$reportId" - | "/settings/application/" | "/agreements/$agreementId/exchanges" + | "/agreements/$agreementId/index" | "/agreements/$agreementId/notes" | "/agreements/$agreementId/summary" + | "/customers/$customerId/index" | "/customers/$customerId/notes" | "/customers/$customerId/summary" | "/fleet/$vehicleId/agreements" + | "/fleet/$vehicleId/index" | "/fleet/$vehicleId/notes" | "/fleet/$vehicleId/reservations" | "/fleet/$vehicleId/summary" + | "/reservations/$reservationId/index" | "/reservations/$reservationId/notes" | "/reservations/$reservationId/summary" - | "/agreements/$agreementId/" - | "/customers/$customerId/" - | "/fleet/$vehicleId/" - | "/reservations/$reservationId/" fileRoutesByTo: FileRoutesByTo to: | "" @@ -1454,45 +1464,55 @@ export interface FileRouteTypes { | "/login" | "/logout" | "/oidc-callback" - | "/" + | "/agreements" + | "/customers" + | "/index" + | "/fleet" + | "/reservations" + | "/settings" | "/agreements/$agreementId" + | "/agreements/index" | "/agreements/new" | "/customers/$customerId" + | "/customers/index" | "/customers/new" | "/fleet/$vehicleId" + | "/fleet/index" | "/fleet/new" + | "/reports/index" | "/reservations/$reservationId" + | "/reservations/index" | "/reservations/new" + | "/settings/application" + | "/settings/index" | "/settings/profile" | "/settings/rates-and-charges" | "/settings/runtime-configuration" | "/settings/vehicles-and-categories" - | "/agreements" - | "/customers" - | "/fleet" - | "/reports" - | "/reservations" - | "/settings" | "/agreements/$agreementId/check-in" | "/agreements/$agreementId/edit" | "/customers/$customerId/edit" | "/fleet/$vehicleId/edit" + | "/reports/$reportId/index" | "/reservations/$reservationId/edit" + | "/settings/application/index" | "/settings/application/locations" | "/settings/application/permissions-and-roles" | "/settings/application/store-hours-and-holidays" | "/settings/application/users" - | "/reports/$reportId" - | "/settings/application" | "/agreements/$agreementId/exchanges" + | "/agreements/$agreementId/index" | "/agreements/$agreementId/notes" | "/agreements/$agreementId/summary" + | "/customers/$customerId/index" | "/customers/$customerId/notes" | "/customers/$customerId/summary" | "/fleet/$vehicleId/agreements" + | "/fleet/$vehicleId/index" | "/fleet/$vehicleId/notes" | "/fleet/$vehicleId/reservations" | "/fleet/$vehicleId/summary" + | "/reservations/$reservationId/index" | "/reservations/$reservationId/notes" | "/reservations/$reservationId/summary" id: @@ -1506,29 +1526,29 @@ export interface FileRouteTypes { | "/_public/oidc-callback" | "/_auth/agreements" | "/_auth/customers" + | "/_auth/index" | "/_auth/fleet" | "/_auth/reservations" | "/_auth/settings" - | "/_auth/" | "/_auth/agreements/$agreementId" + | "/_auth/agreements/index" | "/_auth/agreements/new" | "/_auth/customers/$customerId" + | "/_auth/customers/index" | "/_auth/customers/new" | "/_auth/fleet/$vehicleId" + | "/_auth/fleet/index" | "/_auth/fleet/new" + | "/_auth/reports/index" | "/_auth/reservations/$reservationId" + | "/_auth/reservations/index" | "/_auth/reservations/new" | "/_auth/settings/application" + | "/_auth/settings/index" | "/_auth/settings/profile" | "/_auth/settings/rates-and-charges" | "/_auth/settings/runtime-configuration" | "/_auth/settings/vehicles-and-categories" - | "/_auth/agreements/" - | "/_auth/customers/" - | "/_auth/fleet/" - | "/_auth/reports/" - | "/_auth/reservations/" - | "/_auth/settings/" | "/_auth/agreements/$agreementId/_details" | "/_auth/agreements/$agreementId/check-in" | "/_auth/agreements/$agreementId/edit" @@ -1536,29 +1556,29 @@ export interface FileRouteTypes { | "/_auth/customers/$customerId/edit" | "/_auth/fleet/$vehicleId/_details" | "/_auth/fleet/$vehicleId/edit" + | "/_auth/reports/$reportId/index" | "/_auth/reservations/$reservationId/_details" | "/_auth/reservations/$reservationId/edit" + | "/_auth/settings/application/index" | "/_auth/settings/application/locations" | "/_auth/settings/application/permissions-and-roles" | "/_auth/settings/application/store-hours-and-holidays" | "/_auth/settings/application/users" - | "/_auth/reports/$reportId/" - | "/_auth/settings/application/" | "/_auth/agreements/$agreementId/_details/exchanges" + | "/_auth/agreements/$agreementId/_details/index" | "/_auth/agreements/$agreementId/_details/notes" | "/_auth/agreements/$agreementId/_details/summary" + | "/_auth/customers/$customerId/_details/index" | "/_auth/customers/$customerId/_details/notes" | "/_auth/customers/$customerId/_details/summary" | "/_auth/fleet/$vehicleId/_details/agreements" + | "/_auth/fleet/$vehicleId/_details/index" | "/_auth/fleet/$vehicleId/_details/notes" | "/_auth/fleet/$vehicleId/_details/reservations" | "/_auth/fleet/$vehicleId/_details/summary" + | "/_auth/reservations/$reservationId/_details/index" | "/_auth/reservations/$reservationId/_details/notes" | "/_auth/reservations/$reservationId/_details/summary" - | "/_auth/agreements/$agreementId/_details/" - | "/_auth/customers/$customerId/_details/" - | "/_auth/fleet/$vehicleId/_details/" - | "/_auth/reservations/$reservationId/_details/" fileRoutesById: FileRoutesById } @@ -1593,12 +1613,12 @@ export const routeTree = rootRoute "children": [ "/_auth/agreements", "/_auth/customers", + "/_auth/index", "/_auth/fleet", "/_auth/reservations", "/_auth/settings", - "/_auth/", - "/_auth/reports/", - "/_auth/reports/$reportId/" + "/_auth/reports/index", + "/_auth/reports/$reportId/index" ] }, "/_public": { @@ -1636,8 +1656,8 @@ export const routeTree = rootRoute "parent": "/_auth", "children": [ "/_auth/agreements/$agreementId", - "/_auth/agreements/new", - "/_auth/agreements/" + "/_auth/agreements/index", + "/_auth/agreements/new" ] }, "/_auth/customers": { @@ -1645,17 +1665,21 @@ export const routeTree = rootRoute "parent": "/_auth", "children": [ "/_auth/customers/$customerId", - "/_auth/customers/new", - "/_auth/customers/" + "/_auth/customers/index", + "/_auth/customers/new" ] }, + "/_auth/index": { + "filePath": "_auth/(dashboard)/index.tsx", + "parent": "/_auth" + }, "/_auth/fleet": { "filePath": "_auth/(fleet)/fleet.tsx", "parent": "/_auth", "children": [ "/_auth/fleet/$vehicleId", - "/_auth/fleet/new", - "/_auth/fleet/" + "/_auth/fleet/index", + "/_auth/fleet/new" ] }, "/_auth/reservations": { @@ -1663,8 +1687,8 @@ export const routeTree = rootRoute "parent": "/_auth", "children": [ "/_auth/reservations/$reservationId", - "/_auth/reservations/new", - "/_auth/reservations/" + "/_auth/reservations/index", + "/_auth/reservations/new" ] }, "/_auth/settings": { @@ -1672,17 +1696,13 @@ export const routeTree = rootRoute "parent": "/_auth", "children": [ "/_auth/settings/application", + "/_auth/settings/index", "/_auth/settings/profile", "/_auth/settings/rates-and-charges", "/_auth/settings/runtime-configuration", - "/_auth/settings/vehicles-and-categories", - "/_auth/settings/" + "/_auth/settings/vehicles-and-categories" ] }, - "/_auth/": { - "filePath": "_auth/(dashboard)/index.tsx", - "parent": "/_auth" - }, "/_auth/agreements/$agreementId": { "filePath": "_auth/(agreements)/agreements.$agreementId.tsx", "parent": "/_auth/agreements", @@ -1692,6 +1712,10 @@ export const routeTree = rootRoute "/_auth/agreements/$agreementId/edit" ] }, + "/_auth/agreements/index": { + "filePath": "_auth/(agreements)/agreements.index.tsx", + "parent": "/_auth/agreements" + }, "/_auth/agreements/new": { "filePath": "_auth/(agreements)/agreements.new.tsx", "parent": "/_auth/agreements" @@ -1704,6 +1728,10 @@ export const routeTree = rootRoute "/_auth/customers/$customerId/edit" ] }, + "/_auth/customers/index": { + "filePath": "_auth/(customers)/customers.index.tsx", + "parent": "/_auth/customers" + }, "/_auth/customers/new": { "filePath": "_auth/(customers)/customers.new.tsx", "parent": "/_auth/customers" @@ -1716,10 +1744,18 @@ export const routeTree = rootRoute "/_auth/fleet/$vehicleId/edit" ] }, + "/_auth/fleet/index": { + "filePath": "_auth/(fleet)/fleet.index.tsx", + "parent": "/_auth/fleet" + }, "/_auth/fleet/new": { "filePath": "_auth/(fleet)/fleet.new.tsx", "parent": "/_auth/fleet" }, + "/_auth/reports/index": { + "filePath": "_auth/(reports)/reports.index.tsx", + "parent": "/_auth" + }, "/_auth/reservations/$reservationId": { "filePath": "_auth/(reservations)/reservations.$reservationId.tsx", "parent": "/_auth/reservations", @@ -1728,6 +1764,10 @@ export const routeTree = rootRoute "/_auth/reservations/$reservationId/edit" ] }, + "/_auth/reservations/index": { + "filePath": "_auth/(reservations)/reservations.index.tsx", + "parent": "/_auth/reservations" + }, "/_auth/reservations/new": { "filePath": "_auth/(reservations)/reservations.new.tsx", "parent": "/_auth/reservations" @@ -1736,13 +1776,17 @@ export const routeTree = rootRoute "filePath": "_auth/(settings)/settings.application.tsx", "parent": "/_auth/settings", "children": [ + "/_auth/settings/application/index", "/_auth/settings/application/locations", "/_auth/settings/application/permissions-and-roles", "/_auth/settings/application/store-hours-and-holidays", - "/_auth/settings/application/users", - "/_auth/settings/application/" + "/_auth/settings/application/users" ] }, + "/_auth/settings/index": { + "filePath": "_auth/(settings)/settings.index.tsx", + "parent": "/_auth/settings" + }, "/_auth/settings/profile": { "filePath": "_auth/(settings)/settings.profile.tsx", "parent": "/_auth/settings" @@ -1759,38 +1803,14 @@ export const routeTree = rootRoute "filePath": "_auth/(settings)/settings.vehicles-and-categories.tsx", "parent": "/_auth/settings" }, - "/_auth/agreements/": { - "filePath": "_auth/(agreements)/agreements.index.tsx", - "parent": "/_auth/agreements" - }, - "/_auth/customers/": { - "filePath": "_auth/(customers)/customers.index.tsx", - "parent": "/_auth/customers" - }, - "/_auth/fleet/": { - "filePath": "_auth/(fleet)/fleet.index.tsx", - "parent": "/_auth/fleet" - }, - "/_auth/reports/": { - "filePath": "_auth/(reports)/reports.index.tsx", - "parent": "/_auth" - }, - "/_auth/reservations/": { - "filePath": "_auth/(reservations)/reservations.index.tsx", - "parent": "/_auth/reservations" - }, - "/_auth/settings/": { - "filePath": "_auth/(settings)/settings.index.tsx", - "parent": "/_auth/settings" - }, "/_auth/agreements/$agreementId/_details": { "filePath": "_auth/(agreements)/agreements.$agreementId._details.tsx", "parent": "/_auth/agreements/$agreementId", "children": [ "/_auth/agreements/$agreementId/_details/exchanges", + "/_auth/agreements/$agreementId/_details/index", "/_auth/agreements/$agreementId/_details/notes", - "/_auth/agreements/$agreementId/_details/summary", - "/_auth/agreements/$agreementId/_details/" + "/_auth/agreements/$agreementId/_details/summary" ] }, "/_auth/agreements/$agreementId/check-in": { @@ -1805,9 +1825,9 @@ export const routeTree = rootRoute "filePath": "_auth/(customers)/customers.$customerId._details.tsx", "parent": "/_auth/customers/$customerId", "children": [ + "/_auth/customers/$customerId/_details/index", "/_auth/customers/$customerId/_details/notes", - "/_auth/customers/$customerId/_details/summary", - "/_auth/customers/$customerId/_details/" + "/_auth/customers/$customerId/_details/summary" ] }, "/_auth/customers/$customerId/edit": { @@ -1819,29 +1839,37 @@ export const routeTree = rootRoute "parent": "/_auth/fleet/$vehicleId", "children": [ "/_auth/fleet/$vehicleId/_details/agreements", + "/_auth/fleet/$vehicleId/_details/index", "/_auth/fleet/$vehicleId/_details/notes", "/_auth/fleet/$vehicleId/_details/reservations", - "/_auth/fleet/$vehicleId/_details/summary", - "/_auth/fleet/$vehicleId/_details/" + "/_auth/fleet/$vehicleId/_details/summary" ] }, "/_auth/fleet/$vehicleId/edit": { "filePath": "_auth/(fleet)/fleet.$vehicleId.edit.tsx", "parent": "/_auth/fleet/$vehicleId" }, + "/_auth/reports/$reportId/index": { + "filePath": "_auth/(reports)/reports.$reportId.index.tsx", + "parent": "/_auth" + }, "/_auth/reservations/$reservationId/_details": { "filePath": "_auth/(reservations)/reservations.$reservationId._details.tsx", "parent": "/_auth/reservations/$reservationId", "children": [ + "/_auth/reservations/$reservationId/_details/index", "/_auth/reservations/$reservationId/_details/notes", - "/_auth/reservations/$reservationId/_details/summary", - "/_auth/reservations/$reservationId/_details/" + "/_auth/reservations/$reservationId/_details/summary" ] }, "/_auth/reservations/$reservationId/edit": { "filePath": "_auth/(reservations)/reservations.$reservationId.edit.tsx", "parent": "/_auth/reservations/$reservationId" }, + "/_auth/settings/application/index": { + "filePath": "_auth/(settings)/settings.application.index.tsx", + "parent": "/_auth/settings/application" + }, "/_auth/settings/application/locations": { "filePath": "_auth/(settings)/settings.application.locations.tsx", "parent": "/_auth/settings/application" @@ -1858,18 +1886,14 @@ export const routeTree = rootRoute "filePath": "_auth/(settings)/settings.application.users.tsx", "parent": "/_auth/settings/application" }, - "/_auth/reports/$reportId/": { - "filePath": "_auth/(reports)/reports.$reportId.index.tsx", - "parent": "/_auth" - }, - "/_auth/settings/application/": { - "filePath": "_auth/(settings)/settings.application.index.tsx", - "parent": "/_auth/settings/application" - }, "/_auth/agreements/$agreementId/_details/exchanges": { "filePath": "_auth/(agreements)/agreements.$agreementId._details.exchanges.tsx", "parent": "/_auth/agreements/$agreementId/_details" }, + "/_auth/agreements/$agreementId/_details/index": { + "filePath": "_auth/(agreements)/agreements.$agreementId._details.index.tsx", + "parent": "/_auth/agreements/$agreementId/_details" + }, "/_auth/agreements/$agreementId/_details/notes": { "filePath": "_auth/(agreements)/agreements.$agreementId._details.notes.tsx", "parent": "/_auth/agreements/$agreementId/_details" @@ -1878,6 +1902,10 @@ export const routeTree = rootRoute "filePath": "_auth/(agreements)/agreements.$agreementId._details.summary.tsx", "parent": "/_auth/agreements/$agreementId/_details" }, + "/_auth/customers/$customerId/_details/index": { + "filePath": "_auth/(customers)/customers.$customerId._details.index.tsx", + "parent": "/_auth/customers/$customerId/_details" + }, "/_auth/customers/$customerId/_details/notes": { "filePath": "_auth/(customers)/customers.$customerId._details.notes.tsx", "parent": "/_auth/customers/$customerId/_details" @@ -1890,6 +1918,10 @@ export const routeTree = rootRoute "filePath": "_auth/(fleet)/fleet.$vehicleId._details.agreements.tsx", "parent": "/_auth/fleet/$vehicleId/_details" }, + "/_auth/fleet/$vehicleId/_details/index": { + "filePath": "_auth/(fleet)/fleet.$vehicleId._details.index.tsx", + "parent": "/_auth/fleet/$vehicleId/_details" + }, "/_auth/fleet/$vehicleId/_details/notes": { "filePath": "_auth/(fleet)/fleet.$vehicleId._details.notes.tsx", "parent": "/_auth/fleet/$vehicleId/_details" @@ -1902,6 +1934,10 @@ export const routeTree = rootRoute "filePath": "_auth/(fleet)/fleet.$vehicleId._details.summary.tsx", "parent": "/_auth/fleet/$vehicleId/_details" }, + "/_auth/reservations/$reservationId/_details/index": { + "filePath": "_auth/(reservations)/reservations.$reservationId._details.index.tsx", + "parent": "/_auth/reservations/$reservationId/_details" + }, "/_auth/reservations/$reservationId/_details/notes": { "filePath": "_auth/(reservations)/reservations.$reservationId._details.notes.tsx", "parent": "/_auth/reservations/$reservationId/_details" @@ -1909,22 +1945,6 @@ export const routeTree = rootRoute "/_auth/reservations/$reservationId/_details/summary": { "filePath": "_auth/(reservations)/reservations.$reservationId._details.summary.tsx", "parent": "/_auth/reservations/$reservationId/_details" - }, - "/_auth/agreements/$agreementId/_details/": { - "filePath": "_auth/(agreements)/agreements.$agreementId._details.index.tsx", - "parent": "/_auth/agreements/$agreementId/_details" - }, - "/_auth/customers/$customerId/_details/": { - "filePath": "_auth/(customers)/customers.$customerId._details.index.tsx", - "parent": "/_auth/customers/$customerId/_details" - }, - "/_auth/fleet/$vehicleId/_details/": { - "filePath": "_auth/(fleet)/fleet.$vehicleId._details.index.tsx", - "parent": "/_auth/fleet/$vehicleId/_details" - }, - "/_auth/reservations/$reservationId/_details/": { - "filePath": "_auth/(reservations)/reservations.$reservationId._details.index.tsx", - "parent": "/_auth/reservations/$reservationId/_details" } } } diff --git a/src/routes/_auth/(agreements)/agreements.$agreementId._details.index.tsx b/src/routes/_auth/(agreements)/agreements.$agreementId._details.index.tsx index 984b0811..f49a165f 100644 --- a/src/routes/_auth/(agreements)/agreements.$agreementId._details.index.tsx +++ b/src/routes/_auth/(agreements)/agreements.$agreementId._details.index.tsx @@ -1,7 +1,7 @@ import { createFileRoute, redirect } from "@tanstack/react-router"; export const Route = createFileRoute( - "/_auth/(agreements)/agreements/$agreementId/_details/" + "/_auth/(agreements)/agreements/$agreementId/_details/index" )({ loader: ({ params }) => { throw redirect({ diff --git a/src/routes/_auth/(agreements)/agreements.index.tsx b/src/routes/_auth/(agreements)/agreements.index.tsx index 98773219..b9efc7a1 100644 --- a/src/routes/_auth/(agreements)/agreements.index.tsx +++ b/src/routes/_auth/(agreements)/agreements.index.tsx @@ -61,7 +61,7 @@ import { titleMaker } from "@/lib/utils/title-maker"; import { sortObjectKeys } from "@/lib/utils"; -export const Route = createFileRoute("/_auth/(agreements)/agreements/")({ +export const Route = createFileRoute("/_auth/(agreements)/agreements/index")({ validateSearch: (search) => AgreementSearchQuerySchema.parse(search), beforeLoad: ({ context, search }) => { const auth = getAuthFromRouterContext(context); diff --git a/src/routes/_auth/(customers)/customers.$customerId._details.index.tsx b/src/routes/_auth/(customers)/customers.$customerId._details.index.tsx index 170462a4..1f2ce948 100644 --- a/src/routes/_auth/(customers)/customers.$customerId._details.index.tsx +++ b/src/routes/_auth/(customers)/customers.$customerId._details.index.tsx @@ -1,7 +1,7 @@ import { createFileRoute, redirect } from "@tanstack/react-router"; export const Route = createFileRoute( - "/_auth/(customers)/customers/$customerId/_details/" + "/_auth/(customers)/customers/$customerId/_details/index" )({ loader: ({ params }) => { throw redirect({ diff --git a/src/routes/_auth/(customers)/customers.index.tsx b/src/routes/_auth/(customers)/customers.index.tsx index bb0bcf70..9bb1fed2 100644 --- a/src/routes/_auth/(customers)/customers.index.tsx +++ b/src/routes/_auth/(customers)/customers.index.tsx @@ -53,7 +53,7 @@ import { insertSpacesBeforeCaps } from "@/lib/utils/random"; import { cn } from "@/lib/utils/styles"; import { titleMaker } from "@/lib/utils/title-maker"; -export const Route = createFileRoute("/_auth/(customers)/customers/")({ +export const Route = createFileRoute("/_auth/(customers)/customers/index")({ validateSearch: (search) => CustomerSearchQuerySchema.parse(search), beforeLoad: ({ context, search }) => { const auth = getAuthFromRouterContext(context); diff --git a/src/routes/_auth/(dashboard)/index.tsx b/src/routes/_auth/(dashboard)/index.tsx index f32e06fc..397969f3 100644 --- a/src/routes/_auth/(dashboard)/index.tsx +++ b/src/routes/_auth/(dashboard)/index.tsx @@ -56,7 +56,7 @@ import { cn } from "@/lib/utils"; import WidgetGrid from "./-components/widget-grid"; import WidgetPicker from "./-components/widget-picker"; -export const Route = createFileRoute("/_auth/(dashboard)/")({ +export const Route = createFileRoute("/_auth/(dashboard)/index")({ validateSearch: z.object({ show_widget_picker: z.boolean().default(false).optional(), }), diff --git a/src/routes/_auth/(fleet)/fleet.$vehicleId._details.index.tsx b/src/routes/_auth/(fleet)/fleet.$vehicleId._details.index.tsx index 8e85126c..ca67d2c5 100644 --- a/src/routes/_auth/(fleet)/fleet.$vehicleId._details.index.tsx +++ b/src/routes/_auth/(fleet)/fleet.$vehicleId._details.index.tsx @@ -1,7 +1,7 @@ import { createFileRoute, redirect } from "@tanstack/react-router"; export const Route = createFileRoute( - "/_auth/(fleet)/fleet/$vehicleId/_details/" + "/_auth/(fleet)/fleet/$vehicleId/_details/index" )({ loader: ({ params }) => { throw redirect({ diff --git a/src/routes/_auth/(fleet)/fleet.index.tsx b/src/routes/_auth/(fleet)/fleet.index.tsx index b100c7d6..09aa5a7c 100644 --- a/src/routes/_auth/(fleet)/fleet.index.tsx +++ b/src/routes/_auth/(fleet)/fleet.index.tsx @@ -55,7 +55,7 @@ import { insertSpacesBeforeCaps } from "@/lib/utils/random"; import { cn } from "@/lib/utils/styles"; import { titleMaker } from "@/lib/utils/title-maker"; -export const Route = createFileRoute("/_auth/(fleet)/fleet/")({ +export const Route = createFileRoute("/_auth/(fleet)/fleet/index")({ validateSearch: (search) => VehicleSearchQuerySchema.parse(search), beforeLoad: ({ context, search }) => { const auth = getAuthFromRouterContext(context); diff --git a/src/routes/_auth/(reports)/reports.$reportId.index.tsx b/src/routes/_auth/(reports)/reports.$reportId.index.tsx index a3136016..33b662c2 100644 --- a/src/routes/_auth/(reports)/reports.$reportId.index.tsx +++ b/src/routes/_auth/(reports)/reports.$reportId.index.tsx @@ -13,7 +13,7 @@ import { Container } from "@/routes/-components/container"; import { getAuthFromRouterContext } from "@/lib/utils/auth"; -export const Route = createFileRoute("/_auth/(reports)/reports/$reportId/")({ +export const Route = createFileRoute("/_auth/(reports)/reports/$reportId/index")({ beforeLoad: ({ context, params: { reportId } }) => { const auth = getAuthFromRouterContext(context); return { diff --git a/src/routes/_auth/(reports)/reports.index.tsx b/src/routes/_auth/(reports)/reports.index.tsx index fa0368e7..570bc374 100644 --- a/src/routes/_auth/(reports)/reports.index.tsx +++ b/src/routes/_auth/(reports)/reports.index.tsx @@ -14,7 +14,7 @@ import { titleMaker } from "@/lib/utils/title-maker"; import { cn } from "@/lib/utils"; -export const Route = createFileRoute("/_auth/(reports)/reports/")({ +export const Route = createFileRoute("/_auth/(reports)/reports/index")({ validateSearch: (search) => z .object({ diff --git a/src/routes/_auth/(reservations)/reservations.$reservationId._details.index.tsx b/src/routes/_auth/(reservations)/reservations.$reservationId._details.index.tsx index 5e74513f..b7a9bc3f 100644 --- a/src/routes/_auth/(reservations)/reservations.$reservationId._details.index.tsx +++ b/src/routes/_auth/(reservations)/reservations.$reservationId._details.index.tsx @@ -1,7 +1,7 @@ import { createFileRoute, redirect } from "@tanstack/react-router"; export const Route = createFileRoute( - "/_auth/(reservations)/reservations/$reservationId/_details/" + "/_auth/(reservations)/reservations/$reservationId/_details/index" )({ loader: ({ params }) => { throw redirect({ diff --git a/src/routes/_auth/(reservations)/reservations.index.tsx b/src/routes/_auth/(reservations)/reservations.index.tsx index ea184ab7..058a1d31 100644 --- a/src/routes/_auth/(reservations)/reservations.index.tsx +++ b/src/routes/_auth/(reservations)/reservations.index.tsx @@ -60,7 +60,7 @@ import { insertSpacesBeforeCaps } from "@/lib/utils/random"; import { cn } from "@/lib/utils/styles"; import { titleMaker } from "@/lib/utils/title-maker"; -export const Route = createFileRoute("/_auth/(reservations)/reservations/")({ +export const Route = createFileRoute("/_auth/(reservations)/reservations/index")({ validateSearch: (search) => ReservationSearchQuerySchema.parse(search), beforeLoad: ({ context, search }) => { const auth = getAuthFromRouterContext(context); diff --git a/src/routes/_auth/(settings)/settings.application.index.tsx b/src/routes/_auth/(settings)/settings.application.index.tsx index a4c1542a..b2178378 100644 --- a/src/routes/_auth/(settings)/settings.application.index.tsx +++ b/src/routes/_auth/(settings)/settings.application.index.tsx @@ -19,7 +19,7 @@ import { incompleteApplicationSettingsTabsFeatureFlag } from "@/lib/config/featu import { SubPageNavItem } from "./-components/sub-page-nav-item"; -export const Route = createFileRoute("/_auth/(settings)/settings/application/")( +export const Route = createFileRoute("/_auth/(settings)/settings/application/index")( { component: SettingsApplicationIndex, } diff --git a/src/routes/_auth/(settings)/settings.index.tsx b/src/routes/_auth/(settings)/settings.index.tsx index ac35a201..608906ac 100644 --- a/src/routes/_auth/(settings)/settings.index.tsx +++ b/src/routes/_auth/(settings)/settings.index.tsx @@ -1,6 +1,6 @@ import { createFileRoute, redirect } from "@tanstack/react-router"; -export const Route = createFileRoute("/_auth/(settings)/settings/")({ +export const Route = createFileRoute("/_auth/(settings)/settings/index")({ beforeLoad: () => { throw redirect({ to: "/settings/profile", replace: true }); }, diff --git a/vite.config.ts b/vite.config.ts index 80a31de6..62698c45 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -23,6 +23,8 @@ export default defineConfig(() => { routeFileIgnorePrefix: "-", quoteStyle: "double", autoCodeSplitting: true, + indexToken: "_index", + routeToken: "_route", }), react({ babel: { From 078a598f132bb04e4a952e46ef02ea6694fced84 Mon Sep 17 00:00:00 2001 From: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:20:36 +1200 Subject: [PATCH 02/13] refactor: remove dashboard route --- src/routes/_auth/(dashboard)/{index.tsx => _index.tsx} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/routes/_auth/(dashboard)/{index.tsx => _index.tsx} (100%) diff --git a/src/routes/_auth/(dashboard)/index.tsx b/src/routes/_auth/(dashboard)/_index.tsx similarity index 100% rename from src/routes/_auth/(dashboard)/index.tsx rename to src/routes/_auth/(dashboard)/_index.tsx From e79f7049a8f0aa79dcdb8d92cf5ebd3c9a823be1 Mon Sep 17 00:00:00 2001 From: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:21:18 +1200 Subject: [PATCH 03/13] refactor: remove agreement routes --- ...ails.index.tsx => agreements.$agreementId._details._index.tsx} | 0 .../(agreements)/{agreements.index.tsx => agreements._index.tsx} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename src/routes/_auth/(agreements)/{agreements.$agreementId._details.index.tsx => agreements.$agreementId._details._index.tsx} (100%) rename src/routes/_auth/(agreements)/{agreements.index.tsx => agreements._index.tsx} (100%) diff --git a/src/routes/_auth/(agreements)/agreements.$agreementId._details.index.tsx b/src/routes/_auth/(agreements)/agreements.$agreementId._details._index.tsx similarity index 100% rename from src/routes/_auth/(agreements)/agreements.$agreementId._details.index.tsx rename to src/routes/_auth/(agreements)/agreements.$agreementId._details._index.tsx diff --git a/src/routes/_auth/(agreements)/agreements.index.tsx b/src/routes/_auth/(agreements)/agreements._index.tsx similarity index 100% rename from src/routes/_auth/(agreements)/agreements.index.tsx rename to src/routes/_auth/(agreements)/agreements._index.tsx From f80b6b486347dfd3270cdd848e0ce01bc3531d1b Mon Sep 17 00:00:00 2001 From: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:22:33 +1200 Subject: [PATCH 04/13] refactor: remove customer routes --- ...etails.index.tsx => customers.$customerId._details._index.tsx} | 0 .../(customers)/{customers.index.tsx => customers._index.tsx} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename src/routes/_auth/(customers)/{customers.$customerId._details.index.tsx => customers.$customerId._details._index.tsx} (100%) rename src/routes/_auth/(customers)/{customers.index.tsx => customers._index.tsx} (100%) diff --git a/src/routes/_auth/(customers)/customers.$customerId._details.index.tsx b/src/routes/_auth/(customers)/customers.$customerId._details._index.tsx similarity index 100% rename from src/routes/_auth/(customers)/customers.$customerId._details.index.tsx rename to src/routes/_auth/(customers)/customers.$customerId._details._index.tsx diff --git a/src/routes/_auth/(customers)/customers.index.tsx b/src/routes/_auth/(customers)/customers._index.tsx similarity index 100% rename from src/routes/_auth/(customers)/customers.index.tsx rename to src/routes/_auth/(customers)/customers._index.tsx From 3cf4657734447d451aa411fc82c18bfc728f1661 Mon Sep 17 00:00:00 2001 From: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:23:21 +1200 Subject: [PATCH 05/13] refactor: remove fleet routes --- ...Id._details.index.tsx => fleet.$vehicleId._details._index.tsx} | 0 src/routes/_auth/(fleet)/{fleet.index.tsx => fleet._index.tsx} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename src/routes/_auth/(fleet)/{fleet.$vehicleId._details.index.tsx => fleet.$vehicleId._details._index.tsx} (100%) rename src/routes/_auth/(fleet)/{fleet.index.tsx => fleet._index.tsx} (100%) diff --git a/src/routes/_auth/(fleet)/fleet.$vehicleId._details.index.tsx b/src/routes/_auth/(fleet)/fleet.$vehicleId._details._index.tsx similarity index 100% rename from src/routes/_auth/(fleet)/fleet.$vehicleId._details.index.tsx rename to src/routes/_auth/(fleet)/fleet.$vehicleId._details._index.tsx diff --git a/src/routes/_auth/(fleet)/fleet.index.tsx b/src/routes/_auth/(fleet)/fleet._index.tsx similarity index 100% rename from src/routes/_auth/(fleet)/fleet.index.tsx rename to src/routes/_auth/(fleet)/fleet._index.tsx From 8d2993b5178506e3515ffaeebc088b0e4c3996f7 Mon Sep 17 00:00:00 2001 From: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:23:52 +1200 Subject: [PATCH 06/13] refactor: remove report routes --- .../{reports.$reportId.index.tsx => reports.$reportId._index.tsx} | 0 .../_auth/(reports)/{reports.index.tsx => reports._index.tsx} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename src/routes/_auth/(reports)/{reports.$reportId.index.tsx => reports.$reportId._index.tsx} (100%) rename src/routes/_auth/(reports)/{reports.index.tsx => reports._index.tsx} (100%) diff --git a/src/routes/_auth/(reports)/reports.$reportId.index.tsx b/src/routes/_auth/(reports)/reports.$reportId._index.tsx similarity index 100% rename from src/routes/_auth/(reports)/reports.$reportId.index.tsx rename to src/routes/_auth/(reports)/reports.$reportId._index.tsx diff --git a/src/routes/_auth/(reports)/reports.index.tsx b/src/routes/_auth/(reports)/reports._index.tsx similarity index 100% rename from src/routes/_auth/(reports)/reports.index.tsx rename to src/routes/_auth/(reports)/reports._index.tsx From 7ebdaf35948dcffd5da925b290cb9a50df37a31b Mon Sep 17 00:00:00 2001 From: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:24:53 +1200 Subject: [PATCH 07/13] refactor: remove reservation routes --- ....index.tsx => reservations.$reservationId._details._index.tsx} | 0 .../{reservations.index.tsx => reservations._index.tsx} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename src/routes/_auth/(reservations)/{reservations.$reservationId._details.index.tsx => reservations.$reservationId._details._index.tsx} (100%) rename src/routes/_auth/(reservations)/{reservations.index.tsx => reservations._index.tsx} (100%) diff --git a/src/routes/_auth/(reservations)/reservations.$reservationId._details.index.tsx b/src/routes/_auth/(reservations)/reservations.$reservationId._details._index.tsx similarity index 100% rename from src/routes/_auth/(reservations)/reservations.$reservationId._details.index.tsx rename to src/routes/_auth/(reservations)/reservations.$reservationId._details._index.tsx diff --git a/src/routes/_auth/(reservations)/reservations.index.tsx b/src/routes/_auth/(reservations)/reservations._index.tsx similarity index 100% rename from src/routes/_auth/(reservations)/reservations.index.tsx rename to src/routes/_auth/(reservations)/reservations._index.tsx From cf2ae8ed3881db6e4e2a5bba067b536fd0bd3f10 Mon Sep 17 00:00:00 2001 From: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:25:49 +1200 Subject: [PATCH 08/13] refactor: remove settings routes --- .../_auth/(settings)/{settings.index.tsx => settings._index.tsx} | 0 ...ings.application.index.tsx => settings.application._index.tsx} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename src/routes/_auth/(settings)/{settings.index.tsx => settings._index.tsx} (100%) rename src/routes/_auth/(settings)/{settings.application.index.tsx => settings.application._index.tsx} (100%) diff --git a/src/routes/_auth/(settings)/settings.index.tsx b/src/routes/_auth/(settings)/settings._index.tsx similarity index 100% rename from src/routes/_auth/(settings)/settings.index.tsx rename to src/routes/_auth/(settings)/settings._index.tsx diff --git a/src/routes/_auth/(settings)/settings.application.index.tsx b/src/routes/_auth/(settings)/settings.application._index.tsx similarity index 100% rename from src/routes/_auth/(settings)/settings.application.index.tsx rename to src/routes/_auth/(settings)/settings.application._index.tsx From 488d439234fe3ffb58970a87a1a18d6e6751587f Mon Sep 17 00:00:00 2001 From: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:26:35 +1200 Subject: [PATCH 09/13] refactor: regenerate the routeTree and relink the routes --- src/route-tree.gen.ts | 728 +++++++++--------- ...greements.$agreementId._details._index.tsx | 2 +- .../_auth/(agreements)/agreements._index.tsx | 2 +- .../customers.$customerId._details._index.tsx | 2 +- .../_auth/(customers)/customers._index.tsx | 2 +- src/routes/_auth/(dashboard)/_index.tsx | 2 +- .../fleet.$vehicleId._details._index.tsx | 2 +- src/routes/_auth/(fleet)/fleet._index.tsx | 2 +- .../(reports)/reports.$reportId._index.tsx | 2 +- src/routes/_auth/(reports)/reports._index.tsx | 2 +- ...vations.$reservationId._details._index.tsx | 2 +- .../(reservations)/reservations._index.tsx | 2 +- .../_auth/(settings)/settings._index.tsx | 2 +- .../settings.application._index.tsx | 2 +- 14 files changed, 367 insertions(+), 387 deletions(-) diff --git a/src/route-tree.gen.ts b/src/route-tree.gen.ts index e6e6a6c0..bdd7334a 100644 --- a/src/route-tree.gen.ts +++ b/src/route-tree.gen.ts @@ -18,39 +18,39 @@ import { Route as PublicLogoutImport } from "./routes/_public/logout" import { Route as PublicLoginImport } from "./routes/_public/login" import { Route as PublicLoggedOutImport } from "./routes/_public/logged-out" import { Route as PublicDevImport } from "./routes/_public/dev" +import { Route as AuthdashboardIndexImport } from "./routes/_auth/(dashboard)/_index" import { Route as AuthsettingsSettingsImport } from "./routes/_auth/(settings)/settings" import { Route as AuthreservationsReservationsImport } from "./routes/_auth/(reservations)/reservations" import { Route as AuthfleetFleetImport } from "./routes/_auth/(fleet)/fleet" -import { Route as AuthdashboardIndexImport } from "./routes/_auth/(dashboard)/index" import { Route as AuthcustomersCustomersImport } from "./routes/_auth/(customers)/customers" import { Route as AuthagreementsAgreementsImport } from "./routes/_auth/(agreements)/agreements" +import { Route as AuthsettingsSettingsIndexImport } from "./routes/_auth/(settings)/settings._index" +import { Route as AuthreservationsReservationsIndexImport } from "./routes/_auth/(reservations)/reservations._index" +import { Route as AuthreportsReportsIndexImport } from "./routes/_auth/(reports)/reports._index" +import { Route as AuthfleetFleetIndexImport } from "./routes/_auth/(fleet)/fleet._index" +import { Route as AuthcustomersCustomersIndexImport } from "./routes/_auth/(customers)/customers._index" +import { Route as AuthagreementsAgreementsIndexImport } from "./routes/_auth/(agreements)/agreements._index" import { Route as AuthsettingsSettingsVehiclesAndCategoriesImport } from "./routes/_auth/(settings)/settings.vehicles-and-categories" import { Route as AuthsettingsSettingsRuntimeConfigurationImport } from "./routes/_auth/(settings)/settings.runtime-configuration" import { Route as AuthsettingsSettingsRatesAndChargesImport } from "./routes/_auth/(settings)/settings.rates-and-charges" import { Route as AuthsettingsSettingsProfileImport } from "./routes/_auth/(settings)/settings.profile" -import { Route as AuthsettingsSettingsIndexImport } from "./routes/_auth/(settings)/settings.index" import { Route as AuthsettingsSettingsApplicationImport } from "./routes/_auth/(settings)/settings.application" import { Route as AuthreservationsReservationsNewImport } from "./routes/_auth/(reservations)/reservations.new" -import { Route as AuthreservationsReservationsIndexImport } from "./routes/_auth/(reservations)/reservations.index" import { Route as AuthreservationsReservationsReservationIdImport } from "./routes/_auth/(reservations)/reservations.$reservationId" -import { Route as AuthreportsReportsIndexImport } from "./routes/_auth/(reports)/reports.index" import { Route as AuthfleetFleetNewImport } from "./routes/_auth/(fleet)/fleet.new" -import { Route as AuthfleetFleetIndexImport } from "./routes/_auth/(fleet)/fleet.index" import { Route as AuthfleetFleetVehicleIdImport } from "./routes/_auth/(fleet)/fleet.$vehicleId" import { Route as AuthcustomersCustomersNewImport } from "./routes/_auth/(customers)/customers.new" -import { Route as AuthcustomersCustomersIndexImport } from "./routes/_auth/(customers)/customers.index" import { Route as AuthcustomersCustomersCustomerIdImport } from "./routes/_auth/(customers)/customers.$customerId" import { Route as AuthagreementsAgreementsNewImport } from "./routes/_auth/(agreements)/agreements.new" -import { Route as AuthagreementsAgreementsIndexImport } from "./routes/_auth/(agreements)/agreements.index" import { Route as AuthagreementsAgreementsAgreementIdImport } from "./routes/_auth/(agreements)/agreements.$agreementId" +import { Route as AuthsettingsSettingsApplicationIndexImport } from "./routes/_auth/(settings)/settings.application._index" +import { Route as AuthreportsReportsReportIdIndexImport } from "./routes/_auth/(reports)/reports.$reportId._index" import { Route as AuthsettingsSettingsApplicationUsersImport } from "./routes/_auth/(settings)/settings.application.users" import { Route as AuthsettingsSettingsApplicationStoreHoursAndHolidaysImport } from "./routes/_auth/(settings)/settings.application.store-hours-and-holidays" import { Route as AuthsettingsSettingsApplicationPermissionsAndRolesImport } from "./routes/_auth/(settings)/settings.application.permissions-and-roles" import { Route as AuthsettingsSettingsApplicationLocationsImport } from "./routes/_auth/(settings)/settings.application.locations" -import { Route as AuthsettingsSettingsApplicationIndexImport } from "./routes/_auth/(settings)/settings.application.index" import { Route as AuthreservationsReservationsReservationIdEditImport } from "./routes/_auth/(reservations)/reservations.$reservationId.edit" import { Route as AuthreservationsReservationsReservationIdDetailsImport } from "./routes/_auth/(reservations)/reservations.$reservationId._details" -import { Route as AuthreportsReportsReportIdIndexImport } from "./routes/_auth/(reports)/reports.$reportId.index" import { Route as AuthfleetFleetVehicleIdEditImport } from "./routes/_auth/(fleet)/fleet.$vehicleId.edit" import { Route as AuthfleetFleetVehicleIdDetailsImport } from "./routes/_auth/(fleet)/fleet.$vehicleId._details" import { Route as AuthcustomersCustomersCustomerIdEditImport } from "./routes/_auth/(customers)/customers.$customerId.edit" @@ -58,20 +58,20 @@ import { Route as AuthcustomersCustomersCustomerIdDetailsImport } from "./routes import { Route as AuthagreementsAgreementsAgreementIdEditImport } from "./routes/_auth/(agreements)/agreements.$agreementId.edit" import { Route as AuthagreementsAgreementsAgreementIdCheckInImport } from "./routes/_auth/(agreements)/agreements.$agreementId.check-in" import { Route as AuthagreementsAgreementsAgreementIdDetailsImport } from "./routes/_auth/(agreements)/agreements.$agreementId._details" +import { Route as AuthreservationsReservationsReservationIdDetailsIndexImport } from "./routes/_auth/(reservations)/reservations.$reservationId._details._index" +import { Route as AuthfleetFleetVehicleIdDetailsIndexImport } from "./routes/_auth/(fleet)/fleet.$vehicleId._details._index" +import { Route as AuthcustomersCustomersCustomerIdDetailsIndexImport } from "./routes/_auth/(customers)/customers.$customerId._details._index" +import { Route as AuthagreementsAgreementsAgreementIdDetailsIndexImport } from "./routes/_auth/(agreements)/agreements.$agreementId._details._index" import { Route as AuthreservationsReservationsReservationIdDetailsSummaryImport } from "./routes/_auth/(reservations)/reservations.$reservationId._details.summary" import { Route as AuthreservationsReservationsReservationIdDetailsNotesImport } from "./routes/_auth/(reservations)/reservations.$reservationId._details.notes" -import { Route as AuthreservationsReservationsReservationIdDetailsIndexImport } from "./routes/_auth/(reservations)/reservations.$reservationId._details.index" import { Route as AuthfleetFleetVehicleIdDetailsSummaryImport } from "./routes/_auth/(fleet)/fleet.$vehicleId._details.summary" import { Route as AuthfleetFleetVehicleIdDetailsReservationsImport } from "./routes/_auth/(fleet)/fleet.$vehicleId._details.reservations" import { Route as AuthfleetFleetVehicleIdDetailsNotesImport } from "./routes/_auth/(fleet)/fleet.$vehicleId._details.notes" -import { Route as AuthfleetFleetVehicleIdDetailsIndexImport } from "./routes/_auth/(fleet)/fleet.$vehicleId._details.index" import { Route as AuthfleetFleetVehicleIdDetailsAgreementsImport } from "./routes/_auth/(fleet)/fleet.$vehicleId._details.agreements" import { Route as AuthcustomersCustomersCustomerIdDetailsSummaryImport } from "./routes/_auth/(customers)/customers.$customerId._details.summary" import { Route as AuthcustomersCustomersCustomerIdDetailsNotesImport } from "./routes/_auth/(customers)/customers.$customerId._details.notes" -import { Route as AuthcustomersCustomersCustomerIdDetailsIndexImport } from "./routes/_auth/(customers)/customers.$customerId._details.index" import { Route as AuthagreementsAgreementsAgreementIdDetailsSummaryImport } from "./routes/_auth/(agreements)/agreements.$agreementId._details.summary" import { Route as AuthagreementsAgreementsAgreementIdDetailsNotesImport } from "./routes/_auth/(agreements)/agreements.$agreementId._details.notes" -import { Route as AuthagreementsAgreementsAgreementIdDetailsIndexImport } from "./routes/_auth/(agreements)/agreements.$agreementId._details.index" import { Route as AuthagreementsAgreementsAgreementIdDetailsExchangesImport } from "./routes/_auth/(agreements)/agreements.$agreementId._details.exchanges" // Create/Update Routes @@ -111,6 +111,11 @@ const PublicDevRoute = PublicDevImport.update({ getParentRoute: () => PublicRoute, } as any) +const AuthdashboardIndexRoute = AuthdashboardIndexImport.update({ + path: "/", + getParentRoute: () => AuthRoute, +} as any) + const AuthsettingsSettingsRoute = AuthsettingsSettingsImport.update({ path: "/settings", getParentRoute: () => AuthRoute, @@ -127,11 +132,6 @@ const AuthfleetFleetRoute = AuthfleetFleetImport.update({ getParentRoute: () => AuthRoute, } as any) -const AuthdashboardIndexRoute = AuthdashboardIndexImport.update({ - path: "/index", - getParentRoute: () => AuthRoute, -} as any) - const AuthcustomersCustomersRoute = AuthcustomersCustomersImport.update({ path: "/customers", getParentRoute: () => AuthRoute, @@ -142,6 +142,39 @@ const AuthagreementsAgreementsRoute = AuthagreementsAgreementsImport.update({ getParentRoute: () => AuthRoute, } as any) +const AuthsettingsSettingsIndexRoute = AuthsettingsSettingsIndexImport.update({ + path: "/", + getParentRoute: () => AuthsettingsSettingsRoute, +} as any) + +const AuthreservationsReservationsIndexRoute = + AuthreservationsReservationsIndexImport.update({ + path: "/", + getParentRoute: () => AuthreservationsReservationsRoute, + } as any) + +const AuthreportsReportsIndexRoute = AuthreportsReportsIndexImport.update({ + path: "/reports/", + getParentRoute: () => AuthRoute, +} as any) + +const AuthfleetFleetIndexRoute = AuthfleetFleetIndexImport.update({ + path: "/", + getParentRoute: () => AuthfleetFleetRoute, +} as any) + +const AuthcustomersCustomersIndexRoute = + AuthcustomersCustomersIndexImport.update({ + path: "/", + getParentRoute: () => AuthcustomersCustomersRoute, + } as any) + +const AuthagreementsAgreementsIndexRoute = + AuthagreementsAgreementsIndexImport.update({ + path: "/", + getParentRoute: () => AuthagreementsAgreementsRoute, + } as any) + const AuthsettingsSettingsVehiclesAndCategoriesRoute = AuthsettingsSettingsVehiclesAndCategoriesImport.update({ path: "/vehicles-and-categories", @@ -166,11 +199,6 @@ const AuthsettingsSettingsProfileRoute = getParentRoute: () => AuthsettingsSettingsRoute, } as any) -const AuthsettingsSettingsIndexRoute = AuthsettingsSettingsIndexImport.update({ - path: "/index", - getParentRoute: () => AuthsettingsSettingsRoute, -} as any) - const AuthsettingsSettingsApplicationRoute = AuthsettingsSettingsApplicationImport.update({ path: "/application", @@ -183,33 +211,17 @@ const AuthreservationsReservationsNewRoute = getParentRoute: () => AuthreservationsReservationsRoute, } as any) -const AuthreservationsReservationsIndexRoute = - AuthreservationsReservationsIndexImport.update({ - path: "/index", - getParentRoute: () => AuthreservationsReservationsRoute, - } as any) - const AuthreservationsReservationsReservationIdRoute = AuthreservationsReservationsReservationIdImport.update({ path: "/$reservationId", getParentRoute: () => AuthreservationsReservationsRoute, } as any) -const AuthreportsReportsIndexRoute = AuthreportsReportsIndexImport.update({ - path: "/reports/index", - getParentRoute: () => AuthRoute, -} as any) - const AuthfleetFleetNewRoute = AuthfleetFleetNewImport.update({ path: "/new", getParentRoute: () => AuthfleetFleetRoute, } as any) -const AuthfleetFleetIndexRoute = AuthfleetFleetIndexImport.update({ - path: "/index", - getParentRoute: () => AuthfleetFleetRoute, -} as any) - const AuthfleetFleetVehicleIdRoute = AuthfleetFleetVehicleIdImport.update({ path: "/$vehicleId", getParentRoute: () => AuthfleetFleetRoute, @@ -220,12 +232,6 @@ const AuthcustomersCustomersNewRoute = AuthcustomersCustomersNewImport.update({ getParentRoute: () => AuthcustomersCustomersRoute, } as any) -const AuthcustomersCustomersIndexRoute = - AuthcustomersCustomersIndexImport.update({ - path: "/index", - getParentRoute: () => AuthcustomersCustomersRoute, - } as any) - const AuthcustomersCustomersCustomerIdRoute = AuthcustomersCustomersCustomerIdImport.update({ path: "/$customerId", @@ -238,18 +244,24 @@ const AuthagreementsAgreementsNewRoute = getParentRoute: () => AuthagreementsAgreementsRoute, } as any) -const AuthagreementsAgreementsIndexRoute = - AuthagreementsAgreementsIndexImport.update({ - path: "/index", - getParentRoute: () => AuthagreementsAgreementsRoute, - } as any) - const AuthagreementsAgreementsAgreementIdRoute = AuthagreementsAgreementsAgreementIdImport.update({ path: "/$agreementId", getParentRoute: () => AuthagreementsAgreementsRoute, } as any) +const AuthsettingsSettingsApplicationIndexRoute = + AuthsettingsSettingsApplicationIndexImport.update({ + path: "/", + getParentRoute: () => AuthsettingsSettingsApplicationRoute, + } as any) + +const AuthreportsReportsReportIdIndexRoute = + AuthreportsReportsReportIdIndexImport.update({ + path: "/reports/$reportId/", + getParentRoute: () => AuthRoute, + } as any) + const AuthsettingsSettingsApplicationUsersRoute = AuthsettingsSettingsApplicationUsersImport.update({ path: "/users", @@ -274,12 +286,6 @@ const AuthsettingsSettingsApplicationLocationsRoute = getParentRoute: () => AuthsettingsSettingsApplicationRoute, } as any) -const AuthsettingsSettingsApplicationIndexRoute = - AuthsettingsSettingsApplicationIndexImport.update({ - path: "/index", - getParentRoute: () => AuthsettingsSettingsApplicationRoute, - } as any) - const AuthreservationsReservationsReservationIdEditRoute = AuthreservationsReservationsReservationIdEditImport.update({ path: "/edit", @@ -292,12 +298,6 @@ const AuthreservationsReservationsReservationIdDetailsRoute = getParentRoute: () => AuthreservationsReservationsReservationIdRoute, } as any) -const AuthreportsReportsReportIdIndexRoute = - AuthreportsReportsReportIdIndexImport.update({ - path: "/reports/$reportId/index", - getParentRoute: () => AuthRoute, - } as any) - const AuthfleetFleetVehicleIdEditRoute = AuthfleetFleetVehicleIdEditImport.update({ path: "/edit", @@ -340,6 +340,30 @@ const AuthagreementsAgreementsAgreementIdDetailsRoute = getParentRoute: () => AuthagreementsAgreementsAgreementIdRoute, } as any) +const AuthreservationsReservationsReservationIdDetailsIndexRoute = + AuthreservationsReservationsReservationIdDetailsIndexImport.update({ + path: "/", + getParentRoute: () => AuthreservationsReservationsReservationIdDetailsRoute, + } as any) + +const AuthfleetFleetVehicleIdDetailsIndexRoute = + AuthfleetFleetVehicleIdDetailsIndexImport.update({ + path: "/", + getParentRoute: () => AuthfleetFleetVehicleIdDetailsRoute, + } as any) + +const AuthcustomersCustomersCustomerIdDetailsIndexRoute = + AuthcustomersCustomersCustomerIdDetailsIndexImport.update({ + path: "/", + getParentRoute: () => AuthcustomersCustomersCustomerIdDetailsRoute, + } as any) + +const AuthagreementsAgreementsAgreementIdDetailsIndexRoute = + AuthagreementsAgreementsAgreementIdDetailsIndexImport.update({ + path: "/", + getParentRoute: () => AuthagreementsAgreementsAgreementIdDetailsRoute, + } as any) + const AuthreservationsReservationsReservationIdDetailsSummaryRoute = AuthreservationsReservationsReservationIdDetailsSummaryImport.update({ path: "/summary", @@ -352,12 +376,6 @@ const AuthreservationsReservationsReservationIdDetailsNotesRoute = getParentRoute: () => AuthreservationsReservationsReservationIdDetailsRoute, } as any) -const AuthreservationsReservationsReservationIdDetailsIndexRoute = - AuthreservationsReservationsReservationIdDetailsIndexImport.update({ - path: "/index", - getParentRoute: () => AuthreservationsReservationsReservationIdDetailsRoute, - } as any) - const AuthfleetFleetVehicleIdDetailsSummaryRoute = AuthfleetFleetVehicleIdDetailsSummaryImport.update({ path: "/summary", @@ -376,12 +394,6 @@ const AuthfleetFleetVehicleIdDetailsNotesRoute = getParentRoute: () => AuthfleetFleetVehicleIdDetailsRoute, } as any) -const AuthfleetFleetVehicleIdDetailsIndexRoute = - AuthfleetFleetVehicleIdDetailsIndexImport.update({ - path: "/index", - getParentRoute: () => AuthfleetFleetVehicleIdDetailsRoute, - } as any) - const AuthfleetFleetVehicleIdDetailsAgreementsRoute = AuthfleetFleetVehicleIdDetailsAgreementsImport.update({ path: "/agreements", @@ -400,12 +412,6 @@ const AuthcustomersCustomersCustomerIdDetailsNotesRoute = getParentRoute: () => AuthcustomersCustomersCustomerIdDetailsRoute, } as any) -const AuthcustomersCustomersCustomerIdDetailsIndexRoute = - AuthcustomersCustomersCustomerIdDetailsIndexImport.update({ - path: "/index", - getParentRoute: () => AuthcustomersCustomersCustomerIdDetailsRoute, - } as any) - const AuthagreementsAgreementsAgreementIdDetailsSummaryRoute = AuthagreementsAgreementsAgreementIdDetailsSummaryImport.update({ path: "/summary", @@ -418,12 +424,6 @@ const AuthagreementsAgreementsAgreementIdDetailsNotesRoute = getParentRoute: () => AuthagreementsAgreementsAgreementIdDetailsRoute, } as any) -const AuthagreementsAgreementsAgreementIdDetailsIndexRoute = - AuthagreementsAgreementsAgreementIdDetailsIndexImport.update({ - path: "/index", - getParentRoute: () => AuthagreementsAgreementsAgreementIdDetailsRoute, - } as any) - const AuthagreementsAgreementsAgreementIdDetailsExchangesRoute = AuthagreementsAgreementsAgreementIdDetailsExchangesImport.update({ path: "/exchanges", @@ -497,13 +497,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthcustomersCustomersImport parentRoute: typeof AuthImport } - "/_auth/(dashboard)/index": { - id: "/_auth/index" - path: "/index" - fullPath: "/index" - preLoaderRoute: typeof AuthdashboardIndexImport - parentRoute: typeof AuthImport - } "/_auth/(fleet)/fleet": { id: "/_auth/fleet" path: "/fleet" @@ -525,6 +518,13 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthsettingsSettingsImport parentRoute: typeof AuthImport } + "/_auth/(dashboard)/": { + id: "/_auth/" + path: "/" + fullPath: "/" + preLoaderRoute: typeof AuthdashboardIndexImport + parentRoute: typeof AuthImport + } "/_auth/(agreements)/agreements/$agreementId": { id: "/_auth/agreements/$agreementId" path: "/$agreementId" @@ -532,13 +532,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthagreementsAgreementsAgreementIdImport parentRoute: typeof AuthagreementsAgreementsImport } - "/_auth/(agreements)/agreements/index": { - id: "/_auth/agreements/index" - path: "/index" - fullPath: "/agreements/index" - preLoaderRoute: typeof AuthagreementsAgreementsIndexImport - parentRoute: typeof AuthagreementsAgreementsImport - } "/_auth/(agreements)/agreements/new": { id: "/_auth/agreements/new" path: "/new" @@ -553,13 +546,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthcustomersCustomersCustomerIdImport parentRoute: typeof AuthcustomersCustomersImport } - "/_auth/(customers)/customers/index": { - id: "/_auth/customers/index" - path: "/index" - fullPath: "/customers/index" - preLoaderRoute: typeof AuthcustomersCustomersIndexImport - parentRoute: typeof AuthcustomersCustomersImport - } "/_auth/(customers)/customers/new": { id: "/_auth/customers/new" path: "/new" @@ -574,13 +560,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthfleetFleetVehicleIdImport parentRoute: typeof AuthfleetFleetImport } - "/_auth/(fleet)/fleet/index": { - id: "/_auth/fleet/index" - path: "/index" - fullPath: "/fleet/index" - preLoaderRoute: typeof AuthfleetFleetIndexImport - parentRoute: typeof AuthfleetFleetImport - } "/_auth/(fleet)/fleet/new": { id: "/_auth/fleet/new" path: "/new" @@ -588,13 +567,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthfleetFleetNewImport parentRoute: typeof AuthfleetFleetImport } - "/_auth/(reports)/reports/index": { - id: "/_auth/reports/index" - path: "/reports/index" - fullPath: "/reports/index" - preLoaderRoute: typeof AuthreportsReportsIndexImport - parentRoute: typeof AuthImport - } "/_auth/(reservations)/reservations/$reservationId": { id: "/_auth/reservations/$reservationId" path: "/$reservationId" @@ -602,13 +574,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthreservationsReservationsReservationIdImport parentRoute: typeof AuthreservationsReservationsImport } - "/_auth/(reservations)/reservations/index": { - id: "/_auth/reservations/index" - path: "/index" - fullPath: "/reservations/index" - preLoaderRoute: typeof AuthreservationsReservationsIndexImport - parentRoute: typeof AuthreservationsReservationsImport - } "/_auth/(reservations)/reservations/new": { id: "/_auth/reservations/new" path: "/new" @@ -623,13 +588,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthsettingsSettingsApplicationImport parentRoute: typeof AuthsettingsSettingsImport } - "/_auth/(settings)/settings/index": { - id: "/_auth/settings/index" - path: "/index" - fullPath: "/settings/index" - preLoaderRoute: typeof AuthsettingsSettingsIndexImport - parentRoute: typeof AuthsettingsSettingsImport - } "/_auth/(settings)/settings/profile": { id: "/_auth/settings/profile" path: "/profile" @@ -658,6 +616,48 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthsettingsSettingsVehiclesAndCategoriesImport parentRoute: typeof AuthsettingsSettingsImport } + "/_auth/(agreements)/agreements/": { + id: "/_auth/agreements/" + path: "/" + fullPath: "/agreements/" + preLoaderRoute: typeof AuthagreementsAgreementsIndexImport + parentRoute: typeof AuthagreementsAgreementsImport + } + "/_auth/(customers)/customers/": { + id: "/_auth/customers/" + path: "/" + fullPath: "/customers/" + preLoaderRoute: typeof AuthcustomersCustomersIndexImport + parentRoute: typeof AuthcustomersCustomersImport + } + "/_auth/(fleet)/fleet/": { + id: "/_auth/fleet/" + path: "/" + fullPath: "/fleet/" + preLoaderRoute: typeof AuthfleetFleetIndexImport + parentRoute: typeof AuthfleetFleetImport + } + "/_auth/(reports)/reports/": { + id: "/_auth/reports/" + path: "/reports" + fullPath: "/reports" + preLoaderRoute: typeof AuthreportsReportsIndexImport + parentRoute: typeof AuthImport + } + "/_auth/(reservations)/reservations/": { + id: "/_auth/reservations/" + path: "/" + fullPath: "/reservations/" + preLoaderRoute: typeof AuthreservationsReservationsIndexImport + parentRoute: typeof AuthreservationsReservationsImport + } + "/_auth/(settings)/settings/": { + id: "/_auth/settings/" + path: "/" + fullPath: "/settings/" + preLoaderRoute: typeof AuthsettingsSettingsIndexImport + parentRoute: typeof AuthsettingsSettingsImport + } "/_auth/(agreements)/agreements/$agreementId/_details": { id: "/_auth/agreements/$agreementId/_details" path: "" @@ -707,13 +707,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthfleetFleetVehicleIdEditImport parentRoute: typeof AuthfleetFleetVehicleIdImport } - "/_auth/(reports)/reports/$reportId/index": { - id: "/_auth/reports/$reportId/index" - path: "/reports/$reportId/index" - fullPath: "/reports/$reportId/index" - preLoaderRoute: typeof AuthreportsReportsReportIdIndexImport - parentRoute: typeof AuthImport - } "/_auth/(reservations)/reservations/$reservationId/_details": { id: "/_auth/reservations/$reservationId/_details" path: "" @@ -728,13 +721,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthreservationsReservationsReservationIdEditImport parentRoute: typeof AuthreservationsReservationsReservationIdImport } - "/_auth/(settings)/settings/application/index": { - id: "/_auth/settings/application/index" - path: "/index" - fullPath: "/settings/application/index" - preLoaderRoute: typeof AuthsettingsSettingsApplicationIndexImport - parentRoute: typeof AuthsettingsSettingsApplicationImport - } "/_auth/(settings)/settings/application/locations": { id: "/_auth/settings/application/locations" path: "/locations" @@ -763,6 +749,20 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthsettingsSettingsApplicationUsersImport parentRoute: typeof AuthsettingsSettingsApplicationImport } + "/_auth/(reports)/reports/$reportId/": { + id: "/_auth/reports/$reportId/" + path: "/reports/$reportId" + fullPath: "/reports/$reportId" + preLoaderRoute: typeof AuthreportsReportsReportIdIndexImport + parentRoute: typeof AuthImport + } + "/_auth/(settings)/settings/application/": { + id: "/_auth/settings/application/" + path: "/" + fullPath: "/settings/application/" + preLoaderRoute: typeof AuthsettingsSettingsApplicationIndexImport + parentRoute: typeof AuthsettingsSettingsApplicationImport + } "/_auth/(agreements)/agreements/$agreementId/_details/exchanges": { id: "/_auth/agreements/$agreementId/_details/exchanges" path: "/exchanges" @@ -770,13 +770,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthagreementsAgreementsAgreementIdDetailsExchangesImport parentRoute: typeof AuthagreementsAgreementsAgreementIdDetailsImport } - "/_auth/(agreements)/agreements/$agreementId/_details/index": { - id: "/_auth/agreements/$agreementId/_details/index" - path: "/index" - fullPath: "/agreements/$agreementId/index" - preLoaderRoute: typeof AuthagreementsAgreementsAgreementIdDetailsIndexImport - parentRoute: typeof AuthagreementsAgreementsAgreementIdDetailsImport - } "/_auth/(agreements)/agreements/$agreementId/_details/notes": { id: "/_auth/agreements/$agreementId/_details/notes" path: "/notes" @@ -791,13 +784,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthagreementsAgreementsAgreementIdDetailsSummaryImport parentRoute: typeof AuthagreementsAgreementsAgreementIdDetailsImport } - "/_auth/(customers)/customers/$customerId/_details/index": { - id: "/_auth/customers/$customerId/_details/index" - path: "/index" - fullPath: "/customers/$customerId/index" - preLoaderRoute: typeof AuthcustomersCustomersCustomerIdDetailsIndexImport - parentRoute: typeof AuthcustomersCustomersCustomerIdDetailsImport - } "/_auth/(customers)/customers/$customerId/_details/notes": { id: "/_auth/customers/$customerId/_details/notes" path: "/notes" @@ -819,13 +805,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthfleetFleetVehicleIdDetailsAgreementsImport parentRoute: typeof AuthfleetFleetVehicleIdDetailsImport } - "/_auth/(fleet)/fleet/$vehicleId/_details/index": { - id: "/_auth/fleet/$vehicleId/_details/index" - path: "/index" - fullPath: "/fleet/$vehicleId/index" - preLoaderRoute: typeof AuthfleetFleetVehicleIdDetailsIndexImport - parentRoute: typeof AuthfleetFleetVehicleIdDetailsImport - } "/_auth/(fleet)/fleet/$vehicleId/_details/notes": { id: "/_auth/fleet/$vehicleId/_details/notes" path: "/notes" @@ -847,13 +826,6 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthfleetFleetVehicleIdDetailsSummaryImport parentRoute: typeof AuthfleetFleetVehicleIdDetailsImport } - "/_auth/(reservations)/reservations/$reservationId/_details/index": { - id: "/_auth/reservations/$reservationId/_details/index" - path: "/index" - fullPath: "/reservations/$reservationId/index" - preLoaderRoute: typeof AuthreservationsReservationsReservationIdDetailsIndexImport - parentRoute: typeof AuthreservationsReservationsReservationIdDetailsImport - } "/_auth/(reservations)/reservations/$reservationId/_details/notes": { id: "/_auth/reservations/$reservationId/_details/notes" path: "/notes" @@ -868,6 +840,34 @@ declare module "@tanstack/react-router" { preLoaderRoute: typeof AuthreservationsReservationsReservationIdDetailsSummaryImport parentRoute: typeof AuthreservationsReservationsReservationIdDetailsImport } + "/_auth/(agreements)/agreements/$agreementId/_details/": { + id: "/_auth/agreements/$agreementId/_details/" + path: "/" + fullPath: "/agreements/$agreementId/" + preLoaderRoute: typeof AuthagreementsAgreementsAgreementIdDetailsIndexImport + parentRoute: typeof AuthagreementsAgreementsAgreementIdDetailsImport + } + "/_auth/(customers)/customers/$customerId/_details/": { + id: "/_auth/customers/$customerId/_details/" + path: "/" + fullPath: "/customers/$customerId/" + preLoaderRoute: typeof AuthcustomersCustomersCustomerIdDetailsIndexImport + parentRoute: typeof AuthcustomersCustomersCustomerIdDetailsImport + } + "/_auth/(fleet)/fleet/$vehicleId/_details/": { + id: "/_auth/fleet/$vehicleId/_details/" + path: "/" + fullPath: "/fleet/$vehicleId/" + preLoaderRoute: typeof AuthfleetFleetVehicleIdDetailsIndexImport + parentRoute: typeof AuthfleetFleetVehicleIdDetailsImport + } + "/_auth/(reservations)/reservations/$reservationId/_details/": { + id: "/_auth/reservations/$reservationId/_details/" + path: "/" + fullPath: "/reservations/$reservationId/" + preLoaderRoute: typeof AuthreservationsReservationsReservationIdDetailsIndexImport + parentRoute: typeof AuthreservationsReservationsReservationIdDetailsImport + } } } @@ -875,21 +875,21 @@ declare module "@tanstack/react-router" { interface AuthagreementsAgreementsAgreementIdDetailsRouteChildren { AuthagreementsAgreementsAgreementIdDetailsExchangesRoute: typeof AuthagreementsAgreementsAgreementIdDetailsExchangesRoute - AuthagreementsAgreementsAgreementIdDetailsIndexRoute: typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute AuthagreementsAgreementsAgreementIdDetailsNotesRoute: typeof AuthagreementsAgreementsAgreementIdDetailsNotesRoute AuthagreementsAgreementsAgreementIdDetailsSummaryRoute: typeof AuthagreementsAgreementsAgreementIdDetailsSummaryRoute + AuthagreementsAgreementsAgreementIdDetailsIndexRoute: typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute } const AuthagreementsAgreementsAgreementIdDetailsRouteChildren: AuthagreementsAgreementsAgreementIdDetailsRouteChildren = { AuthagreementsAgreementsAgreementIdDetailsExchangesRoute: AuthagreementsAgreementsAgreementIdDetailsExchangesRoute, - AuthagreementsAgreementsAgreementIdDetailsIndexRoute: - AuthagreementsAgreementsAgreementIdDetailsIndexRoute, AuthagreementsAgreementsAgreementIdDetailsNotesRoute: AuthagreementsAgreementsAgreementIdDetailsNotesRoute, AuthagreementsAgreementsAgreementIdDetailsSummaryRoute: AuthagreementsAgreementsAgreementIdDetailsSummaryRoute, + AuthagreementsAgreementsAgreementIdDetailsIndexRoute: + AuthagreementsAgreementsAgreementIdDetailsIndexRoute, } const AuthagreementsAgreementsAgreementIdDetailsRouteWithChildren = @@ -920,16 +920,16 @@ const AuthagreementsAgreementsAgreementIdRouteWithChildren = interface AuthagreementsAgreementsRouteChildren { AuthagreementsAgreementsAgreementIdRoute: typeof AuthagreementsAgreementsAgreementIdRouteWithChildren - AuthagreementsAgreementsIndexRoute: typeof AuthagreementsAgreementsIndexRoute AuthagreementsAgreementsNewRoute: typeof AuthagreementsAgreementsNewRoute + AuthagreementsAgreementsIndexRoute: typeof AuthagreementsAgreementsIndexRoute } const AuthagreementsAgreementsRouteChildren: AuthagreementsAgreementsRouteChildren = { AuthagreementsAgreementsAgreementIdRoute: AuthagreementsAgreementsAgreementIdRouteWithChildren, - AuthagreementsAgreementsIndexRoute: AuthagreementsAgreementsIndexRoute, AuthagreementsAgreementsNewRoute: AuthagreementsAgreementsNewRoute, + AuthagreementsAgreementsIndexRoute: AuthagreementsAgreementsIndexRoute, } const AuthagreementsAgreementsRouteWithChildren = @@ -938,19 +938,19 @@ const AuthagreementsAgreementsRouteWithChildren = ) interface AuthcustomersCustomersCustomerIdDetailsRouteChildren { - AuthcustomersCustomersCustomerIdDetailsIndexRoute: typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute AuthcustomersCustomersCustomerIdDetailsNotesRoute: typeof AuthcustomersCustomersCustomerIdDetailsNotesRoute AuthcustomersCustomersCustomerIdDetailsSummaryRoute: typeof AuthcustomersCustomersCustomerIdDetailsSummaryRoute + AuthcustomersCustomersCustomerIdDetailsIndexRoute: typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute } const AuthcustomersCustomersCustomerIdDetailsRouteChildren: AuthcustomersCustomersCustomerIdDetailsRouteChildren = { - AuthcustomersCustomersCustomerIdDetailsIndexRoute: - AuthcustomersCustomersCustomerIdDetailsIndexRoute, AuthcustomersCustomersCustomerIdDetailsNotesRoute: AuthcustomersCustomersCustomerIdDetailsNotesRoute, AuthcustomersCustomersCustomerIdDetailsSummaryRoute: AuthcustomersCustomersCustomerIdDetailsSummaryRoute, + AuthcustomersCustomersCustomerIdDetailsIndexRoute: + AuthcustomersCustomersCustomerIdDetailsIndexRoute, } const AuthcustomersCustomersCustomerIdDetailsRouteWithChildren = @@ -978,16 +978,16 @@ const AuthcustomersCustomersCustomerIdRouteWithChildren = interface AuthcustomersCustomersRouteChildren { AuthcustomersCustomersCustomerIdRoute: typeof AuthcustomersCustomersCustomerIdRouteWithChildren - AuthcustomersCustomersIndexRoute: typeof AuthcustomersCustomersIndexRoute AuthcustomersCustomersNewRoute: typeof AuthcustomersCustomersNewRoute + AuthcustomersCustomersIndexRoute: typeof AuthcustomersCustomersIndexRoute } const AuthcustomersCustomersRouteChildren: AuthcustomersCustomersRouteChildren = { AuthcustomersCustomersCustomerIdRoute: AuthcustomersCustomersCustomerIdRouteWithChildren, - AuthcustomersCustomersIndexRoute: AuthcustomersCustomersIndexRoute, AuthcustomersCustomersNewRoute: AuthcustomersCustomersNewRoute, + AuthcustomersCustomersIndexRoute: AuthcustomersCustomersIndexRoute, } const AuthcustomersCustomersRouteWithChildren = @@ -997,24 +997,24 @@ const AuthcustomersCustomersRouteWithChildren = interface AuthfleetFleetVehicleIdDetailsRouteChildren { AuthfleetFleetVehicleIdDetailsAgreementsRoute: typeof AuthfleetFleetVehicleIdDetailsAgreementsRoute - AuthfleetFleetVehicleIdDetailsIndexRoute: typeof AuthfleetFleetVehicleIdDetailsIndexRoute AuthfleetFleetVehicleIdDetailsNotesRoute: typeof AuthfleetFleetVehicleIdDetailsNotesRoute AuthfleetFleetVehicleIdDetailsReservationsRoute: typeof AuthfleetFleetVehicleIdDetailsReservationsRoute AuthfleetFleetVehicleIdDetailsSummaryRoute: typeof AuthfleetFleetVehicleIdDetailsSummaryRoute + AuthfleetFleetVehicleIdDetailsIndexRoute: typeof AuthfleetFleetVehicleIdDetailsIndexRoute } const AuthfleetFleetVehicleIdDetailsRouteChildren: AuthfleetFleetVehicleIdDetailsRouteChildren = { AuthfleetFleetVehicleIdDetailsAgreementsRoute: AuthfleetFleetVehicleIdDetailsAgreementsRoute, - AuthfleetFleetVehicleIdDetailsIndexRoute: - AuthfleetFleetVehicleIdDetailsIndexRoute, AuthfleetFleetVehicleIdDetailsNotesRoute: AuthfleetFleetVehicleIdDetailsNotesRoute, AuthfleetFleetVehicleIdDetailsReservationsRoute: AuthfleetFleetVehicleIdDetailsReservationsRoute, AuthfleetFleetVehicleIdDetailsSummaryRoute: AuthfleetFleetVehicleIdDetailsSummaryRoute, + AuthfleetFleetVehicleIdDetailsIndexRoute: + AuthfleetFleetVehicleIdDetailsIndexRoute, } const AuthfleetFleetVehicleIdDetailsRouteWithChildren = @@ -1041,14 +1041,14 @@ const AuthfleetFleetVehicleIdRouteWithChildren = interface AuthfleetFleetRouteChildren { AuthfleetFleetVehicleIdRoute: typeof AuthfleetFleetVehicleIdRouteWithChildren - AuthfleetFleetIndexRoute: typeof AuthfleetFleetIndexRoute AuthfleetFleetNewRoute: typeof AuthfleetFleetNewRoute + AuthfleetFleetIndexRoute: typeof AuthfleetFleetIndexRoute } const AuthfleetFleetRouteChildren: AuthfleetFleetRouteChildren = { AuthfleetFleetVehicleIdRoute: AuthfleetFleetVehicleIdRouteWithChildren, - AuthfleetFleetIndexRoute: AuthfleetFleetIndexRoute, AuthfleetFleetNewRoute: AuthfleetFleetNewRoute, + AuthfleetFleetIndexRoute: AuthfleetFleetIndexRoute, } const AuthfleetFleetRouteWithChildren = AuthfleetFleetRoute._addFileChildren( @@ -1056,19 +1056,19 @@ const AuthfleetFleetRouteWithChildren = AuthfleetFleetRoute._addFileChildren( ) interface AuthreservationsReservationsReservationIdDetailsRouteChildren { - AuthreservationsReservationsReservationIdDetailsIndexRoute: typeof AuthreservationsReservationsReservationIdDetailsIndexRoute AuthreservationsReservationsReservationIdDetailsNotesRoute: typeof AuthreservationsReservationsReservationIdDetailsNotesRoute AuthreservationsReservationsReservationIdDetailsSummaryRoute: typeof AuthreservationsReservationsReservationIdDetailsSummaryRoute + AuthreservationsReservationsReservationIdDetailsIndexRoute: typeof AuthreservationsReservationsReservationIdDetailsIndexRoute } const AuthreservationsReservationsReservationIdDetailsRouteChildren: AuthreservationsReservationsReservationIdDetailsRouteChildren = { - AuthreservationsReservationsReservationIdDetailsIndexRoute: - AuthreservationsReservationsReservationIdDetailsIndexRoute, AuthreservationsReservationsReservationIdDetailsNotesRoute: AuthreservationsReservationsReservationIdDetailsNotesRoute, AuthreservationsReservationsReservationIdDetailsSummaryRoute: AuthreservationsReservationsReservationIdDetailsSummaryRoute, + AuthreservationsReservationsReservationIdDetailsIndexRoute: + AuthreservationsReservationsReservationIdDetailsIndexRoute, } const AuthreservationsReservationsReservationIdDetailsRouteWithChildren = @@ -1096,17 +1096,17 @@ const AuthreservationsReservationsReservationIdRouteWithChildren = interface AuthreservationsReservationsRouteChildren { AuthreservationsReservationsReservationIdRoute: typeof AuthreservationsReservationsReservationIdRouteWithChildren - AuthreservationsReservationsIndexRoute: typeof AuthreservationsReservationsIndexRoute AuthreservationsReservationsNewRoute: typeof AuthreservationsReservationsNewRoute + AuthreservationsReservationsIndexRoute: typeof AuthreservationsReservationsIndexRoute } const AuthreservationsReservationsRouteChildren: AuthreservationsReservationsRouteChildren = { AuthreservationsReservationsReservationIdRoute: AuthreservationsReservationsReservationIdRouteWithChildren, + AuthreservationsReservationsNewRoute: AuthreservationsReservationsNewRoute, AuthreservationsReservationsIndexRoute: AuthreservationsReservationsIndexRoute, - AuthreservationsReservationsNewRoute: AuthreservationsReservationsNewRoute, } const AuthreservationsReservationsRouteWithChildren = @@ -1115,17 +1115,15 @@ const AuthreservationsReservationsRouteWithChildren = ) interface AuthsettingsSettingsApplicationRouteChildren { - AuthsettingsSettingsApplicationIndexRoute: typeof AuthsettingsSettingsApplicationIndexRoute AuthsettingsSettingsApplicationLocationsRoute: typeof AuthsettingsSettingsApplicationLocationsRoute AuthsettingsSettingsApplicationPermissionsAndRolesRoute: typeof AuthsettingsSettingsApplicationPermissionsAndRolesRoute AuthsettingsSettingsApplicationStoreHoursAndHolidaysRoute: typeof AuthsettingsSettingsApplicationStoreHoursAndHolidaysRoute AuthsettingsSettingsApplicationUsersRoute: typeof AuthsettingsSettingsApplicationUsersRoute + AuthsettingsSettingsApplicationIndexRoute: typeof AuthsettingsSettingsApplicationIndexRoute } const AuthsettingsSettingsApplicationRouteChildren: AuthsettingsSettingsApplicationRouteChildren = { - AuthsettingsSettingsApplicationIndexRoute: - AuthsettingsSettingsApplicationIndexRoute, AuthsettingsSettingsApplicationLocationsRoute: AuthsettingsSettingsApplicationLocationsRoute, AuthsettingsSettingsApplicationPermissionsAndRolesRoute: @@ -1134,6 +1132,8 @@ const AuthsettingsSettingsApplicationRouteChildren: AuthsettingsSettingsApplicat AuthsettingsSettingsApplicationStoreHoursAndHolidaysRoute, AuthsettingsSettingsApplicationUsersRoute: AuthsettingsSettingsApplicationUsersRoute, + AuthsettingsSettingsApplicationIndexRoute: + AuthsettingsSettingsApplicationIndexRoute, } const AuthsettingsSettingsApplicationRouteWithChildren = @@ -1143,17 +1143,16 @@ const AuthsettingsSettingsApplicationRouteWithChildren = interface AuthsettingsSettingsRouteChildren { AuthsettingsSettingsApplicationRoute: typeof AuthsettingsSettingsApplicationRouteWithChildren - AuthsettingsSettingsIndexRoute: typeof AuthsettingsSettingsIndexRoute AuthsettingsSettingsProfileRoute: typeof AuthsettingsSettingsProfileRoute AuthsettingsSettingsRatesAndChargesRoute: typeof AuthsettingsSettingsRatesAndChargesRoute AuthsettingsSettingsRuntimeConfigurationRoute: typeof AuthsettingsSettingsRuntimeConfigurationRoute AuthsettingsSettingsVehiclesAndCategoriesRoute: typeof AuthsettingsSettingsVehiclesAndCategoriesRoute + AuthsettingsSettingsIndexRoute: typeof AuthsettingsSettingsIndexRoute } const AuthsettingsSettingsRouteChildren: AuthsettingsSettingsRouteChildren = { AuthsettingsSettingsApplicationRoute: AuthsettingsSettingsApplicationRouteWithChildren, - AuthsettingsSettingsIndexRoute: AuthsettingsSettingsIndexRoute, AuthsettingsSettingsProfileRoute: AuthsettingsSettingsProfileRoute, AuthsettingsSettingsRatesAndChargesRoute: AuthsettingsSettingsRatesAndChargesRoute, @@ -1161,6 +1160,7 @@ const AuthsettingsSettingsRouteChildren: AuthsettingsSettingsRouteChildren = { AuthsettingsSettingsRuntimeConfigurationRoute, AuthsettingsSettingsVehiclesAndCategoriesRoute: AuthsettingsSettingsVehiclesAndCategoriesRoute, + AuthsettingsSettingsIndexRoute: AuthsettingsSettingsIndexRoute, } const AuthsettingsSettingsRouteWithChildren = @@ -1169,10 +1169,10 @@ const AuthsettingsSettingsRouteWithChildren = interface AuthRouteChildren { AuthagreementsAgreementsRoute: typeof AuthagreementsAgreementsRouteWithChildren AuthcustomersCustomersRoute: typeof AuthcustomersCustomersRouteWithChildren - AuthdashboardIndexRoute: typeof AuthdashboardIndexRoute AuthfleetFleetRoute: typeof AuthfleetFleetRouteWithChildren AuthreservationsReservationsRoute: typeof AuthreservationsReservationsRouteWithChildren AuthsettingsSettingsRoute: typeof AuthsettingsSettingsRouteWithChildren + AuthdashboardIndexRoute: typeof AuthdashboardIndexRoute AuthreportsReportsIndexRoute: typeof AuthreportsReportsIndexRoute AuthreportsReportsReportIdIndexRoute: typeof AuthreportsReportsReportIdIndexRoute } @@ -1180,11 +1180,11 @@ interface AuthRouteChildren { const AuthRouteChildren: AuthRouteChildren = { AuthagreementsAgreementsRoute: AuthagreementsAgreementsRouteWithChildren, AuthcustomersCustomersRoute: AuthcustomersCustomersRouteWithChildren, - AuthdashboardIndexRoute: AuthdashboardIndexRoute, AuthfleetFleetRoute: AuthfleetFleetRouteWithChildren, AuthreservationsReservationsRoute: AuthreservationsReservationsRouteWithChildren, AuthsettingsSettingsRoute: AuthsettingsSettingsRouteWithChildren, + AuthdashboardIndexRoute: AuthdashboardIndexRoute, AuthreportsReportsIndexRoute: AuthreportsReportsIndexRoute, AuthreportsReportsReportIdIndexRoute: AuthreportsReportsReportIdIndexRoute, } @@ -1219,55 +1219,55 @@ export interface FileRoutesByFullPath { "/oidc-callback": typeof PublicOidcCallbackRoute "/agreements": typeof AuthagreementsAgreementsRouteWithChildren "/customers": typeof AuthcustomersCustomersRouteWithChildren - "/index": typeof AuthdashboardIndexRoute "/fleet": typeof AuthfleetFleetRouteWithChildren "/reservations": typeof AuthreservationsReservationsRouteWithChildren "/settings": typeof AuthsettingsSettingsRouteWithChildren + "/": typeof AuthdashboardIndexRoute "/agreements/$agreementId": typeof AuthagreementsAgreementsAgreementIdDetailsRouteWithChildren - "/agreements/index": typeof AuthagreementsAgreementsIndexRoute "/agreements/new": typeof AuthagreementsAgreementsNewRoute "/customers/$customerId": typeof AuthcustomersCustomersCustomerIdDetailsRouteWithChildren - "/customers/index": typeof AuthcustomersCustomersIndexRoute "/customers/new": typeof AuthcustomersCustomersNewRoute "/fleet/$vehicleId": typeof AuthfleetFleetVehicleIdDetailsRouteWithChildren - "/fleet/index": typeof AuthfleetFleetIndexRoute "/fleet/new": typeof AuthfleetFleetNewRoute - "/reports/index": typeof AuthreportsReportsIndexRoute "/reservations/$reservationId": typeof AuthreservationsReservationsReservationIdDetailsRouteWithChildren - "/reservations/index": typeof AuthreservationsReservationsIndexRoute "/reservations/new": typeof AuthreservationsReservationsNewRoute "/settings/application": typeof AuthsettingsSettingsApplicationRouteWithChildren - "/settings/index": typeof AuthsettingsSettingsIndexRoute "/settings/profile": typeof AuthsettingsSettingsProfileRoute "/settings/rates-and-charges": typeof AuthsettingsSettingsRatesAndChargesRoute "/settings/runtime-configuration": typeof AuthsettingsSettingsRuntimeConfigurationRoute "/settings/vehicles-and-categories": typeof AuthsettingsSettingsVehiclesAndCategoriesRoute + "/agreements/": typeof AuthagreementsAgreementsIndexRoute + "/customers/": typeof AuthcustomersCustomersIndexRoute + "/fleet/": typeof AuthfleetFleetIndexRoute + "/reports": typeof AuthreportsReportsIndexRoute + "/reservations/": typeof AuthreservationsReservationsIndexRoute + "/settings/": typeof AuthsettingsSettingsIndexRoute "/agreements/$agreementId/check-in": typeof AuthagreementsAgreementsAgreementIdCheckInRoute "/agreements/$agreementId/edit": typeof AuthagreementsAgreementsAgreementIdEditRoute "/customers/$customerId/edit": typeof AuthcustomersCustomersCustomerIdEditRoute "/fleet/$vehicleId/edit": typeof AuthfleetFleetVehicleIdEditRoute - "/reports/$reportId/index": typeof AuthreportsReportsReportIdIndexRoute "/reservations/$reservationId/edit": typeof AuthreservationsReservationsReservationIdEditRoute - "/settings/application/index": typeof AuthsettingsSettingsApplicationIndexRoute "/settings/application/locations": typeof AuthsettingsSettingsApplicationLocationsRoute "/settings/application/permissions-and-roles": typeof AuthsettingsSettingsApplicationPermissionsAndRolesRoute "/settings/application/store-hours-and-holidays": typeof AuthsettingsSettingsApplicationStoreHoursAndHolidaysRoute "/settings/application/users": typeof AuthsettingsSettingsApplicationUsersRoute + "/reports/$reportId": typeof AuthreportsReportsReportIdIndexRoute + "/settings/application/": typeof AuthsettingsSettingsApplicationIndexRoute "/agreements/$agreementId/exchanges": typeof AuthagreementsAgreementsAgreementIdDetailsExchangesRoute - "/agreements/$agreementId/index": typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute "/agreements/$agreementId/notes": typeof AuthagreementsAgreementsAgreementIdDetailsNotesRoute "/agreements/$agreementId/summary": typeof AuthagreementsAgreementsAgreementIdDetailsSummaryRoute - "/customers/$customerId/index": typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute "/customers/$customerId/notes": typeof AuthcustomersCustomersCustomerIdDetailsNotesRoute "/customers/$customerId/summary": typeof AuthcustomersCustomersCustomerIdDetailsSummaryRoute "/fleet/$vehicleId/agreements": typeof AuthfleetFleetVehicleIdDetailsAgreementsRoute - "/fleet/$vehicleId/index": typeof AuthfleetFleetVehicleIdDetailsIndexRoute "/fleet/$vehicleId/notes": typeof AuthfleetFleetVehicleIdDetailsNotesRoute "/fleet/$vehicleId/reservations": typeof AuthfleetFleetVehicleIdDetailsReservationsRoute "/fleet/$vehicleId/summary": typeof AuthfleetFleetVehicleIdDetailsSummaryRoute - "/reservations/$reservationId/index": typeof AuthreservationsReservationsReservationIdDetailsIndexRoute "/reservations/$reservationId/notes": typeof AuthreservationsReservationsReservationIdDetailsNotesRoute "/reservations/$reservationId/summary": typeof AuthreservationsReservationsReservationIdDetailsSummaryRoute + "/agreements/$agreementId/": typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute + "/customers/$customerId/": typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute + "/fleet/$vehicleId/": typeof AuthfleetFleetVehicleIdDetailsIndexRoute + "/reservations/$reservationId/": typeof AuthreservationsReservationsReservationIdDetailsIndexRoute } export interface FileRoutesByTo { @@ -1277,55 +1277,45 @@ export interface FileRoutesByTo { "/login": typeof PublicLoginRoute "/logout": typeof PublicLogoutRoute "/oidc-callback": typeof PublicOidcCallbackRoute - "/agreements": typeof AuthagreementsAgreementsRouteWithChildren - "/customers": typeof AuthcustomersCustomersRouteWithChildren - "/index": typeof AuthdashboardIndexRoute - "/fleet": typeof AuthfleetFleetRouteWithChildren - "/reservations": typeof AuthreservationsReservationsRouteWithChildren - "/settings": typeof AuthsettingsSettingsRouteWithChildren - "/agreements/$agreementId": typeof AuthagreementsAgreementsAgreementIdDetailsRouteWithChildren - "/agreements/index": typeof AuthagreementsAgreementsIndexRoute + "/": typeof AuthdashboardIndexRoute + "/agreements/$agreementId": typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute "/agreements/new": typeof AuthagreementsAgreementsNewRoute - "/customers/$customerId": typeof AuthcustomersCustomersCustomerIdDetailsRouteWithChildren - "/customers/index": typeof AuthcustomersCustomersIndexRoute + "/customers/$customerId": typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute "/customers/new": typeof AuthcustomersCustomersNewRoute - "/fleet/$vehicleId": typeof AuthfleetFleetVehicleIdDetailsRouteWithChildren - "/fleet/index": typeof AuthfleetFleetIndexRoute + "/fleet/$vehicleId": typeof AuthfleetFleetVehicleIdDetailsIndexRoute "/fleet/new": typeof AuthfleetFleetNewRoute - "/reports/index": typeof AuthreportsReportsIndexRoute - "/reservations/$reservationId": typeof AuthreservationsReservationsReservationIdDetailsRouteWithChildren - "/reservations/index": typeof AuthreservationsReservationsIndexRoute + "/reservations/$reservationId": typeof AuthreservationsReservationsReservationIdDetailsIndexRoute "/reservations/new": typeof AuthreservationsReservationsNewRoute - "/settings/application": typeof AuthsettingsSettingsApplicationRouteWithChildren - "/settings/index": typeof AuthsettingsSettingsIndexRoute "/settings/profile": typeof AuthsettingsSettingsProfileRoute "/settings/rates-and-charges": typeof AuthsettingsSettingsRatesAndChargesRoute "/settings/runtime-configuration": typeof AuthsettingsSettingsRuntimeConfigurationRoute "/settings/vehicles-and-categories": typeof AuthsettingsSettingsVehiclesAndCategoriesRoute + "/agreements": typeof AuthagreementsAgreementsIndexRoute + "/customers": typeof AuthcustomersCustomersIndexRoute + "/fleet": typeof AuthfleetFleetIndexRoute + "/reports": typeof AuthreportsReportsIndexRoute + "/reservations": typeof AuthreservationsReservationsIndexRoute + "/settings": typeof AuthsettingsSettingsIndexRoute "/agreements/$agreementId/check-in": typeof AuthagreementsAgreementsAgreementIdCheckInRoute "/agreements/$agreementId/edit": typeof AuthagreementsAgreementsAgreementIdEditRoute "/customers/$customerId/edit": typeof AuthcustomersCustomersCustomerIdEditRoute "/fleet/$vehicleId/edit": typeof AuthfleetFleetVehicleIdEditRoute - "/reports/$reportId/index": typeof AuthreportsReportsReportIdIndexRoute "/reservations/$reservationId/edit": typeof AuthreservationsReservationsReservationIdEditRoute - "/settings/application/index": typeof AuthsettingsSettingsApplicationIndexRoute "/settings/application/locations": typeof AuthsettingsSettingsApplicationLocationsRoute "/settings/application/permissions-and-roles": typeof AuthsettingsSettingsApplicationPermissionsAndRolesRoute "/settings/application/store-hours-and-holidays": typeof AuthsettingsSettingsApplicationStoreHoursAndHolidaysRoute "/settings/application/users": typeof AuthsettingsSettingsApplicationUsersRoute + "/reports/$reportId": typeof AuthreportsReportsReportIdIndexRoute + "/settings/application": typeof AuthsettingsSettingsApplicationIndexRoute "/agreements/$agreementId/exchanges": typeof AuthagreementsAgreementsAgreementIdDetailsExchangesRoute - "/agreements/$agreementId/index": typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute "/agreements/$agreementId/notes": typeof AuthagreementsAgreementsAgreementIdDetailsNotesRoute "/agreements/$agreementId/summary": typeof AuthagreementsAgreementsAgreementIdDetailsSummaryRoute - "/customers/$customerId/index": typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute "/customers/$customerId/notes": typeof AuthcustomersCustomersCustomerIdDetailsNotesRoute "/customers/$customerId/summary": typeof AuthcustomersCustomersCustomerIdDetailsSummaryRoute "/fleet/$vehicleId/agreements": typeof AuthfleetFleetVehicleIdDetailsAgreementsRoute - "/fleet/$vehicleId/index": typeof AuthfleetFleetVehicleIdDetailsIndexRoute "/fleet/$vehicleId/notes": typeof AuthfleetFleetVehicleIdDetailsNotesRoute "/fleet/$vehicleId/reservations": typeof AuthfleetFleetVehicleIdDetailsReservationsRoute "/fleet/$vehicleId/summary": typeof AuthfleetFleetVehicleIdDetailsSummaryRoute - "/reservations/$reservationId/index": typeof AuthreservationsReservationsReservationIdDetailsIndexRoute "/reservations/$reservationId/notes": typeof AuthreservationsReservationsReservationIdDetailsNotesRoute "/reservations/$reservationId/summary": typeof AuthreservationsReservationsReservationIdDetailsSummaryRoute } @@ -1341,29 +1331,29 @@ export interface FileRoutesById { "/_public/oidc-callback": typeof PublicOidcCallbackRoute "/_auth/agreements": typeof AuthagreementsAgreementsRouteWithChildren "/_auth/customers": typeof AuthcustomersCustomersRouteWithChildren - "/_auth/index": typeof AuthdashboardIndexRoute "/_auth/fleet": typeof AuthfleetFleetRouteWithChildren "/_auth/reservations": typeof AuthreservationsReservationsRouteWithChildren "/_auth/settings": typeof AuthsettingsSettingsRouteWithChildren + "/_auth/": typeof AuthdashboardIndexRoute "/_auth/agreements/$agreementId": typeof AuthagreementsAgreementsAgreementIdRouteWithChildren - "/_auth/agreements/index": typeof AuthagreementsAgreementsIndexRoute "/_auth/agreements/new": typeof AuthagreementsAgreementsNewRoute "/_auth/customers/$customerId": typeof AuthcustomersCustomersCustomerIdRouteWithChildren - "/_auth/customers/index": typeof AuthcustomersCustomersIndexRoute "/_auth/customers/new": typeof AuthcustomersCustomersNewRoute "/_auth/fleet/$vehicleId": typeof AuthfleetFleetVehicleIdRouteWithChildren - "/_auth/fleet/index": typeof AuthfleetFleetIndexRoute "/_auth/fleet/new": typeof AuthfleetFleetNewRoute - "/_auth/reports/index": typeof AuthreportsReportsIndexRoute "/_auth/reservations/$reservationId": typeof AuthreservationsReservationsReservationIdRouteWithChildren - "/_auth/reservations/index": typeof AuthreservationsReservationsIndexRoute "/_auth/reservations/new": typeof AuthreservationsReservationsNewRoute "/_auth/settings/application": typeof AuthsettingsSettingsApplicationRouteWithChildren - "/_auth/settings/index": typeof AuthsettingsSettingsIndexRoute "/_auth/settings/profile": typeof AuthsettingsSettingsProfileRoute "/_auth/settings/rates-and-charges": typeof AuthsettingsSettingsRatesAndChargesRoute "/_auth/settings/runtime-configuration": typeof AuthsettingsSettingsRuntimeConfigurationRoute "/_auth/settings/vehicles-and-categories": typeof AuthsettingsSettingsVehiclesAndCategoriesRoute + "/_auth/agreements/": typeof AuthagreementsAgreementsIndexRoute + "/_auth/customers/": typeof AuthcustomersCustomersIndexRoute + "/_auth/fleet/": typeof AuthfleetFleetIndexRoute + "/_auth/reports/": typeof AuthreportsReportsIndexRoute + "/_auth/reservations/": typeof AuthreservationsReservationsIndexRoute + "/_auth/settings/": typeof AuthsettingsSettingsIndexRoute "/_auth/agreements/$agreementId/_details": typeof AuthagreementsAgreementsAgreementIdDetailsRouteWithChildren "/_auth/agreements/$agreementId/check-in": typeof AuthagreementsAgreementsAgreementIdCheckInRoute "/_auth/agreements/$agreementId/edit": typeof AuthagreementsAgreementsAgreementIdEditRoute @@ -1371,29 +1361,29 @@ export interface FileRoutesById { "/_auth/customers/$customerId/edit": typeof AuthcustomersCustomersCustomerIdEditRoute "/_auth/fleet/$vehicleId/_details": typeof AuthfleetFleetVehicleIdDetailsRouteWithChildren "/_auth/fleet/$vehicleId/edit": typeof AuthfleetFleetVehicleIdEditRoute - "/_auth/reports/$reportId/index": typeof AuthreportsReportsReportIdIndexRoute "/_auth/reservations/$reservationId/_details": typeof AuthreservationsReservationsReservationIdDetailsRouteWithChildren "/_auth/reservations/$reservationId/edit": typeof AuthreservationsReservationsReservationIdEditRoute - "/_auth/settings/application/index": typeof AuthsettingsSettingsApplicationIndexRoute "/_auth/settings/application/locations": typeof AuthsettingsSettingsApplicationLocationsRoute "/_auth/settings/application/permissions-and-roles": typeof AuthsettingsSettingsApplicationPermissionsAndRolesRoute "/_auth/settings/application/store-hours-and-holidays": typeof AuthsettingsSettingsApplicationStoreHoursAndHolidaysRoute "/_auth/settings/application/users": typeof AuthsettingsSettingsApplicationUsersRoute + "/_auth/reports/$reportId/": typeof AuthreportsReportsReportIdIndexRoute + "/_auth/settings/application/": typeof AuthsettingsSettingsApplicationIndexRoute "/_auth/agreements/$agreementId/_details/exchanges": typeof AuthagreementsAgreementsAgreementIdDetailsExchangesRoute - "/_auth/agreements/$agreementId/_details/index": typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute "/_auth/agreements/$agreementId/_details/notes": typeof AuthagreementsAgreementsAgreementIdDetailsNotesRoute "/_auth/agreements/$agreementId/_details/summary": typeof AuthagreementsAgreementsAgreementIdDetailsSummaryRoute - "/_auth/customers/$customerId/_details/index": typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute "/_auth/customers/$customerId/_details/notes": typeof AuthcustomersCustomersCustomerIdDetailsNotesRoute "/_auth/customers/$customerId/_details/summary": typeof AuthcustomersCustomersCustomerIdDetailsSummaryRoute "/_auth/fleet/$vehicleId/_details/agreements": typeof AuthfleetFleetVehicleIdDetailsAgreementsRoute - "/_auth/fleet/$vehicleId/_details/index": typeof AuthfleetFleetVehicleIdDetailsIndexRoute "/_auth/fleet/$vehicleId/_details/notes": typeof AuthfleetFleetVehicleIdDetailsNotesRoute "/_auth/fleet/$vehicleId/_details/reservations": typeof AuthfleetFleetVehicleIdDetailsReservationsRoute "/_auth/fleet/$vehicleId/_details/summary": typeof AuthfleetFleetVehicleIdDetailsSummaryRoute - "/_auth/reservations/$reservationId/_details/index": typeof AuthreservationsReservationsReservationIdDetailsIndexRoute "/_auth/reservations/$reservationId/_details/notes": typeof AuthreservationsReservationsReservationIdDetailsNotesRoute "/_auth/reservations/$reservationId/_details/summary": typeof AuthreservationsReservationsReservationIdDetailsSummaryRoute + "/_auth/agreements/$agreementId/_details/": typeof AuthagreementsAgreementsAgreementIdDetailsIndexRoute + "/_auth/customers/$customerId/_details/": typeof AuthcustomersCustomersCustomerIdDetailsIndexRoute + "/_auth/fleet/$vehicleId/_details/": typeof AuthfleetFleetVehicleIdDetailsIndexRoute + "/_auth/reservations/$reservationId/_details/": typeof AuthreservationsReservationsReservationIdDetailsIndexRoute } export interface FileRouteTypes { @@ -1407,55 +1397,55 @@ export interface FileRouteTypes { | "/oidc-callback" | "/agreements" | "/customers" - | "/index" | "/fleet" | "/reservations" | "/settings" + | "/" | "/agreements/$agreementId" - | "/agreements/index" | "/agreements/new" | "/customers/$customerId" - | "/customers/index" | "/customers/new" | "/fleet/$vehicleId" - | "/fleet/index" | "/fleet/new" - | "/reports/index" | "/reservations/$reservationId" - | "/reservations/index" | "/reservations/new" | "/settings/application" - | "/settings/index" | "/settings/profile" | "/settings/rates-and-charges" | "/settings/runtime-configuration" | "/settings/vehicles-and-categories" + | "/agreements/" + | "/customers/" + | "/fleet/" + | "/reports" + | "/reservations/" + | "/settings/" | "/agreements/$agreementId/check-in" | "/agreements/$agreementId/edit" | "/customers/$customerId/edit" | "/fleet/$vehicleId/edit" - | "/reports/$reportId/index" | "/reservations/$reservationId/edit" - | "/settings/application/index" | "/settings/application/locations" | "/settings/application/permissions-and-roles" | "/settings/application/store-hours-and-holidays" | "/settings/application/users" + | "/reports/$reportId" + | "/settings/application/" | "/agreements/$agreementId/exchanges" - | "/agreements/$agreementId/index" | "/agreements/$agreementId/notes" | "/agreements/$agreementId/summary" - | "/customers/$customerId/index" | "/customers/$customerId/notes" | "/customers/$customerId/summary" | "/fleet/$vehicleId/agreements" - | "/fleet/$vehicleId/index" | "/fleet/$vehicleId/notes" | "/fleet/$vehicleId/reservations" | "/fleet/$vehicleId/summary" - | "/reservations/$reservationId/index" | "/reservations/$reservationId/notes" | "/reservations/$reservationId/summary" + | "/agreements/$agreementId/" + | "/customers/$customerId/" + | "/fleet/$vehicleId/" + | "/reservations/$reservationId/" fileRoutesByTo: FileRoutesByTo to: | "" @@ -1464,55 +1454,45 @@ export interface FileRouteTypes { | "/login" | "/logout" | "/oidc-callback" - | "/agreements" - | "/customers" - | "/index" - | "/fleet" - | "/reservations" - | "/settings" + | "/" | "/agreements/$agreementId" - | "/agreements/index" | "/agreements/new" | "/customers/$customerId" - | "/customers/index" | "/customers/new" | "/fleet/$vehicleId" - | "/fleet/index" | "/fleet/new" - | "/reports/index" | "/reservations/$reservationId" - | "/reservations/index" | "/reservations/new" - | "/settings/application" - | "/settings/index" | "/settings/profile" | "/settings/rates-and-charges" | "/settings/runtime-configuration" | "/settings/vehicles-and-categories" + | "/agreements" + | "/customers" + | "/fleet" + | "/reports" + | "/reservations" + | "/settings" | "/agreements/$agreementId/check-in" | "/agreements/$agreementId/edit" | "/customers/$customerId/edit" | "/fleet/$vehicleId/edit" - | "/reports/$reportId/index" | "/reservations/$reservationId/edit" - | "/settings/application/index" | "/settings/application/locations" | "/settings/application/permissions-and-roles" | "/settings/application/store-hours-and-holidays" | "/settings/application/users" + | "/reports/$reportId" + | "/settings/application" | "/agreements/$agreementId/exchanges" - | "/agreements/$agreementId/index" | "/agreements/$agreementId/notes" | "/agreements/$agreementId/summary" - | "/customers/$customerId/index" | "/customers/$customerId/notes" | "/customers/$customerId/summary" | "/fleet/$vehicleId/agreements" - | "/fleet/$vehicleId/index" | "/fleet/$vehicleId/notes" | "/fleet/$vehicleId/reservations" | "/fleet/$vehicleId/summary" - | "/reservations/$reservationId/index" | "/reservations/$reservationId/notes" | "/reservations/$reservationId/summary" id: @@ -1526,29 +1506,29 @@ export interface FileRouteTypes { | "/_public/oidc-callback" | "/_auth/agreements" | "/_auth/customers" - | "/_auth/index" | "/_auth/fleet" | "/_auth/reservations" | "/_auth/settings" + | "/_auth/" | "/_auth/agreements/$agreementId" - | "/_auth/agreements/index" | "/_auth/agreements/new" | "/_auth/customers/$customerId" - | "/_auth/customers/index" | "/_auth/customers/new" | "/_auth/fleet/$vehicleId" - | "/_auth/fleet/index" | "/_auth/fleet/new" - | "/_auth/reports/index" | "/_auth/reservations/$reservationId" - | "/_auth/reservations/index" | "/_auth/reservations/new" | "/_auth/settings/application" - | "/_auth/settings/index" | "/_auth/settings/profile" | "/_auth/settings/rates-and-charges" | "/_auth/settings/runtime-configuration" | "/_auth/settings/vehicles-and-categories" + | "/_auth/agreements/" + | "/_auth/customers/" + | "/_auth/fleet/" + | "/_auth/reports/" + | "/_auth/reservations/" + | "/_auth/settings/" | "/_auth/agreements/$agreementId/_details" | "/_auth/agreements/$agreementId/check-in" | "/_auth/agreements/$agreementId/edit" @@ -1556,29 +1536,29 @@ export interface FileRouteTypes { | "/_auth/customers/$customerId/edit" | "/_auth/fleet/$vehicleId/_details" | "/_auth/fleet/$vehicleId/edit" - | "/_auth/reports/$reportId/index" | "/_auth/reservations/$reservationId/_details" | "/_auth/reservations/$reservationId/edit" - | "/_auth/settings/application/index" | "/_auth/settings/application/locations" | "/_auth/settings/application/permissions-and-roles" | "/_auth/settings/application/store-hours-and-holidays" | "/_auth/settings/application/users" + | "/_auth/reports/$reportId/" + | "/_auth/settings/application/" | "/_auth/agreements/$agreementId/_details/exchanges" - | "/_auth/agreements/$agreementId/_details/index" | "/_auth/agreements/$agreementId/_details/notes" | "/_auth/agreements/$agreementId/_details/summary" - | "/_auth/customers/$customerId/_details/index" | "/_auth/customers/$customerId/_details/notes" | "/_auth/customers/$customerId/_details/summary" | "/_auth/fleet/$vehicleId/_details/agreements" - | "/_auth/fleet/$vehicleId/_details/index" | "/_auth/fleet/$vehicleId/_details/notes" | "/_auth/fleet/$vehicleId/_details/reservations" | "/_auth/fleet/$vehicleId/_details/summary" - | "/_auth/reservations/$reservationId/_details/index" | "/_auth/reservations/$reservationId/_details/notes" | "/_auth/reservations/$reservationId/_details/summary" + | "/_auth/agreements/$agreementId/_details/" + | "/_auth/customers/$customerId/_details/" + | "/_auth/fleet/$vehicleId/_details/" + | "/_auth/reservations/$reservationId/_details/" fileRoutesById: FileRoutesById } @@ -1613,12 +1593,12 @@ export const routeTree = rootRoute "children": [ "/_auth/agreements", "/_auth/customers", - "/_auth/index", "/_auth/fleet", "/_auth/reservations", "/_auth/settings", - "/_auth/reports/index", - "/_auth/reports/$reportId/index" + "/_auth/", + "/_auth/reports/", + "/_auth/reports/$reportId/" ] }, "/_public": { @@ -1656,8 +1636,8 @@ export const routeTree = rootRoute "parent": "/_auth", "children": [ "/_auth/agreements/$agreementId", - "/_auth/agreements/index", - "/_auth/agreements/new" + "/_auth/agreements/new", + "/_auth/agreements/" ] }, "/_auth/customers": { @@ -1665,21 +1645,17 @@ export const routeTree = rootRoute "parent": "/_auth", "children": [ "/_auth/customers/$customerId", - "/_auth/customers/index", - "/_auth/customers/new" + "/_auth/customers/new", + "/_auth/customers/" ] }, - "/_auth/index": { - "filePath": "_auth/(dashboard)/index.tsx", - "parent": "/_auth" - }, "/_auth/fleet": { "filePath": "_auth/(fleet)/fleet.tsx", "parent": "/_auth", "children": [ "/_auth/fleet/$vehicleId", - "/_auth/fleet/index", - "/_auth/fleet/new" + "/_auth/fleet/new", + "/_auth/fleet/" ] }, "/_auth/reservations": { @@ -1687,8 +1663,8 @@ export const routeTree = rootRoute "parent": "/_auth", "children": [ "/_auth/reservations/$reservationId", - "/_auth/reservations/index", - "/_auth/reservations/new" + "/_auth/reservations/new", + "/_auth/reservations/" ] }, "/_auth/settings": { @@ -1696,13 +1672,17 @@ export const routeTree = rootRoute "parent": "/_auth", "children": [ "/_auth/settings/application", - "/_auth/settings/index", "/_auth/settings/profile", "/_auth/settings/rates-and-charges", "/_auth/settings/runtime-configuration", - "/_auth/settings/vehicles-and-categories" + "/_auth/settings/vehicles-and-categories", + "/_auth/settings/" ] }, + "/_auth/": { + "filePath": "_auth/(dashboard)/_index.tsx", + "parent": "/_auth" + }, "/_auth/agreements/$agreementId": { "filePath": "_auth/(agreements)/agreements.$agreementId.tsx", "parent": "/_auth/agreements", @@ -1712,10 +1692,6 @@ export const routeTree = rootRoute "/_auth/agreements/$agreementId/edit" ] }, - "/_auth/agreements/index": { - "filePath": "_auth/(agreements)/agreements.index.tsx", - "parent": "/_auth/agreements" - }, "/_auth/agreements/new": { "filePath": "_auth/(agreements)/agreements.new.tsx", "parent": "/_auth/agreements" @@ -1728,10 +1704,6 @@ export const routeTree = rootRoute "/_auth/customers/$customerId/edit" ] }, - "/_auth/customers/index": { - "filePath": "_auth/(customers)/customers.index.tsx", - "parent": "/_auth/customers" - }, "/_auth/customers/new": { "filePath": "_auth/(customers)/customers.new.tsx", "parent": "/_auth/customers" @@ -1744,18 +1716,10 @@ export const routeTree = rootRoute "/_auth/fleet/$vehicleId/edit" ] }, - "/_auth/fleet/index": { - "filePath": "_auth/(fleet)/fleet.index.tsx", - "parent": "/_auth/fleet" - }, "/_auth/fleet/new": { "filePath": "_auth/(fleet)/fleet.new.tsx", "parent": "/_auth/fleet" }, - "/_auth/reports/index": { - "filePath": "_auth/(reports)/reports.index.tsx", - "parent": "/_auth" - }, "/_auth/reservations/$reservationId": { "filePath": "_auth/(reservations)/reservations.$reservationId.tsx", "parent": "/_auth/reservations", @@ -1764,10 +1728,6 @@ export const routeTree = rootRoute "/_auth/reservations/$reservationId/edit" ] }, - "/_auth/reservations/index": { - "filePath": "_auth/(reservations)/reservations.index.tsx", - "parent": "/_auth/reservations" - }, "/_auth/reservations/new": { "filePath": "_auth/(reservations)/reservations.new.tsx", "parent": "/_auth/reservations" @@ -1776,17 +1736,13 @@ export const routeTree = rootRoute "filePath": "_auth/(settings)/settings.application.tsx", "parent": "/_auth/settings", "children": [ - "/_auth/settings/application/index", "/_auth/settings/application/locations", "/_auth/settings/application/permissions-and-roles", "/_auth/settings/application/store-hours-and-holidays", - "/_auth/settings/application/users" + "/_auth/settings/application/users", + "/_auth/settings/application/" ] }, - "/_auth/settings/index": { - "filePath": "_auth/(settings)/settings.index.tsx", - "parent": "/_auth/settings" - }, "/_auth/settings/profile": { "filePath": "_auth/(settings)/settings.profile.tsx", "parent": "/_auth/settings" @@ -1803,14 +1759,38 @@ export const routeTree = rootRoute "filePath": "_auth/(settings)/settings.vehicles-and-categories.tsx", "parent": "/_auth/settings" }, + "/_auth/agreements/": { + "filePath": "_auth/(agreements)/agreements._index.tsx", + "parent": "/_auth/agreements" + }, + "/_auth/customers/": { + "filePath": "_auth/(customers)/customers._index.tsx", + "parent": "/_auth/customers" + }, + "/_auth/fleet/": { + "filePath": "_auth/(fleet)/fleet._index.tsx", + "parent": "/_auth/fleet" + }, + "/_auth/reports/": { + "filePath": "_auth/(reports)/reports._index.tsx", + "parent": "/_auth" + }, + "/_auth/reservations/": { + "filePath": "_auth/(reservations)/reservations._index.tsx", + "parent": "/_auth/reservations" + }, + "/_auth/settings/": { + "filePath": "_auth/(settings)/settings._index.tsx", + "parent": "/_auth/settings" + }, "/_auth/agreements/$agreementId/_details": { "filePath": "_auth/(agreements)/agreements.$agreementId._details.tsx", "parent": "/_auth/agreements/$agreementId", "children": [ "/_auth/agreements/$agreementId/_details/exchanges", - "/_auth/agreements/$agreementId/_details/index", "/_auth/agreements/$agreementId/_details/notes", - "/_auth/agreements/$agreementId/_details/summary" + "/_auth/agreements/$agreementId/_details/summary", + "/_auth/agreements/$agreementId/_details/" ] }, "/_auth/agreements/$agreementId/check-in": { @@ -1825,9 +1805,9 @@ export const routeTree = rootRoute "filePath": "_auth/(customers)/customers.$customerId._details.tsx", "parent": "/_auth/customers/$customerId", "children": [ - "/_auth/customers/$customerId/_details/index", "/_auth/customers/$customerId/_details/notes", - "/_auth/customers/$customerId/_details/summary" + "/_auth/customers/$customerId/_details/summary", + "/_auth/customers/$customerId/_details/" ] }, "/_auth/customers/$customerId/edit": { @@ -1839,37 +1819,29 @@ export const routeTree = rootRoute "parent": "/_auth/fleet/$vehicleId", "children": [ "/_auth/fleet/$vehicleId/_details/agreements", - "/_auth/fleet/$vehicleId/_details/index", "/_auth/fleet/$vehicleId/_details/notes", "/_auth/fleet/$vehicleId/_details/reservations", - "/_auth/fleet/$vehicleId/_details/summary" + "/_auth/fleet/$vehicleId/_details/summary", + "/_auth/fleet/$vehicleId/_details/" ] }, "/_auth/fleet/$vehicleId/edit": { "filePath": "_auth/(fleet)/fleet.$vehicleId.edit.tsx", "parent": "/_auth/fleet/$vehicleId" }, - "/_auth/reports/$reportId/index": { - "filePath": "_auth/(reports)/reports.$reportId.index.tsx", - "parent": "/_auth" - }, "/_auth/reservations/$reservationId/_details": { "filePath": "_auth/(reservations)/reservations.$reservationId._details.tsx", "parent": "/_auth/reservations/$reservationId", "children": [ - "/_auth/reservations/$reservationId/_details/index", "/_auth/reservations/$reservationId/_details/notes", - "/_auth/reservations/$reservationId/_details/summary" + "/_auth/reservations/$reservationId/_details/summary", + "/_auth/reservations/$reservationId/_details/" ] }, "/_auth/reservations/$reservationId/edit": { "filePath": "_auth/(reservations)/reservations.$reservationId.edit.tsx", "parent": "/_auth/reservations/$reservationId" }, - "/_auth/settings/application/index": { - "filePath": "_auth/(settings)/settings.application.index.tsx", - "parent": "/_auth/settings/application" - }, "/_auth/settings/application/locations": { "filePath": "_auth/(settings)/settings.application.locations.tsx", "parent": "/_auth/settings/application" @@ -1886,14 +1858,18 @@ export const routeTree = rootRoute "filePath": "_auth/(settings)/settings.application.users.tsx", "parent": "/_auth/settings/application" }, + "/_auth/reports/$reportId/": { + "filePath": "_auth/(reports)/reports.$reportId._index.tsx", + "parent": "/_auth" + }, + "/_auth/settings/application/": { + "filePath": "_auth/(settings)/settings.application._index.tsx", + "parent": "/_auth/settings/application" + }, "/_auth/agreements/$agreementId/_details/exchanges": { "filePath": "_auth/(agreements)/agreements.$agreementId._details.exchanges.tsx", "parent": "/_auth/agreements/$agreementId/_details" }, - "/_auth/agreements/$agreementId/_details/index": { - "filePath": "_auth/(agreements)/agreements.$agreementId._details.index.tsx", - "parent": "/_auth/agreements/$agreementId/_details" - }, "/_auth/agreements/$agreementId/_details/notes": { "filePath": "_auth/(agreements)/agreements.$agreementId._details.notes.tsx", "parent": "/_auth/agreements/$agreementId/_details" @@ -1902,10 +1878,6 @@ export const routeTree = rootRoute "filePath": "_auth/(agreements)/agreements.$agreementId._details.summary.tsx", "parent": "/_auth/agreements/$agreementId/_details" }, - "/_auth/customers/$customerId/_details/index": { - "filePath": "_auth/(customers)/customers.$customerId._details.index.tsx", - "parent": "/_auth/customers/$customerId/_details" - }, "/_auth/customers/$customerId/_details/notes": { "filePath": "_auth/(customers)/customers.$customerId._details.notes.tsx", "parent": "/_auth/customers/$customerId/_details" @@ -1918,10 +1890,6 @@ export const routeTree = rootRoute "filePath": "_auth/(fleet)/fleet.$vehicleId._details.agreements.tsx", "parent": "/_auth/fleet/$vehicleId/_details" }, - "/_auth/fleet/$vehicleId/_details/index": { - "filePath": "_auth/(fleet)/fleet.$vehicleId._details.index.tsx", - "parent": "/_auth/fleet/$vehicleId/_details" - }, "/_auth/fleet/$vehicleId/_details/notes": { "filePath": "_auth/(fleet)/fleet.$vehicleId._details.notes.tsx", "parent": "/_auth/fleet/$vehicleId/_details" @@ -1934,10 +1902,6 @@ export const routeTree = rootRoute "filePath": "_auth/(fleet)/fleet.$vehicleId._details.summary.tsx", "parent": "/_auth/fleet/$vehicleId/_details" }, - "/_auth/reservations/$reservationId/_details/index": { - "filePath": "_auth/(reservations)/reservations.$reservationId._details.index.tsx", - "parent": "/_auth/reservations/$reservationId/_details" - }, "/_auth/reservations/$reservationId/_details/notes": { "filePath": "_auth/(reservations)/reservations.$reservationId._details.notes.tsx", "parent": "/_auth/reservations/$reservationId/_details" @@ -1945,6 +1909,22 @@ export const routeTree = rootRoute "/_auth/reservations/$reservationId/_details/summary": { "filePath": "_auth/(reservations)/reservations.$reservationId._details.summary.tsx", "parent": "/_auth/reservations/$reservationId/_details" + }, + "/_auth/agreements/$agreementId/_details/": { + "filePath": "_auth/(agreements)/agreements.$agreementId._details._index.tsx", + "parent": "/_auth/agreements/$agreementId/_details" + }, + "/_auth/customers/$customerId/_details/": { + "filePath": "_auth/(customers)/customers.$customerId._details._index.tsx", + "parent": "/_auth/customers/$customerId/_details" + }, + "/_auth/fleet/$vehicleId/_details/": { + "filePath": "_auth/(fleet)/fleet.$vehicleId._details._index.tsx", + "parent": "/_auth/fleet/$vehicleId/_details" + }, + "/_auth/reservations/$reservationId/_details/": { + "filePath": "_auth/(reservations)/reservations.$reservationId._details._index.tsx", + "parent": "/_auth/reservations/$reservationId/_details" } } } diff --git a/src/routes/_auth/(agreements)/agreements.$agreementId._details._index.tsx b/src/routes/_auth/(agreements)/agreements.$agreementId._details._index.tsx index f49a165f..984b0811 100644 --- a/src/routes/_auth/(agreements)/agreements.$agreementId._details._index.tsx +++ b/src/routes/_auth/(agreements)/agreements.$agreementId._details._index.tsx @@ -1,7 +1,7 @@ import { createFileRoute, redirect } from "@tanstack/react-router"; export const Route = createFileRoute( - "/_auth/(agreements)/agreements/$agreementId/_details/index" + "/_auth/(agreements)/agreements/$agreementId/_details/" )({ loader: ({ params }) => { throw redirect({ diff --git a/src/routes/_auth/(agreements)/agreements._index.tsx b/src/routes/_auth/(agreements)/agreements._index.tsx index b9efc7a1..98773219 100644 --- a/src/routes/_auth/(agreements)/agreements._index.tsx +++ b/src/routes/_auth/(agreements)/agreements._index.tsx @@ -61,7 +61,7 @@ import { titleMaker } from "@/lib/utils/title-maker"; import { sortObjectKeys } from "@/lib/utils"; -export const Route = createFileRoute("/_auth/(agreements)/agreements/index")({ +export const Route = createFileRoute("/_auth/(agreements)/agreements/")({ validateSearch: (search) => AgreementSearchQuerySchema.parse(search), beforeLoad: ({ context, search }) => { const auth = getAuthFromRouterContext(context); diff --git a/src/routes/_auth/(customers)/customers.$customerId._details._index.tsx b/src/routes/_auth/(customers)/customers.$customerId._details._index.tsx index 1f2ce948..170462a4 100644 --- a/src/routes/_auth/(customers)/customers.$customerId._details._index.tsx +++ b/src/routes/_auth/(customers)/customers.$customerId._details._index.tsx @@ -1,7 +1,7 @@ import { createFileRoute, redirect } from "@tanstack/react-router"; export const Route = createFileRoute( - "/_auth/(customers)/customers/$customerId/_details/index" + "/_auth/(customers)/customers/$customerId/_details/" )({ loader: ({ params }) => { throw redirect({ diff --git a/src/routes/_auth/(customers)/customers._index.tsx b/src/routes/_auth/(customers)/customers._index.tsx index 9bb1fed2..bb0bcf70 100644 --- a/src/routes/_auth/(customers)/customers._index.tsx +++ b/src/routes/_auth/(customers)/customers._index.tsx @@ -53,7 +53,7 @@ import { insertSpacesBeforeCaps } from "@/lib/utils/random"; import { cn } from "@/lib/utils/styles"; import { titleMaker } from "@/lib/utils/title-maker"; -export const Route = createFileRoute("/_auth/(customers)/customers/index")({ +export const Route = createFileRoute("/_auth/(customers)/customers/")({ validateSearch: (search) => CustomerSearchQuerySchema.parse(search), beforeLoad: ({ context, search }) => { const auth = getAuthFromRouterContext(context); diff --git a/src/routes/_auth/(dashboard)/_index.tsx b/src/routes/_auth/(dashboard)/_index.tsx index 397969f3..f32e06fc 100644 --- a/src/routes/_auth/(dashboard)/_index.tsx +++ b/src/routes/_auth/(dashboard)/_index.tsx @@ -56,7 +56,7 @@ import { cn } from "@/lib/utils"; import WidgetGrid from "./-components/widget-grid"; import WidgetPicker from "./-components/widget-picker"; -export const Route = createFileRoute("/_auth/(dashboard)/index")({ +export const Route = createFileRoute("/_auth/(dashboard)/")({ validateSearch: z.object({ show_widget_picker: z.boolean().default(false).optional(), }), diff --git a/src/routes/_auth/(fleet)/fleet.$vehicleId._details._index.tsx b/src/routes/_auth/(fleet)/fleet.$vehicleId._details._index.tsx index ca67d2c5..8e85126c 100644 --- a/src/routes/_auth/(fleet)/fleet.$vehicleId._details._index.tsx +++ b/src/routes/_auth/(fleet)/fleet.$vehicleId._details._index.tsx @@ -1,7 +1,7 @@ import { createFileRoute, redirect } from "@tanstack/react-router"; export const Route = createFileRoute( - "/_auth/(fleet)/fleet/$vehicleId/_details/index" + "/_auth/(fleet)/fleet/$vehicleId/_details/" )({ loader: ({ params }) => { throw redirect({ diff --git a/src/routes/_auth/(fleet)/fleet._index.tsx b/src/routes/_auth/(fleet)/fleet._index.tsx index 09aa5a7c..b100c7d6 100644 --- a/src/routes/_auth/(fleet)/fleet._index.tsx +++ b/src/routes/_auth/(fleet)/fleet._index.tsx @@ -55,7 +55,7 @@ import { insertSpacesBeforeCaps } from "@/lib/utils/random"; import { cn } from "@/lib/utils/styles"; import { titleMaker } from "@/lib/utils/title-maker"; -export const Route = createFileRoute("/_auth/(fleet)/fleet/index")({ +export const Route = createFileRoute("/_auth/(fleet)/fleet/")({ validateSearch: (search) => VehicleSearchQuerySchema.parse(search), beforeLoad: ({ context, search }) => { const auth = getAuthFromRouterContext(context); diff --git a/src/routes/_auth/(reports)/reports.$reportId._index.tsx b/src/routes/_auth/(reports)/reports.$reportId._index.tsx index 33b662c2..a3136016 100644 --- a/src/routes/_auth/(reports)/reports.$reportId._index.tsx +++ b/src/routes/_auth/(reports)/reports.$reportId._index.tsx @@ -13,7 +13,7 @@ import { Container } from "@/routes/-components/container"; import { getAuthFromRouterContext } from "@/lib/utils/auth"; -export const Route = createFileRoute("/_auth/(reports)/reports/$reportId/index")({ +export const Route = createFileRoute("/_auth/(reports)/reports/$reportId/")({ beforeLoad: ({ context, params: { reportId } }) => { const auth = getAuthFromRouterContext(context); return { diff --git a/src/routes/_auth/(reports)/reports._index.tsx b/src/routes/_auth/(reports)/reports._index.tsx index 570bc374..fa0368e7 100644 --- a/src/routes/_auth/(reports)/reports._index.tsx +++ b/src/routes/_auth/(reports)/reports._index.tsx @@ -14,7 +14,7 @@ import { titleMaker } from "@/lib/utils/title-maker"; import { cn } from "@/lib/utils"; -export const Route = createFileRoute("/_auth/(reports)/reports/index")({ +export const Route = createFileRoute("/_auth/(reports)/reports/")({ validateSearch: (search) => z .object({ diff --git a/src/routes/_auth/(reservations)/reservations.$reservationId._details._index.tsx b/src/routes/_auth/(reservations)/reservations.$reservationId._details._index.tsx index b7a9bc3f..5e74513f 100644 --- a/src/routes/_auth/(reservations)/reservations.$reservationId._details._index.tsx +++ b/src/routes/_auth/(reservations)/reservations.$reservationId._details._index.tsx @@ -1,7 +1,7 @@ import { createFileRoute, redirect } from "@tanstack/react-router"; export const Route = createFileRoute( - "/_auth/(reservations)/reservations/$reservationId/_details/index" + "/_auth/(reservations)/reservations/$reservationId/_details/" )({ loader: ({ params }) => { throw redirect({ diff --git a/src/routes/_auth/(reservations)/reservations._index.tsx b/src/routes/_auth/(reservations)/reservations._index.tsx index 058a1d31..ea184ab7 100644 --- a/src/routes/_auth/(reservations)/reservations._index.tsx +++ b/src/routes/_auth/(reservations)/reservations._index.tsx @@ -60,7 +60,7 @@ import { insertSpacesBeforeCaps } from "@/lib/utils/random"; import { cn } from "@/lib/utils/styles"; import { titleMaker } from "@/lib/utils/title-maker"; -export const Route = createFileRoute("/_auth/(reservations)/reservations/index")({ +export const Route = createFileRoute("/_auth/(reservations)/reservations/")({ validateSearch: (search) => ReservationSearchQuerySchema.parse(search), beforeLoad: ({ context, search }) => { const auth = getAuthFromRouterContext(context); diff --git a/src/routes/_auth/(settings)/settings._index.tsx b/src/routes/_auth/(settings)/settings._index.tsx index 608906ac..ac35a201 100644 --- a/src/routes/_auth/(settings)/settings._index.tsx +++ b/src/routes/_auth/(settings)/settings._index.tsx @@ -1,6 +1,6 @@ import { createFileRoute, redirect } from "@tanstack/react-router"; -export const Route = createFileRoute("/_auth/(settings)/settings/index")({ +export const Route = createFileRoute("/_auth/(settings)/settings/")({ beforeLoad: () => { throw redirect({ to: "/settings/profile", replace: true }); }, diff --git a/src/routes/_auth/(settings)/settings.application._index.tsx b/src/routes/_auth/(settings)/settings.application._index.tsx index b2178378..a4c1542a 100644 --- a/src/routes/_auth/(settings)/settings.application._index.tsx +++ b/src/routes/_auth/(settings)/settings.application._index.tsx @@ -19,7 +19,7 @@ import { incompleteApplicationSettingsTabsFeatureFlag } from "@/lib/config/featu import { SubPageNavItem } from "./-components/sub-page-nav-item"; -export const Route = createFileRoute("/_auth/(settings)/settings/application/index")( +export const Route = createFileRoute("/_auth/(settings)/settings/application/")( { component: SettingsApplicationIndex, } From 9b8eac7fb7c0769a0b004a9cad3e0ea35dd6872a Mon Sep 17 00:00:00 2001 From: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:30:07 +1200 Subject: [PATCH 10/13] refactor: disable route manifest generation --- src/route-tree.gen.ts | 352 ------------------------------------------ vite.config.ts | 1 + 2 files changed, 1 insertion(+), 352 deletions(-) diff --git a/src/route-tree.gen.ts b/src/route-tree.gen.ts index bdd7334a..8971eb32 100644 --- a/src/route-tree.gen.ts +++ b/src/route-tree.gen.ts @@ -1577,355 +1577,3 @@ export const routeTree = rootRoute ._addFileTypes() /* prettier-ignore-end */ - -/* ROUTE_MANIFEST_START -{ - "routes": { - "__root__": { - "filePath": "__root.tsx", - "children": [ - "/_auth", - "/_public" - ] - }, - "/_auth": { - "filePath": "_auth.tsx", - "children": [ - "/_auth/agreements", - "/_auth/customers", - "/_auth/fleet", - "/_auth/reservations", - "/_auth/settings", - "/_auth/", - "/_auth/reports/", - "/_auth/reports/$reportId/" - ] - }, - "/_public": { - "filePath": "_public.tsx", - "children": [ - "/_public/dev", - "/_public/logged-out", - "/_public/login", - "/_public/logout", - "/_public/oidc-callback" - ] - }, - "/_public/dev": { - "filePath": "_public/dev.tsx", - "parent": "/_public" - }, - "/_public/logged-out": { - "filePath": "_public/logged-out.tsx", - "parent": "/_public" - }, - "/_public/login": { - "filePath": "_public/login.tsx", - "parent": "/_public" - }, - "/_public/logout": { - "filePath": "_public/logout.tsx", - "parent": "/_public" - }, - "/_public/oidc-callback": { - "filePath": "_public/oidc-callback.tsx", - "parent": "/_public" - }, - "/_auth/agreements": { - "filePath": "_auth/(agreements)/agreements.tsx", - "parent": "/_auth", - "children": [ - "/_auth/agreements/$agreementId", - "/_auth/agreements/new", - "/_auth/agreements/" - ] - }, - "/_auth/customers": { - "filePath": "_auth/(customers)/customers.tsx", - "parent": "/_auth", - "children": [ - "/_auth/customers/$customerId", - "/_auth/customers/new", - "/_auth/customers/" - ] - }, - "/_auth/fleet": { - "filePath": "_auth/(fleet)/fleet.tsx", - "parent": "/_auth", - "children": [ - "/_auth/fleet/$vehicleId", - "/_auth/fleet/new", - "/_auth/fleet/" - ] - }, - "/_auth/reservations": { - "filePath": "_auth/(reservations)/reservations.tsx", - "parent": "/_auth", - "children": [ - "/_auth/reservations/$reservationId", - "/_auth/reservations/new", - "/_auth/reservations/" - ] - }, - "/_auth/settings": { - "filePath": "_auth/(settings)/settings.tsx", - "parent": "/_auth", - "children": [ - "/_auth/settings/application", - "/_auth/settings/profile", - "/_auth/settings/rates-and-charges", - "/_auth/settings/runtime-configuration", - "/_auth/settings/vehicles-and-categories", - "/_auth/settings/" - ] - }, - "/_auth/": { - "filePath": "_auth/(dashboard)/_index.tsx", - "parent": "/_auth" - }, - "/_auth/agreements/$agreementId": { - "filePath": "_auth/(agreements)/agreements.$agreementId.tsx", - "parent": "/_auth/agreements", - "children": [ - "/_auth/agreements/$agreementId/_details", - "/_auth/agreements/$agreementId/check-in", - "/_auth/agreements/$agreementId/edit" - ] - }, - "/_auth/agreements/new": { - "filePath": "_auth/(agreements)/agreements.new.tsx", - "parent": "/_auth/agreements" - }, - "/_auth/customers/$customerId": { - "filePath": "_auth/(customers)/customers.$customerId.tsx", - "parent": "/_auth/customers", - "children": [ - "/_auth/customers/$customerId/_details", - "/_auth/customers/$customerId/edit" - ] - }, - "/_auth/customers/new": { - "filePath": "_auth/(customers)/customers.new.tsx", - "parent": "/_auth/customers" - }, - "/_auth/fleet/$vehicleId": { - "filePath": "_auth/(fleet)/fleet.$vehicleId.tsx", - "parent": "/_auth/fleet", - "children": [ - "/_auth/fleet/$vehicleId/_details", - "/_auth/fleet/$vehicleId/edit" - ] - }, - "/_auth/fleet/new": { - "filePath": "_auth/(fleet)/fleet.new.tsx", - "parent": "/_auth/fleet" - }, - "/_auth/reservations/$reservationId": { - "filePath": "_auth/(reservations)/reservations.$reservationId.tsx", - "parent": "/_auth/reservations", - "children": [ - "/_auth/reservations/$reservationId/_details", - "/_auth/reservations/$reservationId/edit" - ] - }, - "/_auth/reservations/new": { - "filePath": "_auth/(reservations)/reservations.new.tsx", - "parent": "/_auth/reservations" - }, - "/_auth/settings/application": { - "filePath": "_auth/(settings)/settings.application.tsx", - "parent": "/_auth/settings", - "children": [ - "/_auth/settings/application/locations", - "/_auth/settings/application/permissions-and-roles", - "/_auth/settings/application/store-hours-and-holidays", - "/_auth/settings/application/users", - "/_auth/settings/application/" - ] - }, - "/_auth/settings/profile": { - "filePath": "_auth/(settings)/settings.profile.tsx", - "parent": "/_auth/settings" - }, - "/_auth/settings/rates-and-charges": { - "filePath": "_auth/(settings)/settings.rates-and-charges.tsx", - "parent": "/_auth/settings" - }, - "/_auth/settings/runtime-configuration": { - "filePath": "_auth/(settings)/settings.runtime-configuration.tsx", - "parent": "/_auth/settings" - }, - "/_auth/settings/vehicles-and-categories": { - "filePath": "_auth/(settings)/settings.vehicles-and-categories.tsx", - "parent": "/_auth/settings" - }, - "/_auth/agreements/": { - "filePath": "_auth/(agreements)/agreements._index.tsx", - "parent": "/_auth/agreements" - }, - "/_auth/customers/": { - "filePath": "_auth/(customers)/customers._index.tsx", - "parent": "/_auth/customers" - }, - "/_auth/fleet/": { - "filePath": "_auth/(fleet)/fleet._index.tsx", - "parent": "/_auth/fleet" - }, - "/_auth/reports/": { - "filePath": "_auth/(reports)/reports._index.tsx", - "parent": "/_auth" - }, - "/_auth/reservations/": { - "filePath": "_auth/(reservations)/reservations._index.tsx", - "parent": "/_auth/reservations" - }, - "/_auth/settings/": { - "filePath": "_auth/(settings)/settings._index.tsx", - "parent": "/_auth/settings" - }, - "/_auth/agreements/$agreementId/_details": { - "filePath": "_auth/(agreements)/agreements.$agreementId._details.tsx", - "parent": "/_auth/agreements/$agreementId", - "children": [ - "/_auth/agreements/$agreementId/_details/exchanges", - "/_auth/agreements/$agreementId/_details/notes", - "/_auth/agreements/$agreementId/_details/summary", - "/_auth/agreements/$agreementId/_details/" - ] - }, - "/_auth/agreements/$agreementId/check-in": { - "filePath": "_auth/(agreements)/agreements.$agreementId.check-in.tsx", - "parent": "/_auth/agreements/$agreementId" - }, - "/_auth/agreements/$agreementId/edit": { - "filePath": "_auth/(agreements)/agreements.$agreementId.edit.tsx", - "parent": "/_auth/agreements/$agreementId" - }, - "/_auth/customers/$customerId/_details": { - "filePath": "_auth/(customers)/customers.$customerId._details.tsx", - "parent": "/_auth/customers/$customerId", - "children": [ - "/_auth/customers/$customerId/_details/notes", - "/_auth/customers/$customerId/_details/summary", - "/_auth/customers/$customerId/_details/" - ] - }, - "/_auth/customers/$customerId/edit": { - "filePath": "_auth/(customers)/customers.$customerId.edit.tsx", - "parent": "/_auth/customers/$customerId" - }, - "/_auth/fleet/$vehicleId/_details": { - "filePath": "_auth/(fleet)/fleet.$vehicleId._details.tsx", - "parent": "/_auth/fleet/$vehicleId", - "children": [ - "/_auth/fleet/$vehicleId/_details/agreements", - "/_auth/fleet/$vehicleId/_details/notes", - "/_auth/fleet/$vehicleId/_details/reservations", - "/_auth/fleet/$vehicleId/_details/summary", - "/_auth/fleet/$vehicleId/_details/" - ] - }, - "/_auth/fleet/$vehicleId/edit": { - "filePath": "_auth/(fleet)/fleet.$vehicleId.edit.tsx", - "parent": "/_auth/fleet/$vehicleId" - }, - "/_auth/reservations/$reservationId/_details": { - "filePath": "_auth/(reservations)/reservations.$reservationId._details.tsx", - "parent": "/_auth/reservations/$reservationId", - "children": [ - "/_auth/reservations/$reservationId/_details/notes", - "/_auth/reservations/$reservationId/_details/summary", - "/_auth/reservations/$reservationId/_details/" - ] - }, - "/_auth/reservations/$reservationId/edit": { - "filePath": "_auth/(reservations)/reservations.$reservationId.edit.tsx", - "parent": "/_auth/reservations/$reservationId" - }, - "/_auth/settings/application/locations": { - "filePath": "_auth/(settings)/settings.application.locations.tsx", - "parent": "/_auth/settings/application" - }, - "/_auth/settings/application/permissions-and-roles": { - "filePath": "_auth/(settings)/settings.application.permissions-and-roles.tsx", - "parent": "/_auth/settings/application" - }, - "/_auth/settings/application/store-hours-and-holidays": { - "filePath": "_auth/(settings)/settings.application.store-hours-and-holidays.tsx", - "parent": "/_auth/settings/application" - }, - "/_auth/settings/application/users": { - "filePath": "_auth/(settings)/settings.application.users.tsx", - "parent": "/_auth/settings/application" - }, - "/_auth/reports/$reportId/": { - "filePath": "_auth/(reports)/reports.$reportId._index.tsx", - "parent": "/_auth" - }, - "/_auth/settings/application/": { - "filePath": "_auth/(settings)/settings.application._index.tsx", - "parent": "/_auth/settings/application" - }, - "/_auth/agreements/$agreementId/_details/exchanges": { - "filePath": "_auth/(agreements)/agreements.$agreementId._details.exchanges.tsx", - "parent": "/_auth/agreements/$agreementId/_details" - }, - "/_auth/agreements/$agreementId/_details/notes": { - "filePath": "_auth/(agreements)/agreements.$agreementId._details.notes.tsx", - "parent": "/_auth/agreements/$agreementId/_details" - }, - "/_auth/agreements/$agreementId/_details/summary": { - "filePath": "_auth/(agreements)/agreements.$agreementId._details.summary.tsx", - "parent": "/_auth/agreements/$agreementId/_details" - }, - "/_auth/customers/$customerId/_details/notes": { - "filePath": "_auth/(customers)/customers.$customerId._details.notes.tsx", - "parent": "/_auth/customers/$customerId/_details" - }, - "/_auth/customers/$customerId/_details/summary": { - "filePath": "_auth/(customers)/customers.$customerId._details.summary.tsx", - "parent": "/_auth/customers/$customerId/_details" - }, - "/_auth/fleet/$vehicleId/_details/agreements": { - "filePath": "_auth/(fleet)/fleet.$vehicleId._details.agreements.tsx", - "parent": "/_auth/fleet/$vehicleId/_details" - }, - "/_auth/fleet/$vehicleId/_details/notes": { - "filePath": "_auth/(fleet)/fleet.$vehicleId._details.notes.tsx", - "parent": "/_auth/fleet/$vehicleId/_details" - }, - "/_auth/fleet/$vehicleId/_details/reservations": { - "filePath": "_auth/(fleet)/fleet.$vehicleId._details.reservations.tsx", - "parent": "/_auth/fleet/$vehicleId/_details" - }, - "/_auth/fleet/$vehicleId/_details/summary": { - "filePath": "_auth/(fleet)/fleet.$vehicleId._details.summary.tsx", - "parent": "/_auth/fleet/$vehicleId/_details" - }, - "/_auth/reservations/$reservationId/_details/notes": { - "filePath": "_auth/(reservations)/reservations.$reservationId._details.notes.tsx", - "parent": "/_auth/reservations/$reservationId/_details" - }, - "/_auth/reservations/$reservationId/_details/summary": { - "filePath": "_auth/(reservations)/reservations.$reservationId._details.summary.tsx", - "parent": "/_auth/reservations/$reservationId/_details" - }, - "/_auth/agreements/$agreementId/_details/": { - "filePath": "_auth/(agreements)/agreements.$agreementId._details._index.tsx", - "parent": "/_auth/agreements/$agreementId/_details" - }, - "/_auth/customers/$customerId/_details/": { - "filePath": "_auth/(customers)/customers.$customerId._details._index.tsx", - "parent": "/_auth/customers/$customerId/_details" - }, - "/_auth/fleet/$vehicleId/_details/": { - "filePath": "_auth/(fleet)/fleet.$vehicleId._details._index.tsx", - "parent": "/_auth/fleet/$vehicleId/_details" - }, - "/_auth/reservations/$reservationId/_details/": { - "filePath": "_auth/(reservations)/reservations.$reservationId._details._index.tsx", - "parent": "/_auth/reservations/$reservationId/_details" - } - } -} -ROUTE_MANIFEST_END */ diff --git a/vite.config.ts b/vite.config.ts index 62698c45..079454f4 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,6 +25,7 @@ export default defineConfig(() => { autoCodeSplitting: true, indexToken: "_index", routeToken: "_route", + disableManifestGeneration: true, }), react({ babel: { From 2fb569b46996bd9f2eb274110b1ca24f9c7b0b95 Mon Sep 17 00:00:00 2001 From: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:33:06 +1200 Subject: [PATCH 11/13] refactor: rename the vite react plugin --- vite.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 079454f4..9ebcf0ed 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,7 +1,7 @@ import cp from "node:child_process"; import path from "node:path"; import { TanStackRouterVite } from "@tanstack/router-plugin/vite"; -import react from "@vitejs/plugin-react"; +import viteReact from "@vitejs/plugin-react"; import { defineConfig } from "vite"; import packageJson from "./package.json"; @@ -27,7 +27,7 @@ export default defineConfig(() => { routeToken: "_route", disableManifestGeneration: true, }), - react({ + viteReact({ babel: { plugins: [ [ From be16e62b30d3e9e23891765ffca5daf02b8dc560 Mon Sep 17 00:00:00 2001 From: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:35:31 +1200 Subject: [PATCH 12/13] chore: upgrade tanstack router packages --- package.json | 6 +++--- pnpm-lock.yaml | 56 +++++++++++++++++++++++++------------------------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/package.json b/package.json index eff29ca5..22d5811a 100644 --- a/package.json +++ b/package.json @@ -48,10 +48,10 @@ "@tanstack/query-broadcast-client-experimental": "^5.54.1", "@tanstack/react-query": "^5.54.1", "@tanstack/react-query-devtools": "^5.54.1", - "@tanstack/react-router": "^1.56.5", + "@tanstack/react-router": "^1.57.9", "@tanstack/react-table": "^8.20.5", "@tanstack/react-virtual": "^3.10.7", - "@tanstack/router-devtools": "^1.56.5", + "@tanstack/router-devtools": "^1.57.9", "@ts-rest/core": "^3.51.0", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", @@ -85,7 +85,7 @@ "@tailwindcss/container-queries": "^0.1.1", "@tailwindcss/forms": "^0.5.9", "@tailwindcss/typography": "^0.5.15", - "@tanstack/router-plugin": "^1.56.4", + "@tanstack/router-plugin": "^1.57.9", "@types/node": "^22.5.4", "@types/react": "^18.3.5", "@types/react-dom": "^18.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1ff02aca..0ad61fbd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -90,8 +90,8 @@ importers: specifier: ^5.54.1 version: 5.54.1(@tanstack/react-query@5.54.1(react@18.3.1))(react@18.3.1) '@tanstack/react-router': - specifier: ^1.56.5 - version: 1.56.5(@tanstack/router-generator@1.56.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^1.57.9 + version: 1.57.9(@tanstack/router-generator@1.57.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tanstack/react-table': specifier: ^8.20.5 version: 8.20.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -99,8 +99,8 @@ importers: specifier: ^3.10.7 version: 3.10.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tanstack/router-devtools': - specifier: ^1.56.5 - version: 1.56.5(@tanstack/react-router@1.56.5(@tanstack/router-generator@1.56.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(csstype@3.1.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^1.57.9 + version: 1.57.9(@tanstack/react-router@1.57.9(@tanstack/router-generator@1.57.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(csstype@3.1.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@ts-rest/core': specifier: ^3.51.0 version: 3.51.0(@types/node@22.5.4)(zod@3.23.8) @@ -196,8 +196,8 @@ importers: specifier: ^0.5.15 version: 0.5.15(tailwindcss@3.4.10) '@tanstack/router-plugin': - specifier: ^1.56.4 - version: 1.56.4(vite@5.4.3(@types/node@22.5.4)) + specifier: ^1.57.9 + version: 1.57.9(vite@5.4.3(@types/node@22.5.4)) '@types/node': specifier: ^22.5.4 version: 22.5.4 @@ -1675,8 +1675,8 @@ packages: peerDependencies: tailwindcss: '>=3.0.0 || insiders || >=4.0.0-alpha.20' - '@tanstack/history@1.51.7': - resolution: {integrity: sha512-y25aH3NDbdUp5Gk6Fnb77LsHTT2JrzVgI44ZiyEOf8i2j14Ma3oJ80fCw7rT/iV4xa4IN2Yex9flAsZQdh1i4A==} + '@tanstack/history@1.57.6': + resolution: {integrity: sha512-ppAJbnUaHdHmccVmplcd1ivX4GMPHxhStSquuuz0TSAEPEpz0iOVBur4iKfvIuMKm24c40nhvaEwZbKGVfbrGg==} engines: {node: '>=12'} '@tanstack/match-sorter-utils@8.19.4': @@ -1703,12 +1703,12 @@ packages: peerDependencies: react: ^18 || ^19 - '@tanstack/react-router@1.56.5': - resolution: {integrity: sha512-qCmBgplLlqOSW1eLlKglTTFMv9zlsL8CJZWN0J0+YLkHSmbsdTKQhfA4bFveXL+EwjrJgFT+/GgIfB8fZEp8PQ==} + '@tanstack/react-router@1.57.9': + resolution: {integrity: sha512-lwPAGPlRIZI2+gUcJuXjUAk6KhcHxJed0QssBAY0m7bmZl1f24EGSPsVeDlGYC0m2rH09w3lZ03JQxgzcQ5rcA==} engines: {node: '>=12'} peerDependencies: '@tanstack/react-generator': '*' - '@tanstack/router-generator': 1.56.4 + '@tanstack/router-generator': 1.57.9 react: '>=18' react-dom: '>=18' peerDependenciesMeta: @@ -1734,23 +1734,23 @@ packages: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - '@tanstack/router-devtools@1.56.5': - resolution: {integrity: sha512-/yI0St7ldXxajH5BmKiO2FsrD1wQ1Z4ZxLLG1RKeIJsVBz5zWWvlI7tlv5EpBVdVgiGQPrd2turx4gUKFLVP+g==} + '@tanstack/router-devtools@1.57.9': + resolution: {integrity: sha512-PHj8+uADH8R6dJ9XZPWjMpXAYX7Pq0MtnRFuZ6su9DaIybnXSCNZfDhNfahNaxkxYjolMa/cxI9bwRW/qk0n+w==} engines: {node: '>=12'} peerDependencies: - '@tanstack/react-router': ^1.56.5 + '@tanstack/react-router': ^1.57.9 react: '>=18' react-dom: '>=18' - '@tanstack/router-generator@1.56.4': - resolution: {integrity: sha512-VR2/8Vl8LTyxK/CWpc0yWB8kCdAa37Q1WvpbvO6jkyph7gqmlTWPb9PB58mSsuWxO7phbTxY8mMTR/Gr+6y+0A==} + '@tanstack/router-generator@1.57.9': + resolution: {integrity: sha512-zDkyb6JLkvHc/Hhu9F+Gn4JzUR7ZgtH1rbcI2H14JG8IjW1ahtko/r0a2Ev+G4kNqhZF0a5sSgh/tMQOIPZyjg==} engines: {node: '>=12'} - '@tanstack/router-plugin@1.56.4': - resolution: {integrity: sha512-diesCHg9b8rtRyX2kRappb419kloLJ5BzsDaZoMXd1kYvaCKh9/wD9ZTyKjwoyChXWwczeXvWAALao3+WlWXOw==} + '@tanstack/router-plugin@1.57.9': + resolution: {integrity: sha512-hMQeZE9TXy10ZNbOkYJDtx07neJUaebTAU/Ep7wAV/uVvgkuGcsjHfXU1HyNfSJV/9Iivrua7ozIJzW2ep+V/A==} engines: {node: '>=12'} peerDependencies: - '@rsbuild/core': '>=1.0.0' + '@rsbuild/core': '>=1.0.1-rc.5' vite: '>=5.0.0' webpack: '>=5.92.0' peerDependenciesMeta: @@ -5038,7 +5038,7 @@ snapshots: postcss-selector-parser: 6.0.10 tailwindcss: 3.4.10 - '@tanstack/history@1.51.7': {} + '@tanstack/history@1.57.6': {} '@tanstack/match-sorter-utils@8.19.4': dependencies: @@ -5064,11 +5064,11 @@ snapshots: '@tanstack/query-core': 5.54.1 react: 18.3.1 - '@tanstack/react-router@1.56.5(@tanstack/router-generator@1.56.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tanstack/react-router@1.57.9(@tanstack/router-generator@1.57.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@tanstack/history': 1.51.7 + '@tanstack/history': 1.57.6 '@tanstack/react-store': 0.5.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tanstack/router-generator': 1.56.4 + '@tanstack/router-generator': 1.57.9 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) tiny-invariant: 1.3.3 @@ -5093,9 +5093,9 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@tanstack/router-devtools@1.56.5(@tanstack/react-router@1.56.5(@tanstack/router-generator@1.56.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(csstype@3.1.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tanstack/router-devtools@1.57.9(@tanstack/react-router@1.57.9(@tanstack/router-generator@1.57.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(csstype@3.1.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@tanstack/react-router': 1.56.5(@tanstack/router-generator@1.56.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tanstack/react-router': 1.57.9(@tanstack/router-generator@1.57.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) clsx: 2.1.1 goober: 2.1.14(csstype@3.1.3) react: 18.3.1 @@ -5103,14 +5103,14 @@ snapshots: transitivePeerDependencies: - csstype - '@tanstack/router-generator@1.56.4': + '@tanstack/router-generator@1.57.9': dependencies: '@tanstack/virtual-file-routes': 1.56.0 prettier: 3.3.3 tsx: 4.19.0 zod: 3.23.8 - '@tanstack/router-plugin@1.56.4(vite@5.4.3(@types/node@22.5.4))': + '@tanstack/router-plugin@1.57.9(vite@5.4.3(@types/node@22.5.4))': dependencies: '@babel/core': 7.25.2 '@babel/generator': 7.25.0 @@ -5120,7 +5120,7 @@ snapshots: '@babel/template': 7.25.0 '@babel/traverse': 7.25.3 '@babel/types': 7.25.2 - '@tanstack/router-generator': 1.56.4 + '@tanstack/router-generator': 1.57.9 '@tanstack/virtual-file-routes': 1.56.0 '@types/babel__core': 7.20.5 '@types/babel__generator': 7.6.8 From ebfccf01ccc0bbb29344953c7bc830d0fb65a38f Mon Sep 17 00:00:00 2001 From: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:56:19 +1200 Subject: [PATCH 13/13] chore: turn off sourcemaps during build --- vite.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 9ebcf0ed..e91097c4 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -14,7 +14,7 @@ const commitHash = cp const APP_VERSION = `${packageJson.version}-${commitHash}`; // https://vitejs.dev/config/ -export default defineConfig(() => { +export default defineConfig(({ command }) => { return { plugins: [ TanStackRouterVite({ @@ -47,7 +47,7 @@ export default defineConfig(() => { port: 3000, }, build: { - sourcemap: true, + sourcemap: command === "serve", }, define: { "import.meta.env.APP_VERSION": JSON.stringify(APP_VERSION),