SnapshotCreateInput
Defined in: packages/core/src/models/snapshot.ts:169
Input for creating a snapshot.
Properties
Section titled “Properties”a11yViolations?
Section titled “a11yViolations?”
optionala11yViolations?:string|null
Defined in: packages/core/src/models/snapshot.ts:193
JSON array of axe violation texts found on this capture; null when none.
baselineId?
Section titled “baselineId?”
optionalbaselineId?:string|null
Defined in: packages/core/src/models/snapshot.ts:184
baselineVersion?
Section titled “baselineVersion?”
optionalbaselineVersion?:string|null
Defined in: packages/core/src/models/snapshot.ts:185
browser?
Section titled “browser?”
optionalbrowser?:string
Defined in: packages/core/src/models/snapshot.ts:189
Engine the screenshot was captured with (default chromium).
designUrl?
Section titled “designUrl?”
optionaldesignUrl?:string|null
Defined in: packages/core/src/models/snapshot.ts:175
Figma URL declared by the story (parameters.design / storyshelf.figma).
durationMs?
Section titled “durationMs?”
optionaldurationMs?:number|null
Defined in: packages/core/src/models/snapshot.ts:191
Milliseconds the renderer spent on this capture, when it reported any.
envChange?
Section titled “envChange?”
optionalenvChange?:string|null
Defined in: packages/core/src/models/snapshot.ts:182
JSON EnvironmentChange when accepted as an environment migration.
infraHash?
Section titled “infraHash?”
optionalinfraHash?:string|null
Defined in: packages/core/src/models/snapshot.ts:180
inherited?
Section titled “inherited?”
optionalinherited?:boolean
Defined in: packages/core/src/models/snapshot.ts:183
optionalmode?:string|null
Defined in: packages/core/src/models/snapshot.ts:187
Resolved mode definition as JSON (display/capture only).
screenshotPath
Section titled “screenshotPath”screenshotPath:
string
Defined in: packages/core/src/models/snapshot.ts:179
storyId
Section titled “storyId”storyId:
string
Defined in: packages/core/src/models/snapshot.ts:170
storyImportPath?
Section titled “storyImportPath?”
optionalstoryImportPath?:string
Defined in: packages/core/src/models/snapshot.ts:173
storyName
Section titled “storyName”storyName:
string
Defined in: packages/core/src/models/snapshot.ts:171
storyTitle
Section titled “storyTitle”storyTitle:
string
Defined in: packages/core/src/models/snapshot.ts:172
viewportHeight
Section titled “viewportHeight”viewportHeight:
number
Defined in: packages/core/src/models/snapshot.ts:178
viewportName
Section titled “viewportName”viewportName:
string
Defined in: packages/core/src/models/snapshot.ts:176
viewportWidth
Section titled “viewportWidth”viewportWidth:
number
Defined in: packages/core/src/models/snapshot.ts:177