ic-reactor
    Preparing search index...

    Interface OptionalArg

    interface OptionalArg {
        type: "optional";
        field: AllArgTypes<types.IDL.Type<any>>;
        defaultValue: [];
        maxLength?: number;
        minLength?: number;
        label: string;
        validate: (value: any) => string | boolean;
        defaultValues?: any[] | Record<string, any>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    type: "optional"
    field: AllArgTypes<types.IDL.Type<any>>
    defaultValue: []
    maxLength?: number
    minLength?: number
    label: string
    validate: (value: any) => string | boolean
    defaultValues?: any[] | Record<string, any>