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
10 lines (7 loc) • 323 B
text/typescript
import {createContext} from 'sanity/_createContext'
import type {DocumentChangeContextInstance} from '../../core/field/diff/contexts/DocumentChangeContext'
/** @internal */
export const DocumentChangeContext = createContext<DocumentChangeContextInstance | null>(
'sanity/_singletons/context/document-change',
null,
)