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

9 lines (6 loc) 228 B
import {createContext} from 'sanity/_createContext' import type {Source} from '../../core/config/types' /** * @internal */ export const SourceContext = createContext<Source | null>('sanity/_singletons/context/source', null)