Skip to content

Project

Defined in: packages/core/src/schema/project.ts:2

A project row.

optional aiProfile?: string | null

Defined in: packages/core/src/schema/project.ts:29

AI profile gate: null = AI off for this project; otherwise a profile name.


optional automigrate?: boolean

Defined in: packages/core/src/schema/project.ts:27


optional browser?: string

Defined in: packages/core/src/schema/project.ts:21


optional browsers?: string | null

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

JSON list of browsers to capture (null: legacy single browser).


createdAt: string

Defined in: packages/core/src/schema/project.ts:39


executePlay: boolean

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


gitDefaultBranch: string

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


gitRepository: string | null

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


id: string

Defined in: packages/core/src/schema/project.ts:3


maxDiffRatio: number

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


optional modesAllowlist?: string | null

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

JSON list of mode names to capture (null: all declared modes).


name: string

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


pixelThreshold: number

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


playTimeoutMs: number

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


publicBranchRegex: string | null

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


optional reviewApprovals?: number

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

Approvals a build needs when testing is off (ADR 0013, decision 3); default 1.


optional reviewEnabled?: boolean

Defined in: packages/core/src/schema/project.ts:31

Review is on for this project (ADR 0013, decision 1); the column defaults to true.


optional runA11y?: boolean

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

Run axe accessibility checks during capture; on by default (annotations never block).


optional runTests?: boolean

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

Run the Storybook 10 .test() entries as interaction tests during capture (ADR 0004, decision 11); off by default because it changes what a build contains.


slug: string

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


storybookMeta: string | null | undefined

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


optional storybookUrlTtlSeconds?: number | null

Defined in: packages/core/src/schema/project.ts:38

Lifetime in seconds of the signed Storybook URLs of this project’s renders (ADR 0007, decision 5); null derives it from the build’s stories.


updatedAt: string

Defined in: packages/core/src/schema/project.ts:40


optional viewports?: string | null

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