grm-shared-library 1.1.82 → 1.1.83
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/cjs/modules/auth/dtos/login-response.dto.js +5 -5
- package/dist/cjs/modules/auth/dtos/login-response.dto.js.map +1 -1
- package/dist/cjs/modules/auth/dtos/register-response.dto.js +7 -0
- package/dist/cjs/modules/auth/dtos/register-response.dto.js.map +1 -1
- package/dist/esm/modules/auth/dtos/login-response.dto.js +3 -3
- package/dist/esm/modules/auth/dtos/login-response.dto.js.map +1 -1
- package/dist/esm/modules/auth/dtos/register-response.dto.js +7 -0
- package/dist/esm/modules/auth/dtos/register-response.dto.js.map +1 -1
- package/dist/types/modules/auth/dtos/login-response.dto.d.ts +1 -1
- package/dist/types/modules/auth/dtos/register-response.dto.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/modules/auth/interfaces/login-response.js +0 -3
- package/dist/cjs/modules/auth/interfaces/login-response.js.map +0 -1
- package/dist/cjs/modules/auth/interfaces/register-response.js +0 -3
- package/dist/cjs/modules/auth/interfaces/register-response.js.map +0 -1
- package/dist/esm/modules/auth/interfaces/login-response.js +0 -2
- package/dist/esm/modules/auth/interfaces/login-response.js.map +0 -1
- package/dist/esm/modules/auth/interfaces/register-response.js +0 -2
- package/dist/esm/modules/auth/interfaces/register-response.js.map +0 -1
- package/dist/types/modules/auth/interfaces/login-response.d.ts +0 -5
- package/dist/types/modules/auth/interfaces/register-response.d.ts +0 -4
|
@@ -9,18 +9,18 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.LoginResponseDto = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
class
|
|
14
|
+
class LoginResponseDto {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.LoginResponseDto = LoginResponseDto;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, swagger_1.ApiProperty)({
|
|
19
19
|
description: 'Authentication token for mobile user login',
|
|
20
20
|
example: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c'
|
|
21
21
|
}),
|
|
22
22
|
__metadata("design:type", String)
|
|
23
|
-
],
|
|
23
|
+
], LoginResponseDto.prototype, "accessToken", void 0);
|
|
24
24
|
__decorate([
|
|
25
25
|
(0, swagger_1.ApiProperty)({
|
|
26
26
|
description: 'User information',
|
|
@@ -35,5 +35,5 @@ __decorate([
|
|
|
35
35
|
}
|
|
36
36
|
}),
|
|
37
37
|
__metadata("design:type", Object)
|
|
38
|
-
],
|
|
38
|
+
], LoginResponseDto.prototype, "user", void 0);
|
|
39
39
|
//# sourceMappingURL=login-response.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/login-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAG9C,MAAa,
|
|
1
|
+
{"version":3,"file":"login-response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/login-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAG9C,MAAa,gBAAgB;CAoB5B;AApBD,4CAoBC;AAfG;IAJC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,4CAA4C;QACzD,OAAO,EAAE,6JAA6J;KACzK,CAAC;;qDACmB;AAcrB;IAZC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE;YACL,EAAE,EAAE,GAAG;YACP,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,CAAC,aAAa,CAAC;YACtB,MAAM,EAAE,QAAQ;YAChB,kBAAkB,EAAE,IAAI;SAC3B;KACJ,CAAC;;8CACU"}
|
|
@@ -21,6 +21,13 @@ __decorate([
|
|
|
21
21
|
}),
|
|
22
22
|
__metadata("design:type", String)
|
|
23
23
|
], RegisterResponse.prototype, "message", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, swagger_1.ApiProperty)({
|
|
26
|
+
description: 'Action to be taken for OTP verification',
|
|
27
|
+
example: 'REGISTER'
|
|
28
|
+
}),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], RegisterResponse.prototype, "action", void 0);
|
|
24
31
|
__decorate([
|
|
25
32
|
(0, swagger_1.ApiProperty)({
|
|
26
33
|
description: 'Verification token for OTP verification',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/register-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAE9C,MAAa,gBAAgB;
|
|
1
|
+
{"version":3,"file":"register-response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/register-response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAE9C,MAAa,gBAAgB;CA8B5B;AA9BD,4CA8BC;AAzBG;IAJC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,8BAA8B;QAC3C,OAAO,EAAE,yDAAyD;KACrE,CAAC;;iDACe;AAMjB;IAJC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,yCAAyC;QACtD,OAAO,EAAE,UAAU;KACtB,CAAC;;gDACc;AAMhB;IAJC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,yCAAyC;QACtD,OAAO,EAAE,oBAAoB;KAChC,CAAC;;2DACyB;AAM3B;IAJC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,6BAA6B;QAC1C,OAAO,EAAE,GAAG;KACf,CAAC;;gDACc;AAMhB;IAJC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,wCAAwC;QACrD,OAAO,EAAE,IAAI;KAChB,CAAC;;8DAC6B"}
|
|
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
10
|
import { ApiProperty } from '@nestjs/swagger';
|
|
11
|
-
export class
|
|
11
|
+
export class LoginResponseDto {
|
|
12
12
|
}
|
|
13
13
|
__decorate([
|
|
14
14
|
ApiProperty({
|
|
@@ -16,7 +16,7 @@ __decorate([
|
|
|
16
16
|
example: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c'
|
|
17
17
|
}),
|
|
18
18
|
__metadata("design:type", String)
|
|
19
|
-
],
|
|
19
|
+
], LoginResponseDto.prototype, "accessToken", void 0);
|
|
20
20
|
__decorate([
|
|
21
21
|
ApiProperty({
|
|
22
22
|
description: 'User information',
|
|
@@ -31,5 +31,5 @@ __decorate([
|
|
|
31
31
|
}
|
|
32
32
|
}),
|
|
33
33
|
__metadata("design:type", Object)
|
|
34
|
-
],
|
|
34
|
+
], LoginResponseDto.prototype, "user", void 0);
|
|
35
35
|
//# sourceMappingURL=login-response.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/login-response.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"login-response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/login-response.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,MAAM,OAAO,gBAAgB;CAoB5B;AAfG;IAJC,WAAW,CAAC;QACT,WAAW,EAAE,4CAA4C;QACzD,OAAO,EAAE,6JAA6J;KACzK,CAAC;;qDACmB;AAcrB;IAZC,WAAW,CAAC;QACT,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE;YACL,EAAE,EAAE,GAAG;YACP,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,CAAC,aAAa,CAAC;YACtB,MAAM,EAAE,QAAQ;YAChB,kBAAkB,EAAE,IAAI;SAC3B;KACJ,CAAC;;8CACU"}
|
|
@@ -17,6 +17,13 @@ __decorate([
|
|
|
17
17
|
}),
|
|
18
18
|
__metadata("design:type", String)
|
|
19
19
|
], RegisterResponse.prototype, "message", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
ApiProperty({
|
|
22
|
+
description: 'Action to be taken for OTP verification',
|
|
23
|
+
example: 'REGISTER'
|
|
24
|
+
}),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], RegisterResponse.prototype, "action", void 0);
|
|
20
27
|
__decorate([
|
|
21
28
|
ApiProperty({
|
|
22
29
|
description: 'Verification token for OTP verification',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/register-response.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,OAAO,gBAAgB;
|
|
1
|
+
{"version":3,"file":"register-response.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/register-response.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,OAAO,gBAAgB;CA8B5B;AAzBG;IAJC,WAAW,CAAC;QACT,WAAW,EAAE,8BAA8B;QAC3C,OAAO,EAAE,yDAAyD;KACrE,CAAC;;iDACe;AAMjB;IAJC,WAAW,CAAC;QACT,WAAW,EAAE,yCAAyC;QACtD,OAAO,EAAE,UAAU;KACtB,CAAC;;gDACc;AAMhB;IAJC,WAAW,CAAC;QACT,WAAW,EAAE,yCAAyC;QACtD,OAAO,EAAE,oBAAoB;KAChC,CAAC;;2DACyB;AAM3B;IAJC,WAAW,CAAC;QACT,WAAW,EAAE,6BAA6B;QAC1C,OAAO,EAAE,GAAG;KACf,CAAC;;gDACc;AAMhB;IAJC,WAAW,CAAC;QACT,WAAW,EAAE,wCAAwC;QACrD,OAAO,EAAE,IAAI;KAChB,CAAC;;8DAC6B"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"login-response.js","sourceRoot":"","sources":["../../../../../src/modules/auth/interfaces/login-response.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"register-response.js","sourceRoot":"","sources":["../../../../../src/modules/auth/interfaces/register-response.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"login-response.js","sourceRoot":"","sources":["../../../../../src/modules/auth/interfaces/login-response.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"register-response.js","sourceRoot":"","sources":["../../../../../src/modules/auth/interfaces/register-response.ts"],"names":[],"mappings":""}
|