interface AutoCollector<
    C extends AutoCollectorCategories,
    T extends AutoCollectorTypes,
    IV = string,
    OV = Record<string, unknown>,
> {
    category: C;
    error: null | string;
    id: string;
    input: {
        key: string;
        type: string;
        validation?: null | ValidationRequired[];
        value: IV;
    };
    name: string;
    output: { config: OV; key: string; type: string };
    type: T;
}

Type Parameters

Properties

category: C
error: null | string
id: string
input: {
    key: string;
    type: string;
    validation?: null | ValidationRequired[];
    value: IV;
}
name: string
output: { config: OV; key: string; type: string }
type: T