Skip to content

Commit

Permalink
fix(all): TS issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Rodriguez(pragmatismo.io) committed Nov 16, 2021
1 parent a628948 commit 4a6917a
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 43 deletions.
36 changes: 18 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"swagger-client": "2.1.18",
"tedious": "9.2.1",
"textract": "2.5.0",
"typescript": "3.9.2",
"typescript": "3.6.4",
"url-join": "4.0.1",
"vbscript-to-typescript": "1.0.8",
"walk-promise": "0.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/admin.gbapp/models/AdminModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ export class GuaribasAdmin extends Model<GuaribasAdmin> {

@Column
@CreatedAt
declare public createdAt: Date;
public createdAt: Date;

@Column
@UpdatedAt
declare public updatedAt: Date;
public updatedAt: Date;
}
6 changes: 3 additions & 3 deletions packages/analytics.gblib/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class GuaribasConversation extends Model<GuaribasConversation> {

@Column
@CreatedAt
declare public createdAt: Date;
public createdAt: Date;

@Column public text: string;

Expand Down Expand Up @@ -128,11 +128,11 @@ export class GuaribasConversationMessage extends Model<GuaribasConversationMessa

@Column
@CreatedAt
declare public createdAt: Date;
public createdAt: Date;

@Column
@UpdatedAt
declare public updatedAt: Date;
public updatedAt: Date;

//tslint:disable-next-line:no-use-before-declare
@ForeignKey(() => GuaribasConversation)
Expand Down
4 changes: 2 additions & 2 deletions packages/basic.gblib/models/Model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ export class GuaribasSchedule extends Model<GuaribasSchedule> {

@Column
@CreatedAt
declare public createdAt: Date;
public createdAt: Date;

@Column
@UpdatedAt
declare public updatedAt: Date;
public updatedAt: Date;
}
26 changes: 13 additions & 13 deletions packages/core.gbapp/models/GBModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class GuaribasInstance extends Model<GuaribasInstance>
public state: string;

@Column
declare public version: string;
public version: string;

@Column
public enabledAdmin: boolean;
Expand Down Expand Up @@ -262,11 +262,11 @@ export class GuaribasInstance extends Model<GuaribasInstance>

@Column
@CreatedAt
declare public createdAt: Date;
public createdAt: Date;

@Column
@UpdatedAt
declare public updatedAt: Date;
public updatedAt: Date;

@Column(DataType.STRING(4000))
public params: string;
Expand Down Expand Up @@ -294,11 +294,11 @@ export class GuaribasPackage extends Model<GuaribasPackage> {

@Column
@CreatedAt
declare public createdAt: Date;
public createdAt: Date;

@Column
@UpdatedAt
declare public updatedAt: Date;
public updatedAt: Date;

@Column({ type: DataType.STRING(512) })
public custom: string;
Expand All @@ -319,11 +319,11 @@ export class GuaribasChannel extends Model<GuaribasChannel> {

@Column
@CreatedAt
declare public createdAt: Date;
public createdAt: Date;

@Column
@UpdatedAt
declare public updatedAt: Date;
public updatedAt: Date;
}

/**
Expand All @@ -349,11 +349,11 @@ export class GuaribasException extends Model<GuaribasException> {

@Column
@CreatedAt
declare public createdAt: Date;
public createdAt: Date;

@Column
@UpdatedAt
declare public updatedAt: Date;
public updatedAt: Date;
}

@Table
Expand All @@ -372,11 +372,11 @@ export class GuaribasApplications extends Model<GuaribasApplications> {

@Column
@CreatedAt
declare public createdAt: Date;
public createdAt: Date;

@Column
@UpdatedAt
declare public updatedAt: Date;
public updatedAt: Date;
}

@Table
Expand All @@ -398,9 +398,9 @@ export class GuaribasSchedule extends Model<GuaribasSchedule> {

@Column
@CreatedAt
declare public createdAt: Date;
public createdAt: Date;

@Column
@UpdatedAt
declare public updatedAt: Date;
public updatedAt: Date;
}
8 changes: 4 additions & 4 deletions packages/kb.gbapp/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ export class GuaribasQuestion extends Model<GuaribasQuestion> {

@Column
@CreatedAt
declare public createdAt: Date;
public createdAt: Date;

@Column
@UpdatedAt
declare public updatedAt: Date;
public updatedAt: Date;

//tslint:disable-next-line:no-use-before-declare
@ForeignKey(() => GuaribasAnswer)
Expand Down Expand Up @@ -207,11 +207,11 @@ export class GuaribasAnswer extends Model<GuaribasAnswer> {

@Column
@CreatedAt
declare public createdAt: Date;
public createdAt: Date;

@Column
@UpdatedAt
declare public updatedAt: Date;
public updatedAt: Date;

@HasMany(() => GuaribasQuestion)
public questions: GuaribasQuestion[];
Expand Down

0 comments on commit 4a6917a

Please sign in to comment.