ArtifactVersion
@forge/monorepo / backend/src / ArtifactVersion
Type Alias: ArtifactVersion
ArtifactVersion =
object
Defined in: backend/src/persistence/index.ts:924
One version's content, by reference — AC-5.
contentRef points into BlobStore, which stores JSON, which is what markdown-and-structured-content is
once it is a value. The row holds no content: an artifact is the thing a user exports, so it grows without
limit, and a table row is the wrong place for something unbounded — the same reasoning that kept file bytes
out of files in #129.
Properties
artifactId
readonlyartifactId:ArtifactId
Defined in: backend/src/persistence/index.ts:926
byteSize
readonlybyteSize:number
Defined in: backend/src/persistence/index.ts:930
checksum?
readonlyoptionalchecksum?:string
Defined in: backend/src/persistence/index.ts:931
contentRef
readonlycontentRef:BlobRef
Defined in: backend/src/persistence/index.ts:929
createdAt
readonlycreatedAt:string
Defined in: backend/src/persistence/index.ts:934
createdBy
readonlycreatedBy:PrincipalId
Defined in: backend/src/persistence/index.ts:933
id
readonlyid:ArtifactVersionId
Defined in: backend/src/persistence/index.ts:925
provenance
readonlyprovenance:ArtifactProvenance
Defined in: backend/src/persistence/index.ts:932
version
readonlyversion:number
Defined in: backend/src/persistence/index.ts:928
1-based and contiguous. A gap would make "the previous version" ambiguous.