// Every engine view: the source of the SDK's views.json and the SDK's test runtime. import { getViewDefinitions, loadViewImplementation, type ViewDefinition } from './registry'; import './definitions'; /** Loads every area's module, so each view comes with its hook and fixtures. */ export async function loadViewCatalog(): Promise { await Promise.all(getViewDefinitions().map(({ name }) => loadViewImplementation(name))); return getViewDefinitions(); }