Versions in this module Expand all Collapse all v0 v0.1.1 May 26, 2026 v0.1.0 May 25, 2026 Changes in this version + var ErrNotFound = errors.New("theme not found") + var ErrThemeMissingNoFallback = errors.New("theme missing and use_host_default=false (V23)") + type MemoryStore struct + func NewMemoryStore() *MemoryStore + func (m *MemoryStore) Get(_ context.Context, tenantID, themeID int64) (*Theme, error) + func (m *MemoryStore) GetHostDefault(_ context.Context) (*Theme, error) + func (m *MemoryStore) Put(t *Theme) + type Spec struct + ID int64 + UseHostDefault bool + type Store interface + Get func(ctx context.Context, tenantID, themeID int64) (*Theme, error) + GetHostDefault func(ctx context.Context) (*Theme, error) + type Theme struct + ID int64 + IsDefault bool + Name string + TemplateArchivePath string + TenantID int64 + func Resolve(ctx context.Context, s Store, tenantID int64, spec Spec) (*Theme, error)