Skip to content

Runtime / node: node Types

Type definitions from node.ts (Runtime / node)

CreateNodeI18n

Returns isolated i18n state for one request or run, backed by shared catalogs.

type CreateNodeI18n = (options: NodeI18nOptions) => Promise<PalamedesI18n>

Source


NodeI18nOptions

Options for one request-local i18n instance.

type NodeI18nOptions = CreateI18nOptions & { locale: string }

Source


NodeI18nSetup

Where the generated runtime-macro files live when the code runs without a bundler.

Source