Skip to main content

GlobalVariableDeclaration

Defined in: parser/types.ts:14

Extends​

  • Pick<ShortTextResponse, "minCharLength" | "maxCharLength" | "minWordLength" | "maxWordLength" | "textValidation" | "builtInValidation">

Properties​

PropertyTypeDescriptionInherited fromDefined in
builtInValidation?BuiltInValidationTypeApplies one predefined format from BuiltInValidationType to the response value.ShortTextResponse.builtInValidationparser/types.ts:723
initialValueGlobalStoreValue--parser/types.ts:15
max?numberInclusive bound, valid only for a numeric initialValue.-parser/types.ts:19
maxCharLength?numberThe maximum number of characters accepted in the response. Must be greater than 0 when the response is required.ShortTextResponse.maxCharLengthparser/types.ts:715
maxWordLength?numberThe maximum number of whitespace-separated words accepted in the response. Must be greater than 0 when the response is required.ShortTextResponse.maxWordLengthparser/types.ts:719
min?numberInclusive bound, valid only for a numeric initialValue.-parser/types.ts:17
minCharLength?numberThe minimum number of characters accepted in the response.ShortTextResponse.minCharLengthparser/types.ts:713
minWordLength?numberThe minimum number of whitespace-separated words accepted in the response.ShortTextResponse.minWordLengthparser/types.ts:717
strictMax?number--parser/types.ts:21
strictMin?number--parser/types.ts:20
textValidation?TextValidationRule[]Validation rules applied to the response value in array order.ShortTextResponse.textValidationparser/types.ts:721