URISchemaOptionsinterface
{
readonly value?: string | undefined;
readonly max?: number | undefined;
readonly match?: RegExp | undefined;
readonly case?: "upper" | "lower" | undefined;
readonly input?: StringInputType | undefined;
readonly schemes?: URISchemes | undefined;
}| Property | Type | |
|---|---|---|
.value | string | Default string value used when the input is undefined. readonly |
.max | number | Maximum allowed character length. Defaults to 512 readonly |
.match | RegExp | Regular expression the sanitized string must match. readonly |
.case | "upper""lower" | Force the result to "upper" or "lower" case. readonly |
.input | StringInputType | HTML <input /> type="" hint for downstream UIs. Defaults to "url" readonly |
.schemes | URISchemes | Whitelist of allowed URI schemes. Defaults to HTTP_SCHEMES readonly |
Options for URISchema.
- The length and single-line constraints are fixed internally, so only the presentation-level string options plus
schemesare exposed.