sanity
Version:
Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches
13 lines (10 loc) • 304 B
text/typescript
import {createContext} from 'sanity/_createContext'
import type {AddonDatasetContextValue} from '../../core/studio/addonDataset/types'
/**
* @beta
* @hidden
*/
export const AddonDatasetContext = createContext<AddonDatasetContextValue | null>(
'sanity/_singletons/context/addon-dataset',
null,
)