From 1f58dfa3ab80091b1361aa5e170e00c5e0073aca Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Fri, 12 Jun 2020 11:42:18 -0700 Subject: [PATCH] add msgId to typescript def --- api/models/ts/timer.ts | 3 +++ dist/api/models/ts/timer.js | 4 ++++ dist/api/models/ts/timer.js.map | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/api/models/ts/timer.ts b/api/models/ts/timer.ts index 225c8f7..5f4d532 100644 --- a/api/models/ts/timer.ts +++ b/api/models/ts/timer.ts @@ -14,6 +14,9 @@ export default class Timer extends Model { @Column(DataType.BIGINT) chatId: number + @Column(DataType.BIGINT) + msgId: number + @Column(DataType.BIGINT) millis: number diff --git a/dist/api/models/ts/timer.js b/dist/api/models/ts/timer.js index f534b4d..787dcbf 100644 --- a/dist/api/models/ts/timer.js +++ b/dist/api/models/ts/timer.js @@ -25,6 +25,10 @@ __decorate([ sequelize_typescript_1.Column(sequelize_typescript_1.DataType.BIGINT), __metadata("design:type", Number) ], Timer.prototype, "chatId", void 0); +__decorate([ + sequelize_typescript_1.Column(sequelize_typescript_1.DataType.BIGINT), + __metadata("design:type", Number) +], Timer.prototype, "msgId", void 0); __decorate([ sequelize_typescript_1.Column(sequelize_typescript_1.DataType.BIGINT), __metadata("design:type", Number) diff --git a/dist/api/models/ts/timer.js.map b/dist/api/models/ts/timer.js.map index 27b4d2b..d6fbe86 100644 --- a/dist/api/models/ts/timer.js.map +++ b/dist/api/models/ts/timer.js.map @@ -1 +1 @@ -{"version":3,"file":"timer.js","sourceRoot":"","sources":["../../../../api/models/ts/timer.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAsE;AAGtE,IAAqB,KAAK,GAA1B,MAAqB,KAAM,SAAQ,4BAAY;CAsB9C,CAAA;AAdC;IANC,6BAAM,CAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,IAAI;QACZ,aAAa,EAAE,IAAI;KACpB,CAAC;;iCACQ;AAGV;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;qCACV;AAGd;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;qCACV;AAGd;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;uCACR;AAGhB;IADC,6BAAM,CAAC,+BAAQ,CAAC,OAAO,CAAC;;qCACX;AApBK,KAAK;IADzB,4BAAK,CAAC,EAAC,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,IAAI,EAAC,CAAC;GAClC,KAAK,CAsBzB;kBAtBoB,KAAK"} \ No newline at end of file +{"version":3,"file":"timer.js","sourceRoot":"","sources":["../../../../api/models/ts/timer.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAsE;AAGtE,IAAqB,KAAK,GAA1B,MAAqB,KAAM,SAAQ,4BAAY;CAyB9C,CAAA;AAjBC;IANC,6BAAM,CAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,IAAI;QACZ,aAAa,EAAE,IAAI;KACpB,CAAC;;iCACQ;AAGV;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;qCACV;AAGd;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;oCACX;AAGb;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;qCACV;AAGd;IADC,6BAAM,CAAC,+BAAQ,CAAC,MAAM,CAAC;;uCACR;AAGhB;IADC,6BAAM,CAAC,+BAAQ,CAAC,OAAO,CAAC;;qCACX;AAvBK,KAAK;IADzB,4BAAK,CAAC,EAAC,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,IAAI,EAAC,CAAC;GAClC,KAAK,CAyBzB;kBAzBoB,KAAK"} \ No newline at end of file