Skip to main content

Interface: ChangeArtifactProps

Defined in: packages/core/src/domain/entities/change-artifact.ts:10

Construction properties for a ChangeArtifact.

Properties

files?

readonly optional files?: ReadonlyMap<string, ArtifactFile>

Defined in: packages/core/src/domain/entities/change-artifact.ts:20

Pre-populated files map.


optional?

readonly optional optional?: boolean

Defined in: packages/core/src/domain/entities/change-artifact.ts:14

Whether the artifact is optional in the schema. Defaults to false.


requires?

readonly optional requires?: readonly string[]

Defined in: packages/core/src/domain/entities/change-artifact.ts:16

Artifact type IDs that must be complete before this one can be validated.


status?

readonly optional status?: ArtifactStatus

Defined in: packages/core/src/domain/entities/change-artifact.ts:18

Persisted aggregate state. Recomputed from files on construction.


type

readonly type: string

Defined in: packages/core/src/domain/entities/change-artifact.ts:12

The artifact type identifier (e.g. "proposal", "specs", "tasks").