vr-commons 1.0.23 → 1.0.24

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.
@@ -1,2 +1,3 @@
1
1
  export { validate } from "./validate.validations";
2
2
  export { userLoginSchema } from "./auth.validations";
3
+ export { createUserSchema, getUserByIdSchema, getAdminProfileSchema, updateUserProfileSchema, getAllUsersSchema, } from "./profiles.validations";
@@ -1,7 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.userLoginSchema = exports.validate = void 0;
3
+ exports.getAllUsersSchema = exports.updateUserProfileSchema = exports.getAdminProfileSchema = exports.getUserByIdSchema = exports.createUserSchema = exports.userLoginSchema = exports.validate = void 0;
4
4
  var validate_validations_1 = require("./validate.validations");
5
5
  Object.defineProperty(exports, "validate", { enumerable: true, get: function () { return validate_validations_1.validate; } });
6
6
  var auth_validations_1 = require("./auth.validations");
7
7
  Object.defineProperty(exports, "userLoginSchema", { enumerable: true, get: function () { return auth_validations_1.userLoginSchema; } });
8
+ var profiles_validations_1 = require("./profiles.validations");
9
+ Object.defineProperty(exports, "createUserSchema", { enumerable: true, get: function () { return profiles_validations_1.createUserSchema; } });
10
+ Object.defineProperty(exports, "getUserByIdSchema", { enumerable: true, get: function () { return profiles_validations_1.getUserByIdSchema; } });
11
+ Object.defineProperty(exports, "getAdminProfileSchema", { enumerable: true, get: function () { return profiles_validations_1.getAdminProfileSchema; } });
12
+ Object.defineProperty(exports, "updateUserProfileSchema", { enumerable: true, get: function () { return profiles_validations_1.updateUserProfileSchema; } });
13
+ Object.defineProperty(exports, "getAllUsersSchema", { enumerable: true, get: function () { return profiles_validations_1.getAllUsersSchema; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vr-commons",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "Shared functions package",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  }
16
16
  },
17
17
  "scripts": {
18
- "clean": "rimraf dist",
18
+ "clean": "rimraf dist && rimraf tsconfig.tsbuildinfo",
19
19
  "build": "tsc",
20
20
  "pub:prepare": "npm run build && git add . && git commit -m \"Release preparation\" || true",
21
21
  "pub": "npm run pub:prepare && npm version patch && npm publish && git push --follow-tags"