Interface InputArg<T>

interface InputArg<T> {
    required?: true;
    defaultValue: ArgTypeFromIDLType<T>;
    maxLength?: number;
    minLength?: number;
    type: FieldType;
    label: string;
    validate: ((value) => string | boolean);
    defaultValues?: any[] | Record<string, any>;
}

Type Parameters

Hierarchy (view full)

Properties

required?: true
defaultValue: ArgTypeFromIDLType<T>
maxLength?: number
minLength?: number
type: FieldType
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

defaultValues?: any[] | Record<string, any>