Thankly SDK for JavaScript
    Preparing search index...

    Interface CapabilityWidgetResponse

    A capability's rendered output together with its status.

    interface CapabilityWidgetResponse {
        capabilityId?: string;
        currentVersion?: number;
        data?: unknown;
        errorMessage?: string;
        status?: CapabilityWidgetStatus;
        type: string;
    }
    Index
    capabilityId?: string

    Identifier of the capability that produced this.

    currentVersion?: number

    Version counter, incremented on each refinement; used to detect a stale write.

    data?: unknown

    Widget payload; shape depends on the widget type.

    errorMessage?: string

    Error details for debugging

    Lifecycle state of this capability's widget.

    type: string

    Capability type for validation