Search
Preparing search index...
The search index is not available
onex-utils
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
onex-utils
validate/rule
RuleType
TopLevelDomainOptions
Interface TopLevelDomainOptions
Hierarchy
TopLevelDomainOptions
Index
Properties
allow
deny
Properties
Optional
allow
0.0.46
provide
allow
:
boolean
|
string
[]
|
Set
<
string
>
true
to use the IANA list of registered TLDs. This is the default value.
false
to allow any TLD not listed in the
deny
list, if present.
A
Set
or array of the allowed TLDs. Cannot be used together with
deny
.
Optional
deny
0.0.46
provide
deny
:
string
[]
|
Set
<
string
>
A
Set
or array of the forbidden TLDs. Cannot be used together with a custom
allow
list.
Exports
validate/rule
Rule
Type
Top
Level
Domain
Options
allow
deny
true
to use the IANA list of registered TLDs. This is the default value.false
to allow any TLD not listed in thedeny
list, if present.Set
or array of the allowed TLDs. Cannot be used together withdeny
.