Skip to content

Interface: ValidateContext<Doc, Options> ​

Defined in: core/dist/plugin.d.ts:129

Context handed to validate: the resolved options and the slice before the op.

Type Parameters ​

Doc ​

Doc

Options ​

Options

Properties ​

document ​

document: Document

Defined in: core/dist/plugin.d.ts:133

All slices as reduced so far.


options ​

options: Options

Defined in: core/dist/plugin.d.ts:130


slice ​

slice: Doc

Defined in: core/dist/plugin.d.ts:131


source ​

source: SourceDescriptor

Defined in: core/dist/plugin.d.ts:135

The source image the log belongs to (dimensions in pixels).