Skip to content

Solid / server: SolidCatalogDeliveryOptions

Functions, types, and exports for Solid / server: SolidCatalogDeliveryOptions.

Page outline
import type { SolidCatalogDeliveryOptions } from "@palamedes/solid/server"

type SolidCatalogDeliveryOptions = {
    /**
     * Built Nitro/Vite client directory containing palamedes-split-manifest.json.
     * Defaults to Nitro's `.output/public` in the process working directory.
     */
    clientDirectory?: string;
    /** Resolve the application-owned locale policy from the original request. */
    resolveLocale: (request: Request) => string;
    /**
     * Allow running before a client build exists in development. Defaults to
     * whether Vite built the server as a development build
     * (`import.meta.env.DEV`), not to the runtime `NODE_ENV`.
     */
    development?: boolean;
    /** Override the generated manifest filename for a custom Vite output. */
    manifestName?: string;
    /** Optional catalog-free host UI for initial fragment failures. */
    errorHtml?: string;
    /**
     * CSP nonce for Palamedes-generated import maps and bootstrap scripts: a
     * fixed string, or a resolver called once per HTML document request.
     */
    nonce?: string | SolidNonceResolver;
};

Properties

NameTypeRequiredDescription
clientDirectorystringNoBuilt Nitro/Vite client directory containing palamedes-split-manifest.json.
Defaults to Nitro's .output/public in the process working directory.
resolveLocale(request: Request) => stringYesResolve the application-owned locale policy from the original request.
developmentbooleanNoAllow running before a client build exists in development. Defaults to
whether Vite built the server as a development build
(import.meta.env.DEV), not to the runtime NODE_ENV.
manifestNamestringNoOverride the generated manifest filename for a custom Vite output.
errorHtmlstringNoOptional catalog-free host UI for initial fragment failures.
noncestring | SolidNonceResolverNoCSP nonce for Palamedes-generated import maps and bootstrap scripts: a
fixed string, or a resolver called once per HTML document request.

Source entry on GitHub

Last updated: November 1, 2026