interface ValidatedSingleValueCollectorWithValue<
    T extends SingleValueCollectorTypes,
> {
    category: "ValidatedSingleValueCollector";
    error: null | string;
    id: string;
    input: {
        key: string;
        type: string;
        validation: (ValidationRequired | ValidationRegex)[];
        value: string | number | boolean;
    };
    name: string;
    output: {
        key: string;
        label: string;
        type: string;
        value: string
        | number
        | boolean;
    };
    type: T;
}

Type Parameters

Properties

category: "ValidatedSingleValueCollector"
error: null | string
id: string
input: {
    key: string;
    type: string;
    validation: (ValidationRequired | ValidationRegex)[];
    value: string | number | boolean;
}
name: string
output: {
    key: string;
    label: string;
    type: string;
    value: string | number | boolean;
}
type: T