Ver Fonte

add websocket key

Yuken Tezuka há 3 anos atrás
pai
commit
8fdeaa627c
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      packages/app/src/interfaces/websocket.ts

+ 5 - 0
packages/app/src/interfaces/websocket.ts

@@ -17,6 +17,11 @@ export const SocketEventName = {
   FinishAddPage: 'finishAddPage',
   RebuildingFailed: 'rebuildingFailed',
 
+  // Page Operation
+  PageCreated: 'page:create',
+  PageUpdated: 'page:update',
+  PageDeleted: 'page:delete',
+
 } as const;
 export type SocketEventName = typeof SocketEventName[keyof typeof SocketEventName];