@felloh-org/lambda-wrapper 1.11.7 → 1.11.8
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, _dec14, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13;
|
|
10
|
+
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, _descriptor13, _descriptor14;
|
|
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
|
|
|
@@ -57,6 +57,10 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
57
57
|
type: "varchar",
|
|
58
58
|
length: 36,
|
|
59
59
|
nullable: true
|
|
60
|
+
}), _dec15 = (0, _typeorm.Column)({
|
|
61
|
+
type: "varchar",
|
|
62
|
+
length: 36,
|
|
63
|
+
nullable: true
|
|
60
64
|
}), _dec(_class = (_class2 = class Transaction {
|
|
61
65
|
constructor() {
|
|
62
66
|
_initializerDefineProperty(this, "ndc", _descriptor, this);
|
|
@@ -84,6 +88,8 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
84
88
|
_initializerDefineProperty(this, "merchant_name", _descriptor12, this);
|
|
85
89
|
|
|
86
90
|
_initializerDefineProperty(this, "transaction_id", _descriptor13, this);
|
|
91
|
+
|
|
92
|
+
_initializerDefineProperty(this, "uuid", _descriptor14, this);
|
|
87
93
|
}
|
|
88
94
|
|
|
89
95
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "ndc", [_dec2], {
|
|
@@ -157,5 +163,12 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
157
163
|
initializer: function () {
|
|
158
164
|
return undefined;
|
|
159
165
|
}
|
|
166
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "uuid", [_dec15], {
|
|
167
|
+
configurable: true,
|
|
168
|
+
enumerable: true,
|
|
169
|
+
writable: true,
|
|
170
|
+
initializer: function () {
|
|
171
|
+
return undefined;
|
|
172
|
+
}
|
|
160
173
|
})), _class2)) || _class);
|
|
161
174
|
exports.default = Transaction;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class totalUuid1689160105601 {
|
|
4
|
+
name = 'totalUuid1689160105601'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "total_processing"."transaction" ADD "uuid" character varying(36)`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "total_processing"."transaction" DROP COLUMN "uuid"`);
|
|
12
|
+
}
|
|
13
|
+
}
|