@felloh-org/lambda-wrapper 1.11.87 → 1.11.88
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 _organisationFeature = _interopRequireDefault(require("../organisation-featu
|
|
|
13
13
|
|
|
14
14
|
var _organisationType = _interopRequireDefault(require("../organisation-type"));
|
|
15
15
|
|
|
16
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15;
|
|
16
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16;
|
|
17
17
|
|
|
18
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
19
|
|
|
@@ -63,6 +63,9 @@ let Organisation = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
63
63
|
}), _dec19 = (0, _typeorm.Column)({
|
|
64
64
|
type: "boolean",
|
|
65
65
|
default: false
|
|
66
|
+
}), _dec20 = (0, _typeorm.Column)({
|
|
67
|
+
type: "boolean",
|
|
68
|
+
default: false
|
|
66
69
|
}), _dec(_class = _dec2(_class = (_class2 = class Organisation {
|
|
67
70
|
constructor() {
|
|
68
71
|
_initializerDefineProperty(this, "id", _descriptor, this);
|
|
@@ -94,6 +97,8 @@ let Organisation = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
94
97
|
_initializerDefineProperty(this, "unpaid_invoice", _descriptor14, this);
|
|
95
98
|
|
|
96
99
|
_initializerDefineProperty(this, "billing_enabled", _descriptor15, this);
|
|
100
|
+
|
|
101
|
+
_initializerDefineProperty(this, "surcharging_enabled", _descriptor16, this);
|
|
97
102
|
}
|
|
98
103
|
|
|
99
104
|
propgate(id, name) {
|
|
@@ -226,4 +231,11 @@ let Organisation = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
226
231
|
initializer: function () {
|
|
227
232
|
return false;
|
|
228
233
|
}
|
|
234
|
+
}), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "surcharging_enabled", [_dec20], {
|
|
235
|
+
configurable: true,
|
|
236
|
+
enumerable: true,
|
|
237
|
+
writable: true,
|
|
238
|
+
initializer: function () {
|
|
239
|
+
return false;
|
|
240
|
+
}
|
|
229
241
|
})), _class2)) || _class) || _class);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class surchargingEnabled1712740853812 {
|
|
4
|
+
name = 'surchargingEnabled1712740853812'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "user"."organisation" ADD "surcharging_enabled" boolean NOT NULL DEFAULT false`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "user"."organisation" DROP COLUMN "surcharging_enabled"`);
|
|
12
|
+
}
|
|
13
|
+
}
|