Skip to content

selectAffectedStories

selectAffectedStories<T>(stories, affectedImportPaths): StoryPartition<T>

Defined in: select.ts:46

Partition stories into render versus inherit sets.

Stories without an import path always render (they cannot be matched). A null affected set renders everything (full capture).

T extends StoryLike

readonly T[]

Discovered stories for the build.

readonly string[] | null

Affected import paths, or null for full.

StoryPartition<T>