@felloh-org/lambda-wrapper 1.1.9 → 1.1.10
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.
|
@@ -11,7 +11,7 @@ var _transaction = _interopRequireDefault(require("../../payment/transaction"));
|
|
|
11
11
|
|
|
12
12
|
var _disbursal = _interopRequireDefault(require("../disbursal"));
|
|
13
13
|
|
|
14
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;
|
|
14
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;
|
|
15
15
|
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
|
|
@@ -38,6 +38,9 @@ let TransactionBatch = (_dec = (0, _typeorm.Entity)({
|
|
|
38
38
|
type: 'timestamp with time zone'
|
|
39
39
|
}), _dec8 = (0, _typeorm.DeleteDateColumn)({
|
|
40
40
|
type: 'timestamp with time zone'
|
|
41
|
+
}), _dec9 = (0, _typeorm.Column)({
|
|
42
|
+
type: "timestamp with time zone",
|
|
43
|
+
nullable: true
|
|
41
44
|
}), _dec(_class = (_class2 = class TransactionBatch {
|
|
42
45
|
constructor() {
|
|
43
46
|
_initializerDefineProperty(this, "transaction", _descriptor, this);
|
|
@@ -49,6 +52,8 @@ let TransactionBatch = (_dec = (0, _typeorm.Entity)({
|
|
|
49
52
|
_initializerDefineProperty(this, "updated_at", _descriptor4, this);
|
|
50
53
|
|
|
51
54
|
_initializerDefineProperty(this, "deleted_at", _descriptor5, this);
|
|
55
|
+
|
|
56
|
+
_initializerDefineProperty(this, "completed_at", _descriptor6, this);
|
|
52
57
|
}
|
|
53
58
|
|
|
54
59
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "transaction", [_dec2, _dec3], {
|
|
@@ -80,5 +85,10 @@ let TransactionBatch = (_dec = (0, _typeorm.Entity)({
|
|
|
80
85
|
enumerable: true,
|
|
81
86
|
writable: true,
|
|
82
87
|
initializer: null
|
|
88
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "completed_at", [_dec9], {
|
|
89
|
+
configurable: true,
|
|
90
|
+
enumerable: true,
|
|
91
|
+
writable: true,
|
|
92
|
+
initializer: null
|
|
83
93
|
})), _class2)) || _class);
|
|
84
94
|
exports.default = TransactionBatch;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class batchesCompletedAt1651660836295 {
|
|
4
|
+
name = 'batchesCompletedAt1651660836295'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "bank"."transaction_batch" ADD "completed_at" TIMESTAMP WITH TIME ZONE`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "bank"."transaction_batch" DROP COLUMN "completed_at"`);
|
|
12
|
+
}
|
|
13
|
+
}
|