Skip to content

Build

Defined in: packages/core/src/schema/build.ts:4

A build row.

affectedImportPaths: string | null

Defined in: packages/core/src/schema/build.ts:28

JSON array of affected story import paths; null means full capture.


affectedOnly: boolean

Defined in: packages/core/src/schema/build.ts:22

Affected capture enabled for this build (default true).


approvedCount: number

Defined in: packages/core/src/schema/build.ts:17


authorEmail: string | null

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


authorName: string | null

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


baselineSha: string | null

Defined in: packages/core/src/schema/build.ts:24

Ancestor commit the affected set was computed against, if any.


changedCount: number

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


changedFiles: string | null

Defined in: packages/core/src/schema/build.ts:26

JSON array of repo-relative changed files, if computed.


createdAt: string

Defined in: packages/core/src/schema/build.ts:34


gitBranch: string

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


gitSha: string

Defined in: packages/core/src/schema/build.ts:7


id: string

Defined in: packages/core/src/schema/build.ts:5


inheritedCount: number

Defined in: packages/core/src/schema/build.ts:20

Snapshots inherited from the baseline without rendering (affected capture); a subset of snapshotCount.


isDefault: boolean

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


message: string | null

Defined in: packages/core/src/schema/build.ts:12


projectId: string

Defined in: packages/core/src/schema/build.ts:6


public: boolean

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


rejectedCount: number

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


snapshotCount: number

Defined in: packages/core/src/schema/build.ts:15


status: "failed" | "cancelled" | "pending" | "capturing" | "comparing" | "reviewing" | "approved" | "rejected"

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


optional testResults?: string | null

Defined in: packages/core/src/schema/build.ts:33

JSON array of the results of the build’s Storybook .test() entries (TestResult); null when the project does not run tests or the Storybook has none.


updatedAt: string

Defined in: packages/core/src/schema/build.ts:35