deriveCatalog
Buckets into group → cluster → tokens, preserving declaration order
at every level so the admin left-rail and cluster accordions render deterministically without
naming any token in a component.
Signature
function deriveCatalog(): Map<ThemeGroup, Map<string, ThemeTokenMeta[]>>;Returns
A nested map keyed by then cluster, each leaf an ordered token list.
Related
FeatureFlagService ReviewService ShopService FeatureFlagOption FeatureFlagRef ResolvedCartLineTokens ResolvedProductCardTokens ResolvedShopTheme
createConvexIdentityClient
Constructs a FRESH Convex client for identityauthenticated calls — the CONVEXCORE16 seam the admin app's editor bridge drives. Deliberately NOT the cached modul
DocumentExtras
String id every document in this package exposes. For Convexbacked rows this is the PUBLIC id: the migrated Mongo ObjectId (legacyId) for shops and feature flag