@tomei/sso 0.39.0 → 0.39.2

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.
@@ -12,7 +12,7 @@ export declare class APIKey extends ObjectBase {
12
12
  Name: string;
13
13
  Description: string;
14
14
  Status: APIKeyStatusEnum;
15
- ExperationDate: Date;
15
+ ExpirationDate: Date;
16
16
  _InvokedById: number;
17
17
  _InvokedAt: Date;
18
18
  _CreatedAt: Date;
@@ -42,7 +42,7 @@ class APIKey extends general_1.ObjectBase {
42
42
  this.Name = apiKeyAttr.Name;
43
43
  this.Description = apiKeyAttr.Description;
44
44
  this.Status = apiKeyAttr.Status;
45
- this.ExperationDate = apiKeyAttr.ExperationDate;
45
+ this.ExpirationDate = apiKeyAttr.ExpirationDate;
46
46
  this._InvokedById = apiKeyAttr.InvokedById;
47
47
  this._InvokedAt = apiKeyAttr.InvokedAt;
48
48
  this._CreatedAt = apiKeyAttr.CreatedAt;
@@ -83,7 +83,7 @@ class APIKey extends general_1.ObjectBase {
83
83
  ApiKey: this.ApiKey,
84
84
  Name: this.Name,
85
85
  Status: this.Status,
86
- ExpirationDate: this.ExperationDate,
86
+ ExpirationDate: this.ExpirationDate,
87
87
  CreatedAt: this.CreatedAt,
88
88
  CreatedById: this.CreatedById,
89
89
  InvokedAt: this.InvokedAt,
@@ -107,7 +107,7 @@ class APIKey extends general_1.ObjectBase {
107
107
  ApiKey: this.ApiKey,
108
108
  Name: this.Name,
109
109
  Status: this.Status,
110
- ExpirationDate: this.ExperationDate,
110
+ ExpirationDate: this.ExpirationDate,
111
111
  CreatedAt: this.CreatedAt,
112
112
  CreatedById: this.CreatedById,
113
113
  InvokedAt: this.InvokedAt,
@@ -13,3 +13,4 @@ export * from './group-privilege';
13
13
  export * from './group-object-privilege';
14
14
  export * from './system-privilege';
15
15
  export * from './group';
16
+ export * from './api-key';
@@ -29,4 +29,5 @@ __exportStar(require("./group-privilege"), exports);
29
29
  __exportStar(require("./group-object-privilege"), exports);
30
30
  __exportStar(require("./system-privilege"), exports);
31
31
  __exportStar(require("./group"), exports);
32
+ __exportStar(require("./api-key"), exports);
32
33
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,+CAA6B;AAC7B,kDAAgC;AAChC,2CAAyB;AACzB,+CAA6B;AAC7B,6CAA2B;AAC3B,0CAAwB;AACxB,uDAAqC;AACrC,mDAAiC;AACjC,wDAAsC;AACtC,0DAAwC;AACxC,oDAAkC;AAClC,2DAAyC;AACzC,qDAAmC;AACnC,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,+CAA6B;AAC7B,kDAAgC;AAChC,2CAAyB;AACzB,+CAA6B;AAC7B,6CAA2B;AAC3B,0CAAwB;AACxB,uDAAqC;AACrC,mDAAiC;AACjC,wDAAsC;AACtC,0DAAwC;AACxC,oDAAkC;AAClC,2DAAyC;AACzC,qDAAmC;AACnC,0CAAwB;AACxB,4CAA0B"}
@@ -2,4 +2,5 @@ export * from './components';
2
2
  export * from './interfaces';
3
3
  export * from './redis-client';
4
4
  export * from './session';
5
+ export * from './enum';
5
6
  export * as ssoDb from './database';
package/dist/src/index.js CHANGED
@@ -20,5 +20,6 @@ __exportStar(require("./components"), exports);
20
20
  __exportStar(require("./interfaces"), exports);
21
21
  __exportStar(require("./redis-client"), exports);
22
22
  __exportStar(require("./session"), exports);
23
+ __exportStar(require("./enum"), exports);
23
24
  exports.ssoDb = require("./database");
24
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,OAAO,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC;AAC3B,+CAA6B;AAC7B,+CAA6B;AAC7B,iDAA+B;AAC/B,4CAA0B;AAC1B,sCAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,OAAO,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC;AAC3B,+CAA6B;AAC7B,+CAA6B;AAC7B,iDAA+B;AAC/B,4CAA0B;AAC1B,yCAAuB;AACvB,sCAAoC"}
@@ -5,7 +5,7 @@ export interface IAPIKeyAttr {
5
5
  Name: string;
6
6
  Description: string;
7
7
  Status: APIKeyStatusEnum;
8
- ExperationDate: Date;
8
+ ExpirationDate: Date;
9
9
  CreatedById: number;
10
10
  InvokedById: number;
11
11
  CreatedAt: Date;
@@ -7,7 +7,7 @@ export default class APIKeyModel extends Model {
7
7
  Name: string;
8
8
  Description: string;
9
9
  Status: APIKeyStatusEnum;
10
- ExperationDate: Date;
10
+ ExpirationDate: Date;
11
11
  CreatedById: number;
12
12
  InvokedById: number;
13
13
  CreatedAt: Date;
@@ -57,7 +57,7 @@ __decorate([
57
57
  allowNull: true,
58
58
  }),
59
59
  __metadata("design:type", Date)
60
- ], APIKeyModel.prototype, "ExperationDate", void 0);
60
+ ], APIKeyModel.prototype, "ExpirationDate", void 0);
61
61
  __decorate([
62
62
  (0, sequelize_typescript_1.ForeignKey)(() => user_entity_1.default),
63
63
  (0, sequelize_typescript_1.Column)({