Sanity Library Reference Docs
Preparing search index...
sanity
index
SchemaPluginOptions
Interface SchemaPluginOptions
Beta
Hidden
interface
SchemaPluginOptions
{
name
?:
string
;
templates
?:
Template
<
any
,
any
>
[]
|
TemplateResolver
;
types
?:
|
SchemaTypeDefinition
<
|
"string"
|
"number"
|
"boolean"
|
"object"
|
"text"
|
"crossDatasetReference"
|
"reference"
|
"image"
|
"document"
|
"url"
|
"email"
|
"date"
|
"block"
|
"array"
|
"datetime"
|
"file"
|
"geopoint"
|
"globalDocumentReference"
|
"slug"
|
"sanity.video"
,
>
[]
|
ComposableOption
<
SchemaTypeDefinition
<
|
"string"
|
"number"
|
"boolean"
|
"object"
|
"text"
|
"crossDatasetReference"
|
"reference"
|
"image"
|
"document"
|
"url"
|
"email"
|
"date"
|
"block"
|
"array"
|
"datetime"
|
"file"
|
"geopoint"
|
"globalDocumentReference"
|
"slug"
|
"sanity.video"
,
>
[]
,
Omit
<
ConfigContext
,
"schema"
|
"i18n"
|
"currentUser"
|
"getClient"
|
"client"
,
>
,
>
;
}
Index
Properties
name?
templates?
types?
Properties
Optional
Beta
name
name
?:
string
Optional
Beta
templates
templates
?:
Template
<
any
,
any
>
[]
|
TemplateResolver
Optional
Beta
types
types
?:
|
SchemaTypeDefinition
<
|
"string"
|
"number"
|
"boolean"
|
"object"
|
"text"
|
"crossDatasetReference"
|
"reference"
|
"image"
|
"document"
|
"url"
|
"email"
|
"date"
|
"block"
|
"array"
|
"datetime"
|
"file"
|
"geopoint"
|
"globalDocumentReference"
|
"slug"
|
"sanity.video"
,
>
[]
|
ComposableOption
<
SchemaTypeDefinition
<
|
"string"
|
"number"
|
"boolean"
|
"object"
|
"text"
|
"crossDatasetReference"
|
"reference"
|
"image"
|
"document"
|
"url"
|
"email"
|
"date"
|
"block"
|
"array"
|
"datetime"
|
"file"
|
"geopoint"
|
"globalDocumentReference"
|
"slug"
|
"sanity.video"
,
>
[]
,
Omit
<
ConfigContext
,
"schema"
|
"i18n"
|
"currentUser"
|
"getClient"
|
"client"
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
name
templates
types
Sanity Library Reference Docs
Loading...
Hidden