Explorar o código

Add new key/value to SocketEventName

Shun Miyazawa hai 1 ano
pai
achega
42f6492728
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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
   // Yjs
   YjsUpdated: 'yjsDraft:update',
   YjsUpdated: 'yjsDraft:update',
+  YjsAwarenessStateUpdated: 'yjs:awareness-state-update',
 } as const;
 } as const;
 export type SocketEventName = typeof SocketEventName[keyof typeof SocketEventName];
 export type SocketEventName = typeof SocketEventName[keyof typeof SocketEventName];