Class: WorkerInput
Represents a Input request
Constructors
new WorkerInput(uuid, title, type, validators)
new WorkerInput(
uuid
,title
,type
,validators
):WorkerInput
Parameters
• uuid: string
• title: string
• type: WorkerInputType
= WorkerInputType.STRING
• validators: (string
| RegExp
)[]= []
Returns
Source
Properties
title
title:
string
Source
type
type:
WorkerInputType
Source
uuid
uuid:
string
Source
validators
validators:
RegExp
[]
Source
value?
value?:
string
Source
Methods
validate()
validate(
input
):boolean
Parameters
• input: string
Returns
boolean