fix(all): TS issues.

This commit is contained in:
Rodrigo Rodriguez(pragmatismo.io) 2021-11-16 16:18:27 -03:00
parent a628948394
commit 4a6917a48d
7 changed files with 43 additions and 43 deletions

36
package-lock.json generated
View file

@ -9,18 +9,18 @@
"version": "2.0.153",
"license": "AGPL-3.0",
"dependencies": {
"@azure/cognitiveservices-computervision": "^8.1.0",
"@azure/cognitiveservices-computervision": "8.1.0",
"@azure/ms-rest-js": "2.5.1",
"@google-cloud/pubsub": "^2.13.0",
"@google-cloud/translate": "^6.2.6",
"@google-cloud/pubsub": "2.13.0",
"@google-cloud/translate": "6.2.6",
"@microsoft/microsoft-graph-client": "2.2.1",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/exec": "5.0.0",
"@semantic-release/git": "9.0.0",
"@sendgrid/mail": "^7.4.4",
"@sendgrid/mail": "7.4.4",
"@types/validator": "13.1.4",
"adal-node": "0.2.2",
"adm-zip": "^0.5.6",
"adm-zip": "0.5.6",
"any-shell-escape": "0.1.1",
"async-promises": "0.2.3",
"azure-arm-cognitiveservices": "3.0.0",
@ -39,7 +39,7 @@
"botlib": "1.9.4",
"cli-spinner": "0.2.10",
"core-js": "3.14.0",
"date-diff": "^0.2.2",
"date-diff": "0.2.2",
"dotenv-extended": "2.9.0",
"exceljs": "4.2.1",
"express": "4.17.1",
@ -49,15 +49,15 @@
"googleapis": "75.0.0",
"ibm-watson": "6.1.1",
"js-beautify": "1.13.13",
"luxon": "^2.0.2",
"luxon": "2.0.2",
"marked": "2.0.7",
"momentjs": "^2.0.0",
"momentjs": "2.0.0",
"ms-rest-azure": "3.0.0",
"nexmo": "2.9.1",
"node-cron": "3.0.0",
"npm": "7.21.0",
"opn": "6.0.0",
"pdf-extraction": "^1.0.2",
"pdf-extraction": "1.0.2",
"phone": "2.4.21",
"pragmatismo-io-framework": "1.0.20",
"prism-media": "1.3.1",
@ -72,13 +72,13 @@
"sequelize": "5.21.5",
"sequelize-typescript": "1.1.0",
"simple-git": "2.39.1",
"speakingurl": "^14.0.1",
"speakingurl": "14.0.1",
"sppull": "2.7.0",
"strict-password-generator": "1.1.2",
"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",
@ -104,7 +104,7 @@
"travis-deploy-once": "5.0.11",
"ts-node": "10.0.0",
"tslint": "6.1.2",
"tslint-microsoft-contrib": "^6.2.0",
"tslint-microsoft-contrib": "6.2.0",
"typedoc": "0.20.36"
},
"engines": {
@ -25629,9 +25629,9 @@
"dev": true
},
"node_modules/typescript": {
"version": "3.9.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.2.tgz",
"integrity": "sha512-q2ktq4n/uLuNNShyayit+DTobV2ApPEo/6so68JaD5ojvc/6GClBipedB9zNWYxRSAlZXAe405Rlijzl6qDiSw==",
"version": "3.6.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.4.tgz",
"integrity": "sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg==",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
@ -46914,9 +46914,9 @@
"dev": true
},
"typescript": {
"version": "3.9.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.2.tgz",
"integrity": "sha512-q2ktq4n/uLuNNShyayit+DTobV2ApPEo/6so68JaD5ojvc/6GClBipedB9zNWYxRSAlZXAe405Rlijzl6qDiSw=="
"version": "3.6.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.4.tgz",
"integrity": "sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg=="
},
"typpy": {
"version": "2.3.11",

View file

@ -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",

View file

@ -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;
}

View file

@ -96,7 +96,7 @@ export class GuaribasConversation extends Model<GuaribasConversation> {
@Column
@CreatedAt
declare public createdAt: Date;
public createdAt: Date;
@Column public text: string;
@ -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)

View file

@ -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;
}

View file

@ -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;
@ -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;
@ -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;
@ -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;
}
/**
@ -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
@ -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
@ -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;
}

View file

@ -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)
@ -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[];