Skip to content

Interface: EditLog

Defined in: packages/core/src/types.ts:56

The only state of an editing session. Serialisable as JSON.

Properties

assets?

optional assets?: AssetDeclaration[]

Defined in: packages/core/src/types.ts:66

Assets the ops reference that are not declared by a plugin (for example an uploaded sticker). Hosts must make url reachable for other devices and the server.


ops

ops: OperationBase<string>[]

Defined in: packages/core/src/types.ts:67


plugins

plugins: Record<string, number>

Defined in: packages/core/src/types.ts:60

Plugin id to plugin version, for migrations.


source

source: SourceDescriptor

Defined in: packages/core/src/types.ts:58


version

version: 1

Defined in: packages/core/src/types.ts:57