{"version":3,"file":"ydoc-status.cjs","sources":["../../src/consts/ydoc-status.ts"],"sourcesContent":["/**\n * NEW: The document is newly created and not yet synced with the latest revision.\n * SYNCED: The document is synced with the latest revision.\n * DRAFT: The document advances as a draft compared to the latest revision\n * OUTDATED: The document is outdated and needs to be synced with the latest revision.\n * ISOLATED: The latest revision does not exist and the document is isolated from the page.\n */\nexport const YDocStatus = {\n  NEW: 'new',\n  SYNCED: 'synced',\n  DRAFT: 'draft',\n  OUTDATED: 'outdated',\n  ISOLATED: 'isolated',\n} as const;\nexport type YDocStatus = (typeof YDocStatus)[keyof typeof YDocStatus];\n\n/**\n * The base path for Yjs WebSocket connections.\n */\nexport const YJS_WEBSOCKET_BASE_PATH = '/yjs';\n"],"names":["YDocStatus","YJS_WEBSOCKET_BASE_PATH"],"mappings":"gFAOO,MAAMA,EAAa,CACxB,IAAK,MACL,OAAQ,SACR,MAAO,QACP,SAAU,WACV,SAAU,UACZ,EAMaC,EAA0B"}