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

10 lines (8 loc) 221 B
import type {Path} from '@sanity/types' import {createContext} from 'sanity/_createContext' /** @internal */ export const DiffContext = createContext<{ path: Path }>('sanity/_singletons/context/diff', { path: [], })