@felloh-org/lambda-wrapper 1.2.12 → 1.2.13
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, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;
|
|
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;
|
|
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
|
|
|
@@ -41,8 +41,16 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
41
41
|
type: "int",
|
|
42
42
|
nullable: true
|
|
43
43
|
}), _dec10 = (0, _typeorm.Column)({
|
|
44
|
-
type: "
|
|
44
|
+
type: "varchar",
|
|
45
|
+
length: 50,
|
|
46
|
+
nullable: true
|
|
45
47
|
}), _dec11 = (0, _typeorm.Column)({
|
|
48
|
+
type: "varchar",
|
|
49
|
+
length: 512,
|
|
50
|
+
nullable: true
|
|
51
|
+
}), _dec12 = (0, _typeorm.Column)({
|
|
52
|
+
type: "timestamp without time zone"
|
|
53
|
+
}), _dec13 = (0, _typeorm.Column)({
|
|
46
54
|
type: "varchar",
|
|
47
55
|
length: 1500
|
|
48
56
|
}), _dec(_class = (_class2 = class Transaction {
|
|
@@ -63,9 +71,13 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
63
71
|
|
|
64
72
|
_initializerDefineProperty(this, "status", _descriptor8, this);
|
|
65
73
|
|
|
66
|
-
_initializerDefineProperty(this, "
|
|
74
|
+
_initializerDefineProperty(this, "code", _descriptor9, this);
|
|
75
|
+
|
|
76
|
+
_initializerDefineProperty(this, "message", _descriptor10, this);
|
|
77
|
+
|
|
78
|
+
_initializerDefineProperty(this, "processing_time", _descriptor11, this);
|
|
67
79
|
|
|
68
|
-
_initializerDefineProperty(this, "merchant_name",
|
|
80
|
+
_initializerDefineProperty(this, "merchant_name", _descriptor12, this);
|
|
69
81
|
}
|
|
70
82
|
|
|
71
83
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "ndc", [_dec2], {
|
|
@@ -110,14 +122,24 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
110
122
|
enumerable: true,
|
|
111
123
|
writable: true,
|
|
112
124
|
initializer: null
|
|
113
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
125
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "code", [_dec10], {
|
|
126
|
+
configurable: true,
|
|
127
|
+
enumerable: true,
|
|
128
|
+
writable: true,
|
|
129
|
+
initializer: null
|
|
130
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "message", [_dec11], {
|
|
131
|
+
configurable: true,
|
|
132
|
+
enumerable: true,
|
|
133
|
+
writable: true,
|
|
134
|
+
initializer: null
|
|
135
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "processing_time", [_dec12], {
|
|
114
136
|
configurable: true,
|
|
115
137
|
enumerable: true,
|
|
116
138
|
writable: true,
|
|
117
139
|
initializer: function () {
|
|
118
140
|
return null;
|
|
119
141
|
}
|
|
120
|
-
}),
|
|
142
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "merchant_name", [_dec13], {
|
|
121
143
|
configurable: true,
|
|
122
144
|
enumerable: true,
|
|
123
145
|
writable: true,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class tpmessagecode1663945952356 {
|
|
4
|
+
name = 'tpmessagecode1663945952356'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "total_processing"."transaction" ADD "code" character varying(50)`);
|
|
8
|
+
await queryRunner.query(`ALTER TABLE "total_processing"."transaction" ADD "message" character varying(512)`);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
async down(queryRunner) {
|
|
12
|
+
await queryRunner.query(`ALTER TABLE "total_processing"."transaction" DROP COLUMN "message"`);
|
|
13
|
+
await queryRunner.query(`ALTER TABLE "total_processing"."transaction" DROP COLUMN "code"`);
|
|
14
|
+
}
|
|
15
|
+
}
|