jgy-public-component 0.0.10 → 0.0.11

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.
@@ -28,15 +28,15 @@ export interface BackendRoute {
28
28
  updated_at: string;
29
29
  }
30
30
  export interface RouteStoreAdapter {
31
- initRoutes(): Promise<void>;
31
+ initRoutes(): Promise<unknown>;
32
32
  backendRoutes: BackendRoute[];
33
33
  }
34
34
  export interface PermissionStoreAdapter {
35
- loadUserPermissions(): Promise<void>;
35
+ loadUserPermissions(): Promise<unknown>;
36
36
  routePermissions: string[];
37
37
  }
38
38
  export interface UserStoreAdapter {
39
- logout(): Promise<void>;
39
+ logout(): Promise<unknown>;
40
40
  }
41
41
  export interface RouterGuardOptions {
42
42
  /** 路由 store(懒加载,避免 Pinia 未初始化) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jgy-public-component",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "JGY 公共 Vue 3 组件库",
5
5
  "keywords": [
6
6
  "vue3",