grm-shared-library 1.0.225 → 1.0.226

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.
@@ -6,3 +6,5 @@ export * from './dtos/forgot-password.dto';
6
6
  export * from './dtos/verify-otp.dto';
7
7
  export * from './dtos/resend-otp.dto';
8
8
  export * from './dtos/refresh-token.dto';
9
+ export * from './interfaces/register-response';
10
+ export * from './interfaces/login-response';
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ // dtos
17
18
  __exportStar(require("./dtos/register.dto"), exports);
18
19
  __exportStar(require("./dtos/login.dto"), exports);
19
20
  __exportStar(require("./dtos/reset-password.dto"), exports);
@@ -22,3 +23,6 @@ __exportStar(require("./dtos/forgot-password.dto"), exports);
22
23
  __exportStar(require("./dtos/verify-otp.dto"), exports);
23
24
  __exportStar(require("./dtos/resend-otp.dto"), exports);
24
25
  __exportStar(require("./dtos/refresh-token.dto"), exports);
26
+ // Interfaces
27
+ __exportStar(require("./interfaces/register-response"), exports);
28
+ __exportStar(require("./interfaces/login-response"), exports);
@@ -0,0 +1,5 @@
1
+ import { User } from "../../user";
2
+ export interface LoginResponse {
3
+ accessToken: string;
4
+ user: User;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface RegisterResponse {
2
+ verificationToken: string;
3
+ action: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grm-shared-library",
3
- "version": "1.0.225",
3
+ "version": "1.0.226",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [