Parcourir la source

Add new key/value to SocketEventName

Shun Miyazawa il y a 2 ans
Parent
commit
42f6492728
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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];