Skip to content

@jsvision/code-editor / CodeEditorDegradationNotice

Interface: CodeEditorDegradationNotice

Defined in: code-editor/src/degradation.ts:29

One bounded, non-modal degradation notice suitable for accessible host presentation.

Properties

discarded?

readonly optional discarded?: number

Defined in: code-editor/src/degradation.ts:35


feature

readonly feature: CodeEditorDegradedFeature

Defined in: code-editor/src/degradation.ts:30


message?

readonly optional message?: string

Defined in: code-editor/src/degradation.ts:36


nonModal

readonly nonModal: true

Defined in: code-editor/src/degradation.ts:32


presented?

readonly optional presented?: number

Defined in: code-editor/src/degradation.ts:34


reason

readonly reason: "missing-adapter" | "unavailable" | "failure" | "retry" | "operation" | "limit"

Defined in: code-editor/src/degradation.ts:31


truncated

readonly truncated: boolean

Defined in: code-editor/src/degradation.ts:33