Plugins
Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0
TaskConfigBridgeState
State published to the host by `useTaskConfigBridge`.
Import
import type { TaskConfigBridgeState } from "@dartwic/interface-sdk/tasks";Declaration
export interface TaskConfigBridgeState {
isDirty?: boolean;
isSaving?: boolean;
canSave?: boolean;
errorMessage?: string;
saveLabel?: string;
cancelLabel?: string;
onSave?: (() => Promise<void> | void) | null;
onCancel?: (() => Promise<void> | void) | null;
}Members
| Name | Type | Requirement | Description |
|---|---|---|---|
isDirty | boolean | Optional | |
isSaving | boolean | Optional | |
canSave | boolean | Optional | |
errorMessage | string | Optional | |
saveLabel | string | Optional | |
cancelLabel | string | Optional | |
onSave | (() => Promise<void> | void) | null | Optional | |
onCancel | (() => Promise<void> | void) | null | Optional |