Interface ParamOptions

Action's parameter options

Hierarchy

  • ParamOptions

Properties

description?: string

the detail info of parameter

isCollection?: boolean

Whether the parameter is a collection type

label?: string

label of parameter

lengthInCharacter?: boolean

Whether to calculate the length of the string in characters

max?: string | number

Maximum value of the parameter

message?: string

Prompt message returned when the parameter is illegal

metaName?: string

The schema object name to which the parameter is bound, used only when type equal Object

min?: string | number

Minimum value of the parameter

pattern?: string | RegExp

Matching pattern when parameter checking

required?: boolean

Whether the parameter is required

type: string

Parameter type name, support: Boolean, String, Number, Date, Datetime, Object, Any, Class