File tree Expand file tree Collapse file tree 3 files changed +39
-37
lines changed Expand file tree Collapse file tree 3 files changed +39
-37
lines changed Original file line number Diff line number Diff line change @@ -47,41 +47,4 @@ declare namespace Api {
4747 status : EnableStatus | null ;
4848 } & T ;
4949 }
50-
51- /**
52- * namespace Auth
53- *
54- * backend api module: "auth"
55- */
56- namespace Auth {
57- interface LoginToken {
58- token : string ;
59- refreshToken : string ;
60- }
61-
62- interface UserInfo {
63- userId : string ;
64- userName : string ;
65- roles : string [ ] ;
66- buttons : string [ ] ;
67- }
68- }
69-
70- /**
71- * namespace Route
72- *
73- * backend api module: "route"
74- */
75- namespace Route {
76- type ElegantConstRoute = import ( '@elegant-router/types' ) . ElegantConstRoute ;
77-
78- interface MenuRoute extends ElegantConstRoute {
79- id : string ;
80- }
81-
82- interface UserRoute {
83- routes : MenuRoute [ ] ;
84- home : import ( '@elegant-router/types' ) . LastLevelRouteKey ;
85- }
86- }
8750}
Original file line number Diff line number Diff line change 1+ declare namespace Api {
2+ /**
3+ * namespace Auth
4+ *
5+ * backend api module: "auth"
6+ */
7+ namespace Auth {
8+ interface LoginToken {
9+ token : string ;
10+ refreshToken : string ;
11+ }
12+
13+ interface UserInfo {
14+ userId : string ;
15+ userName : string ;
16+ roles : string [ ] ;
17+ buttons : string [ ] ;
18+ }
19+ }
20+ }
Original file line number Diff line number Diff line change 1+ declare namespace Api {
2+ /**
3+ * namespace Route
4+ *
5+ * backend api module: "route"
6+ */
7+ namespace Route {
8+ type ElegantConstRoute = import ( '@elegant-router/types' ) . ElegantConstRoute ;
9+
10+ interface MenuRoute extends ElegantConstRoute {
11+ id : string ;
12+ }
13+
14+ interface UserRoute {
15+ routes : MenuRoute [ ] ;
16+ home : import ( '@elegant-router/types' ) . LastLevelRouteKey ;
17+ }
18+ }
19+ }
You can’t perform that action at this time.
0 commit comments