Version
Defined in: src/ocfl-object.ts:31
One version of an OCFL object.
Properties
Section titled “Properties”createdAt
Section titled “createdAt”
readonlycreatedAt:Date
Defined in: src/ocfl-object.ts:35
When the version was committed.
readonlyfiles:ReadonlyMap<string,OcflFile>
Defined in: src/ocfl-object.ts:41
The version’s files, keyed by logical path.
message?
Section titled “message?”
readonlyoptionalmessage?:string
Defined in: src/ocfl-object.ts:37
Why the version was made. Absent if whatever wrote the version recorded none.
number
Section titled “number”
readonlynumber:number
Defined in: src/ocfl-object.ts:33
Version number, starting at 1.
readonlyoptionaluser?:User
Defined in: src/ocfl-object.ts:39
Who made the version. Absent if whatever wrote the version recorded none.