Interface: DocumentOf<T>
Defined in: src/lib/document/schema.ts:98
A document with its images as T
Extends
Extended by
Type Parameters
T
T
Properties
activeLayer
activeLayer:
string
Defined in: src/lib/document/schema.ts:104
ID of the selected layer
author
author:
AssetAuthorDetails[]
Defined in: src/lib/document/schema.ts:60
Who made it: whoever started it, then everyone who saved it since
Inherited from
dateCreated
dateCreated:
string
Defined in: src/lib/document/schema.ts:62
When it was started (ISO 8601 date and time)
Inherited from
dateOpened
dateOpened:
string
Defined in: src/lib/document/schema.ts:64
When it was last opened (ISO 8601 date and time); opening it doesn't count as changing it
Inherited from
external
external:
DocumentSheet<T>[]
Defined in: src/lib/document/schema.ts:106
Drawings from elsewhere, top first
height
height:
number
Defined in: src/lib/document/schema.ts:100
id
id:
string
Defined in: src/lib/document/schema.ts:57
A UUID
Inherited from
layers
layers:
DocumentLayer<T>[]
Defined in: src/lib/document/schema.ts:102
The user's layers, top first
name
name:
string
Defined in: src/lib/document/schema.ts:58
Inherited from
thumbnail?
optionalthumbnail?:DocumentThumbnail<T>
Defined in: src/lib/document/schema.ts:107
updatedAt?
optionalupdatedAt?:string
Defined in: src/lib/document/schema.ts:69
When it was last changed (ISO 8601 date and time): its layers, size or details. Documents from before 1.1.0 have
none (the canvas uses dateCreated for them).
Inherited from
width
width:
number
Defined in: src/lib/document/schema.ts:99