MCPcopy Create free account
hub / github.com/editablejs/editable / CursorData

Interface CursorData

packages/plugins/yjs/src/types.ts:4–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import type Y from 'yjs'
3
4export interface CursorData extends Record<string, unknown> {
5 name: string
6 color: string
7 avatar?: string
8}
9
10export type CursorState<T extends CursorData = CursorData> = {
11 relativeSelection: RelativeRange | null

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…