sync the create/delete app in the list page

This commit is contained in:
hjlarry
2025-10-10 10:18:23 +08:00
parent ec22b1c706
commit 1472884eb5
3 changed files with 5 additions and 13 deletions

View File

@ -116,10 +116,3 @@ export class WebSocketClient {
}
export const webSocketClient = new WebSocketClient()
export const fetchAppsOnlineUsers = async (appIds: string[]) => {
const response = await fetch(`/api/online-users?${new URLSearchParams({
app_ids: appIds.join(','),
})}`)
return response.json()
}

View File

@ -1,5 +1,5 @@
export { collaborationManager } from './core/collaboration-manager'
export { webSocketClient, fetchAppsOnlineUsers } from './core/websocket-manager'
export { webSocketClient } from './core/websocket-manager'
export { CursorService } from './services/cursor-service'
export { useCollaboration } from './hooks/use-collaboration'
export * from './types'