Open History to see the last commit
1declare module 'tanstack-start-manifest:v' {
2 import type { ServerManifest } from '@tanstack/router-core'
3β
4 export const tsrStartManifest: () => ServerManifest
5}
6β
7declare module 'tanstack-start-route-tree:v' {
8 import type { AnyRoute } from '@tanstack/router-core'
9β
10 export const routeTree: AnyRoute | undefined
11}
12β
13declare module '#tanstack-start-server-fn-resolver' {
14 export type ServerFnLookupAccess = { origin: 'client' } | { origin: 'server' }
15β
16 export type ServerFn = ((...args: Array<any>) => Promise<any>) & {
17 method?: 'GET' | 'POST'
18 }
19 export function getServerFnById(
20 id: string,
21 access: ServerFnLookupAccess,
22 ): Promise<ServerFn>
23}