@tomei/sso 0.39.1 → 0.39.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomei/sso",
3
- "version": "0.39.1",
3
+ "version": "0.39.2",
4
4
  "description": "Tomei SSO Package",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -17,7 +17,7 @@ export class APIKey extends ObjectBase {
17
17
  Name: string;
18
18
  Description: string;
19
19
  Status: APIKeyStatusEnum;
20
- ExperationDate: Date;
20
+ ExpirationDate: Date;
21
21
  _InvokedById: number;
22
22
  _InvokedAt: Date;
23
23
  _CreatedAt: Date;
@@ -57,7 +57,7 @@ export class APIKey extends ObjectBase {
57
57
  this.Name = apiKeyAttr.Name;
58
58
  this.Description = apiKeyAttr.Description;
59
59
  this.Status = apiKeyAttr.Status;
60
- this.ExperationDate = apiKeyAttr.ExperationDate;
60
+ this.ExpirationDate = apiKeyAttr.ExpirationDate;
61
61
  this._InvokedById = apiKeyAttr.InvokedById;
62
62
  this._InvokedAt = apiKeyAttr.InvokedAt;
63
63
  this._CreatedAt = apiKeyAttr.CreatedAt;
@@ -132,7 +132,7 @@ export class APIKey extends ObjectBase {
132
132
  ApiKey: this.ApiKey,
133
133
  Name: this.Name,
134
134
  Status: this.Status,
135
- ExpirationDate: this.ExperationDate,
135
+ ExpirationDate: this.ExpirationDate,
136
136
  CreatedAt: this.CreatedAt,
137
137
  CreatedById: this.CreatedById,
138
138
  InvokedAt: this.InvokedAt,
@@ -183,7 +183,7 @@ export class APIKey extends ObjectBase {
183
183
  ApiKey: this.ApiKey,
184
184
  Name: this.Name,
185
185
  Status: this.Status,
186
- ExpirationDate: this.ExperationDate,
186
+ ExpirationDate: this.ExpirationDate,
187
187
  CreatedAt: this.CreatedAt,
188
188
  CreatedById: this.CreatedById,
189
189
  InvokedAt: this.InvokedAt,
package/src/index.ts CHANGED
@@ -3,4 +3,5 @@ export * from './components';
3
3
  export * from './interfaces';
4
4
  export * from './redis-client';
5
5
  export * from './session';
6
+ export * from './enum';
6
7
  export * as ssoDb from './database';
@@ -6,7 +6,7 @@ export interface IAPIKeyAttr {
6
6
  Name: string;
7
7
  Description: string;
8
8
  Status: APIKeyStatusEnum;
9
- ExperationDate: Date;
9
+ ExpirationDate: Date;
10
10
  CreatedById: number;
11
11
  InvokedById: number;
12
12
  CreatedAt: Date;
@@ -54,7 +54,7 @@ export default class APIKeyModel extends Model {
54
54
  type: DataType.DATE,
55
55
  allowNull: true,
56
56
  })
57
- ExperationDate: Date;
57
+ ExpirationDate: Date;
58
58
 
59
59
  @ForeignKey(() => User)
60
60
  @Column({