@bondsports/types 2.4.32 → 2.4.33

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,4 +1,5 @@
1
1
  export * from './athlete.dto';
2
+ export * from './reset-password.dto';
2
3
  export * from './update-user-profile.dto';
3
4
  export * from './user-settings.dto';
4
5
  export * from './user.dto';
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./athlete.dto"), exports);
18
+ __exportStar(require("./reset-password.dto"), exports);
18
19
  __exportStar(require("./update-user-profile.dto"), exports);
19
20
  __exportStar(require("./user-settings.dto"), exports);
20
21
  __exportStar(require("./user.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/user/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,4DAA0C;AAC1C,sDAAoC;AACpC,6CAA2B;AAC3B,iDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/user/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,uDAAqC;AACrC,4DAA0C;AAC1C,sDAAoC;AACpC,6CAA2B;AAC3B,iDAA+B"}
@@ -0,0 +1,9 @@
1
+ export declare class ByEmailDto {
2
+ email: string;
3
+ }
4
+ export declare class ResetPasswordDto {
5
+ password?: string;
6
+ }
7
+ export declare class ResetPasswordResponseDto {
8
+ password: string;
9
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResetPasswordResponseDto = exports.ResetPasswordDto = exports.ByEmailDto = void 0;
4
+ class ByEmailDto {
5
+ }
6
+ exports.ByEmailDto = ByEmailDto;
7
+ class ResetPasswordDto {
8
+ }
9
+ exports.ResetPasswordDto = ResetPasswordDto;
10
+ class ResetPasswordResponseDto {
11
+ }
12
+ exports.ResetPasswordResponseDto = ResetPasswordResponseDto;
13
+ //# sourceMappingURL=reset-password.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/reset-password.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC"}
@@ -1,4 +1,5 @@
1
1
  export * from './athlete.interfaces';
2
2
  export * from './family.interfaces';
3
+ export * from './reset-password.consts';
3
4
  export * from './user.consts';
4
5
  export * from './user.interfaces';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./athlete.interfaces"), exports);
18
18
  __exportStar(require("./family.interfaces"), exports);
19
+ __exportStar(require("./reset-password.consts"), exports);
19
20
  __exportStar(require("./user.consts"), exports);
20
21
  __exportStar(require("./user.interfaces"), exports);
21
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/user/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,sDAAoC;AACpC,gDAA8B;AAC9B,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/user/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,sDAAoC;AACpC,0DAAwC;AACxC,gDAA8B;AAC9B,oDAAkC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Password validation regex pattern.
3
+ * Requires at least 8 characters, one lowercase letter, one uppercase letter, and one number.
4
+ */
5
+ export declare const PASSWORD_REGEX: RegExp;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PASSWORD_REGEX = void 0;
4
+ /**
5
+ * Password validation regex pattern.
6
+ * Requires at least 8 characters, one lowercase letter, one uppercase letter, and one number.
7
+ */
8
+ exports.PASSWORD_REGEX = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).{8,}$/;
9
+ //# sourceMappingURL=reset-password.consts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password.consts.js","sourceRoot":"","sources":["../../../../src/types/user/types/reset-password.consts.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,cAAc,GAAW,uCAAuC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.4.32",
3
+ "version": "2.4.33",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {