@pubinfo/module-rbac 2.0.2 → 2.0.3

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.
Files changed (27) hide show
  1. package/LICENSE +21 -0
  2. package/dist/components/ResourceSelector/hooks/useAppAndResource.d.ts +15 -6
  3. package/dist/components/RoleSelector/useRole.d.ts +68 -4
  4. package/dist/index.js +2 -2
  5. package/dist/stores/view.d.ts +126 -21
  6. package/dist/utils/routeSystem.d.ts +126 -21
  7. package/dist/views/blackWhiteList/index.vue.d.ts +40 -40
  8. package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +4 -4
  9. package/dist/views/data-permission/index.vue.d.ts +44 -44
  10. package/dist/views/dictionary/index.vue.d.ts +40 -40
  11. package/dist/views/dictionary/itemlist.vue.d.ts +40 -40
  12. package/dist/views/group/index.vue.d.ts +40 -40
  13. package/dist/views/log_center/components/browserType.vue.d.ts +2 -2
  14. package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +2 -2
  15. package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +2 -2
  16. package/dist/views/log_center/login_history.vue.d.ts +40 -40
  17. package/dist/views/log_center/operate_history.vue.d.ts +40 -40
  18. package/dist/views/position/index.vue.d.ts +40 -40
  19. package/dist/views/region/index.vue.d.ts +40 -40
  20. package/dist/views/resource/hooks/useMetaForm.d.ts +8 -1
  21. package/dist/views/resource/index.vue.d.ts +40 -40
  22. package/dist/views/role/components/ResourceRelation.vue.d.ts +40 -40
  23. package/dist/views/role/index.vue.d.ts +80 -80
  24. package/dist/views/role_group/index.vue.d.ts +40 -40
  25. package/dist/views/tenant/index.vue.d.ts +40 -40
  26. package/dist/views/user/index.vue.d.ts +40 -40
  27. package/package.json +3 -3
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 PUBINFO 腾龙框架
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -11,15 +11,24 @@ export interface SelectedResourceInfo {
11
11
  name: string;
12
12
  }
13
13
  export default function useAppAndResource(mode?: ResourceMode): {
14
- appList: Ref<API.PubResource[] | {
14
+ appList: globalThis.Ref<API.PubResource[] | {
15
15
  label: string | undefined;
16
16
  value: string | undefined;
17
+ }[], API.PubResource[] | {
18
+ label: string | undefined;
19
+ value: string | undefined;
20
+ }[]>;
21
+ resourceModelRef: globalThis.Ref<any, any>;
22
+ treeData: globalThis.Ref<TreeNode[], TreeNode[]>;
23
+ resourceMap: globalThis.Ref<StringMap<string>, StringMap<string>>;
24
+ selectedResources: globalThis.Ref<{
25
+ id: string;
26
+ name: string;
27
+ }[], SelectedResourceInfo[] | {
28
+ id: string;
29
+ name: string;
17
30
  }[]>;
18
- resourceModelRef: any;
19
- treeData: Ref<TreeNode[]>;
20
- resourceMap: Ref<StringMap<string>>;
21
- selectedResources: any;
22
- isDataPermissionMode: any;
31
+ isDataPermissionMode: globalThis.ComputedRef<boolean>;
23
32
  getAppList: () => void;
24
33
  updateTreeDataAndResourceMap: (appId: string) => Promise<void>;
25
34
  setSelectedResources: (resources: SelectedResourceInfo[]) => void;
@@ -1,13 +1,77 @@
1
1
  export type Role = API.PubRole;
2
2
  export declare function useRole(): {
3
- loading: import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ShallowRef<boolean>;
3
+ loading: globalThis.ShallowRef<boolean>;
4
4
  setLoading: (value?: boolean | undefined) => boolean;
5
- roles: any;
5
+ roles: globalThis.Ref<{
6
+ id?: string | undefined;
7
+ name?: string | undefined;
8
+ code?: string | undefined;
9
+ description?: string | undefined;
10
+ enable?: boolean | undefined;
11
+ createdBy?: string | undefined;
12
+ createTime?: string | undefined;
13
+ updatedBy?: string | undefined;
14
+ updateTime?: string | undefined;
15
+ deleted?: boolean | undefined;
16
+ viewScope?: string | undefined;
17
+ createOrgId?: string | undefined;
18
+ createOrgName?: string | undefined;
19
+ appId?: string | undefined;
20
+ tenantId?: string | undefined;
21
+ }[], API.PubRole[] | {
22
+ id?: string | undefined;
23
+ name?: string | undefined;
24
+ code?: string | undefined;
25
+ description?: string | undefined;
26
+ enable?: boolean | undefined;
27
+ createdBy?: string | undefined;
28
+ createTime?: string | undefined;
29
+ updatedBy?: string | undefined;
30
+ updateTime?: string | undefined;
31
+ deleted?: boolean | undefined;
32
+ viewScope?: string | undefined;
33
+ createOrgId?: string | undefined;
34
+ createOrgName?: string | undefined;
35
+ appId?: string | undefined;
36
+ tenantId?: string | undefined;
37
+ }[]>;
6
38
  getData: () => Promise<void>;
7
39
  };
8
40
  export declare function useRoleGroup(): {
9
- loading: import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ShallowRef<boolean>;
41
+ loading: globalThis.ShallowRef<boolean>;
10
42
  setLoading: (value?: boolean | undefined) => boolean;
11
- roles: any;
43
+ roles: globalThis.Ref<{
44
+ id?: string | undefined;
45
+ name?: string | undefined;
46
+ code?: string | undefined;
47
+ description?: string | undefined;
48
+ enable?: boolean | undefined;
49
+ createdBy?: string | undefined;
50
+ createTime?: string | undefined;
51
+ updatedBy?: string | undefined;
52
+ updateTime?: string | undefined;
53
+ deleted?: boolean | undefined;
54
+ viewScope?: string | undefined;
55
+ createOrgId?: string | undefined;
56
+ createOrgName?: string | undefined;
57
+ appId?: string | undefined;
58
+ tenantId?: string | undefined;
59
+ }[], API.PubRole[] | {
60
+ id?: string | undefined;
61
+ name?: string | undefined;
62
+ code?: string | undefined;
63
+ description?: string | undefined;
64
+ enable?: boolean | undefined;
65
+ createdBy?: string | undefined;
66
+ createTime?: string | undefined;
67
+ updatedBy?: string | undefined;
68
+ updateTime?: string | undefined;
69
+ deleted?: boolean | undefined;
70
+ viewScope?: string | undefined;
71
+ createOrgId?: string | undefined;
72
+ createOrgName?: string | undefined;
73
+ appId?: string | undefined;
74
+ tenantId?: string | undefined;
75
+ }[]>;
12
76
  getData: (id: string) => Promise<void>;
13
77
  };
package/dist/index.js CHANGED
@@ -58,10 +58,10 @@ import './index.css';var We = {
58
58
  pages: {
59
59
  "src/views/blackWhiteList/index.vue": () => import("./blackWhiteList-DQALdBZf.js"),
60
60
  "src/views/breadcrumb_setting/index.vue": () => import("./breadcrumb_setting-D3UjJYhA.js"),
61
- "src/views/data-permission/index.vue": () => import("./data-permission-CLnnLoPt.js"),
62
61
  "src/views/components/HCheckList.vue": () => import("./HCheckList-Cze_TkQp.js"),
63
62
  "src/views/components/animation_item.vue": () => import("./animation_item-C3pkH-cB.js"),
64
63
  "src/views/components/setItem.vue": () => import("./setItem-9ZBl0BlF.js"),
64
+ "src/views/data-permission/index.vue": () => import("./data-permission-CLnnLoPt.js"),
65
65
  "src/views/dictionary/index.vue": () => import("./dictionary-BFM0Mx0P.js"),
66
66
  "src/views/dictionary/itemlist.vue": () => import("./itemlist-uCHnA_We.js"),
67
67
  "src/views/group/index.vue": () => import("./group-B1gGoTD5.js"),
@@ -107,9 +107,9 @@ import './index.css';var We = {
107
107
  "src/views/resource/components/RoleRelation.vue": () => import("./RoleRelation-YaSQQxQ2.js"),
108
108
  "src/views/role/components/ResourceRelation.vue": () => import("./ResourceRelation-BRseTUw2.js"),
109
109
  "src/views/role/components/drawerRole.vue": () => import("./drawerRole-tan379DU.js"),
110
- "src/views/tenant/components/TenantEdit.vue": () => import("./TenantEdit-C28473_2.js"),
111
110
  "src/views/role_group/components/ResourceRelation.vue": () => import("./ResourceRelation-CKolCnHC.js"),
112
111
  "src/views/role_group/components/drawerRole.vue": () => import("./drawerRole-CzTW_I2H.js"),
112
+ "src/views/tenant/components/TenantEdit.vue": () => import("./TenantEdit-C28473_2.js"),
113
113
  "src/views/user/components/OrgAndPosition.vue": () => import("./OrgAndPosition-CF7ZJtNB.js"),
114
114
  "src/views/user/components/UserAuthorization.vue": () => import("./UserAuthorization-C4SLMNmh.js"),
115
115
  "src/views/user/components/UserEdit.vue": () => import("./UserEdit-CyCXz7g3.js")
@@ -18,39 +18,144 @@ export interface RouteTreeNode {
18
18
  scope?: string;
19
19
  }
20
20
  export declare const useViewStore: import('../../../../node_modules/.pnpm/pinia@3.0.3_typescript@5.8.3_vue@3.5.17_typescript@5.8.3_/node_modules/pinia').StoreDefinition<"view", Pick<{
21
- projectPages: any;
22
- modulePages: any;
23
- routeTree: any;
24
- lastUpdateTime: any;
25
- wsConnected: any;
21
+ projectPages: Readonly<globalThis.Ref<{
22
+ readonly [x: string]: string;
23
+ }, {
24
+ readonly [x: string]: string;
25
+ }>>;
26
+ modulePages: Readonly<globalThis.Ref<ReadonlyMap<string, {
27
+ readonly [x: string]: string;
28
+ }>, ReadonlyMap<string, {
29
+ readonly [x: string]: string;
30
+ }>>>;
31
+ routeTree: Readonly<globalThis.Ref<readonly {
32
+ readonly title: string;
33
+ readonly key: string;
34
+ readonly root?: boolean | undefined;
35
+ readonly module?: boolean | undefined;
36
+ readonly children?: readonly /*elided*/ any[] | undefined;
37
+ readonly isLeaf?: boolean | undefined;
38
+ readonly value?: string | undefined;
39
+ readonly scope?: string | undefined;
40
+ }[], readonly {
41
+ readonly title: string;
42
+ readonly key: string;
43
+ readonly root?: boolean | undefined;
44
+ readonly module?: boolean | undefined;
45
+ readonly children?: readonly /*elided*/ any[] | undefined;
46
+ readonly isLeaf?: boolean | undefined;
47
+ readonly value?: string | undefined;
48
+ readonly scope?: string | undefined;
49
+ }[]>>;
50
+ lastUpdateTime: Readonly<globalThis.Ref<number, number>>;
51
+ wsConnected: Readonly<globalThis.Ref<boolean, boolean>>;
26
52
  initializeRouteData: () => void;
27
53
  handleFileChange: (message: WebSocketMessage) => void;
28
54
  setWebSocketConnected: (connected: boolean) => void;
29
- getRouteTreeData: () => any;
55
+ getRouteTreeData: () => {
56
+ title: string;
57
+ key: string;
58
+ root?: boolean | undefined;
59
+ module?: boolean | undefined;
60
+ children?: /*elided*/ any[] | undefined;
61
+ isLeaf?: boolean | undefined;
62
+ value?: string | undefined;
63
+ scope?: string | undefined;
64
+ }[];
30
65
  refreshRouteTree: () => void;
31
66
  filterRouteTree: (searchQuery: string) => RouteTreeNode[];
32
- }, any>, Pick<{
33
- projectPages: any;
34
- modulePages: any;
35
- routeTree: any;
36
- lastUpdateTime: any;
37
- wsConnected: any;
67
+ }, "projectPages" | "modulePages" | "routeTree" | "lastUpdateTime" | "wsConnected">, Pick<{
68
+ projectPages: Readonly<globalThis.Ref<{
69
+ readonly [x: string]: string;
70
+ }, {
71
+ readonly [x: string]: string;
72
+ }>>;
73
+ modulePages: Readonly<globalThis.Ref<ReadonlyMap<string, {
74
+ readonly [x: string]: string;
75
+ }>, ReadonlyMap<string, {
76
+ readonly [x: string]: string;
77
+ }>>>;
78
+ routeTree: Readonly<globalThis.Ref<readonly {
79
+ readonly title: string;
80
+ readonly key: string;
81
+ readonly root?: boolean | undefined;
82
+ readonly module?: boolean | undefined;
83
+ readonly children?: readonly /*elided*/ any[] | undefined;
84
+ readonly isLeaf?: boolean | undefined;
85
+ readonly value?: string | undefined;
86
+ readonly scope?: string | undefined;
87
+ }[], readonly {
88
+ readonly title: string;
89
+ readonly key: string;
90
+ readonly root?: boolean | undefined;
91
+ readonly module?: boolean | undefined;
92
+ readonly children?: readonly /*elided*/ any[] | undefined;
93
+ readonly isLeaf?: boolean | undefined;
94
+ readonly value?: string | undefined;
95
+ readonly scope?: string | undefined;
96
+ }[]>>;
97
+ lastUpdateTime: Readonly<globalThis.Ref<number, number>>;
98
+ wsConnected: Readonly<globalThis.Ref<boolean, boolean>>;
38
99
  initializeRouteData: () => void;
39
100
  handleFileChange: (message: WebSocketMessage) => void;
40
101
  setWebSocketConnected: (connected: boolean) => void;
41
- getRouteTreeData: () => any;
102
+ getRouteTreeData: () => {
103
+ title: string;
104
+ key: string;
105
+ root?: boolean | undefined;
106
+ module?: boolean | undefined;
107
+ children?: /*elided*/ any[] | undefined;
108
+ isLeaf?: boolean | undefined;
109
+ value?: string | undefined;
110
+ scope?: string | undefined;
111
+ }[];
42
112
  refreshRouteTree: () => void;
43
113
  filterRouteTree: (searchQuery: string) => RouteTreeNode[];
44
- }, any>, Pick<{
45
- projectPages: any;
46
- modulePages: any;
47
- routeTree: any;
48
- lastUpdateTime: any;
49
- wsConnected: any;
114
+ }, never>, Pick<{
115
+ projectPages: Readonly<globalThis.Ref<{
116
+ readonly [x: string]: string;
117
+ }, {
118
+ readonly [x: string]: string;
119
+ }>>;
120
+ modulePages: Readonly<globalThis.Ref<ReadonlyMap<string, {
121
+ readonly [x: string]: string;
122
+ }>, ReadonlyMap<string, {
123
+ readonly [x: string]: string;
124
+ }>>>;
125
+ routeTree: Readonly<globalThis.Ref<readonly {
126
+ readonly title: string;
127
+ readonly key: string;
128
+ readonly root?: boolean | undefined;
129
+ readonly module?: boolean | undefined;
130
+ readonly children?: readonly /*elided*/ any[] | undefined;
131
+ readonly isLeaf?: boolean | undefined;
132
+ readonly value?: string | undefined;
133
+ readonly scope?: string | undefined;
134
+ }[], readonly {
135
+ readonly title: string;
136
+ readonly key: string;
137
+ readonly root?: boolean | undefined;
138
+ readonly module?: boolean | undefined;
139
+ readonly children?: readonly /*elided*/ any[] | undefined;
140
+ readonly isLeaf?: boolean | undefined;
141
+ readonly value?: string | undefined;
142
+ readonly scope?: string | undefined;
143
+ }[]>>;
144
+ lastUpdateTime: Readonly<globalThis.Ref<number, number>>;
145
+ wsConnected: Readonly<globalThis.Ref<boolean, boolean>>;
50
146
  initializeRouteData: () => void;
51
147
  handleFileChange: (message: WebSocketMessage) => void;
52
148
  setWebSocketConnected: (connected: boolean) => void;
53
- getRouteTreeData: () => any;
149
+ getRouteTreeData: () => {
150
+ title: string;
151
+ key: string;
152
+ root?: boolean | undefined;
153
+ module?: boolean | undefined;
154
+ children?: /*elided*/ any[] | undefined;
155
+ isLeaf?: boolean | undefined;
156
+ value?: string | undefined;
157
+ scope?: string | undefined;
158
+ }[];
54
159
  refreshRouteTree: () => void;
55
160
  filterRouteTree: (searchQuery: string) => RouteTreeNode[];
56
- }, any>>;
161
+ }, "initializeRouteData" | "handleFileChange" | "setWebSocketConnected" | "getRouteTreeData" | "refreshRouteTree" | "filterRouteTree">>;
@@ -3,42 +3,147 @@
3
3
  */
4
4
  export declare function initializeRouteSystem(): {
5
5
  viewStore: import('../../../../node_modules/.pnpm/pinia@3.0.3_typescript@5.8.3_vue@3.5.17_typescript@5.8.3_/node_modules/pinia').Store<"view", Pick<{
6
- projectPages: any;
7
- modulePages: any;
8
- routeTree: any;
9
- lastUpdateTime: any;
10
- wsConnected: any;
6
+ projectPages: Readonly<globalThis.Ref<{
7
+ readonly [x: string]: string;
8
+ }, {
9
+ readonly [x: string]: string;
10
+ }>>;
11
+ modulePages: Readonly<globalThis.Ref<ReadonlyMap<string, {
12
+ readonly [x: string]: string;
13
+ }>, ReadonlyMap<string, {
14
+ readonly [x: string]: string;
15
+ }>>>;
16
+ routeTree: Readonly<globalThis.Ref<readonly {
17
+ readonly title: string;
18
+ readonly key: string;
19
+ readonly root?: boolean | undefined;
20
+ readonly module?: boolean | undefined;
21
+ readonly children?: readonly /*elided*/ any[] | undefined;
22
+ readonly isLeaf?: boolean | undefined;
23
+ readonly value?: string | undefined;
24
+ readonly scope?: string | undefined;
25
+ }[], readonly {
26
+ readonly title: string;
27
+ readonly key: string;
28
+ readonly root?: boolean | undefined;
29
+ readonly module?: boolean | undefined;
30
+ readonly children?: readonly /*elided*/ any[] | undefined;
31
+ readonly isLeaf?: boolean | undefined;
32
+ readonly value?: string | undefined;
33
+ readonly scope?: string | undefined;
34
+ }[]>>;
35
+ lastUpdateTime: Readonly<globalThis.Ref<number, number>>;
36
+ wsConnected: Readonly<globalThis.Ref<boolean, boolean>>;
11
37
  initializeRouteData: () => void;
12
38
  handleFileChange: (message: import('../stores/view').WebSocketMessage) => void;
13
39
  setWebSocketConnected: (connected: boolean) => void;
14
- getRouteTreeData: () => any;
40
+ getRouteTreeData: () => {
41
+ title: string;
42
+ key: string;
43
+ root?: boolean | undefined;
44
+ module?: boolean | undefined;
45
+ children?: /*elided*/ any[] | undefined;
46
+ isLeaf?: boolean | undefined;
47
+ value?: string | undefined;
48
+ scope?: string | undefined;
49
+ }[];
15
50
  refreshRouteTree: () => void;
16
51
  filterRouteTree: (searchQuery: string) => import('../stores/view').RouteTreeNode[];
17
- }, any>, Pick<{
18
- projectPages: any;
19
- modulePages: any;
20
- routeTree: any;
21
- lastUpdateTime: any;
22
- wsConnected: any;
52
+ }, "projectPages" | "modulePages" | "routeTree" | "lastUpdateTime" | "wsConnected">, Pick<{
53
+ projectPages: Readonly<globalThis.Ref<{
54
+ readonly [x: string]: string;
55
+ }, {
56
+ readonly [x: string]: string;
57
+ }>>;
58
+ modulePages: Readonly<globalThis.Ref<ReadonlyMap<string, {
59
+ readonly [x: string]: string;
60
+ }>, ReadonlyMap<string, {
61
+ readonly [x: string]: string;
62
+ }>>>;
63
+ routeTree: Readonly<globalThis.Ref<readonly {
64
+ readonly title: string;
65
+ readonly key: string;
66
+ readonly root?: boolean | undefined;
67
+ readonly module?: boolean | undefined;
68
+ readonly children?: readonly /*elided*/ any[] | undefined;
69
+ readonly isLeaf?: boolean | undefined;
70
+ readonly value?: string | undefined;
71
+ readonly scope?: string | undefined;
72
+ }[], readonly {
73
+ readonly title: string;
74
+ readonly key: string;
75
+ readonly root?: boolean | undefined;
76
+ readonly module?: boolean | undefined;
77
+ readonly children?: readonly /*elided*/ any[] | undefined;
78
+ readonly isLeaf?: boolean | undefined;
79
+ readonly value?: string | undefined;
80
+ readonly scope?: string | undefined;
81
+ }[]>>;
82
+ lastUpdateTime: Readonly<globalThis.Ref<number, number>>;
83
+ wsConnected: Readonly<globalThis.Ref<boolean, boolean>>;
23
84
  initializeRouteData: () => void;
24
85
  handleFileChange: (message: import('../stores/view').WebSocketMessage) => void;
25
86
  setWebSocketConnected: (connected: boolean) => void;
26
- getRouteTreeData: () => any;
87
+ getRouteTreeData: () => {
88
+ title: string;
89
+ key: string;
90
+ root?: boolean | undefined;
91
+ module?: boolean | undefined;
92
+ children?: /*elided*/ any[] | undefined;
93
+ isLeaf?: boolean | undefined;
94
+ value?: string | undefined;
95
+ scope?: string | undefined;
96
+ }[];
27
97
  refreshRouteTree: () => void;
28
98
  filterRouteTree: (searchQuery: string) => import('../stores/view').RouteTreeNode[];
29
- }, any>, Pick<{
30
- projectPages: any;
31
- modulePages: any;
32
- routeTree: any;
33
- lastUpdateTime: any;
34
- wsConnected: any;
99
+ }, never>, Pick<{
100
+ projectPages: Readonly<globalThis.Ref<{
101
+ readonly [x: string]: string;
102
+ }, {
103
+ readonly [x: string]: string;
104
+ }>>;
105
+ modulePages: Readonly<globalThis.Ref<ReadonlyMap<string, {
106
+ readonly [x: string]: string;
107
+ }>, ReadonlyMap<string, {
108
+ readonly [x: string]: string;
109
+ }>>>;
110
+ routeTree: Readonly<globalThis.Ref<readonly {
111
+ readonly title: string;
112
+ readonly key: string;
113
+ readonly root?: boolean | undefined;
114
+ readonly module?: boolean | undefined;
115
+ readonly children?: readonly /*elided*/ any[] | undefined;
116
+ readonly isLeaf?: boolean | undefined;
117
+ readonly value?: string | undefined;
118
+ readonly scope?: string | undefined;
119
+ }[], readonly {
120
+ readonly title: string;
121
+ readonly key: string;
122
+ readonly root?: boolean | undefined;
123
+ readonly module?: boolean | undefined;
124
+ readonly children?: readonly /*elided*/ any[] | undefined;
125
+ readonly isLeaf?: boolean | undefined;
126
+ readonly value?: string | undefined;
127
+ readonly scope?: string | undefined;
128
+ }[]>>;
129
+ lastUpdateTime: Readonly<globalThis.Ref<number, number>>;
130
+ wsConnected: Readonly<globalThis.Ref<boolean, boolean>>;
35
131
  initializeRouteData: () => void;
36
132
  handleFileChange: (message: import('../stores/view').WebSocketMessage) => void;
37
133
  setWebSocketConnected: (connected: boolean) => void;
38
- getRouteTreeData: () => any;
134
+ getRouteTreeData: () => {
135
+ title: string;
136
+ key: string;
137
+ root?: boolean | undefined;
138
+ module?: boolean | undefined;
139
+ children?: /*elided*/ any[] | undefined;
140
+ isLeaf?: boolean | undefined;
141
+ value?: string | undefined;
142
+ scope?: string | undefined;
143
+ }[];
39
144
  refreshRouteTree: () => void;
40
145
  filterRouteTree: (searchQuery: string) => import('../stores/view').RouteTreeNode[];
41
- }, any>>;
146
+ }, "initializeRouteData" | "handleFileChange" | "setWebSocketConnected" | "getRouteTreeData" | "refreshRouteTree" | "filterRouteTree">>;
42
147
  wsManager: {
43
148
  initializeWebSocket: () => void;
44
149
  cleanupWebSocket: () => void;