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
11 lines (8 loc) • 376 B
text/typescript
import {createContext} from 'sanity/_createContext'
import type {ActiveWorkspaceMatcherContextValue} from '../../core/studio/activeWorkspaceMatcher/ActiveWorkspaceMatcherContext'
/** @internal */
export const ActiveWorkspaceMatcherContext =
createContext<ActiveWorkspaceMatcherContextValue | null>(
'sanity/_singletons/context/active-workspace-matcher',
null,
)