@felloh-org/lambda-wrapper 1.3.11 → 1.3.12
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.
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _typeorm = require("typeorm");
|
|
9
9
|
|
|
10
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12;
|
|
10
|
+
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, _descriptor12, _descriptor13;
|
|
11
11
|
|
|
12
12
|
function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
|
|
13
13
|
|
|
@@ -53,6 +53,10 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
53
53
|
}), _dec13 = (0, _typeorm.Column)({
|
|
54
54
|
type: "varchar",
|
|
55
55
|
length: 1500
|
|
56
|
+
}), _dec14 = (0, _typeorm.Column)({
|
|
57
|
+
type: "varchar",
|
|
58
|
+
length: 36,
|
|
59
|
+
nullable: true
|
|
56
60
|
}), _dec(_class = (_class2 = class Transaction {
|
|
57
61
|
constructor() {
|
|
58
62
|
_initializerDefineProperty(this, "ndc", _descriptor, this);
|
|
@@ -78,6 +82,8 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
78
82
|
_initializerDefineProperty(this, "processing_time", _descriptor11, this);
|
|
79
83
|
|
|
80
84
|
_initializerDefineProperty(this, "merchant_name", _descriptor12, this);
|
|
85
|
+
|
|
86
|
+
_initializerDefineProperty(this, "transaction_id", _descriptor13, this);
|
|
81
87
|
}
|
|
82
88
|
|
|
83
89
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "ndc", [_dec2], {
|
|
@@ -144,5 +150,12 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
144
150
|
enumerable: true,
|
|
145
151
|
writable: true,
|
|
146
152
|
initializer: null
|
|
153
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "transaction_id", [_dec14], {
|
|
154
|
+
configurable: true,
|
|
155
|
+
enumerable: true,
|
|
156
|
+
writable: true,
|
|
157
|
+
initializer: function () {
|
|
158
|
+
return undefined;
|
|
159
|
+
}
|
|
147
160
|
})), _class2)) || _class);
|
|
148
161
|
exports.default = Transaction;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class tpTransactionId1669385847562 {
|
|
4
|
+
name = 'tpTransactionId1669385847562'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "total_processing"."transaction" ADD "transaction_id" character varying(36)`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "total_processing"."transaction" DROP COLUMN "transaction_id"`);
|
|
12
|
+
}
|
|
13
|
+
}
|