Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

ModuleRuntimeOverviewProps

Props for the standard linked-task, status, and channel overview on module pages.

Import

import type { ModuleRuntimeOverviewProps } from "@dartwic/interface-sdk/ui";

Declaration

export interface ModuleRuntimeOverviewProps extends HostComponentProps {
    /** Module instance whose linked tasks are displayed. */
    instanceName: string;
    /** Optional live boolean channel used for connection state. */
    connectionChannel?: string;
    /** Visible label beside the connection state. */
    connectionLabel?: string;
    /** Human-readable connection endpoint. */
    endpoint?: string;
    /** Optional task-type allowlist. */
    taskTypeIds?: string[];
    /** Maps a linked task's plugin arguments to visible live channels. */
    resolveTaskChannels?: (task: any) => ModuleRuntimeChannel[];
    /** Empty-state copy when no tasks reference the module. */
    emptyMessage?: string;
}

Members

NameTypeRequirementDescription
instanceNamestringRequiredModule instance whose linked tasks are displayed.
connectionChannelstringOptionalOptional live boolean channel used for connection state.
connectionLabelstringOptionalVisible label beside the connection state.
endpointstringOptionalHuman-readable connection endpoint.
taskTypeIdsstring[]OptionalOptional task-type allowlist.
resolveTaskChannels(task: any) => ModuleRuntimeChannel[]OptionalMaps a linked task’s plugin arguments to visible live channels.
emptyMessagestringOptionalEmpty-state copy when no tasks reference the module.