easywork-common-lib 1.0.3 → 1.0.5

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.
Files changed (47) hide show
  1. package/dist/common/database/base.entity.js +6 -39
  2. package/dist/common/database/base.entity.js.map +1 -1
  3. package/dist/common/database/index.js +1 -18
  4. package/dist/common/database/index.js.map +1 -1
  5. package/dist/entities/group.entity.js +1 -9
  6. package/dist/entities/group.entity.js.map +1 -1
  7. package/dist/entities/index.js +1 -24
  8. package/dist/entities/index.js.map +1 -1
  9. package/dist/entities/otp-log.entity.js +4 -27
  10. package/dist/entities/otp-log.entity.js.map +1 -1
  11. package/dist/entities/permission.entity.js +3 -21
  12. package/dist/entities/permission.entity.js.map +1 -1
  13. package/dist/entities/profile.entity.js +5 -33
  14. package/dist/entities/profile.entity.js.map +1 -1
  15. package/dist/entities/protocol.entity.js +4 -24
  16. package/dist/entities/protocol.entity.js.map +1 -1
  17. package/dist/entities/refresh-token.entity.js +3 -18
  18. package/dist/entities/refresh-token.entity.js.map +1 -1
  19. package/dist/entities/role.entity.js +2 -15
  20. package/dist/entities/role.entity.js.map +1 -1
  21. package/dist/entities/user.entity.js +12 -75
  22. package/dist/entities/user.entity.js.map +1 -1
  23. package/dist/eslint.config.d.ts +1 -1
  24. package/dist/eslint.config.js +1 -47
  25. package/dist/eslint.config.js.map +1 -1
  26. package/dist/index.js +2 -18
  27. package/dist/index.js.LICENSE.txt +19 -0
  28. package/dist/index.js.map +1 -1
  29. package/package.json +41 -29
  30. package/package.old.json +32 -0
  31. package/tsconfig.json +4 -3
  32. package/webpack-hmr.js +26 -0
  33. package/webpack.config.js +27 -0
  34. /package/{common → src/common}/@types/typings/globals.d.ts +0 -0
  35. /package/{common → src/common}/database/base.entity.ts +0 -0
  36. /package/{common → src/common}/database/index.ts +0 -0
  37. /package/{entities → src/entities}/group.entity.ts +0 -0
  38. /package/{entities → src/entities}/index.ts +0 -0
  39. /package/{entities → src/entities}/otp-log.entity.ts +0 -0
  40. /package/{entities → src/entities}/permission.entity.ts +0 -0
  41. /package/{entities → src/entities}/profile.entity.ts +0 -0
  42. /package/{entities → src/entities}/protocol.entity.ts +0 -0
  43. /package/{entities → src/entities}/refresh-token.entity.ts +0 -0
  44. /package/{entities → src/entities}/role.entity.ts +0 -0
  45. /package/{entities → src/entities}/user.entity.ts +0 -0
  46. /package/{eslint.config.js → src/eslint.config.js} +0 -0
  47. /package/{index.ts → src/index.ts} +0 -0
@@ -12,45 +12,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.BaseEntity = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  let BaseEntity = class BaseEntity extends typeorm_1.BaseEntity {
15
- constructor() {
16
- super(...arguments);
17
- Object.defineProperty(this, "id", {
18
- enumerable: true,
19
- configurable: true,
20
- writable: true,
21
- value: void 0
22
- });
23
- Object.defineProperty(this, "isActive", {
24
- enumerable: true,
25
- configurable: true,
26
- writable: true,
27
- value: void 0
28
- });
29
- Object.defineProperty(this, "isDeleted", {
30
- enumerable: true,
31
- configurable: true,
32
- writable: true,
33
- value: void 0
34
- });
35
- Object.defineProperty(this, "createdAt", {
36
- enumerable: true,
37
- configurable: true,
38
- writable: true,
39
- value: void 0
40
- });
41
- Object.defineProperty(this, "updatedAt", {
42
- enumerable: true,
43
- configurable: true,
44
- writable: true,
45
- value: void 0
46
- });
47
- Object.defineProperty(this, "deletedAt", {
48
- enumerable: true,
49
- configurable: true,
50
- writable: true,
51
- value: void 0
52
- });
53
- }
15
+ id;
16
+ isActive;
17
+ isDeleted;
18
+ createdAt;
19
+ updatedAt;
20
+ deletedAt;
54
21
  };
55
22
  exports.BaseEntity = BaseEntity;
56
23
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"base.entity.js","sourceRoot":"","sources":["../../../common/database/base.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAQiB;AAGV,IAAe,UAAU,GAAzB,MAAe,UAAW,SAAQ,oBA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IAAI;6CAAC;qBAjBG,UAAU;IAD/B,IAAA,gBAAM,GAAE;GACa,UAAU,CAkB/B"}
@@ -1,18 +1 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./base.entity"), exports);
18
- //# sourceMappingURL=index.js.map
1
+ 'use strict';var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){if(k2===undefined)k2=k;var desc=Object.getOwnPropertyDescriptor(m,k);if(!desc||('get'in desc?!m.__esModule:desc.writable||desc.configurable)){desc={enumerable:true,get:function(){return m[k];}};}Object.defineProperty(o,k2,desc);}:function(o,m,k,k2){if(k2===undefined)k2=k;o[k2]=m[k];});var __exportStar=this&&this.__exportStar||function(m,exports){for(var p in m)if(p!=='default'&&!Object.prototype.hasOwnProperty.call(exports,p))__createBinding(exports,m,p);};Object.defineProperty(exports,'__esModule',{value:true});__exportStar(require('./base.entity'),exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../common/database/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/database/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
@@ -14,15 +14,7 @@ const database_1 = require("@common/database");
14
14
  const class_validator_1 = require("class-validator");
15
15
  const typeorm_1 = require("typeorm");
16
16
  let Group = class Group extends database_1.BaseEntity {
17
- constructor() {
18
- super(...arguments);
19
- Object.defineProperty(this, "name", {
20
- enumerable: true,
21
- configurable: true,
22
- writable: true,
23
- value: void 0
24
- });
25
- }
17
+ name;
26
18
  };
27
19
  exports.Group = Group;
28
20
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"group.entity.js","sourceRoot":"","sources":["../../entities/group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA8C;AAC9C,qDAA4C;AAC5C,qCAAyC;AAGlC,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,qBAAU;IAA9B;;QAGL;;;;;WAAa;IACf,CAAC;CAAA,CAAA;AAJY,sBAAK;AAGhB;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;mCACZ;gBAHF,KAAK;IADjB,IAAA,gBAAM,GAAE;GACI,KAAK,CAIjB"}
1
+ {"version":3,"file":"group.entity.js","sourceRoot":"","sources":["../../src/entities/group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA8C;AAC9C,qDAA4C;AAC5C,qCAAyC;AAGlC,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,qBAAU;IAGnC,IAAI,CAAS;CACd,CAAA;AAJY,sBAAK;AAGhB;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;mCACZ;gBAHF,KAAK;IADjB,IAAA,gBAAM,GAAE;GACI,KAAK,CAIjB"}
@@ -1,24 +1 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./user.entity"), exports);
18
- __exportStar(require("./protocol.entity"), exports);
19
- __exportStar(require("./otp-log.entity"), exports);
20
- __exportStar(require("./refresh-token.entity"), exports);
21
- __exportStar(require("./profile.entity"), exports);
22
- __exportStar(require("./role.entity"), exports);
23
- __exportStar(require("./permission.entity"), exports);
24
- //# sourceMappingURL=index.js.map
1
+ 'use strict';var __createBinding=this&&this.__createBinding||(Object.create?function(o,m,k,k2){if(k2===undefined)k2=k;var desc=Object.getOwnPropertyDescriptor(m,k);if(!desc||('get'in desc?!m.__esModule:desc.writable||desc.configurable)){desc={enumerable:true,get:function(){return m[k];}};}Object.defineProperty(o,k2,desc);}:function(o,m,k,k2){if(k2===undefined)k2=k;o[k2]=m[k];});var __exportStar=this&&this.__exportStar||function(m,exports){for(var p in m)if(p!=='default'&&!Object.prototype.hasOwnProperty.call(exports,p))__createBinding(exports,m,p);};Object.defineProperty(exports,'__esModule',{value:true});__exportStar(require('./user.entity'),exports);__exportStar(require('./protocol.entity'),exports);__exportStar(require('./otp-log.entity'),exports);__exportStar(require('./refresh-token.entity'),exports);__exportStar(require('./profile.entity'),exports);__exportStar(require('./role.entity'),exports);__exportStar(require('./permission.entity'),exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,oDAAkC;AAClC,mDAAiC;AACjC,yDAAuC;AACvC,mDAAiC;AACjC,gDAA8B;AAC9B,sDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,oDAAkC;AAClC,mDAAiC;AACjC,yDAAuC;AACvC,mDAAiC;AACjC,gDAA8B;AAC9B,sDAAoC"}
@@ -14,33 +14,10 @@ const typeorm_1 = require("typeorm");
14
14
  const database_1 = require("@common/database");
15
15
  const user_entity_1 = require("./user.entity");
16
16
  let OtpLog = class OtpLog extends database_1.BaseEntity {
17
- constructor() {
18
- super(...arguments);
19
- Object.defineProperty(this, "expiresIn", {
20
- enumerable: true,
21
- configurable: true,
22
- writable: true,
23
- value: void 0
24
- });
25
- Object.defineProperty(this, "otpCode", {
26
- enumerable: true,
27
- configurable: true,
28
- writable: true,
29
- value: void 0
30
- });
31
- Object.defineProperty(this, "user", {
32
- enumerable: true,
33
- configurable: true,
34
- writable: true,
35
- value: void 0
36
- });
37
- Object.defineProperty(this, "isUsed", {
38
- enumerable: true,
39
- configurable: true,
40
- writable: true,
41
- value: void 0
42
- });
43
- }
17
+ expiresIn;
18
+ otpCode;
19
+ user;
20
+ isUsed;
44
21
  };
45
22
  exports.OtpLog = OtpLog;
46
23
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"otp-log.entity.js","sourceRoot":"","sources":["../../entities/otp-log.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuE;AACvE,+CAA8C;AAC9C,+CAAqC;AAI9B,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,qBAAU;IAA/B;;QAEL;;;;;WAAiB;QAGjB;;;;;WAAiB;QAIjB;;;;;WAAY;QAGZ;;;;;WAAiB;IACnB,CAAC;CAAA,CAAA;AAbY,wBAAM;AAEjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAClB,IAAI;yCAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAA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AA,eAAK,EAAC,CAAC,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GACxB,MAAM,CAalB"}
@@ -14,27 +14,9 @@ const database_1 = require("@common/database");
14
14
  const typeorm_1 = require("typeorm");
15
15
  const role_entity_1 = require("./role.entity");
16
16
  let Permission = class Permission extends database_1.BaseEntity {
17
- constructor() {
18
- super(...arguments);
19
- Object.defineProperty(this, "resource", {
20
- enumerable: true,
21
- configurable: true,
22
- writable: true,
23
- value: void 0
24
- });
25
- Object.defineProperty(this, "action", {
26
- enumerable: true,
27
- configurable: true,
28
- writable: true,
29
- value: void 0
30
- });
31
- Object.defineProperty(this, "roles", {
32
- enumerable: true,
33
- configurable: true,
34
- writable: true,
35
- value: void 0
36
- });
37
- }
17
+ resource;
18
+ action;
19
+ roles;
38
20
  };
39
21
  exports.Permission = Permission;
40
22
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"permission.entity.js","sourceRoot":"","sources":["../../entities/permission.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA8C;AAC9C,qCAAuE;AACvE,+CAAqC;AAI9B,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,qBAAU;IAAnC;;QAEL;;;;;WAAiB;QAGjB;;;;;WAAe;QAOf;;;;;WAAe;IACjB,CAAC;CAAA,CAAA;AAbY,gCAAU;AAErB;IADC,IAAA,gBAAM,GAAE;;4CACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;0CACM;AAOf;IALC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,mBAAS,GAAE;;yCACG;qBAZJ,UAAU;IAFtB,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GACnC,UAAU,CAatB"}
1
+ {"version":3,"file":"permission.entity.js","sourceRoot":"","sources":["../../src/entities/permission.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA8C;AAC9C,qCAAuE;AACvE,+CAAqC;AAI9B,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,qBAAU;IAExC,QAAQ,CAAS;IAGjB,MAAM,CAAS;IAOf,KAAK,CAAU;CAChB,CAAA;AAbY,gCAAU;AAErB;IADC,IAAA,gBAAM,GAAE;;4CACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;0CACM;AAOf;IALC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,mBAAS,GAAE;;yCACG;qBAZJ,UAAU;IAFtB,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GACnC,UAAU,CAatB"}
@@ -14,39 +14,11 @@ const database_1 = require("@common/database");
14
14
  const typeorm_1 = require("typeorm");
15
15
  const user_entity_1 = require("./user.entity");
16
16
  let Profile = class Profile extends database_1.BaseEntity {
17
- constructor() {
18
- super(...arguments);
19
- Object.defineProperty(this, "firstName", {
20
- enumerable: true,
21
- configurable: true,
22
- writable: true,
23
- value: void 0
24
- });
25
- Object.defineProperty(this, "lastName", {
26
- enumerable: true,
27
- configurable: true,
28
- writable: true,
29
- value: void 0
30
- });
31
- Object.defineProperty(this, "idcard", {
32
- enumerable: true,
33
- configurable: true,
34
- writable: true,
35
- value: void 0
36
- });
37
- Object.defineProperty(this, "birthday", {
38
- enumerable: true,
39
- configurable: true,
40
- writable: true,
41
- value: void 0
42
- });
43
- Object.defineProperty(this, "user", {
44
- enumerable: true,
45
- configurable: true,
46
- writable: true,
47
- value: void 0
48
- });
49
- }
17
+ firstName;
18
+ lastName;
19
+ idcard;
20
+ birthday;
21
+ user;
50
22
  };
51
23
  exports.Profile = Profile;
52
24
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"profile.entity.js","sourceRoot":"","sources":["../../entities/profile.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA8C;AAC9C,qCAAmD;AACnD,+CAAqC;AAG9B,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,qBAAU;IAAhC;;QAEL;;;;;WAAkB;QAGlB;;;;;WAAiB;QAGjB;;;;;WAAe;QAGf;;;;;WAAe;QAMf;;;;;WAAW;IACb,CAAC;CAAA,CAAA;AAlBY,0BAAO;AAElB;IADC,IAAA,gBAAM,GAAE;;0CACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;yCACQ;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;uCACV;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,IAAI;yCAAC;AAMf;IAJC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE;QAC5C,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACI,kBAAI;qCAAC;kBAjBA,OAAO;IADnB,IAAA,gBAAM,EAAC,cAAc,CAAC;GACV,OAAO,CAkBnB"}
1
+ {"version":3,"file":"profile.entity.js","sourceRoot":"","sources":["../../src/entities/profile.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA8C;AAC9C,qCAAmD;AACnD,+CAAqC;AAG9B,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,qBAAU;IAErC,SAAS,CAAS;IAGlB,QAAQ,CAAS;IAGjB,MAAM,CAAS;IAGf,QAAQ,CAAO;IAMf,IAAI,CAAO;CACZ,CAAA;AAlBY,0BAAO;AAElB;IADC,IAAA,gBAAM,GAAE;;0CACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;yCACQ;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;uCACV;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,IAAI;yCAAC;AAMf;IAJC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE;QAC5C,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACI,kBAAI;qCAAC;kBAjBA,OAAO;IADnB,IAAA,gBAAM,EAAC,cAAc,CAAC;GACV,OAAO,CAkBnB"}
@@ -13,32 +13,12 @@ exports.Protocol = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
14
  const database_1 = require("@common/database");
15
15
  let Protocol = class Protocol extends database_1.BaseEntity {
16
+ loginAttemptInterval;
17
+ loginIntervalUnit;
18
+ loginMaxRetry;
19
+ otpExpiryInMinutes;
16
20
  constructor(partial) {
17
21
  super();
18
- Object.defineProperty(this, "loginAttemptInterval", {
19
- enumerable: true,
20
- configurable: true,
21
- writable: true,
22
- value: void 0
23
- });
24
- Object.defineProperty(this, "loginIntervalUnit", {
25
- enumerable: true,
26
- configurable: true,
27
- writable: true,
28
- value: void 0
29
- });
30
- Object.defineProperty(this, "loginMaxRetry", {
31
- enumerable: true,
32
- configurable: true,
33
- writable: true,
34
- value: void 0
35
- });
36
- Object.defineProperty(this, "otpExpiryInMinutes", {
37
- enumerable: true,
38
- configurable: true,
39
- writable: true,
40
- value: void 0
41
- });
42
22
  Object.assign(this, partial);
43
23
  }
44
24
  };
@@ -1 +1 @@
1
- {"version":3,"file":"protocol.entity.js","sourceRoot":"","sources":["../../entities/protocol.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,+CAA8C;AAKvC,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,qBAAU;IAatC,YAAY,OAA2B;QACrC,KAAK,EAAE,CAAC;QAZV;;;;;WAA8B;QAG9B;;;;;WAA2B;QAG3B;;;;;WAAuB;QAGvB;;;;;WAA4B;QAI1B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;CACF,CAAA;AAjBY,4BAAQ;AAEnB;IADC,IAAA,gBAAM,GAAE;;sDACqB;AAG9B;IADC,IAAA,gBAAM,GAAE;;mDACkB;AAG3B;IADC,IAAA,gBAAM,GAAE;;+CACc;AAGvB;IADC,IAAA,gBAAM,GAAE;;oDACmB;mBAXjB,QAAQ;IADpB,IAAA,gBAAM,GAAE;;GACI,QAAQ,CAiBpB"}
1
+ {"version":3,"file":"protocol.entity.js","sourceRoot":"","sources":["../../src/entities/protocol.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyC;AACzC,+CAA8C;AAKvC,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,qBAAU;IAEtC,oBAAoB,CAAU;IAG9B,iBAAiB,CAAU;IAG3B,aAAa,CAAU;IAGvB,kBAAkB,CAAU;IAE5B,YAAY,OAA2B;QACrC,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;CACF,CAAA;AAjBY,4BAAQ;AAEnB;IADC,IAAA,gBAAM,GAAE;;sDACqB;AAG9B;IADC,IAAA,gBAAM,GAAE;;mDACkB;AAG3B;IADC,IAAA,gBAAM,GAAE;;+CACc;AAGvB;IADC,IAAA,gBAAM,GAAE;;oDACmB;mBAXjB,QAAQ;IADpB,IAAA,gBAAM,GAAE;;GACI,QAAQ,CAiBpB"}
@@ -14,26 +14,11 @@ const typeorm_1 = require("typeorm");
14
14
  const database_1 = require("@common/database");
15
15
  const user_entity_1 = require("./user.entity");
16
16
  let RefreshToken = class RefreshToken extends database_1.BaseEntity {
17
+ expiresIn;
18
+ user;
19
+ isRevoked;
17
20
  constructor(partial) {
18
21
  super();
19
- Object.defineProperty(this, "expiresIn", {
20
- enumerable: true,
21
- configurable: true,
22
- writable: true,
23
- value: void 0
24
- });
25
- Object.defineProperty(this, "user", {
26
- enumerable: true,
27
- configurable: true,
28
- writable: true,
29
- value: void 0
30
- });
31
- Object.defineProperty(this, "isRevoked", {
32
- enumerable: true,
33
- configurable: true,
34
- writable: true,
35
- value: void 0
36
- });
37
22
  Object.assign(this, partial);
38
23
  }
39
24
  };
@@ -1 +1 @@
1
- {"version":3,"file":"refresh-token.entity.js","sourceRoot":"","sources":["../../entities/refresh-token.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,+CAA8C;AAC9C,+CAAqC;AAG9B,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,qBAAU;IAc1C,YAAY,OAA+B;QACzC,KAAK,EAAE,CAAC;QAbV;;;;;WAAiB;QAOjB;;;;;WAAY;QAGZ;;;;;WAAoB;QAIlB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;CACF,CAAA;AAlBY,oCAAY;AAEvB;IADC,IAAA,gBAAM,GAAE;8BACG,IAAI;+CAAC;AAOjB;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,KAAK,EAAE,KAAK;QACZ,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACK,kBAAI;0CAAC;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CACP;uBAZT,YAAY;IADxB,IAAA,gBAAM,GAAE;;GACI,YAAY,CAkBxB"}
1
+ {"version":3,"file":"refresh-token.entity.js","sourceRoot":"","sources":["../../src/entities/refresh-token.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AACpD,+CAA8C;AAC9C,+CAAqC;AAG9B,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,qBAAU;IAE1C,SAAS,CAAQ;IAOjB,IAAI,CAAQ;IAGZ,SAAS,CAAW;IAEpB,YAAY,OAA+B;QACzC,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;CACF,CAAA;AAlBY,oCAAY;AAEvB;IADC,IAAA,gBAAM,GAAE;8BACG,IAAI;+CAAC;AAOjB;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACrB,KAAK,EAAE,KAAK;QACZ,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACK,kBAAI;0CAAC;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;+CACP;uBAZT,YAAY;IADxB,IAAA,gBAAM,GAAE;;GACI,YAAY,CAkBxB"}
@@ -14,21 +14,8 @@ const database_1 = require("@common/database");
14
14
  const class_validator_1 = require("class-validator");
15
15
  const typeorm_1 = require("typeorm");
16
16
  let Role = class Role extends database_1.BaseEntity {
17
- constructor() {
18
- super(...arguments);
19
- Object.defineProperty(this, "name", {
20
- enumerable: true,
21
- configurable: true,
22
- writable: true,
23
- value: void 0
24
- });
25
- Object.defineProperty(this, "isDefault", {
26
- enumerable: true,
27
- configurable: true,
28
- writable: true,
29
- value: void 0
30
- });
31
- }
17
+ name;
18
+ isDefault;
32
19
  };
33
20
  exports.Role = Role;
34
21
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"role.entity.js","sourceRoot":"","sources":["../../entities/role.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA8C;AAC9C,qDAA4C;AAC5C,qCAAyC;AAGlC,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,qBAAU;IAA7B;;QAGL;;;;;WAAa;QAGb;;;;;WAAmB;IACrB,CAAC;CAAA,CAAA;AAPY,oBAAI;AAGf;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;kCACZ;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;uCACR;eANR,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CAOhB"}
1
+ {"version":3,"file":"role.entity.js","sourceRoot":"","sources":["../../src/entities/role.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA8C;AAC9C,qDAA4C;AAC5C,qCAAyC;AAGlC,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,qBAAU;IAGlC,IAAI,CAAS;IAGb,SAAS,CAAU;CACpB,CAAA;AAPY,oBAAI;AAGf;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;kCACZ;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;uCACR;eANR,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CAOhB"}
@@ -16,81 +16,18 @@ const class_transformer_1 = require("class-transformer");
16
16
  const profile_entity_1 = require("./profile.entity");
17
17
  const role_entity_1 = require("./role.entity");
18
18
  let User = class User extends database_1.BaseEntity {
19
- constructor() {
20
- super(...arguments);
21
- Object.defineProperty(this, "username", {
22
- enumerable: true,
23
- configurable: true,
24
- writable: true,
25
- value: void 0
26
- });
27
- Object.defineProperty(this, "email", {
28
- enumerable: true,
29
- configurable: true,
30
- writable: true,
31
- value: void 0
32
- });
33
- Object.defineProperty(this, "bio", {
34
- enumerable: true,
35
- configurable: true,
36
- writable: true,
37
- value: void 0
38
- });
39
- Object.defineProperty(this, "avatar", {
40
- enumerable: true,
41
- configurable: true,
42
- writable: true,
43
- value: void 0
44
- });
45
- Object.defineProperty(this, "hash", {
46
- enumerable: true,
47
- configurable: true,
48
- writable: true,
49
- value: void 0
50
- });
51
- Object.defineProperty(this, "twoFactorSecret", {
52
- enumerable: true,
53
- configurable: true,
54
- writable: true,
55
- value: void 0
56
- });
57
- Object.defineProperty(this, "isTwoFactorEnabled", {
58
- enumerable: true,
59
- configurable: true,
60
- writable: true,
61
- value: void 0
62
- });
63
- Object.defineProperty(this, "phone", {
64
- enumerable: true,
65
- configurable: true,
66
- writable: true,
67
- value: void 0
68
- });
69
- Object.defineProperty(this, "isVerified", {
70
- enumerable: true,
71
- configurable: true,
72
- writable: true,
73
- value: void 0
74
- });
75
- Object.defineProperty(this, "lastLogin", {
76
- enumerable: true,
77
- configurable: true,
78
- writable: true,
79
- value: void 0
80
- });
81
- Object.defineProperty(this, "profile", {
82
- enumerable: true,
83
- configurable: true,
84
- writable: true,
85
- value: void 0
86
- });
87
- Object.defineProperty(this, "roles", {
88
- enumerable: true,
89
- configurable: true,
90
- writable: true,
91
- value: void 0
92
- });
93
- }
19
+ username;
20
+ email;
21
+ bio;
22
+ avatar;
23
+ hash;
24
+ twoFactorSecret;
25
+ isTwoFactorEnabled;
26
+ phone;
27
+ isVerified;
28
+ lastLogin;
29
+ profile;
30
+ roles;
94
31
  };
95
32
  exports.User = User;
96
33
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../entities/user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA8C;AAC9C,qCAAsF;AACtF,yDAA4C;AAC5C,qDAA2C;AAC3C,+CAAqC;AAG9B,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,qBAAU;IAA7B;;QAEL;;;;;WAAkB;QAGlB;;;;;WAAe;QAGf;;;;;WAAa;QAGb;;;;;WAAgB;QAIhB;;;;;WAAc;QAId;;;;;WAAyB;QAGzB;;;;;WAA6B;QAG7B;;;;;WAAe;QAGf;;;;;WAAqB;QAGrB;;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AE,KAAK,EAAE,CAAC;;wCACN;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAClC,IAAI;uCAAC;AAOjB;IALC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE;QACvB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,GAAE;8BACJ,wBAAO;qCAAC;AAOjB;IALC,IAAA,oBAAU,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE;QACtB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,mBAAS,GAAE;;mCACG;eA7CJ,IAAI;IADhB,IAAA,gBAAM,GAAE;GACI,IAAI,CA8ChB"}
@@ -1,2 +1,2 @@
1
- declare const _exports: any;
1
+ declare const _exports: import("eslint-flat-config-utils/index").FlatConfigComposer<import("@antfu/eslint-config").TypedFlatConfigItem, import("@antfu/eslint-config").ConfigNames>;
2
2
  export = _exports;
@@ -1,47 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const rubiin = require("@antfu/eslint-config").default;
4
- module.exports = rubiin({
5
- stylistic: {
6
- semi: true,
7
- quotes: "double",
8
- },
9
- yaml: true,
10
- jsonc: true,
11
- markdown: false,
12
- gitignore: true,
13
- typescript: {
14
- tsconfigPath: "tsconfig.json",
15
- },
16
- overrides: {
17
- test: {
18
- "ts/unbound-method": "off",
19
- },
20
- typescript: {
21
- "ts/no-misused-promises": [
22
- "error",
23
- {
24
- checksVoidReturn: false,
25
- },
26
- ],
27
- "ts/no-floating-promises": [
28
- "error",
29
- {
30
- ignoreIIFE: true,
31
- },
32
- ],
33
- "unicorn/prefer-top-level-await": "off",
34
- "unicorn/prevent-abbreviations": [
35
- "error",
36
- {
37
- ignore: ["\\.e2e*", "\\.spec*", "\\.decorator*", "\\*idx*"],
38
- allowList: {
39
- ProcessEnv: true,
40
- UUIDParam: true,
41
- },
42
- },
43
- ],
44
- },
45
- },
46
- });
47
- //# sourceMappingURL=eslint.config.js.map
1
+ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});const rubiin=require('@antfu/eslint-config').default;module.exports=rubiin({stylistic:{semi:true,quotes:'double'},yaml:true,jsonc:true,markdown:false,gitignore:true,typescript:{tsconfigPath:'tsconfig.json'},overrides:{test:{'ts/unbound-method':'off'},typescript:{'ts/no-misused-promises':['error',{checksVoidReturn:false}],'ts/no-floating-promises':['error',{ignoreIIFE:true}],'unicorn/prefer-top-level-await':'off','unicorn/prevent-abbreviations':['error',{ignore:['\\.e2e*','\\.spec*','\\.decorator*','\\*idx*'],allowList:{ProcessEnv:true,UUIDParam:true}}]}}});
@@ -1 +1 @@
1
- {"version":3,"file":"eslint.config.js","sourceRoot":"","sources":["../eslint.config.js"],"names":[],"mappings":";;AAAA,MAAM,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC,OAAO,CAAC;AAEvD,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC;IACtB,SAAS,EAAE;QACT,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,QAAQ;KACjB;IACD,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,IAAI;IACf,UAAU,EAAE;QACV,YAAY,EAAE,eAAe;KAC9B;IACD,SAAS,EAAE;QACT,IAAI,EAAE;YACJ,mBAAmB,EAAE,KAAK;SAC3B;QACD,UAAU,EAAE;YACV,wBAAwB,EAAE;gBACxB,OAAO;gBACP;oBACE,gBAAgB,EAAE,KAAK;iBACxB;aACF;YACD,yBAAyB,EAAE;gBACzB,OAAO;gBACP;oBACE,UAAU,EAAE,IAAI;iBACjB;aACF;YACD,gCAAgC,EAAE,KAAK;YACvC,+BAA+B,EAAE;gBAC/B,OAAO;gBACP;oBACE,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,SAAS,CAAC;oBAC3D,SAAS,EAAE;wBACT,UAAU,EAAE,IAAI;wBAChB,SAAS,EAAE,IAAI;qBAChB;iBACF;aACF;SACF;KACF;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"eslint.config.js","sourceRoot":"","sources":["../src/eslint.config.js"],"names":[],"mappings":";;AAAA,MAAM,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC,OAAO,CAAC;AAEvD,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC;IACtB,SAAS,EAAE;QACT,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,QAAQ;KACjB;IACD,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,IAAI;IACf,UAAU,EAAE;QACV,YAAY,EAAE,eAAe;KAC9B;IACD,SAAS,EAAE;QACT,IAAI,EAAE;YACJ,mBAAmB,EAAE,KAAK;SAC3B;QACD,UAAU,EAAE;YACV,wBAAwB,EAAE;gBACxB,OAAO;gBACP;oBACE,gBAAgB,EAAE,KAAK;iBACxB;aACF;YACD,yBAAyB,EAAE;gBACzB,OAAO;gBACP;oBACE,UAAU,EAAE,IAAI;iBACjB;aACF;YACD,gCAAgC,EAAE,KAAK;YACvC,+BAA+B,EAAE;gBAC/B,OAAO;gBACP;oBACE,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,SAAS,CAAC;oBAC3D,SAAS,EAAE;wBACT,UAAU,EAAE,IAAI;wBAChB,SAAS,EAAE,IAAI;qBAChB;iBACF;aACF;SACF;KACF;CACF,CAAC,CAAC"}