Sanity Library Reference Docs
Preparing search index...
sanity
index
BaseSchemaType
Interface BaseSchemaType
Make all properties in T optional
interface
BaseSchemaType
{
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
;
liveEdit
?:
boolean
;
name
:
string
;
placeholder
?:
string
;
preview
?:
PreviewConfig
;
readOnly
?:
ConditionalProperty
;
title
?:
string
;
type
?:
SchemaType
;
validation
?:
SchemaValidationValue
;
}
Hierarchy (
View Summary
)
Partial
<
DeprecationConfiguration
>
BaseSchemaType
ArraySchemaType
BooleanSchemaType
NumberSchemaType
ObjectSchemaType
StringSchemaType
Index
Properties
components?
deprecated?
description?
hidden?
icon?
initial
Value?
live
Edit?
name
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
Optional
live
Edit
liveEdit
?:
boolean
name
name
:
string
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
live
Edit
name
placeholder
preview
read
Only
title
type
validation
Sanity Library Reference Docs
Loading...
Make all properties in T optional