@nomalism-com/types 0.44.2 → 0.44.4

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/dist/index.cjs CHANGED
@@ -2520,7 +2520,7 @@ __export(route_schema_exports30, {
2520
2520
  });
2521
2521
  import joi31 from "joi";
2522
2522
  var forgotBodyKeys = {
2523
- account: joi31.string().email({ tlds: { allow: false } }).required()
2523
+ user_id: joi31.string().uuid().required()
2524
2524
  };
2525
2525
  var forgotBody = joi31.object().keys(forgotBodyKeys).messages(messages);
2526
2526
  var resetBodyKeys = {
package/dist/index.js CHANGED
@@ -2520,7 +2520,7 @@ __export(route_schema_exports30, {
2520
2520
  });
2521
2521
  import joi31 from "joi";
2522
2522
  var forgotBodyKeys = {
2523
- account: joi31.string().email({ tlds: { allow: false } }).required()
2523
+ user_id: joi31.string().uuid().required()
2524
2524
  };
2525
2525
  var forgotBody = joi31.object().keys(forgotBodyKeys).messages(messages);
2526
2526
  var resetBodyKeys = {
@@ -1,7 +1,7 @@
1
1
  import * as IShared from '../../../shared/interface';
2
2
  export declare const Route = "password";
3
3
  export interface IForgotPassword {
4
- account: string;
4
+ user_id: string;
5
5
  }
6
6
  export interface IResetPassword {
7
7
  token: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/types",
3
3
  "description": "A nomalism package with all necessary types and validations for developing APIs",
4
- "version": "0.44.2",
4
+ "version": "0.44.4",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",