Sanity Library Reference Docs
Preparing search index...
sanity
index
GeopointRule
Interface GeopointRule
interface
GeopointRule
{
custom
:
<
LenientFieldValue
extends
GeopointValue
>
(
fn
:
CustomValidator
<
LenientFieldValue
>
,
)
=>
GeopointRule
;
error
:
(
message
?:
string
|
LocalizedValidationMessages
)
=>
GeopointRule
;
info
:
(
message
?:
string
|
LocalizedValidationMessages
)
=>
GeopointRule
;
required
:
()
=>
GeopointRule
;
valueOfField
:
(
path
:
string
|
string
[]
)
=>
FieldReference
;
warning
:
(
message
?:
string
|
LocalizedValidationMessages
)
=>
GeopointRule
;
}
Hierarchy (
View Summary
)
RuleDef
<
GeopointRule
,
GeopointValue
>
GeopointRule
Index
Properties
custom
error
info
required
value
Of
Field
warning
Properties
custom
custom
:
<
LenientFieldValue
extends
GeopointValue
>
(
fn
:
CustomValidator
<
LenientFieldValue
>
,
)
=>
GeopointRule
error
error
:
(
message
?:
string
|
LocalizedValidationMessages
)
=>
GeopointRule
info
info
:
(
message
?:
string
|
LocalizedValidationMessages
)
=>
GeopointRule
required
required
:
()
=>
GeopointRule
value
Of
Field
valueOfField
:
(
path
:
string
|
string
[]
)
=>
FieldReference
warning
warning
:
(
message
?:
string
|
LocalizedValidationMessages
)
=>
GeopointRule
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
custom
error
info
required
value
Of
Field
warning
Sanity Library Reference Docs
Loading...