@felloh-org/lambda-wrapper 1.11.23 → 1.11.24
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, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;
|
|
10
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;
|
|
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
|
|
|
@@ -28,7 +28,10 @@ let Feature = (_dec = (0, _typeorm.Entity)({
|
|
|
28
28
|
type: "varchar",
|
|
29
29
|
length: "1024",
|
|
30
30
|
nullable: true
|
|
31
|
-
}), _dec6 = (0, _typeorm.
|
|
31
|
+
}), _dec6 = (0, _typeorm.Column)({
|
|
32
|
+
type: "boolean",
|
|
33
|
+
default: false
|
|
34
|
+
}), _dec7 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class Feature {
|
|
32
35
|
constructor() {
|
|
33
36
|
_initializerDefineProperty(this, "id", _descriptor, this);
|
|
34
37
|
|
|
@@ -38,7 +41,9 @@ let Feature = (_dec = (0, _typeorm.Entity)({
|
|
|
38
41
|
|
|
39
42
|
_initializerDefineProperty(this, "description", _descriptor4, this);
|
|
40
43
|
|
|
41
|
-
_initializerDefineProperty(this, "
|
|
44
|
+
_initializerDefineProperty(this, "is_beta", _descriptor5, this);
|
|
45
|
+
|
|
46
|
+
_initializerDefineProperty(this, "created_at", _descriptor6, this);
|
|
42
47
|
}
|
|
43
48
|
|
|
44
49
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
|
|
@@ -67,7 +72,14 @@ let Feature = (_dec = (0, _typeorm.Entity)({
|
|
|
67
72
|
initializer: function () {
|
|
68
73
|
return "";
|
|
69
74
|
}
|
|
70
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
75
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "is_beta", [_dec6], {
|
|
76
|
+
configurable: true,
|
|
77
|
+
enumerable: true,
|
|
78
|
+
writable: true,
|
|
79
|
+
initializer: function () {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec7], {
|
|
71
83
|
configurable: true,
|
|
72
84
|
enumerable: true,
|
|
73
85
|
writable: true,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class featureIsBeta1694771670423 {
|
|
4
|
+
name = 'featureIsBeta1694771670423'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "user"."feature" ADD "is_beta" boolean NOT NULL DEFAULT false`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "user"."feature" DROP COLUMN "is_beta"`);
|
|
12
|
+
}
|
|
13
|
+
}
|
package/package.json
CHANGED
|
File without changes
|