File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import type { Hocuspocus } from "@hocuspocus/server" ;
22import { createRealtimeEvent } from "@plane/editor" ;
33import { logger } from "@plane/logger" ;
4- import type { FetchPayloadWithContext , StorePayloadWithContext } from "@/types" ;
4+ import type { HocusPocusServerContext } from "@/types" ;
55import { broadcastMessageToPage } from "./broadcast-message" ;
66
77// Helper to broadcast error to frontend
@@ -10,7 +10,7 @@ export const broadcastError = async (
1010 pageId : string ,
1111 errorMessage : string ,
1212 errorType : "fetch" | "store" ,
13- context : FetchPayloadWithContext [ "context" ] ,
13+ context : HocusPocusServerContext ,
1414 errorCode ?: "content_too_large" | "page_locked" | "page_archived" ,
1515 shouldDisconnect ?: boolean
1616) => {
You can’t perform that action at this time.
0 commit comments