@felloh-org/lambda-wrapper 1.1.63 → 1.1.64
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.
|
@@ -17,7 +17,7 @@ var _uuid = require("uuid");
|
|
|
17
17
|
|
|
18
18
|
var _bookingComponent = _interopRequireDefault(require("../booking-component"));
|
|
19
19
|
|
|
20
|
-
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, _descriptor12, _descriptor13, _descriptor14;
|
|
20
|
+
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, _descriptor13, _descriptor14;
|
|
21
21
|
|
|
22
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
23
|
|
|
@@ -51,17 +51,17 @@ let Booking = (_dec = (0, _typeorm.Entity)({
|
|
|
51
51
|
}), _dec12 = (0, _typeorm.Column)({
|
|
52
52
|
type: "varchar",
|
|
53
53
|
length: "150"
|
|
54
|
-
}), _dec13 = (0, _typeorm.Column)({
|
|
54
|
+
}), _dec13 = (0, _typeorm.Index)(), _dec14 = (0, _typeorm.Column)({
|
|
55
55
|
type: "date",
|
|
56
56
|
nullable: true
|
|
57
|
-
}),
|
|
57
|
+
}), _dec15 = (0, _typeorm.Column)({
|
|
58
58
|
type: "date",
|
|
59
59
|
nullable: true
|
|
60
|
-
}),
|
|
60
|
+
}), _dec16 = (0, _typeorm.CreateDateColumn)({
|
|
61
61
|
type: 'timestamp with time zone'
|
|
62
|
-
}),
|
|
62
|
+
}), _dec17 = (0, _typeorm.UpdateDateColumn)({
|
|
63
63
|
type: 'timestamp with time zone'
|
|
64
|
-
}),
|
|
64
|
+
}), _dec18 = (0, _typeorm.DeleteDateColumn)({
|
|
65
65
|
type: 'timestamp with time zone',
|
|
66
66
|
nullable: true
|
|
67
67
|
}), _dec(_class = (_class2 = class Booking {
|
|
@@ -180,34 +180,34 @@ let Booking = (_dec = (0, _typeorm.Entity)({
|
|
|
180
180
|
initializer: function () {
|
|
181
181
|
return "";
|
|
182
182
|
}
|
|
183
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "booking_reference", [_dec12], {
|
|
183
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "booking_reference", [_dec12, _dec13], {
|
|
184
184
|
configurable: true,
|
|
185
185
|
enumerable: true,
|
|
186
186
|
writable: true,
|
|
187
187
|
initializer: function () {
|
|
188
188
|
return "";
|
|
189
189
|
}
|
|
190
|
-
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "departure_date", [
|
|
190
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "departure_date", [_dec14], {
|
|
191
191
|
configurable: true,
|
|
192
192
|
enumerable: true,
|
|
193
193
|
writable: true,
|
|
194
194
|
initializer: null
|
|
195
|
-
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "return_date", [
|
|
195
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "return_date", [_dec15], {
|
|
196
196
|
configurable: true,
|
|
197
197
|
enumerable: true,
|
|
198
198
|
writable: true,
|
|
199
199
|
initializer: null
|
|
200
|
-
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [
|
|
200
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec16], {
|
|
201
201
|
configurable: true,
|
|
202
202
|
enumerable: true,
|
|
203
203
|
writable: true,
|
|
204
204
|
initializer: null
|
|
205
|
-
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [
|
|
205
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec17], {
|
|
206
206
|
configurable: true,
|
|
207
207
|
enumerable: true,
|
|
208
208
|
writable: true,
|
|
209
209
|
initializer: null
|
|
210
|
-
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "deleted_at", [
|
|
210
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "deleted_at", [_dec18], {
|
|
211
211
|
configurable: true,
|
|
212
212
|
enumerable: true,
|
|
213
213
|
writable: true,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class bookingIndex1660137703368 {
|
|
4
|
+
name = 'bookingIndex1660137703368'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`CREATE INDEX "IDX_1b26cef9409d01141c96c86cfa" ON "agent_data"."booking" ("booking_reference") `);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`DROP INDEX "agent_data"."IDX_1b26cef9409d01141c96c86cfa"`);
|
|
12
|
+
}
|
|
13
|
+
}
|