Interface: ChangeArtifactProps
Defined in: packages/core/src/domain/entities/change-artifact.ts:10
Construction properties for a ChangeArtifact.
Properties
files?
readonlyoptionalfiles?:ReadonlyMap<string,ArtifactFile>
Defined in: packages/core/src/domain/entities/change-artifact.ts:20
Pre-populated files map.
optional?
readonlyoptionaloptional?:boolean
Defined in: packages/core/src/domain/entities/change-artifact.ts:14
Whether the artifact is optional in the schema. Defaults to false.
requires?
readonlyoptionalrequires?: readonlystring[]
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?
readonlyoptionalstatus?:ArtifactStatus
Defined in: packages/core/src/domain/entities/change-artifact.ts:18
Persisted aggregate state. Recomputed from files on construction.
type
readonlytype:string
Defined in: packages/core/src/domain/entities/change-artifact.ts:12
The artifact type identifier (e.g. "proposal", "specs", "tasks").