@felloh-org/lambda-wrapper 1.10.10 → 1.10.11

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 _account = _interopRequireDefault(require("../../bank/account"));
15
15
 
16
16
  var _lead = _interopRequireDefault(require("../lead"));
17
17
 
18
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _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, _dec16, _dec17, _dec18, _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
 
@@ -61,14 +61,18 @@ let Account = (_dec = (0, _typeorm.Entity)({
61
61
  type: "varchar",
62
62
  length: "150",
63
63
  nullable: true
64
- }), _dec14 = (0, _typeorm.CreateDateColumn)({
64
+ }), _dec14 = (0, _typeorm.Column)({
65
+ type: "varchar",
66
+ length: "250",
67
+ nullable: true
68
+ }), _dec15 = (0, _typeorm.CreateDateColumn)({
65
69
  type: 'timestamp with time zone'
66
- }), _dec15 = (0, _typeorm.UpdateDateColumn)({
70
+ }), _dec16 = (0, _typeorm.UpdateDateColumn)({
67
71
  type: 'timestamp with time zone'
68
- }), _dec16 = (0, _typeorm.Column)({
72
+ }), _dec17 = (0, _typeorm.Column)({
69
73
  type: "int",
70
74
  nullable: true
71
- }), _dec17 = (0, _typeorm.Column)({
75
+ }), _dec18 = (0, _typeorm.Column)({
72
76
  type: "varchar",
73
77
  length: "5",
74
78
  nullable: true
@@ -88,13 +92,15 @@ let Account = (_dec = (0, _typeorm.Entity)({
88
92
 
89
93
  _initializerDefineProperty(this, "name", _descriptor7, this);
90
94
 
91
- _initializerDefineProperty(this, "created_at", _descriptor8, this);
95
+ _initializerDefineProperty(this, "nickname", _descriptor8, this);
96
+
97
+ _initializerDefineProperty(this, "created_at", _descriptor9, this);
92
98
 
93
- _initializerDefineProperty(this, "updated_at", _descriptor9, this);
99
+ _initializerDefineProperty(this, "updated_at", _descriptor10, this);
94
100
 
95
- _initializerDefineProperty(this, "balance", _descriptor10, this);
101
+ _initializerDefineProperty(this, "balance", _descriptor11, this);
96
102
 
97
- _initializerDefineProperty(this, "currency", _descriptor11, this);
103
+ _initializerDefineProperty(this, "currency", _descriptor12, this);
98
104
  }
99
105
 
100
106
  }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
@@ -144,22 +150,29 @@ let Account = (_dec = (0, _typeorm.Entity)({
144
150
  initializer: function () {
145
151
  return "";
146
152
  }
147
- }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec14], {
153
+ }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "nickname", [_dec14], {
154
+ configurable: true,
155
+ enumerable: true,
156
+ writable: true,
157
+ initializer: function () {
158
+ return "";
159
+ }
160
+ }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec15], {
148
161
  configurable: true,
149
162
  enumerable: true,
150
163
  writable: true,
151
164
  initializer: null
152
- }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec15], {
165
+ }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec16], {
153
166
  configurable: true,
154
167
  enumerable: true,
155
168
  writable: true,
156
169
  initializer: null
157
- }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "balance", [_dec16], {
170
+ }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "balance", [_dec17], {
158
171
  configurable: true,
159
172
  enumerable: true,
160
173
  writable: true,
161
174
  initializer: null
162
- }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "currency", [_dec17], {
175
+ }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "currency", [_dec18], {
163
176
  configurable: true,
164
177
  enumerable: true,
165
178
  writable: true,
@@ -0,0 +1,13 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class saltedgeAccountNickname1686218317938 {
4
+ name = 'saltedgeAccountNickname1686218317938'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "saltedge"."account" ADD "nickname" character varying(250)`);
8
+ }
9
+
10
+ async down(queryRunner) {
11
+ await queryRunner.query(`ALTER TABLE "saltedge"."account" DROP COLUMN "nickname"`);
12
+ }
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.10.10",
3
+ "version": "1.10.11",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {