Commit Graph

5 Commits

Author SHA1 Message Date
zetaloop a3f0b49112 feat(chat): implement WebSocket chat client with useChatSocket hook
Replace the stubbed chat API with a real WebSocket hook that
connects to /ws/chat and supports DM creation, messaging,
session join/leave, and history retrieval. Keep REST stub
functions for backward compatibility with existing pages
that require listChatSessions/getChatSessionById imports.
2026-05-01 17:33:29 +08:00
zetaloop d7cc6b0141 feat(api): add account mutation clients 2026-04-25 14:13:45 +08:00
zetaloop 4037816998 fix(api): align API layer with backend response formats
- wallet: parse {balance: string} response
- favorites: addFavorite returns void (EmptyResp)
- services: handle paginated response from listServicesByPlayer
- files: use query param ?key= instead of path param /:id
- search: remove unsupported selectedGames/minRating params
2026-04-23 21:14:57 +08:00
zetaloop 6dd21e1090 feat(files): fetch file blob by id 2026-02-28 16:10:50 +08:00
zetaloop f5df00df4e refactor(auth): align auth UI and mock auth API 2026-02-28 07:26:05 +08:00