@mindbase/express-admin 1.0.16 → 1.0.18
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/index.ts +5 -7
- package/module/AdminModule.ts +3 -0
- package/package.json +2 -11
- package/tsconfig.json +0 -8
package/index.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
// Service 层
|
|
3
|
-
export * as UserService from './service/UserService';
|
|
1
|
+
export * as UserService from "./service/UserService";
|
|
4
2
|
|
|
5
3
|
// 路由
|
|
6
|
-
export { default as userRoutes } from
|
|
7
|
-
export { default as deviceRoutes } from
|
|
4
|
+
export { default as userRoutes } from "./routes/Users.route";
|
|
5
|
+
export { default as deviceRoutes } from "./routes/Devices.route";
|
|
8
6
|
|
|
9
7
|
// Zod Schema
|
|
10
8
|
export {
|
|
@@ -17,7 +15,7 @@ export {
|
|
|
17
15
|
type ListUsersInput,
|
|
18
16
|
type UpdateUserInput,
|
|
19
17
|
type ResetPasswordInput,
|
|
20
|
-
} from
|
|
18
|
+
} from "./zod/user.validation";
|
|
21
19
|
|
|
22
|
-
import AdminModule from
|
|
20
|
+
import AdminModule from "./module/AdminModule";
|
|
23
21
|
export default AdminModule;
|
package/module/AdminModule.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindbase/express-admin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": "./index.ts"
|
|
6
6
|
},
|
|
7
|
-
"files": [
|
|
8
|
-
"routes",
|
|
9
|
-
"zod",
|
|
10
|
-
"module",
|
|
11
|
-
"service",
|
|
12
|
-
"index.ts",
|
|
13
|
-
"tsconfig.json"
|
|
14
|
-
],
|
|
15
7
|
"engines": {
|
|
16
8
|
"node": ">=20.0.0"
|
|
17
9
|
},
|
|
@@ -32,8 +24,7 @@
|
|
|
32
24
|
},
|
|
33
25
|
"scripts": {
|
|
34
26
|
"test": "vitest run",
|
|
35
|
-
"test:watch": "vitest"
|
|
36
|
-
"prepublishOnly": "tsc --noEmit"
|
|
27
|
+
"test:watch": "vitest"
|
|
37
28
|
},
|
|
38
29
|
"publishConfig": {
|
|
39
30
|
"access": "public"
|