(data: Uint8Array)
| 78 | } |
| 79 | |
| 80 | function applyYjsUpdate(data: Uint8Array): Y.Doc { |
| 81 | const doc = new Y.Doc() |
| 82 | Y.applyUpdate(doc, data) |
| 83 | return doc |
| 84 | } |
| 85 | |
| 86 | function expectedTaskMetaId(id: string): string | null { |
| 87 | return id.startsWith("code:task:") ? id.slice("code:task:".length) : null |
no outgoing calls
no test coverage detected