Interface ValidatedSingleValueCollectorWithValue<T, V>

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

Type Parameters

Properties

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