Sanity Library Reference Docs
Preparing search index...
@sanity/sdk
index
DatasetHandle
Interface DatasetHandle<TDataset, TProjectId>
Represents the minimal configuration required to identify a Sanity project.
interface
DatasetHandle
<
TDataset
extends
string
=
string
,
TProjectId
extends
string
=
string
,
>
{
dataset
?:
TDataset
;
perspective
?:
ReleasePerspective
|
ClientPerspective
;
projectId
?:
TProjectId
;
}
Type Parameters
TDataset
extends
string
=
string
TProjectId
extends
string
=
string
Hierarchy (
View Summary
)
ProjectHandle
<
TProjectId
>
PerspectiveHandle
DatasetHandle
DocumentTypeHandle
SanityConfig
QueryOptions
DocumentsOptions
Index
Properties
dataset?
perspective?
project
Id?
Properties
Optional
dataset
dataset
?:
TDataset
Optional
perspective
perspective
?:
ReleasePerspective
|
ClientPerspective
Optional
project
Id
projectId
?:
TProjectId
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
dataset
perspective
project
Id
Sanity Library Reference Docs
Loading...
Represents the minimal configuration required to identify a Sanity project.