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
24 lines (20 loc) • 345 B
text/typescript
import {type Path} from '@sanity/types'
import {type Subject} from 'rxjs'
/**
* @internal
*/
export interface PathSyncState {
path: Path
source?: string
}
/**
* @internal
*/
export type PathSyncChannel = Subject<PathSyncState>
/**
* @internal
*/
export interface PathSyncChannelProps {
syncChannel: PathSyncChannel
id: string
}