mirror of
https://github.com/multica-ai/multica.git
synced 2026-08-04 07:34:25 +02:00
- Create core/inbox/ with queries, mutations, ws-updaters - Migrate inbox page: useQuery + mutation hooks replace useInboxStore + api.* - Migrate sidebar unread badge to read from TQ cache - Delete useInboxStore (127 lines) — inbox has no client-only state - Remove inbox deps from workspace store (hydrate + switch) - Fix WS sync: use useQueryClient() instead of getQueryClient() singleton to ensure WS handlers write to the same QueryClient instance that components read from (singleton is unreliable under Next.js HMR) - Add onInboxIssueStatusChanged for issue status sync in inbox items Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
17 lines
348 B
TypeScript
17 lines
348 B
TypeScript
export {
|
|
inboxKeys,
|
|
inboxListOptions,
|
|
deduplicateInboxItems,
|
|
} from "./queries";
|
|
|
|
export {
|
|
useMarkInboxRead,
|
|
useArchiveInbox,
|
|
useMarkAllInboxRead,
|
|
useArchiveAllInbox,
|
|
useArchiveAllReadInbox,
|
|
useArchiveCompletedInbox,
|
|
} from "./mutations";
|
|
|
|
export { onInboxNew, onInboxInvalidate, onInboxIssueStatusChanged } from "./ws-updaters";
|