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
21 lines (17 loc) • 638 B
text/typescript
import {createContext} from 'sanity/_createContext'
import type {
ChangeIndicatorTrackerContextStoreType,
ChangeIndicatorTrackerGetSnapshotType,
} from '../../core/changeIndicators/ChangeIndicatorTrackerContexts'
/** @internal */
export const ChangeIndicatorTrackerContextStore =
createContext<ChangeIndicatorTrackerContextStoreType>(
'sanity/_singletons/context/change-indicator-tracker-store',
null,
)
/** @internal */
export const ChangeIndicatorTrackerContextGetSnapshot =
createContext<ChangeIndicatorTrackerGetSnapshotType>(
'sanity/_singletons/context/change-indicator-tracker-get-snapshot',
null,
)