UNPKG

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

12 lines (9 loc) 247 B
import {createContext} from 'sanity/_createContext' import type {Workspace} from '../../core/config/types' /** * @internal */ export const WorkspaceContext = createContext<Workspace | null>( 'sanity/_singletons/context/workspace', null, )