@messenger-box/property-ext-server 0.0.1-alpha.195 → 0.0.1-alpha.198

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.
package/lib/index.js CHANGED
@@ -1,111 +1,38 @@
1
- module.exports =
2
- /******/ (function(modules) { // webpackBootstrap
3
- /******/ // The module cache
4
- /******/ var installedModules = {};
5
- /******/
6
- /******/ // The require function
7
- /******/ function __webpack_require__(moduleId) {
8
- /******/
9
- /******/ // Check if module is in cache
10
- /******/ if(installedModules[moduleId]) {
11
- /******/ return installedModules[moduleId].exports;
12
- /******/ }
13
- /******/ // Create a new module (and put it into the cache)
14
- /******/ var module = installedModules[moduleId] = {
15
- /******/ i: moduleId,
16
- /******/ l: false,
17
- /******/ exports: {}
18
- /******/ };
19
- /******/
20
- /******/ // Execute the module function
21
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22
- /******/
23
- /******/ // Flag the module as loaded
24
- /******/ module.l = true;
25
- /******/
26
- /******/ // Return the exports of the module
27
- /******/ return module.exports;
28
- /******/ }
29
- /******/
30
- /******/
31
- /******/ // expose the modules object (__webpack_modules__)
32
- /******/ __webpack_require__.m = modules;
33
- /******/
34
- /******/ // expose the module cache
35
- /******/ __webpack_require__.c = installedModules;
36
- /******/
37
- /******/ // define getter function for harmony exports
38
- /******/ __webpack_require__.d = function(exports, name, getter) {
39
- /******/ if(!__webpack_require__.o(exports, name)) {
40
- /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
41
- /******/ }
42
- /******/ };
43
- /******/
44
- /******/ // define __esModule on exports
45
- /******/ __webpack_require__.r = function(exports) {
46
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48
- /******/ }
49
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
50
- /******/ };
51
- /******/
52
- /******/ // create a fake namespace object
53
- /******/ // mode & 1: value is a module id, require it
54
- /******/ // mode & 2: merge all properties of value into the ns
55
- /******/ // mode & 4: return value when already ns object
56
- /******/ // mode & 8|1: behave like require
57
- /******/ __webpack_require__.t = function(value, mode) {
58
- /******/ if(mode & 1) value = __webpack_require__(value);
59
- /******/ if(mode & 8) return value;
60
- /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61
- /******/ var ns = Object.create(null);
62
- /******/ __webpack_require__.r(ns);
63
- /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64
- /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65
- /******/ return ns;
66
- /******/ };
67
- /******/
68
- /******/ // getDefaultExport function for compatibility with non-harmony modules
69
- /******/ __webpack_require__.n = function(module) {
70
- /******/ var getter = module && module.__esModule ?
71
- /******/ function getDefault() { return module['default']; } :
72
- /******/ function getModuleExports() { return module; };
73
- /******/ __webpack_require__.d(getter, 'a', getter);
74
- /******/ return getter;
75
- /******/ };
76
- /******/
77
- /******/ // Object.prototype.hasOwnProperty.call
78
- /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79
- /******/
80
- /******/ // __webpack_public_path__
81
- /******/ __webpack_require__.p = "";
82
- /******/
83
- /******/
84
- /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts");
86
- /******/ })
87
- /************************************************************************/
88
- /******/ ({
1
+ /******/ (() => { // webpackBootstrap
2
+ /******/ "use strict";
3
+ /******/ var __webpack_modules__ = ({
4
+
5
+ /***/ "./src/graphql/schema/post.graphql":
6
+ /*!*****************************************!*\
7
+ !*** ./src/graphql/schema/post.graphql ***!
8
+ \*****************************************/
9
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10
+
11
+ __webpack_require__.r(__webpack_exports__);
12
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
14
+ /* harmony export */ });
15
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("extend enum PostTypeEnum{\n ALERT\n CARD\n}\n");
16
+
17
+ /***/ }),
89
18
 
90
19
  /***/ "./src/config/config.ts":
91
20
  /*!******************************!*\
92
21
  !*** ./src/config/config.ts ***!
93
22
  \******************************/
94
- /*! no static exports found */
95
- /***/ (function(module, exports, __webpack_require__) {
23
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
96
24
 
97
- "use strict";
98
25
 
99
- Object.defineProperty(exports, "__esModule", { value: true });
26
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
100
27
  exports.config = void 0;
101
28
  const envalid_1 = __webpack_require__(/*! envalid */ "envalid");
102
29
  const env = process.APP_ENV || process.env;
103
- exports.config = envalid_1.cleanEnv(env, {
104
- NODE_ENV: envalid_1.str({ choices: ['production', 'test', 'staging', 'development'], default: 'production' }),
105
- POST_DATA_FILE_PATH: envalid_1.str({
30
+ exports.config = (0, envalid_1.cleanEnv)(env, {
31
+ NODE_ENV: (0, envalid_1.str)({ choices: ['production', 'test', 'staging', 'development'], default: 'production' }),
32
+ POST_DATA_FILE_PATH: (0, envalid_1.str)({
106
33
  default: 'node_modules/@messenger-box/property-ext-server/lib/mock/fixtures/post.json',
107
34
  }),
108
- CHANNEL_DATA_FILE_PATH: envalid_1.str({
35
+ CHANNEL_DATA_FILE_PATH: (0, envalid_1.str)({
109
36
  default: 'node_modules/@messenger-box/property-ext-server/lib/mock/fixtures/channel.json',
110
37
  }),
111
38
  });
@@ -117,14 +44,16 @@ exports.config = envalid_1.cleanEnv(env, {
117
44
  /*!*****************************!*\
118
45
  !*** ./src/config/index.ts ***!
119
46
  \*****************************/
120
- /*! no static exports found */
121
- /***/ (function(module, exports, __webpack_require__) {
47
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
122
48
 
123
- "use strict";
124
49
 
125
50
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
126
51
  if (k2 === undefined) k2 = k;
127
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
52
+ var desc = Object.getOwnPropertyDescriptor(m, k);
53
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
54
+ desc = { enumerable: true, get: function() { return m[k]; } };
55
+ }
56
+ Object.defineProperty(o, k2, desc);
128
57
  }) : (function(o, m, k, k2) {
129
58
  if (k2 === undefined) k2 = k;
130
59
  o[k2] = m[k];
@@ -132,7 +61,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
132
61
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
133
62
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
134
63
  };
135
- Object.defineProperty(exports, "__esModule", { value: true });
64
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
136
65
  __exportStar(__webpack_require__(/*! ./config */ "./src/config/config.ts"), exports);
137
66
 
138
67
 
@@ -142,12 +71,10 @@ __exportStar(__webpack_require__(/*! ./config */ "./src/config/config.ts"), expo
142
71
  /*!*************************************!*\
143
72
  !*** ./src/containers/container.ts ***!
144
73
  \*************************************/
145
- /*! no static exports found */
146
- /***/ (function(module, exports, __webpack_require__) {
74
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
147
75
 
148
- "use strict";
149
76
 
150
- Object.defineProperty(exports, "__esModule", { value: true });
77
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
151
78
  exports.propertyContainerModule = void 0;
152
79
  const inversify_1 = __webpack_require__(/*! inversify */ "inversify");
153
80
  const migrations_1 = __webpack_require__(/*! ../migrations */ "./src/migrations/index.ts");
@@ -164,14 +91,16 @@ exports.propertyContainerModule = propertyContainerModule;
164
91
  /*!*********************************!*\
165
92
  !*** ./src/containers/index.ts ***!
166
93
  \*********************************/
167
- /*! no static exports found */
168
- /***/ (function(module, exports, __webpack_require__) {
94
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
169
95
 
170
- "use strict";
171
96
 
172
97
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
173
98
  if (k2 === undefined) k2 = k;
174
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
99
+ var desc = Object.getOwnPropertyDescriptor(m, k);
100
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
101
+ desc = { enumerable: true, get: function() { return m[k]; } };
102
+ }
103
+ Object.defineProperty(o, k2, desc);
175
104
  }) : (function(o, m, k, k2) {
176
105
  if (k2 === undefined) k2 = k;
177
106
  o[k2] = m[k];
@@ -179,7 +108,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
179
108
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
180
109
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
181
110
  };
182
- Object.defineProperty(exports, "__esModule", { value: true });
111
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
183
112
  __exportStar(__webpack_require__(/*! ./container */ "./src/containers/container.ts"), exports);
184
113
 
185
114
 
@@ -189,15 +118,13 @@ __exportStar(__webpack_require__(/*! ./container */ "./src/containers/container.
189
118
  /*!******************************!*\
190
119
  !*** ./src/graphql/index.ts ***!
191
120
  \******************************/
192
- /*! no static exports found */
193
- /***/ (function(module, exports, __webpack_require__) {
121
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
194
122
 
195
- "use strict";
196
123
 
197
- Object.defineProperty(exports, "__esModule", { value: true });
124
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
198
125
  exports.schema = void 0;
199
126
  var schema_1 = __webpack_require__(/*! ./schema */ "./src/graphql/schema/index.ts");
200
- Object.defineProperty(exports, "schema", { enumerable: true, get: function () { return schema_1.schema; } });
127
+ Object.defineProperty(exports, "schema", ({ enumerable: true, get: function () { return schema_1.schema; } }));
201
128
 
202
129
 
203
130
  /***/ }),
@@ -206,15 +133,13 @@ Object.defineProperty(exports, "schema", { enumerable: true, get: function () {
206
133
  /*!*************************************!*\
207
134
  !*** ./src/graphql/schema/index.ts ***!
208
135
  \*************************************/
209
- /*! no static exports found */
210
- /***/ (function(module, exports, __webpack_require__) {
136
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
211
137
 
212
- "use strict";
213
138
 
214
139
  var __importDefault = (this && this.__importDefault) || function (mod) {
215
140
  return (mod && mod.__esModule) ? mod : { "default": mod };
216
141
  };
217
- Object.defineProperty(exports, "__esModule", { value: true });
142
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
218
143
  exports.schema = void 0;
219
144
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
220
145
  // @ts-nocheck
@@ -222,37 +147,22 @@ const post_graphql_1 = __importDefault(__webpack_require__(/*! ./post.graphql */
222
147
  exports.schema = [post_graphql_1.default].join('/n');
223
148
 
224
149
 
225
- /***/ }),
226
-
227
- /***/ "./src/graphql/schema/post.graphql":
228
- /*!*****************************************!*\
229
- !*** ./src/graphql/schema/post.graphql ***!
230
- \*****************************************/
231
- /*! exports provided: default */
232
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
233
-
234
- "use strict";
235
- __webpack_require__.r(__webpack_exports__);
236
- /* harmony default export */ __webpack_exports__["default"] = ("extend enum PostTypeEnum{\n ALERT\n CARD\n}\n");
237
-
238
150
  /***/ }),
239
151
 
240
152
  /***/ "./src/index.ts":
241
153
  /*!**********************!*\
242
154
  !*** ./src/index.ts ***!
243
155
  \**********************/
244
- /*! no static exports found */
245
- /***/ (function(module, exports, __webpack_require__) {
156
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
246
157
 
247
- "use strict";
248
158
 
249
159
  var __importDefault = (this && this.__importDefault) || function (mod) {
250
160
  return (mod && mod.__esModule) ? mod : { "default": mod };
251
161
  };
252
- Object.defineProperty(exports, "__esModule", { value: true });
253
- exports.default = void 0;
162
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
163
+ exports["default"] = void 0;
254
164
  var module_1 = __webpack_require__(/*! ./module */ "./src/module.ts");
255
- Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(module_1).default; } });
165
+ Object.defineProperty(exports, "default", ({ enumerable: true, get: function () { return __importDefault(module_1).default; } }));
256
166
 
257
167
 
258
168
  /***/ }),
@@ -261,10 +171,8 @@ Object.defineProperty(exports, "default", { enumerable: true, get: function () {
261
171
  /*!**********************************************!*\
262
172
  !*** ./src/migrations/bot-user-migration.ts ***!
263
173
  \**********************************************/
264
- /*! no static exports found */
265
- /***/ (function(module, exports, __webpack_require__) {
174
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
266
175
 
267
- "use strict";
268
176
 
269
177
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
270
178
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -276,7 +184,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
276
184
  return function (target, key) { decorator(target, key, paramIndex); }
277
185
  };
278
186
  var BotUserMigration_1;
279
- Object.defineProperty(exports, "__esModule", { value: true });
187
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
280
188
  exports.BotUserMigration = void 0;
281
189
  const inversify_1 = __webpack_require__(/*! inversify */ "inversify");
282
190
  const core_1 = __webpack_require__(/*! @common-stack/core */ "@common-stack/core");
@@ -324,9 +232,9 @@ let BotUserMigration = BotUserMigration_1 = class BotUserMigration {
324
232
  }
325
233
  };
326
234
  BotUserMigration = BotUserMigration_1 = __decorate([
327
- inversify_1.injectable(),
328
- __param(0, inversify_1.inject(core_1.CommonType.MOLECULER_BROKER)),
329
- __param(1, inversify_1.inject('Logger'))
235
+ (0, inversify_1.injectable)(),
236
+ __param(0, (0, inversify_1.inject)(core_1.CommonType.MOLECULER_BROKER)),
237
+ __param(1, (0, inversify_1.inject)('Logger'))
330
238
  ], BotUserMigration);
331
239
  exports.BotUserMigration = BotUserMigration;
332
240
 
@@ -337,17 +245,15 @@ exports.BotUserMigration = BotUserMigration;
337
245
  /*!*********************************!*\
338
246
  !*** ./src/migrations/index.ts ***!
339
247
  \*********************************/
340
- /*! no static exports found */
341
- /***/ (function(module, exports, __webpack_require__) {
248
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
342
249
 
343
- "use strict";
344
250
 
345
- Object.defineProperty(exports, "__esModule", { value: true });
251
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
346
252
  exports.BotUserMigration = exports.PropertyExtMessagesMigration = void 0;
347
253
  var property_ext_messages_migration_1 = __webpack_require__(/*! ./property-ext-messages-migration */ "./src/migrations/property-ext-messages-migration.ts");
348
- Object.defineProperty(exports, "PropertyExtMessagesMigration", { enumerable: true, get: function () { return property_ext_messages_migration_1.PropertyExtMessagesMigration; } });
254
+ Object.defineProperty(exports, "PropertyExtMessagesMigration", ({ enumerable: true, get: function () { return property_ext_messages_migration_1.PropertyExtMessagesMigration; } }));
349
255
  var bot_user_migration_1 = __webpack_require__(/*! ./bot-user-migration */ "./src/migrations/bot-user-migration.ts");
350
- Object.defineProperty(exports, "BotUserMigration", { enumerable: true, get: function () { return bot_user_migration_1.BotUserMigration; } });
256
+ Object.defineProperty(exports, "BotUserMigration", ({ enumerable: true, get: function () { return bot_user_migration_1.BotUserMigration; } }));
351
257
 
352
258
 
353
259
  /***/ }),
@@ -356,10 +262,8 @@ Object.defineProperty(exports, "BotUserMigration", { enumerable: true, get: func
356
262
  /*!***********************************************************!*\
357
263
  !*** ./src/migrations/property-ext-messages-migration.ts ***!
358
264
  \***********************************************************/
359
- /*! no static exports found */
360
- /***/ (function(module, exports, __webpack_require__) {
265
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
361
266
 
362
- "use strict";
363
267
 
364
268
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
365
269
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -371,7 +275,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
371
275
  return function (target, key) { decorator(target, key, paramIndex); }
372
276
  };
373
277
  var PropertyExtMessagesMigration_1;
374
- Object.defineProperty(exports, "__esModule", { value: true });
278
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
375
279
  exports.PropertyExtMessagesMigration = void 0;
376
280
  const inversify_1 = __webpack_require__(/*! inversify */ "inversify");
377
281
  const core_1 = __webpack_require__(/*! @common-stack/core */ "@common-stack/core");
@@ -564,9 +468,9 @@ let PropertyExtMessagesMigration = PropertyExtMessagesMigration_1 = class Proper
564
468
  }
565
469
  };
566
470
  PropertyExtMessagesMigration = PropertyExtMessagesMigration_1 = __decorate([
567
- inversify_1.injectable(),
568
- __param(0, inversify_1.inject(core_1.CommonType.MOLECULER_BROKER)),
569
- __param(1, inversify_1.inject('Logger'))
471
+ (0, inversify_1.injectable)(),
472
+ __param(0, (0, inversify_1.inject)(core_1.CommonType.MOLECULER_BROKER)),
473
+ __param(1, (0, inversify_1.inject)('Logger'))
570
474
  ], PropertyExtMessagesMigration);
571
475
  exports.PropertyExtMessagesMigration = PropertyExtMessagesMigration;
572
476
 
@@ -577,16 +481,14 @@ exports.PropertyExtMessagesMigration = PropertyExtMessagesMigration;
577
481
  /*!***********************!*\
578
482
  !*** ./src/module.ts ***!
579
483
  \***********************/
580
- /*! no static exports found */
581
- /***/ (function(module, exports, __webpack_require__) {
484
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
582
485
 
583
- "use strict";
584
486
 
585
- Object.defineProperty(exports, "__esModule", { value: true });
487
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
586
488
  const server_core_1 = __webpack_require__(/*! @common-stack/server-core */ "@common-stack/server-core");
587
489
  const containers_1 = __webpack_require__(/*! ./containers */ "./src/containers/index.ts");
588
490
  const graphql_1 = __webpack_require__(/*! ./graphql */ "./src/graphql/index.ts");
589
- exports.default = new server_core_1.Feature({
491
+ exports["default"] = new server_core_1.Feature({
590
492
  schema: graphql_1.schema,
591
493
  createContainerFunc: [containers_1.propertyContainerModule],
592
494
  });
@@ -598,8 +500,7 @@ exports.default = new server_core_1.Feature({
598
500
  /*!*************************************!*\
599
501
  !*** external "@common-stack/core" ***!
600
502
  \*************************************/
601
- /*! no static exports found */
602
- /***/ (function(module, exports) {
503
+ /***/ ((module) => {
603
504
 
604
505
  module.exports = require("@common-stack/core");
605
506
 
@@ -609,8 +510,7 @@ module.exports = require("@common-stack/core");
609
510
  /*!********************************************!*\
610
511
  !*** external "@common-stack/server-core" ***!
611
512
  \********************************************/
612
- /*! no static exports found */
613
- /***/ (function(module, exports) {
513
+ /***/ ((module) => {
614
514
 
615
515
  module.exports = require("@common-stack/server-core");
616
516
 
@@ -620,8 +520,7 @@ module.exports = require("@common-stack/server-core");
620
520
  /*!**************************************!*\
621
521
  !*** external "@messenger-box/core" ***!
622
522
  \**************************************/
623
- /*! no static exports found */
624
- /***/ (function(module, exports) {
523
+ /***/ ((module) => {
625
524
 
626
525
  module.exports = require("@messenger-box/core");
627
526
 
@@ -631,8 +530,7 @@ module.exports = require("@messenger-box/core");
631
530
  /*!***************************************************!*\
632
531
  !*** external "@messenger-box/property-ext-core" ***!
633
532
  \***************************************************/
634
- /*! no static exports found */
635
- /***/ (function(module, exports) {
533
+ /***/ ((module) => {
636
534
 
637
535
  module.exports = require("@messenger-box/property-ext-core");
638
536
 
@@ -642,8 +540,7 @@ module.exports = require("@messenger-box/property-ext-core");
642
540
  /*!**************************!*\
643
541
  !*** external "envalid" ***!
644
542
  \**************************/
645
- /*! no static exports found */
646
- /***/ (function(module, exports) {
543
+ /***/ ((module) => {
647
544
 
648
545
  module.exports = require("envalid");
649
546
 
@@ -653,12 +550,75 @@ module.exports = require("envalid");
653
550
  /*!****************************!*\
654
551
  !*** external "inversify" ***!
655
552
  \****************************/
656
- /*! no static exports found */
657
- /***/ (function(module, exports) {
553
+ /***/ ((module) => {
658
554
 
659
555
  module.exports = require("inversify");
660
556
 
661
557
  /***/ })
662
558
 
663
- /******/ });
559
+ /******/ });
560
+ /************************************************************************/
561
+ /******/ // The module cache
562
+ /******/ var __webpack_module_cache__ = {};
563
+ /******/
564
+ /******/ // The require function
565
+ /******/ function __webpack_require__(moduleId) {
566
+ /******/ // Check if module is in cache
567
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
568
+ /******/ if (cachedModule !== undefined) {
569
+ /******/ return cachedModule.exports;
570
+ /******/ }
571
+ /******/ // Create a new module (and put it into the cache)
572
+ /******/ var module = __webpack_module_cache__[moduleId] = {
573
+ /******/ // no module.id needed
574
+ /******/ // no module.loaded needed
575
+ /******/ exports: {}
576
+ /******/ };
577
+ /******/
578
+ /******/ // Execute the module function
579
+ /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
580
+ /******/
581
+ /******/ // Return the exports of the module
582
+ /******/ return module.exports;
583
+ /******/ }
584
+ /******/
585
+ /************************************************************************/
586
+ /******/ /* webpack/runtime/define property getters */
587
+ /******/ (() => {
588
+ /******/ // define getter functions for harmony exports
589
+ /******/ __webpack_require__.d = (exports, definition) => {
590
+ /******/ for(var key in definition) {
591
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
592
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
593
+ /******/ }
594
+ /******/ }
595
+ /******/ };
596
+ /******/ })();
597
+ /******/
598
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
599
+ /******/ (() => {
600
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
601
+ /******/ })();
602
+ /******/
603
+ /******/ /* webpack/runtime/make namespace object */
604
+ /******/ (() => {
605
+ /******/ // define __esModule on exports
606
+ /******/ __webpack_require__.r = (exports) => {
607
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
608
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
609
+ /******/ }
610
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
611
+ /******/ };
612
+ /******/ })();
613
+ /******/
614
+ /************************************************************************/
615
+ /******/
616
+ /******/ // startup
617
+ /******/ // Load entry module and return exports
618
+ /******/ // This entry module is referenced by other modules so it can't be inlined
619
+ /******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
620
+ /******/ module.exports = __webpack_exports__;
621
+ /******/
622
+ /******/ })()
623
+ ;
664
624
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/config/config.ts","webpack:///./src/config/index.ts","webpack:///./src/containers/container.ts","webpack:///./src/containers/index.ts","webpack:///./src/graphql/index.ts","webpack:///./src/graphql/schema/index.ts","webpack:///./src/graphql/schema/post.graphql","webpack:///./src/index.ts","webpack:///./src/migrations/bot-user-migration.ts","webpack:///./src/migrations/index.ts","webpack:///./src/migrations/property-ext-messages-migration.ts","webpack:///./src/module.ts","webpack:///external \"@common-stack/core\"","webpack:///external \"@common-stack/server-core\"","webpack:///external \"@messenger-box/core\"","webpack:///external \"@messenger-box/property-ext-core\"","webpack:///external \"envalid\"","webpack:///external \"inversify\""],"names":[],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAEr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;;;;;;;;;ACAA,gD;;;;;;;;;;;ACAA,6D;;;;;;;;;;;ACAA,oC;;;;;;;;;;;ACAA,sC","file":"index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./src/index.ts\");\n","import { str, cleanEnv, json } from 'envalid';\nimport { IntegrationConnections, Integrations } from '@adminide-stack/core';\n\nconst env = (process as any).APP_ENV || process.env;\n\nexport const config = cleanEnv(env, {\n NODE_ENV: str({ choices: ['production', 'test', 'staging', 'development'], default: 'production' }),\n POST_DATA_FILE_PATH: str({\n default: 'node_modules/@messenger-box/property-ext-server/lib/mock/fixtures/post.json',\n }),\n CHANNEL_DATA_FILE_PATH: str({\n default: 'node_modules/@messenger-box/property-ext-server/lib/mock/fixtures/channel.json',\n }),\n});\n","export * from './config';\n","import { ContainerModule, interfaces } from 'inversify';\nimport { BotUserMigration, PropertyExtMessagesMigration } from '../migrations';\n\nexport const propertyContainerModule: (settings) => interfaces.ContainerModule = () =>\n new ContainerModule((bind: interfaces.Bind) => {\n bind('MongodbMigration').to(BotUserMigration).whenTargetNamed(BotUserMigration.name);\n bind('MongodbMigration').to(PropertyExtMessagesMigration).whenTargetNamed(PropertyExtMessagesMigration.name);\n });\n","export * from './container';\n","export { schema } from './schema';\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\nimport post from './post.graphql';\n\nexport const schema = [post].join('/n');\n","export default \"extend enum PostTypeEnum{\\n ALERT\\n CARD\\n}\\n\";","export { default } from './module';\n","import { inject, injectable } from 'inversify';\nimport { CommonType } from '@common-stack/core';\nimport { ServiceBroker } from 'moleculer';\nimport { IDatabaseMigration } from '@adminide-stack/core';\nimport * as Logger from 'bunyan';\nimport { config } from '../config';\n\n@injectable()\nexport class BotUserMigration implements IDatabaseMigration {\n constructor(\n @inject(CommonType.MOLECULER_BROKER)\n private readonly broker: ServiceBroker,\n @inject('Logger')\n private logger: Logger,\n ) {\n this.logger = logger.child({ className: BotUserMigration.name });\n }\n\n protected name = 'BotUserMigration';\n\n id = `${this.constructor.name}_20220502`;\n\n async up(): Promise<void> {\n await this.down();\n this.logger.debug(`(up) Starting up migration...`);\n const user = await this.broker.call(`AccountUser.createAccount`, {\n account: {\n username: 'resortifi',\n email: 'resortifi-bot@resortifi.com',\n alias: 'resortifi',\n emailVerified: true,\n notificationEmail: '',\n },\n });\n this.logger.debug(`(up) done`, user);\n }\n\n async down(): Promise<void> {\n if (config.isDev) {\n await this.broker.waitForServices('AccountUser');\n }\n this.logger.debug(`(down) Starting down migration...`);\n const user = await this.broker.call<{ id: string }, { email: string }>(`AccountUser.findAccountByEmail`, {\n email: 'resortifi-bot@resortifi.com',\n });\n if (!user) {\n return;\n }\n this.logger.debug(`(down) User Found, dropping...`, user);\n await this.broker.call(`AccountUser.deleteAccount`, {\n account: {\n id: user.id,\n },\n });\n this.logger.debug(`(down) User drop done!`);\n }\n}\n","export { PropertyExtMessagesMigration } from './property-ext-messages-migration';\nexport { BotUserMigration } from './bot-user-migration';\n","import { inject, injectable } from 'inversify';\nimport { IDatabaseMigration, IUserAccount } from '@adminide-stack/core';\nimport { CommonType } from '@common-stack/core';\nimport { ServiceBroker } from 'moleculer';\nimport * as Logger from 'bunyan';\nimport { IChannel, IPost, IPostTypeEnum } from '@messenger-box/property-ext-core';\nimport { IBaseServiceCommands, IMoleculerTopics, IRoomType } from '@messenger-box/core';\nimport { config } from '../config';\n\n@injectable()\nexport class PropertyExtMessagesMigration implements IDatabaseMigration {\n constructor(\n @inject(CommonType.MOLECULER_BROKER)\n private readonly broker: ServiceBroker,\n @inject('Logger')\n private logger: Logger,\n ) {\n this.logger = logger.child({ className: PropertyExtMessagesMigration.name });\n }\n\n id: 'MessagesMigration_07202022';\n\n protected name = 'PropertyExtMessagesMigration';\n\n private async createUsers(): Promise<[IUserAccount, IUserAccount]> {\n const userOne = this.broker.call<IUserAccount, unknown>(`AccountUser.createAccount`, {\n account: {\n username: 'propertyAutomatedUser',\n email: 'property-automated-user@resortifi.com',\n alias: 'propertyAutomatedUser',\n emailVerified: true,\n notificationEmail: '',\n },\n });\n const userTwo = this.broker.call<IUserAccount, unknown>(`AccountUser.createAccount`, {\n account: {\n username: 'propertyAutomatedUser2',\n email: 'property-automated-user2@resortifi.com',\n alias: 'propertyAutomatedUser2',\n emailVerified: true,\n notificationEmail: '',\n },\n });\n return Promise.all([userOne, userTwo]);\n }\n\n private createChannel(owner: IUserAccount, guest: IUserAccount): Promise<IChannel> {\n return this.broker.call(`${IMoleculerTopics.ChannelService}.${IBaseServiceCommands.create}`, {\n data: {\n topic: 'Fixtures',\n title: `${owner.alias}:${guest.alias}`,\n creator: guest.id as never,\n displayName: `${owner.alias}:${guest.alias}`,\n type: IRoomType.DIRECT,\n members: [\n {\n id: undefined,\n schemeAdmin: false,\n roles: 'OWNER',\n user: owner.id as never,\n },\n {\n id: undefined,\n schemeAdmin: true,\n roles: 'GUEST',\n user: guest.id as never,\n },\n ],\n },\n });\n }\n\n private async createSimpleMessage(channelId: string, editedBy: string) {\n return this.broker.call(`${IMoleculerTopics.PostService}.${IBaseServiceCommands.create}`, {\n data: {\n editedBy: editedBy as never,\n channel: channelId as never,\n message: 'Hello from the migrations',\n type: IPostTypeEnum.Simple as never,\n files: [],\n },\n });\n }\n\n private async createAlertMessage(channelId: string, editedBy: string) {\n const message = 'This is a dummy alert!';\n return this.broker.call(`${IMoleculerTopics.PostService}.${IBaseServiceCommands.create}`, {\n data: {\n editedBy: editedBy as never,\n channel: channelId as never,\n message,\n type: IPostTypeEnum.ALERT as never,\n files: [],\n props: {\n ref: 'Dummy',\n refId: 'some-ref',\n attachment: {\n title: message,\n isTitleHtml: false,\n icon: 'InfoIcon',\n callToAction: {\n title: 'View',\n link: `/some-route/some-id`,\n },\n },\n },\n },\n });\n }\n\n private async createCardMessage(channelId: string, editedBy: string) {\n const message = 'Inquiry for fixture property';\n return this.broker.call(`${IMoleculerTopics.PostService}.${IBaseServiceCommands.create}`, {\n data: {\n editedBy: editedBy as never,\n channel: channelId as never,\n message,\n type: IPostTypeEnum.CARD as never,\n files: [],\n props: {\n ref: 'Property',\n refId: 'some-property-id',\n attachment: {\n image: 'https://placehold.co/300',\n title: message,\n isTitleHtml: false,\n description:\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis interdum leo augue, non posuere sapien ullamcorper ac. Aliquam vitae ornare libero, ac vulputate elit. Aenean interdum, mi a viverra maximus, leo nibh maximus augue, vel ultrices leo ante et ex. Maecenas vel mi auctor, egestas tellus nec, placerat odio. Curabitur eget tortor sed ligula pharetra varius. Aliquam sit amet lacus ligula. Etiam vitae magna eros.',\n isDescriptionHtml: false,\n callToAction: {\n title: 'View',\n // Should come from frontend\n link: `/property/some-id`,\n },\n property: {\n price: 10,\n priceType: 'Hourly',\n type: 'Hotel',\n totalStar: 5,\n maxPeople: 500,\n totalReview: 450,\n },\n },\n },\n },\n });\n }\n\n private async waitForServices() {\n if (config.isDev) {\n await this.broker.waitForServices('AccountUser');\n await this.broker.waitForServices(`${IMoleculerTopics.ChannelService}`);\n await this.broker.waitForServices(`${IMoleculerTopics.PostService}`);\n }\n }\n\n async up(): Promise<void> {\n await this.waitForServices();\n await this.down();\n this.logger.debug(`(up) Starting up migration...`);\n const users = await this.createUsers();\n this.logger.debug('(up) users created...');\n const channel = await this.createChannel(users[0], users[1]);\n if (!channel) {\n return;\n }\n this.logger.debug('(up) channel created...');\n await Promise.all([\n this.createSimpleMessage(channel.id, users[0].id),\n this.createAlertMessage(channel.id, users[0].id),\n this.createCardMessage(channel.id, users[0].id),\n ]);\n this.logger.debug('(up) messages created...');\n }\n\n async down(): Promise<void> {\n this.logger.debug(`(down) Starting down migration...`);\n const users = await this.broker.call<IUserAccount[], unknown>('AccountUser.getAll', {\n options: {\n email: ['property-automated-user@resortifi.com', 'property-automated-user2@resortifi.com'],\n },\n });\n await Promise.all(\n users.map(({ id }) =>\n this.broker.call(`AccountUser.deleteAccount`, {\n account: {\n id,\n },\n }),\n ),\n );\n const [channel] = await this.broker.call(`${IMoleculerTopics.ChannelService}.${IBaseServiceCommands.getAll}`, {\n criteria: {\n displayName: `propertyAutomatedUser:propertyAutomatedUser2`,\n },\n });\n if (!channel?.id) {\n this.logger.debug(`(down) No Channel found, skipping migration!`);\n return;\n }\n const posts = await this.broker.call<IPost[], unknown>(`${IMoleculerTopics.PostService}.getAll`, {\n criteria: {\n channel: channel.id,\n },\n });\n await Promise.all(\n posts.map(({ id }) =>\n this.broker.call(`${IMoleculerTopics.PostService}.delete`, {\n id,\n }),\n ),\n );\n await this.broker.call(`${IMoleculerTopics.ChannelService}.${IBaseServiceCommands.delete}`, {\n id: channel.id,\n });\n this.logger.debug(`(down) Successful`);\n }\n}\n","import { Feature } from '@common-stack/server-core';\nimport { propertyContainerModule } from './containers';\nimport { schema } from './graphql';\n\nexport default new Feature({\n schema,\n createContainerFunc: [propertyContainerModule],\n});\n","module.exports = require(\"@common-stack/core\");","module.exports = require(\"@common-stack/server-core\");","module.exports = require(\"@messenger-box/core\");","module.exports = require(\"@messenger-box/property-ext-core\");","module.exports = require(\"envalid\");","module.exports = require(\"inversify\");"],"sourceRoot":""}
1
+ {"version":3,"file":"index.js","mappings":";;;;;;;;;;;;;;AAAA,iEAAe,0BAA0B,wBAAwB,GAAG;;;;;;;;;;;;;ACApE,gEAA8C;AAG9C,MAAM,GAAG,GAAI,OAAe,CAAC,OAAO,IAAI,OAAO,CAAC,GAAG,CAAC;AAEvC,cAAM,GAAG,sBAAQ,EAAC,GA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A;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;UENA;UACA;UACA;UACA","sources":["webpack://@messenger-box/property-ext-server/./src/graphql/schema/post.graphql","webpack://@messenger-box/property-ext-server/./src/config/config.ts","webpack://@messenger-box/property-ext-server/./src/config/index.ts","webpack://@messenger-box/property-ext-server/./src/containers/container.ts","webpack://@messenger-box/property-ext-server/./src/containers/index.ts","webpack://@messenger-box/property-ext-server/./src/graphql/index.ts","webpack://@messenger-box/property-ext-server/./src/graphql/schema/index.ts","webpack://@messenger-box/property-ext-server/./src/index.ts","webpack://@messenger-box/property-ext-server/./src/migrations/bot-user-migration.ts","webpack://@messenger-box/property-ext-server/./src/migrations/index.ts","webpack://@messenger-box/property-ext-server/./src/migrations/property-ext-messages-migration.ts","webpack://@messenger-box/property-ext-server/./src/module.ts","webpack://@messenger-box/property-ext-server/external commonjs \"@common-stack/core\"","webpack://@messenger-box/property-ext-server/external commonjs \"@common-stack/server-core\"","webpack://@messenger-box/property-ext-server/external commonjs \"@messenger-box/core\"","webpack://@messenger-box/property-ext-server/external commonjs \"@messenger-box/property-ext-core\"","webpack://@messenger-box/property-ext-server/external commonjs \"envalid\"","webpack://@messenger-box/property-ext-server/external commonjs \"inversify\"","webpack://@messenger-box/property-ext-server/webpack/bootstrap","webpack://@messenger-box/property-ext-server/webpack/runtime/define property getters","webpack://@messenger-box/property-ext-server/webpack/runtime/hasOwnProperty shorthand","webpack://@messenger-box/property-ext-server/webpack/runtime/make namespace object","webpack://@messenger-box/property-ext-server/webpack/before-startup","webpack://@messenger-box/property-ext-server/webpack/startup","webpack://@messenger-box/property-ext-server/webpack/after-startup"],"sourcesContent":["export default \"extend enum PostTypeEnum{\\n ALERT\\n CARD\\n}\\n\";","import { str, cleanEnv, json } from 'envalid';\nimport { IntegrationConnections, Integrations } from '@adminide-stack/core';\n\nconst env = (process as any).APP_ENV || process.env;\n\nexport const config = cleanEnv(env, {\n NODE_ENV: str({ choices: ['production', 'test', 'staging', 'development'], default: 'production' }),\n POST_DATA_FILE_PATH: str({\n default: 'node_modules/@messenger-box/property-ext-server/lib/mock/fixtures/post.json',\n }),\n CHANNEL_DATA_FILE_PATH: str({\n default: 'node_modules/@messenger-box/property-ext-server/lib/mock/fixtures/channel.json',\n }),\n});\n","export * from './config';\n","import { ContainerModule, interfaces } from 'inversify';\nimport { BotUserMigration, PropertyExtMessagesMigration } from '../migrations';\n\nexport const propertyContainerModule: (settings) => interfaces.ContainerModule = () =>\n new ContainerModule((bind: interfaces.Bind) => {\n bind('MongodbMigration').to(BotUserMigration).whenTargetNamed(BotUserMigration.name);\n bind('MongodbMigration').to(PropertyExtMessagesMigration).whenTargetNamed(PropertyExtMessagesMigration.name);\n });\n","export * from './container';\n","export { schema } from './schema';\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\nimport post from './post.graphql';\n\nexport const schema = [post].join('/n');\n","export { default } from './module';\n","import { inject, injectable } from 'inversify';\nimport { CommonType } from '@common-stack/core';\nimport { ServiceBroker } from 'moleculer';\nimport { IDatabaseMigration } from '@adminide-stack/core';\nimport * as Logger from 'bunyan';\nimport { config } from '../config';\n\n@injectable()\nexport class BotUserMigration implements IDatabaseMigration {\n constructor(\n @inject(CommonType.MOLECULER_BROKER)\n private readonly broker: ServiceBroker,\n @inject('Logger')\n private logger: Logger,\n ) {\n this.logger = logger.child({ className: BotUserMigration.name });\n }\n\n protected name = 'BotUserMigration';\n\n id = `${this.constructor.name}_20220502`;\n\n async up(): Promise<void> {\n await this.down();\n this.logger.debug(`(up) Starting up migration...`);\n const user = await this.broker.call(`AccountUser.createAccount`, {\n account: {\n username: 'resortifi',\n email: 'resortifi-bot@resortifi.com',\n alias: 'resortifi',\n emailVerified: true,\n notificationEmail: '',\n },\n });\n this.logger.debug(`(up) done`, user);\n }\n\n async down(): Promise<void> {\n if (config.isDev) {\n await this.broker.waitForServices('AccountUser');\n }\n this.logger.debug(`(down) Starting down migration...`);\n const user = await this.broker.call<{ id: string }, { email: string }>(`AccountUser.findAccountByEmail`, {\n email: 'resortifi-bot@resortifi.com',\n });\n if (!user) {\n return;\n }\n this.logger.debug(`(down) User Found, dropping...`, user);\n await this.broker.call(`AccountUser.deleteAccount`, {\n account: {\n id: user.id,\n },\n });\n this.logger.debug(`(down) User drop done!`);\n }\n}\n","export { PropertyExtMessagesMigration } from './property-ext-messages-migration';\nexport { BotUserMigration } from './bot-user-migration';\n","import { inject, injectable } from 'inversify';\nimport { IDatabaseMigration, IUserAccount } from '@adminide-stack/core';\nimport { CommonType } from '@common-stack/core';\nimport { ServiceBroker } from 'moleculer';\nimport * as Logger from 'bunyan';\nimport { IChannel, IPost, IPostTypeEnum } from '@messenger-box/property-ext-core';\nimport { IBaseServiceCommands, IMoleculerTopics, IRoomType } from '@messenger-box/core';\nimport { config } from '../config';\n\n@injectable()\nexport class PropertyExtMessagesMigration implements IDatabaseMigration {\n constructor(\n @inject(CommonType.MOLECULER_BROKER)\n private readonly broker: ServiceBroker,\n @inject('Logger')\n private logger: Logger,\n ) {\n this.logger = logger.child({ className: PropertyExtMessagesMigration.name });\n }\n\n id: 'MessagesMigration_07202022';\n\n protected name = 'PropertyExtMessagesMigration';\n\n private async createUsers(): Promise<[IUserAccount, IUserAccount]> {\n const userOne = this.broker.call<IUserAccount, unknown>(`AccountUser.createAccount`, {\n account: {\n username: 'propertyAutomatedUser',\n email: 'property-automated-user@resortifi.com',\n alias: 'propertyAutomatedUser',\n emailVerified: true,\n notificationEmail: '',\n },\n });\n const userTwo = this.broker.call<IUserAccount, unknown>(`AccountUser.createAccount`, {\n account: {\n username: 'propertyAutomatedUser2',\n email: 'property-automated-user2@resortifi.com',\n alias: 'propertyAutomatedUser2',\n emailVerified: true,\n notificationEmail: '',\n },\n });\n return Promise.all([userOne, userTwo]);\n }\n\n private createChannel(owner: IUserAccount, guest: IUserAccount): Promise<IChannel> {\n return this.broker.call(`${IMoleculerTopics.ChannelService}.${IBaseServiceCommands.create}`, {\n data: {\n topic: 'Fixtures',\n title: `${owner.alias}:${guest.alias}`,\n creator: guest.id as never,\n displayName: `${owner.alias}:${guest.alias}`,\n type: IRoomType.DIRECT,\n members: [\n {\n id: undefined,\n schemeAdmin: false,\n roles: 'OWNER',\n user: owner.id as never,\n },\n {\n id: undefined,\n schemeAdmin: true,\n roles: 'GUEST',\n user: guest.id as never,\n },\n ],\n },\n });\n }\n\n private async createSimpleMessage(channelId: string, editedBy: string) {\n return this.broker.call(`${IMoleculerTopics.PostService}.${IBaseServiceCommands.create}`, {\n data: {\n editedBy: editedBy as never,\n channel: channelId as never,\n message: 'Hello from the migrations',\n type: IPostTypeEnum.Simple as never,\n files: [],\n },\n });\n }\n\n private async createAlertMessage(channelId: string, editedBy: string) {\n const message = 'This is a dummy alert!';\n return this.broker.call(`${IMoleculerTopics.PostService}.${IBaseServiceCommands.create}`, {\n data: {\n editedBy: editedBy as never,\n channel: channelId as never,\n message,\n type: IPostTypeEnum.ALERT as never,\n files: [],\n props: {\n ref: 'Dummy',\n refId: 'some-ref',\n attachment: {\n title: message,\n isTitleHtml: false,\n icon: 'InfoIcon',\n callToAction: {\n title: 'View',\n link: `/some-route/some-id`,\n },\n },\n },\n },\n });\n }\n\n private async createCardMessage(channelId: string, editedBy: string) {\n const message = 'Inquiry for fixture property';\n return this.broker.call(`${IMoleculerTopics.PostService}.${IBaseServiceCommands.create}`, {\n data: {\n editedBy: editedBy as never,\n channel: channelId as never,\n message,\n type: IPostTypeEnum.CARD as never,\n files: [],\n props: {\n ref: 'Property',\n refId: 'some-property-id',\n attachment: {\n image: 'https://placehold.co/300',\n title: message,\n isTitleHtml: false,\n description:\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis interdum leo augue, non posuere sapien ullamcorper ac. Aliquam vitae ornare libero, ac vulputate elit. Aenean interdum, mi a viverra maximus, leo nibh maximus augue, vel ultrices leo ante et ex. Maecenas vel mi auctor, egestas tellus nec, placerat odio. Curabitur eget tortor sed ligula pharetra varius. Aliquam sit amet lacus ligula. Etiam vitae magna eros.',\n isDescriptionHtml: false,\n callToAction: {\n title: 'View',\n // Should come from frontend\n link: `/property/some-id`,\n },\n property: {\n price: 10,\n priceType: 'Hourly',\n type: 'Hotel',\n totalStar: 5,\n maxPeople: 500,\n totalReview: 450,\n },\n },\n },\n },\n });\n }\n\n private async waitForServices() {\n if (config.isDev) {\n await this.broker.waitForServices('AccountUser');\n await this.broker.waitForServices(`${IMoleculerTopics.ChannelService}`);\n await this.broker.waitForServices(`${IMoleculerTopics.PostService}`);\n }\n }\n\n async up(): Promise<void> {\n await this.waitForServices();\n await this.down();\n this.logger.debug(`(up) Starting up migration...`);\n const users = await this.createUsers();\n this.logger.debug('(up) users created...');\n const channel = await this.createChannel(users[0], users[1]);\n if (!channel) {\n return;\n }\n this.logger.debug('(up) channel created...');\n await Promise.all([\n this.createSimpleMessage(channel.id, users[0].id),\n this.createAlertMessage(channel.id, users[0].id),\n this.createCardMessage(channel.id, users[0].id),\n ]);\n this.logger.debug('(up) messages created...');\n }\n\n async down(): Promise<void> {\n this.logger.debug(`(down) Starting down migration...`);\n const users = await this.broker.call<IUserAccount[], unknown>('AccountUser.getAll', {\n options: {\n email: ['property-automated-user@resortifi.com', 'property-automated-user2@resortifi.com'],\n },\n });\n await Promise.all(\n users.map(({ id }) =>\n this.broker.call(`AccountUser.deleteAccount`, {\n account: {\n id,\n },\n }),\n ),\n );\n const [channel] = await this.broker.call(`${IMoleculerTopics.ChannelService}.${IBaseServiceCommands.getAll}`, {\n criteria: {\n displayName: `propertyAutomatedUser:propertyAutomatedUser2`,\n },\n });\n if (!channel?.id) {\n this.logger.debug(`(down) No Channel found, skipping migration!`);\n return;\n }\n const posts = await this.broker.call<IPost[], unknown>(`${IMoleculerTopics.PostService}.getAll`, {\n criteria: {\n channel: channel.id,\n },\n });\n await Promise.all(\n posts.map(({ id }) =>\n this.broker.call(`${IMoleculerTopics.PostService}.delete`, {\n id,\n }),\n ),\n );\n await this.broker.call(`${IMoleculerTopics.ChannelService}.${IBaseServiceCommands.delete}`, {\n id: channel.id,\n });\n this.logger.debug(`(down) Successful`);\n }\n}\n","import { Feature } from '@common-stack/server-core';\nimport { propertyContainerModule } from './containers';\nimport { schema } from './graphql';\n\nexport default new Feature({\n schema,\n createContainerFunc: [propertyContainerModule],\n});\n","module.exports = require(\"@common-stack/core\");","module.exports = require(\"@common-stack/server-core\");","module.exports = require(\"@messenger-box/core\");","module.exports = require(\"@messenger-box/property-ext-core\");","module.exports = require(\"envalid\");","module.exports = require(\"inversify\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(\"./src/index.ts\");\n",""],"names":[],"sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messenger-box/property-ext-server",
3
- "version": "0.0.1-alpha.195",
3
+ "version": "0.0.1-alpha.198",
4
4
  "description": "Extension to Messenger to support property",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -38,7 +38,7 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@messenger-box/property-ext-core": "0.0.1-alpha.192"
41
+ "@messenger-box/property-ext-core": "0.0.1-alpha.198"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@adminide-stack/account-api-server": "1.1.3-alpha.37",
@@ -67,5 +67,5 @@
67
67
  "typescript": {
68
68
  "definition": "lib/index.d.ts"
69
69
  },
70
- "gitHead": "24872b58431cc4f8861c952af50cb9560883b00a"
70
+ "gitHead": "3c92df614eed54e8dc4b34e1a1384f4e45502861"
71
71
  }