Skip to content

AffectedInput

Defined in: types.ts:23

Inputs for computing the affected story set of a change.

baseSha: string

Defined in: types.ts:29

Ancestor commit the current build is compared against.


buildDir: string

Defined in: types.ts:27

Built Storybook directory holding index.json and stats.


cwd: string

Defined in: types.ts:25

Repository root used for git commands.


headSha: string

Defined in: types.ts:31

Current commit being uploaded.


optional statsFile?: string

Defined in: types.ts:35

Explicit stats file path (defaults to <buildDir>/preview-stats.json).


optional untraced?: string[]

Defined in: types.ts:33

Glob patterns excluded from tracing.