Interface Input

interface Input {
    default?: any;
    formatter?: Function | string[] | Function[];
    required?: boolean;
    schema?: {
        [key: string]: any;
    };
    validator?: Function | string[] | Function[];
}

Properties

default?: any
formatter?: Function | string[] | Function[]
required?: boolean
schema?: {
    [key: string]: any;
}

Type declaration

  • [key: string]: any
validator?: Function | string[] | Function[]