readPublishedFile
readPublishedFile(
storage,projectId,buildId,rel):Promise<Buffer<ArrayBufferLike> |null>
Defined in: packages/core/src/capture/catalog/read.ts:10
A file of a build’s published Storybook by its path inside the build, or null when it is gone. Content-addressed builds answer through their manifest; older ones from the per-build copy.
Parameters
Section titled “Parameters”storage
Section titled “storage”projectId
Section titled “projectId”string
buildId
Section titled “buildId”string
string
Returns
Section titled “Returns”Promise<Buffer<ArrayBufferLike> | null>