Skip to main content

Interface: DocumentSummary

Defined in: src/lib/documentStore/index.ts:26

A saved document in short, to list it without loading its layers: its details, size and thumbnail

Extends​

Properties​

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​

DocumentInfo.author


dateCreated​

dateCreated: string

Defined in: src/lib/document/schema.ts:62

When it was started (ISO 8601 date and time)

Inherited from​

DocumentInfo.dateCreated


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​

DocumentInfo.dateOpened


height​

height: number

Defined in: src/lib/documentStore/index.ts:28


id​

id: string

Defined in: src/lib/document/schema.ts:57

A UUID

Inherited from​

DocumentInfo.id


name​

name: string

Defined in: src/lib/document/schema.ts:58

Inherited from​

DocumentInfo.name


thumbnail?​

optional thumbnail?: DocumentThumbnail<Blob>

Defined in: src/lib/documentStore/index.ts:29


updatedAt?​

optional updatedAt?: 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​

DocumentInfo.updatedAt


width​

width: number

Defined in: src/lib/documentStore/index.ts:27