Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

ConfigMapProps

Props for session-shared configuration editing; resourceKey must uniquely identify one resource within a connection.

Import

import type { ConfigMapProps } from "@dartwic/interface-sdk/config-maps";

Declaration

export interface ConfigMapProps extends Record<string, unknown> {
    /** Required standalone; inherited inside a registered custom module/task/settings editor. */
    definition?: ConfigMapDefinition;
    /** Required standalone; inherited inside a registered custom editor. Use the same key for every view of one document. */
    resourceKey?: string;
    context?: Record<string, any>;
    /** Render selected group IDs from the full definition. All views still share its one session, validation and adapter. */
    groupIds?: string[];
}

Members

NameTypeRequirementDescription
definitionConfigMapDefinitionOptionalRequired standalone; inherited inside a registered custom module/task/settings editor.
resourceKeystringOptionalRequired standalone; inherited inside a registered custom editor. Use the same key for every view of one document.
contextRecord<string, any>Optional
groupIdsstring[]OptionalRender selected group IDs from the full definition. All views still share its one session, validation and adapter.