Context passed to a custom upload handler.

interface AsukaUploadHandlerContext {
    config: AsukaUploadModuleConfig;
    mode?: string;
    source?: string;
}

Hierarchy (view full)

Properties

Properties

Effective upload config after merging boot config and one-off overrides.

mode?: string

Media input mode when the upload comes from an input field.

source?: string

Upload caller, for example canvas, remote-image, or media-input.