@felloh-org/lambda-wrapper 1.11.84 → 1.11.85

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.
@@ -13,7 +13,7 @@ var _gocardlessRequisition = _interopRequireDefault(require("../gocardless-requi
13
13
 
14
14
  var _organisation = _interopRequireDefault(require("../../user/organisation"));
15
15
 
16
- 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;
16
+ 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;
17
17
 
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
19
 
@@ -52,7 +52,11 @@ let GoCardlessAccount = exports.default = (_dec = (0, _typeorm.Entity)({
52
52
  type: "varchar",
53
53
  length: "5",
54
54
  nullable: true
55
- }), _dec13 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class GoCardlessAccount {
55
+ }), _dec13 = (0, _typeorm.Column)({
56
+ type: "varchar",
57
+ nullable: true,
58
+ length: 50
59
+ }), _dec14 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class GoCardlessAccount {
56
60
  constructor() {
57
61
  _initializerDefineProperty(this, "id", _descriptor, this);
58
62
 
@@ -70,7 +74,9 @@ let GoCardlessAccount = exports.default = (_dec = (0, _typeorm.Entity)({
70
74
 
71
75
  _initializerDefineProperty(this, "currency", _descriptor8, this);
72
76
 
73
- _initializerDefineProperty(this, "created_at", _descriptor9, this);
77
+ _initializerDefineProperty(this, "nickname", _descriptor9, this);
78
+
79
+ _initializerDefineProperty(this, "created_at", _descriptor10, this);
74
80
  }
75
81
 
76
82
  }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
@@ -123,7 +129,12 @@ let GoCardlessAccount = exports.default = (_dec = (0, _typeorm.Entity)({
123
129
  initializer: function () {
124
130
  return "";
125
131
  }
126
- }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec13], {
132
+ }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "nickname", [_dec13], {
133
+ configurable: true,
134
+ enumerable: true,
135
+ writable: true,
136
+ initializer: null
137
+ }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec14], {
127
138
  configurable: true,
128
139
  enumerable: true,
129
140
  writable: true,
@@ -0,0 +1,13 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class addNickname1710371316539 {
4
+ name = 'addNickname1710371316539'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "aisp"."gocardless_account" ADD "nickname" character varying(50)`);
8
+ }
9
+
10
+ async down(queryRunner) {
11
+ await queryRunner.query(`ALTER TABLE "aisp"."gocardless_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.11.84",
3
+ "version": "1.11.85",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {