Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
417068af7d
commit
29b1ef6e5f
@@ -16,6 +16,7 @@ import { Route as IndexRouteImport } from './routes/index'
|
||||
import { Route as TasksIndexRouteImport } from './routes/tasks.index'
|
||||
import { Route as StatusIndexRouteImport } from './routes/status.index'
|
||||
import { Route as SettingsIndexRouteImport } from './routes/settings.index'
|
||||
import { Route as PaymentsIndexRouteImport } from './routes/payments.index'
|
||||
import { Route as MessagesIndexRouteImport } from './routes/messages.index'
|
||||
import { Route as InvoicesIndexRouteImport } from './routes/invoices.index'
|
||||
import { Route as InboxIndexRouteImport } from './routes/inbox.index'
|
||||
@@ -37,6 +38,7 @@ import { Route as SettingsFormTemplatesRouteImport } from './routes/settings.for
|
||||
import { Route as SettingsFeesRouteImport } from './routes/settings.fees'
|
||||
import { Route as SettingsCustomFieldsRouteImport } from './routes/settings.custom-fields'
|
||||
import { Route as SettingsClientFieldsRouteImport } from './routes/settings.client-fields'
|
||||
import { Route as PayIdRouteImport } from './routes/pay.$id'
|
||||
import { Route as InvoicesInvoiceIdRouteImport } from './routes/invoices.$invoiceId'
|
||||
import { Route as HooksPollImapRouteImport } from './routes/hooks/poll-imap'
|
||||
import { Route as ContactsContactIdRouteImport } from './routes/contacts.$contactId'
|
||||
@@ -86,6 +88,11 @@ const SettingsIndexRoute = SettingsIndexRouteImport.update({
|
||||
path: '/',
|
||||
getParentRoute: () => SettingsRoute,
|
||||
} as any)
|
||||
const PaymentsIndexRoute = PaymentsIndexRouteImport.update({
|
||||
id: '/payments/',
|
||||
path: '/payments/',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const MessagesIndexRoute = MessagesIndexRouteImport.update({
|
||||
id: '/messages/',
|
||||
path: '/messages/',
|
||||
@@ -191,6 +198,11 @@ const SettingsClientFieldsRoute = SettingsClientFieldsRouteImport.update({
|
||||
path: '/client-fields',
|
||||
getParentRoute: () => SettingsRoute,
|
||||
} as any)
|
||||
const PayIdRoute = PayIdRouteImport.update({
|
||||
id: '/pay/$id',
|
||||
path: '/pay/$id',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const InvoicesInvoiceIdRoute = InvoicesInvoiceIdRouteImport.update({
|
||||
id: '/invoices/$invoiceId',
|
||||
path: '/invoices/$invoiceId',
|
||||
@@ -272,6 +284,7 @@ export interface FileRoutesByFullPath {
|
||||
'/contacts/$contactId': typeof ContactsContactIdRoute
|
||||
'/hooks/poll-imap': typeof HooksPollImapRoute
|
||||
'/invoices/$invoiceId': typeof InvoicesInvoiceIdRoute
|
||||
'/pay/$id': typeof PayIdRoute
|
||||
'/settings/client-fields': typeof SettingsClientFieldsRoute
|
||||
'/settings/custom-fields': typeof SettingsCustomFieldsRoute
|
||||
'/settings/fees': typeof SettingsFeesRoute
|
||||
@@ -293,6 +306,7 @@ export interface FileRoutesByFullPath {
|
||||
'/inbox/': typeof InboxIndexRoute
|
||||
'/invoices/': typeof InvoicesIndexRoute
|
||||
'/messages/': typeof MessagesIndexRoute
|
||||
'/payments/': typeof PaymentsIndexRoute
|
||||
'/settings/': typeof SettingsIndexRoute
|
||||
'/status/': typeof StatusIndexRoute
|
||||
'/tasks/': typeof TasksIndexRoute
|
||||
@@ -314,6 +328,7 @@ export interface FileRoutesByTo {
|
||||
'/contacts/$contactId': typeof ContactsContactIdRoute
|
||||
'/hooks/poll-imap': typeof HooksPollImapRoute
|
||||
'/invoices/$invoiceId': typeof InvoicesInvoiceIdRoute
|
||||
'/pay/$id': typeof PayIdRoute
|
||||
'/settings/client-fields': typeof SettingsClientFieldsRoute
|
||||
'/settings/custom-fields': typeof SettingsCustomFieldsRoute
|
||||
'/settings/fees': typeof SettingsFeesRoute
|
||||
@@ -335,6 +350,7 @@ export interface FileRoutesByTo {
|
||||
'/inbox': typeof InboxIndexRoute
|
||||
'/invoices': typeof InvoicesIndexRoute
|
||||
'/messages': typeof MessagesIndexRoute
|
||||
'/payments': typeof PaymentsIndexRoute
|
||||
'/settings': typeof SettingsIndexRoute
|
||||
'/status': typeof StatusIndexRoute
|
||||
'/tasks': typeof TasksIndexRoute
|
||||
@@ -358,6 +374,7 @@ export interface FileRoutesById {
|
||||
'/contacts/$contactId': typeof ContactsContactIdRoute
|
||||
'/hooks/poll-imap': typeof HooksPollImapRoute
|
||||
'/invoices/$invoiceId': typeof InvoicesInvoiceIdRoute
|
||||
'/pay/$id': typeof PayIdRoute
|
||||
'/settings/client-fields': typeof SettingsClientFieldsRoute
|
||||
'/settings/custom-fields': typeof SettingsCustomFieldsRoute
|
||||
'/settings/fees': typeof SettingsFeesRoute
|
||||
@@ -379,6 +396,7 @@ export interface FileRoutesById {
|
||||
'/inbox/': typeof InboxIndexRoute
|
||||
'/invoices/': typeof InvoicesIndexRoute
|
||||
'/messages/': typeof MessagesIndexRoute
|
||||
'/payments/': typeof PaymentsIndexRoute
|
||||
'/settings/': typeof SettingsIndexRoute
|
||||
'/status/': typeof StatusIndexRoute
|
||||
'/tasks/': typeof TasksIndexRoute
|
||||
@@ -403,6 +421,7 @@ export interface FileRouteTypes {
|
||||
| '/contacts/$contactId'
|
||||
| '/hooks/poll-imap'
|
||||
| '/invoices/$invoiceId'
|
||||
| '/pay/$id'
|
||||
| '/settings/client-fields'
|
||||
| '/settings/custom-fields'
|
||||
| '/settings/fees'
|
||||
@@ -424,6 +443,7 @@ export interface FileRouteTypes {
|
||||
| '/inbox/'
|
||||
| '/invoices/'
|
||||
| '/messages/'
|
||||
| '/payments/'
|
||||
| '/settings/'
|
||||
| '/status/'
|
||||
| '/tasks/'
|
||||
@@ -445,6 +465,7 @@ export interface FileRouteTypes {
|
||||
| '/contacts/$contactId'
|
||||
| '/hooks/poll-imap'
|
||||
| '/invoices/$invoiceId'
|
||||
| '/pay/$id'
|
||||
| '/settings/client-fields'
|
||||
| '/settings/custom-fields'
|
||||
| '/settings/fees'
|
||||
@@ -466,6 +487,7 @@ export interface FileRouteTypes {
|
||||
| '/inbox'
|
||||
| '/invoices'
|
||||
| '/messages'
|
||||
| '/payments'
|
||||
| '/settings'
|
||||
| '/status'
|
||||
| '/tasks'
|
||||
@@ -488,6 +510,7 @@ export interface FileRouteTypes {
|
||||
| '/contacts/$contactId'
|
||||
| '/hooks/poll-imap'
|
||||
| '/invoices/$invoiceId'
|
||||
| '/pay/$id'
|
||||
| '/settings/client-fields'
|
||||
| '/settings/custom-fields'
|
||||
| '/settings/fees'
|
||||
@@ -509,6 +532,7 @@ export interface FileRouteTypes {
|
||||
| '/inbox/'
|
||||
| '/invoices/'
|
||||
| '/messages/'
|
||||
| '/payments/'
|
||||
| '/settings/'
|
||||
| '/status/'
|
||||
| '/tasks/'
|
||||
@@ -532,6 +556,7 @@ export interface RootRouteChildren {
|
||||
ContactsContactIdRoute: typeof ContactsContactIdRoute
|
||||
HooksPollImapRoute: typeof HooksPollImapRoute
|
||||
InvoicesInvoiceIdRoute: typeof InvoicesInvoiceIdRoute
|
||||
PayIdRoute: typeof PayIdRoute
|
||||
CalendarIndexRoute: typeof CalendarIndexRoute
|
||||
CasesIndexRoute: typeof CasesIndexRoute
|
||||
ClientsIndexRoute: typeof ClientsIndexRoute
|
||||
@@ -543,6 +568,7 @@ export interface RootRouteChildren {
|
||||
InboxIndexRoute: typeof InboxIndexRoute
|
||||
InvoicesIndexRoute: typeof InvoicesIndexRoute
|
||||
MessagesIndexRoute: typeof MessagesIndexRoute
|
||||
PaymentsIndexRoute: typeof PaymentsIndexRoute
|
||||
StatusIndexRoute: typeof StatusIndexRoute
|
||||
TasksIndexRoute: typeof TasksIndexRoute
|
||||
DocumentsPleadingNewRoute: typeof DocumentsPleadingNewRoute
|
||||
@@ -602,6 +628,13 @@ declare module '@tanstack/react-router' {
|
||||
preLoaderRoute: typeof SettingsIndexRouteImport
|
||||
parentRoute: typeof SettingsRoute
|
||||
}
|
||||
'/payments/': {
|
||||
id: '/payments/'
|
||||
path: '/payments'
|
||||
fullPath: '/payments/'
|
||||
preLoaderRoute: typeof PaymentsIndexRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/messages/': {
|
||||
id: '/messages/'
|
||||
path: '/messages'
|
||||
@@ -749,6 +782,13 @@ declare module '@tanstack/react-router' {
|
||||
preLoaderRoute: typeof SettingsClientFieldsRouteImport
|
||||
parentRoute: typeof SettingsRoute
|
||||
}
|
||||
'/pay/$id': {
|
||||
id: '/pay/$id'
|
||||
path: '/pay/$id'
|
||||
fullPath: '/pay/$id'
|
||||
preLoaderRoute: typeof PayIdRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/invoices/$invoiceId': {
|
||||
id: '/invoices/$invoiceId'
|
||||
path: '/invoices/$invoiceId'
|
||||
@@ -889,6 +929,7 @@ const rootRouteChildren: RootRouteChildren = {
|
||||
ContactsContactIdRoute: ContactsContactIdRoute,
|
||||
HooksPollImapRoute: HooksPollImapRoute,
|
||||
InvoicesInvoiceIdRoute: InvoicesInvoiceIdRoute,
|
||||
PayIdRoute: PayIdRoute,
|
||||
CalendarIndexRoute: CalendarIndexRoute,
|
||||
CasesIndexRoute: CasesIndexRoute,
|
||||
ClientsIndexRoute: ClientsIndexRoute,
|
||||
@@ -900,6 +941,7 @@ const rootRouteChildren: RootRouteChildren = {
|
||||
InboxIndexRoute: InboxIndexRoute,
|
||||
InvoicesIndexRoute: InvoicesIndexRoute,
|
||||
MessagesIndexRoute: MessagesIndexRoute,
|
||||
PaymentsIndexRoute: PaymentsIndexRoute,
|
||||
StatusIndexRoute: StatusIndexRoute,
|
||||
TasksIndexRoute: TasksIndexRoute,
|
||||
DocumentsPleadingNewRoute: DocumentsPleadingNewRoute,
|
||||
@@ -910,3 +952,12 @@ const rootRouteChildren: RootRouteChildren = {
|
||||
export const routeTree = rootRouteImport
|
||||
._addFileChildren(rootRouteChildren)
|
||||
._addFileTypes<FileRouteTypes>()
|
||||
|
||||
import type { getRouter } from './router.tsx'
|
||||
import type { createStart } from '@tanstack/react-start'
|
||||
declare module '@tanstack/react-start' {
|
||||
interface Register {
|
||||
ssr: true
|
||||
router: Awaited<ReturnType<typeof getRouter>>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user