Sfoglia il codice sorgente

Add new key/value to SocketEventName

Shun Miyazawa 2 anni fa
parent
commit
42f6492728
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      apps/app/src/interfaces/websocket.ts

+ 1 - 0
apps/app/src/interfaces/websocket.ts

@@ -51,6 +51,7 @@ export const SocketEventName = {
 
   // Yjs
   YjsUpdated: 'yjsDraft:update',
+  YjsAwarenessStateUpdated: 'yjs:awareness-state-update',
 } as const;
 export type SocketEventName = typeof SocketEventName[keyof typeof SocketEventName];