@mindbase/express-admin 1.0.9 → 1.0.16

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 CHANGED
@@ -17,7 +17,7 @@ export {
17
17
  type ListUsersInput,
18
18
  type UpdateUserInput,
19
19
  type ResetPasswordInput,
20
- } from './zod/User.schema';
20
+ } from './zod/user.validation';
21
21
 
22
22
  import AdminModule from './module/AdminModule';
23
23
  export default AdminModule;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindbase/express-admin",
3
- "version": "1.0.9",
3
+ "version": "1.0.16",
4
4
  "exports": {
5
5
  ".": "./index.ts"
6
6
  },
@@ -33,9 +33,9 @@
33
33
  "scripts": {
34
34
  "test": "vitest run",
35
35
  "test:watch": "vitest",
36
- "prepare": "tsc --noEmit"
36
+ "prepublishOnly": "tsc --noEmit"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  }
41
- }
41
+ }
@@ -3,7 +3,7 @@ import { eq, and, desc, count } from "drizzle-orm";
3
3
  import { userDevices } from "@mindbase/express-auth";
4
4
  import { DeviceService } from "@mindbase/express-auth";
5
5
  import { validate } from "@mindbase/express-common";
6
- import { deviceIdParamsSchema, userIdParamsSchema } from "../zod/Device.schema";
6
+ import { deviceIdParamsSchema, userIdParamsSchema } from "../zod/device.validation";
7
7
  import type { ApiResponse } from "@mindbase/express-common";
8
8
 
9
9
  const router = Router();
@@ -1,7 +1,7 @@
1
1
  import { Router, Request, Response } from "express";
2
2
  import { validate } from "@mindbase/express-common";
3
3
  import * as UserService from "../service/UserService";
4
- import { createUserSchema, listUsersSchema, updateUserSchema, resetPasswordSchema, userIdParamsSchema } from "../zod/User.schema";
4
+ import { createUserSchema, listUsersSchema, updateUserSchema, resetPasswordSchema, userIdParamsSchema } from "../zod/user.validation";
5
5
  import type { ApiResponse } from "@mindbase/express-common";
6
6
 
7
7
  const router = Router();
File without changes
File without changes