Skip to content

TanStack Start: server Types

Type definitions from server.ts (TanStack Start)

TanStackCatalogDeliveryOptions

Source


TanStackNonceResolver

Resolves a document request's CSP nonce, for example from a value an earlier request middleware passed on through next({ context }).

type TanStackNonceResolver = (request: Request, context: TanStackRequestContext) => string | undefined

Source


TanStackRequestContext

The request middleware context TanStack Start passes to request middleware.

type TanStackRequestContext = Readonly<Record<string, unknown>>

Source


TanStackServerI18nOptions

Options for one request-local TanStack Start i18n instance.

type TanStackServerI18nOptions = CreateI18nOptions & { locale: string }

Source