Sanity Library Reference Docs
Preparing search index...
sanity
index
ArraySchemaType
Interface ArraySchemaType<V>
Make all properties in T optional
interface
ArraySchemaType
<
V
=
unknown
>
{
components
?:
{
annotation
?:
ComponentType
<
any
>
;
block
?:
ComponentType
<
any
>
;
diff
?:
ComponentType
<
any
>
;
field
?:
ComponentType
<
any
>
;
inlineBlock
?:
ComponentType
<
any
>
;
input
?:
ComponentType
<
any
>
;
item
?:
ComponentType
<
any
>
;
portableText
?:
{
plugins
?:
ComponentType
<
any
>
}
;
preview
?:
ComponentType
<
any
>
;
}
;
deprecated
?:
DeprecatedProperty
;
description
?:
string
;
hidden
?:
ConditionalProperty
;
icon
?:
ComponentType
;
initialValue
?:
any
;
jsonType
:
"array"
;
liveEdit
?:
boolean
;
name
:
string
;
of
:
(
|
BooleanSchemaType
|
FileSchemaType
|
NumberSchemaType
|
ObjectSchemaType
|
StringSchemaType
|
ReferenceSchemaType
)
[]
;
options
?:
ArrayOptions
<
V
>
&
{
layout
?:
V
extends
string
?
"tag"
:
"grid"
}
;
placeholder
?:
string
;
preview
?:
PreviewConfig
;
readOnly
?:
ConditionalProperty
;
title
?:
string
;
type
?:
SchemaType
;
validation
?:
SchemaValidationValue
;
}
Type Parameters
V
=
unknown
Hierarchy (
View Summary
)
BaseSchemaType
ArraySchemaType
Index
Properties
components?
deprecated?
description?
hidden?
icon?
initial
Value?
json
Type
live
Edit?
name
of
options?
placeholder?
preview?
read
Only?
title?
type?
validation?
Properties
Optional
Beta
components
components
?:
{
annotation
?:
ComponentType
<
any
>
;
block
?:
ComponentType
<
any
>
;
diff
?:
ComponentType
<
any
>
;
field
?:
ComponentType
<
any
>
;
inlineBlock
?:
ComponentType
<
any
>
;
input
?:
ComponentType
<
any
>
;
item
?:
ComponentType
<
any
>
;
portableText
?:
{
plugins
?:
ComponentType
<
any
>
}
;
preview
?:
ComponentType
<
any
>
;
}
Optional
deprecated
deprecated
?:
DeprecatedProperty
Optional
description
description
?:
string
Optional
hidden
hidden
?:
ConditionalProperty
Optional
icon
icon
?:
ComponentType
Optional
initial
Value
initialValue
?:
any
json
Type
jsonType
:
"array"
Optional
live
Edit
liveEdit
?:
boolean
name
name
:
string
of
of
:
(
|
BooleanSchemaType
|
FileSchemaType
|
NumberSchemaType
|
ObjectSchemaType
|
StringSchemaType
|
ReferenceSchemaType
)
[]
Optional
options
options
?:
ArrayOptions
<
V
>
&
{
layout
?:
V
extends
string
?
"tag"
:
"grid"
}
Optional
placeholder
placeholder
?:
string
Deprecated
This will be removed.
Optional
preview
preview
?:
PreviewConfig
Optional
read
Only
readOnly
?:
ConditionalProperty
Optional
title
title
?:
string
Optional
type
type
?:
SchemaType
Optional
validation
validation
?:
SchemaValidationValue
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
components
deprecated
description
hidden
icon
initial
Value
json
Type
live
Edit
name
of
options
placeholder
preview
read
Only
title
type
validation
Sanity Library Reference Docs
Loading...
Make all properties in T optional