@lobehub/lobehub 2.0.0-next.90 → 2.0.0-next.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +50 -0
- package/changelog/v1.json +18 -0
- package/package.json +1 -1
- package/src/app/[variants]/DesktopClientRouter.tsx +20 -0
- package/src/app/[variants]/DesktopRouter.tsx +1 -21
- package/src/app/[variants]/MobileClientRouter.tsx +20 -0
- package/src/app/[variants]/MobileRouter.tsx +1 -22
- package/src/app/[variants]/desktopRouter.config.tsx +280 -152
- package/src/app/[variants]/loading.tsx +3 -0
- package/src/app/[variants]/mobileRouter.config.tsx +302 -162
- package/src/app/[variants]/page.tsx +1 -0
- package/src/layout/GlobalProvider/StoreInitialization.tsx +0 -9
- package/src/store/global/initialState.ts +0 -7
|
@@ -122,12 +122,6 @@ export interface GlobalState {
|
|
|
122
122
|
* 启动时为 Idle,完成为 Ready,报错为 Error
|
|
123
123
|
*/
|
|
124
124
|
initClientDBStage: DatabaseLoadingState;
|
|
125
|
-
/**
|
|
126
|
-
* 应用水合状态标志
|
|
127
|
-
* 用于指示客户端状态是否已从 StoreInitialization 完成加载
|
|
128
|
-
* 默认为 false,StoreInitialization 完成后设置为 true
|
|
129
|
-
*/
|
|
130
|
-
isAppHydrated: boolean;
|
|
131
125
|
isMobile?: boolean;
|
|
132
126
|
isStatusInit?: boolean;
|
|
133
127
|
latestVersion?: string;
|
|
@@ -170,7 +164,6 @@ export const INITIAL_STATUS = {
|
|
|
170
164
|
|
|
171
165
|
export const initialState: GlobalState = {
|
|
172
166
|
initClientDBStage: DatabaseLoadingState.Idle,
|
|
173
|
-
isAppHydrated: false,
|
|
174
167
|
isMobile: false,
|
|
175
168
|
isStatusInit: false,
|
|
176
169
|
sidebarKey: SidebarTabKey.Chat,
|