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

Hierarchy (view full)

Properties

type: "principal"
required: true
maxLength: number
minLength: number
defaultValue: string
label: string
validate: ((value) => string | boolean)

Type declaration

    • (value): string | boolean
    • Parameters

      • value: any

      Returns string | boolean

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