Skip to content
@svartz/core v1.0.0

API reference

Every exported symbol, by kind.

Interfaces

i SvartzThemeThe theme manifest a theme package exports.
i VaultViewPublished, vault-scoped data for SvelteKit loaders and theme components.

Types

t ThemeComponentLoaderA Svelte component, either imported or loaded on demand.

Functions

f createVaultViewBuild a vault view from the published index.
f defineThemeWrap a theme manifest so Svartz validates it before use.
f materializeThemeLoad every lazy component in a theme so it can render on the server.

Variables

v CONTRACT_VERSIONThe theme contract version this release of core implements.