IOrigamNuxtRuntimeConfig

interface
Nuxt

Shape of the public runtime config exposed by the module on `useRuntimeConfig().public.origam`. The plugins read this at boot to install the theme objects, resolve the active theme/mode, and configure the cookies.

TypeScript

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

themes
requis
IOrigamTheme[]
Installed `IOrigamTheme` objects, in install order. The plugins pass these straight to `createOrigam` (no preset-name resolution — ADR-004). A switcher derives its brand list from `useInstalledThemes()` rather than from this payload.
defaultTheme
requis
string
modes
requis
string[]
defaultMode
requis
string
cookieName
requis
string
modeCookieName
requis
string
cookieMaxAge
requis
number
locale
ILocaleOptions
icons
TNuxtIconOptions