Skip to content

catalogueBuild

catalogueBuild(deps, projectId, buildId): Promise<Catalog | null>

Defined in: packages/core/src/capture/catalog/catalogue.ts:25

Catalogue a build from its published statics: replace its build_components rows, then persist catalog.json. Resolves to the catalog, or null when the build has no readable index (statics purged, or not a Storybook), in which case nothing is written.

CatalogDeps

string

string

Promise<Catalog | null>