UrlPolicyOptions
Defined in: src/validation.ts:52
Options for destination URL policy.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
allowAppSchemes? |
boolean |
Allow non-http(s) schemes (app deep links like myapp://). Default true. |
src/validation.ts:54 |
urlPolicy? |
(url) => string | null | undefined |
Extra check; return a message to reject. | src/validation.ts:56 |