W3Booster SDK 2.0.0
    Preparing search index...

    Interface FieldBase<TSettings, TPath>

    interface FieldBase<
        TSettings extends object,
        TPath extends SettingsPath<TSettings>,
    > {
        default?: SettingsPathValue<TSettings, TPath>;
        description?: string;
        enabledWhen?: AppSettingCondition<TSettings>;
        group?: string;
        internal?: boolean;
        key: TPath;
        label: string;
        options?: readonly AppSettingOption<
            Extract<SettingsPathValue<TSettings, TPath>, JsonValue>,
        >[];
        requiresPlan?: "pro";
        type: SettingsPathValue<TSettings, TPath> extends boolean
            ? "boolean" | "select"
            : SettingsPathValue<TSettings, TPath> extends number
                ? "number" | "select"
                : "select" | "text" | "country";
        visibleWhen?: AppSettingCondition<TSettings>;
    }

    Type Parameters

    Index
    description?: string
    group?: string
    internal?: boolean
    key: TPath
    label: string
    options?: readonly AppSettingOption<
        Extract<SettingsPathValue<TSettings, TPath>, JsonValue>,
    >[]
    requiresPlan?: "pro"
    type: SettingsPathValue<TSettings, TPath> extends boolean
        ? "boolean" | "select"
        : SettingsPathValue<TSettings, TPath> extends number
            ? "number" | "select"
            : "select" | "text" | "country"