@felloh-org/lambda-wrapper 1.5.0 → 1.5.1
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.
|
@@ -15,7 +15,7 @@ var _transactionBatch = _interopRequireDefault(require("../transaction-batch"));
|
|
|
15
15
|
|
|
16
16
|
var _currency = require("../currency");
|
|
17
17
|
|
|
18
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11;
|
|
18
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12;
|
|
19
19
|
|
|
20
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
21
|
|
|
@@ -55,6 +55,9 @@ let Disbursal = (_dec = (0, _typeorm.Entity)({
|
|
|
55
55
|
}), _dec14 = (0, _typeorm.Column)({
|
|
56
56
|
type: "boolean",
|
|
57
57
|
default: false
|
|
58
|
+
}), _dec15 = (0, _typeorm.Column)({
|
|
59
|
+
type: "boolean",
|
|
60
|
+
default: false
|
|
58
61
|
}), _dec(_class = (_class2 = class Disbursal {
|
|
59
62
|
constructor() {
|
|
60
63
|
_initializerDefineProperty(this, "id", _descriptor, this);
|
|
@@ -78,6 +81,8 @@ let Disbursal = (_dec = (0, _typeorm.Entity)({
|
|
|
78
81
|
_initializerDefineProperty(this, "is_ledgered", _descriptor10, this);
|
|
79
82
|
|
|
80
83
|
_initializerDefineProperty(this, "is_manual_review", _descriptor11, this);
|
|
84
|
+
|
|
85
|
+
_initializerDefineProperty(this, "updated_legacy_system", _descriptor12, this);
|
|
81
86
|
}
|
|
82
87
|
|
|
83
88
|
getPublicData() {
|
|
@@ -161,5 +166,12 @@ let Disbursal = (_dec = (0, _typeorm.Entity)({
|
|
|
161
166
|
initializer: function () {
|
|
162
167
|
return false;
|
|
163
168
|
}
|
|
169
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "updated_legacy_system", [_dec15], {
|
|
170
|
+
configurable: true,
|
|
171
|
+
enumerable: true,
|
|
172
|
+
writable: true,
|
|
173
|
+
initializer: function () {
|
|
174
|
+
return false;
|
|
175
|
+
}
|
|
164
176
|
})), _class2)) || _class);
|
|
165
177
|
exports.default = Disbursal;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class disbursalUpdatedLegacySystem1670929960647 {
|
|
4
|
+
name = 'disbursalUpdatedLegacySystem1670929960647'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "bank"."disbursal" ADD "updated_legacy_system" boolean NOT NULL DEFAULT false`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "bank"."disbursal" DROP COLUMN "updated_legacy_system"`);
|
|
12
|
+
}
|
|
13
|
+
}
|