Skip to content

BuildComponent

Defined in: packages/core/src/schema/build-component.ts:8

One component of one build, as persisted from the Storybook index.

buildId: string

Defined in: packages/core/src/schema/build-component.ts:11


createdAt: string

Defined in: packages/core/src/schema/build-component.ts:19


hash: string

Defined in: packages/core/src/schema/build-component.ts:18

SHA-256 of the component’s entries (id, name, type), so two builds compare with one string.


id: string

Defined in: packages/core/src/schema/build-component.ts:9


importPath: string

Defined in: packages/core/src/schema/build-component.ts:13

Story file the component’s entries come from, without a leading ./; empty when the index has none.


projectId: string

Defined in: packages/core/src/schema/build-component.ts:10


storyCount: number

Defined in: packages/core/src/schema/build-component.ts:16

Story entries (docs entries are not counted).


title: string

Defined in: packages/core/src/schema/build-component.ts:14