@ambushsoftworks/nestjs-auth-graphql 0.1.9 → 0.1.10

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.
@@ -34,23 +34,23 @@ __decorate([
34
34
  __metadata("design:type", String)
35
35
  ], AuthUser.prototype, "id", void 0);
36
36
  __decorate([
37
- (0, graphql_1.Field)(),
37
+ (0, graphql_1.Field)(() => String),
38
38
  __metadata("design:type", String)
39
39
  ], AuthUser.prototype, "email", void 0);
40
40
  __decorate([
41
- (0, graphql_1.Field)({ nullable: true }),
41
+ (0, graphql_1.Field)(() => String, { nullable: true }),
42
42
  __metadata("design:type", Object)
43
43
  ], AuthUser.prototype, "name", void 0);
44
44
  __decorate([
45
- (0, graphql_1.Field)({ nullable: true }),
45
+ (0, graphql_1.Field)(() => String, { nullable: true }),
46
46
  __metadata("design:type", Object)
47
47
  ], AuthUser.prototype, "phoneNumber", void 0);
48
48
  __decorate([
49
- (0, graphql_1.Field)(),
49
+ (0, graphql_1.Field)(() => Boolean),
50
50
  __metadata("design:type", Boolean)
51
51
  ], AuthUser.prototype, "emailVerified", void 0);
52
52
  __decorate([
53
- (0, graphql_1.Field)(),
53
+ (0, graphql_1.Field)(() => Boolean),
54
54
  __metadata("design:type", Boolean)
55
55
  ], AuthUser.prototype, "phoneVerified", void 0);
56
56
  __decorate([
@@ -58,7 +58,7 @@ __decorate([
58
58
  __metadata("design:type", String)
59
59
  ], AuthUser.prototype, "provider", void 0);
60
60
  __decorate([
61
- (0, graphql_1.Field)({ nullable: true }),
61
+ (0, graphql_1.Field)(() => String, { nullable: true }),
62
62
  __metadata("design:type", Object)
63
63
  ], AuthUser.prototype, "providerId", void 0);
64
64
  __decorate([
@@ -66,19 +66,19 @@ __decorate([
66
66
  __metadata("design:type", String)
67
67
  ], AuthUser.prototype, "status", void 0);
68
68
  __decorate([
69
- (0, graphql_1.Field)({ nullable: true }),
69
+ (0, graphql_1.Field)(() => Date, { nullable: true }),
70
70
  __metadata("design:type", Object)
71
71
  ], AuthUser.prototype, "lastLoginAt", void 0);
72
72
  __decorate([
73
- (0, graphql_1.Field)(),
73
+ (0, graphql_1.Field)(() => Date),
74
74
  __metadata("design:type", Date)
75
75
  ], AuthUser.prototype, "createdAt", void 0);
76
76
  __decorate([
77
- (0, graphql_1.Field)(),
77
+ (0, graphql_1.Field)(() => Date),
78
78
  __metadata("design:type", Date)
79
79
  ], AuthUser.prototype, "updatedAt", void 0);
80
80
  __decorate([
81
- (0, graphql_1.Field)({ nullable: true }),
81
+ (0, graphql_1.Field)(() => Date, { nullable: true }),
82
82
  __metadata("design:type", Object)
83
83
  ], AuthUser.prototype, "deletedAt", void 0);
84
84
  exports.AuthUser = AuthUser = AuthUser_1 = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"auth-user.entity.js","sourceRoot":"","sources":["../../src/entities/auth-user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA0E;AAC1E,2EAAwF;AAExF,IAAA,0BAAgB,EAAC,gCAAU,EAAE;IAC3B,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,qBAAqB;CACnC,CAAC,CAAC;AAEH,IAAA,0BAAgB,EAAC,kCAAY,EAAE;IAC7B,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,8BAA8B;CAC5C,CAAC,CAAC;AAiBI,IAAM,QAAQ,gBAAd,MAAM,QAAQ;IAkDnB,MAAM,CAAC,aAAa,CAAC,IAAe;QAClC,MAAM,QAAQ,GAAG,IAAI,UAAQ,EAAE,CAAC;QAChC,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;QAC9B,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF,CAAA;AAvDY,4BAAQ;AAQnB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,YAAE,CAAC;;oCACL;AAGX;IADC,IAAA,eAAK,GAAE;;uCACM;AAGd;IADC,IAAA,eAAK,EAAC,EAAE,QAAQ,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package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ambushsoftworks/nestjs-auth-graphql",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Production-grade authentication package for NestJS with GraphQL, supporting JWT, OAuth, email/SMS verification, and biometric auth",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",