feat(private-room): connect moments feed
Docker Image / Build and Push Docker Image (push) Successful in 9m29s

This commit is contained in:
2026-07-08 16:29:08 +08:00
parent 77b496da2b
commit c46b9b4cdd
41 changed files with 3107 additions and 281 deletions
+8 -5
View File
@@ -4,7 +4,7 @@
* 根级 Client Providers 包装
*
* 把所有功能 Provider 串起来:
* AuthProvider → UserProvider → PaymentProvider → ChatProvider
* AuthProvider → UserProvider → PaymentProvider → ChatProvider → PrivateRoomProvider
* + AuthStatusChecker(启动时一次:派发 AuthInit
* + OAuthSessionSync (持续监听 NextAuth session → auth machine
* + UserAuthSync auth 登录态恢复后 hydrate user machine
@@ -23,6 +23,7 @@ import { AuthStatusChecker } from "@/stores/auth/auth-status-checker";
import { OAuthSessionSync } from "@/stores/auth/oauth-session-sync";
import { ChatProvider } from "@/stores/chat/chat-context";
import { PaymentProvider } from "@/stores/payment";
import { PrivateRoomProvider } from "@/stores/private-room";
import {
ChatAuthSync,
PaymentSuccessSync,
@@ -48,10 +49,12 @@ export function RootProviders({ children }: RootProvidersProps) {
<UserAuthSync />
<PaymentProvider>
<ChatProvider>
<ChatAuthSync />
<PaymentSuccessSync />
{children}
<div id="toast-portal" />
<PrivateRoomProvider>
<ChatAuthSync />
<PaymentSuccessSync />
{children}
<div id="toast-portal" />
</PrivateRoomProvider>
</ChatProvider>
</PaymentProvider>
</UserProvider>