@companion-module/base
    Preparing search index...

    Type Alias CompanionPresetConditionFeedback<TFeedbackManifest>

    CompanionPresetConditionFeedback: string extends keyof TFeedbackManifest
        ? {
            feedbackId: string;
            headline?: string;
            isInverted?: boolean;
            options: CompanionOptionValues;
        }
        : {
            [K in keyof TFeedbackManifest]: TFeedbackManifest[K]["type"] extends "boolean"
                ? {
                    feedbackId: K;
                    headline?: string;
                    isInverted?: boolean;
                    options: CompanionPresetOptionValues<TFeedbackManifest[K]["options"]>;
                }
                : never
        }[keyof TFeedbackManifest]

    A boolean feedback used as a condition: no style, and (for concrete manifests) strictly boolean ids only — non-boolean ids resolve to never and drop out. Loosely-typed manifests (string index) get a permissive shape instead of collapsing to never.

    Type Parameters