@messenger-box/core 0.0.1-alpha.192 → 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 +65 -114
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -1,102 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
/******/
|
|
3
|
-
/******/
|
|
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__ = ({
|
|
89
4
|
|
|
90
5
|
/***/ "./src/constants/constant.ts":
|
|
91
6
|
/*!***********************************!*\
|
|
92
7
|
!*** ./src/constants/constant.ts ***!
|
|
93
8
|
\***********************************/
|
|
94
|
-
|
|
95
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
96
10
|
|
|
97
|
-
"use strict";
|
|
98
11
|
|
|
99
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
100
13
|
exports.MESSAGE_SLOT_FILL_NAME = void 0;
|
|
101
14
|
exports.MESSAGE_SLOT_FILL_NAME = 'message-slot-fill-name';
|
|
102
15
|
|
|
@@ -107,14 +20,16 @@ exports.MESSAGE_SLOT_FILL_NAME = 'message-slot-fill-name';
|
|
|
107
20
|
/*!********************************!*\
|
|
108
21
|
!*** ./src/constants/index.ts ***!
|
|
109
22
|
\********************************/
|
|
110
|
-
|
|
111
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
23
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
112
24
|
|
|
113
|
-
"use strict";
|
|
114
25
|
|
|
115
26
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
116
27
|
if (k2 === undefined) k2 = k;
|
|
117
|
-
Object.
|
|
28
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
29
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
30
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
31
|
+
}
|
|
32
|
+
Object.defineProperty(o, k2, desc);
|
|
118
33
|
}) : (function(o, m, k, k2) {
|
|
119
34
|
if (k2 === undefined) k2 = k;
|
|
120
35
|
o[k2] = m[k];
|
|
@@ -122,7 +37,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
122
37
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
123
38
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
124
39
|
};
|
|
125
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
126
41
|
__exportStar(__webpack_require__(/*! ./constant */ "./src/constants/constant.ts"), exports);
|
|
127
42
|
|
|
128
43
|
|
|
@@ -132,14 +47,16 @@ __exportStar(__webpack_require__(/*! ./constant */ "./src/constants/constant.ts"
|
|
|
132
47
|
/*!**********************!*\
|
|
133
48
|
!*** ./src/index.ts ***!
|
|
134
49
|
\**********************/
|
|
135
|
-
|
|
136
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
50
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
137
51
|
|
|
138
|
-
"use strict";
|
|
139
52
|
|
|
140
53
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
141
54
|
if (k2 === undefined) k2 = k;
|
|
142
|
-
Object.
|
|
55
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
56
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
57
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
58
|
+
}
|
|
59
|
+
Object.defineProperty(o, k2, desc);
|
|
143
60
|
}) : (function(o, m, k, k2) {
|
|
144
61
|
if (k2 === undefined) k2 = k;
|
|
145
62
|
o[k2] = m[k];
|
|
@@ -147,7 +64,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
147
64
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
148
65
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
149
66
|
};
|
|
150
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
151
68
|
__exportStar(__webpack_require__(/*! ./interfaces */ "./src/interfaces/index.ts"), exports);
|
|
152
69
|
__exportStar(__webpack_require__(/*! ./constants */ "./src/constants/index.ts"), exports);
|
|
153
70
|
|
|
@@ -158,12 +75,10 @@ __exportStar(__webpack_require__(/*! ./constants */ "./src/constants/index.ts"),
|
|
|
158
75
|
/*!********************************************!*\
|
|
159
76
|
!*** ./src/interfaces/generated-models.ts ***!
|
|
160
77
|
\********************************************/
|
|
161
|
-
|
|
162
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
78
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
163
79
|
|
|
164
|
-
"use strict";
|
|
165
80
|
|
|
166
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
167
82
|
exports.AddChannelDocument = exports.UserFragmentDoc = exports.PostFragmentDoc = exports.ConfigurationFragmentDoc = exports.MessengerUserFragmentDoc = exports.MinimalUserFragmentDoc = exports.FileInfoFragmentDoc = exports.IVisibility = exports.IUserOrderBy = exports.ITokenTypesEnum = exports.ISortEnum = exports.ISmsServiceActions = exports.ISettingValueType = exports.IRoomType = exports.IRole = exports.IProjectType = exports.IProjectSourceType = exports.IProjectSourceProviders = exports.IPreDefinedRole = exports.IPostTypeEnum = exports.IPostServiceCommands = exports.IPortalLanguage = exports.IPermissionType = exports.IPermissionResource = exports.IPermissionAction = exports.IOrgUserRole = exports.IOrganizationContextPubSubEvents = exports.IOrgainizationInvitationRole = exports.IMoleculerTopics = exports.IMoleculerServiceName = exports.IMoleculerCronServiceName = exports.IMessengerUserStatus = exports.IMessengerNotificationServiceCommands = exports.IMailTemplateId = exports.IInviteStatus = exports.IGlobalLanguages = exports.IGlobalCurrencies = exports.IFileRefType = exports.IEditPresentationTypes = exports.IConfigurationTarget = exports.IConfigurationScope = exports.IConfigFragmentName = exports.IConfigCollectionName = exports.IClientTypes = exports.IClientCacheTypeNames = exports.IChannelSort = exports.IChannelServiceCommands = exports.IChannelPrivacy = exports.IBaseServiceCommands = exports.IApplicationRoles = void 0;
|
|
168
83
|
exports.useUsersToChatLazyQuery = exports.useUsersToChatQuery = exports.UsersToChatDocument = exports.useGetUserByIdLazyQuery = exports.useGetUserByIdQuery = exports.GetUserByIdDocument = exports.useGetAllUsersLazyQuery = exports.useGetAllUsersQuery = exports.GetAllUsersDocument = exports.useUserAccountLazyQuery = exports.useUserAccountQuery = exports.UserAccountDocument = exports.useGetMessagesLazyQuery = exports.useGetMessagesQuery = exports.GetMessagesDocument = exports.useMessagesLazyQuery = exports.useMessagesQuery = exports.MessagesDocument = exports.useCheckForNewMessagesLazyQuery = exports.useCheckForNewMessagesQuery = exports.CheckForNewMessagesDocument = exports.useGetChannelsByUserLazyQuery = exports.useGetChannelsByUserQuery = exports.GetChannelsByUserDocument = exports.useGetAllChannelLazyQuery = exports.useGetAllChannelQuery = exports.GetAllChannelDocument = exports.useDeleteMessageFileMutation = exports.DeleteMessageFileDocument = exports.useAttachUploadedFilesToMessageMutation = exports.AttachUploadedFilesToMessageDocument = exports.useCreateMessageFilesUploadLinkMutation = exports.CreateMessageFilesUploadLinkDocument = exports.useAttachUploadedFileToMessageMutation = exports.AttachUploadedFileToMessageDocument = exports.useCreateMessageFileUploadLinkMutation = exports.CreateMessageFileUploadLinkDocument = exports.useEditMessageMutation = exports.EditMessageDocument = exports.useDeleteMessageMutation = exports.DeleteMessageDocument = exports.useSendMessagesMutation = exports.SendMessagesDocument = exports.useDeleteChannelMutation = exports.DeleteChannelDocument = exports.useAddMemberToChannelMutation = exports.AddMemberToChannelDocument = exports.useAddDirectChannelMutation = exports.AddDirectChannelDocument = exports.useAddChannelMutation = void 0;
|
|
169
84
|
exports.useonChatMessageAddedSubscription = exports.onChatMessageAddedDocument = exports.useCurrentUserLazyQuery = exports.useCurrentUserQuery = exports.CurrentUserDocument = void 0;
|
|
@@ -1176,14 +1091,16 @@ exports.useonChatMessageAddedSubscription = useonChatMessageAddedSubscription;
|
|
|
1176
1091
|
/*!*********************************!*\
|
|
1177
1092
|
!*** ./src/interfaces/index.ts ***!
|
|
1178
1093
|
\*********************************/
|
|
1179
|
-
|
|
1180
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1094
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1181
1095
|
|
|
1182
|
-
"use strict";
|
|
1183
1096
|
|
|
1184
1097
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
1185
1098
|
if (k2 === undefined) k2 = k;
|
|
1186
|
-
Object.
|
|
1099
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1100
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1101
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
1102
|
+
}
|
|
1103
|
+
Object.defineProperty(o, k2, desc);
|
|
1187
1104
|
}) : (function(o, m, k, k2) {
|
|
1188
1105
|
if (k2 === undefined) k2 = k;
|
|
1189
1106
|
o[k2] = m[k];
|
|
@@ -1191,7 +1108,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
1191
1108
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
1192
1109
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1193
1110
|
};
|
|
1194
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1111
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1195
1112
|
__exportStar(__webpack_require__(/*! ./generated-models */ "./src/interfaces/generated-models.ts"), exports);
|
|
1196
1113
|
|
|
1197
1114
|
|
|
@@ -1201,12 +1118,46 @@ __exportStar(__webpack_require__(/*! ./generated-models */ "./src/interfaces/gen
|
|
|
1201
1118
|
/*!*********************************!*\
|
|
1202
1119
|
!*** external "@apollo/client" ***!
|
|
1203
1120
|
\*********************************/
|
|
1204
|
-
|
|
1205
|
-
/***/ (function(module, exports) {
|
|
1121
|
+
/***/ ((module) => {
|
|
1206
1122
|
|
|
1207
1123
|
module.exports = require("@apollo/client");
|
|
1208
1124
|
|
|
1209
1125
|
/***/ })
|
|
1210
1126
|
|
|
1211
|
-
/******/
|
|
1127
|
+
/******/ });
|
|
1128
|
+
/************************************************************************/
|
|
1129
|
+
/******/ // The module cache
|
|
1130
|
+
/******/ var __webpack_module_cache__ = {};
|
|
1131
|
+
/******/
|
|
1132
|
+
/******/ // The require function
|
|
1133
|
+
/******/ function __webpack_require__(moduleId) {
|
|
1134
|
+
/******/ // Check if module is in cache
|
|
1135
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
1136
|
+
/******/ if (cachedModule !== undefined) {
|
|
1137
|
+
/******/ return cachedModule.exports;
|
|
1138
|
+
/******/ }
|
|
1139
|
+
/******/ // Create a new module (and put it into the cache)
|
|
1140
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
1141
|
+
/******/ // no module.id needed
|
|
1142
|
+
/******/ // no module.loaded needed
|
|
1143
|
+
/******/ exports: {}
|
|
1144
|
+
/******/ };
|
|
1145
|
+
/******/
|
|
1146
|
+
/******/ // Execute the module function
|
|
1147
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
1148
|
+
/******/
|
|
1149
|
+
/******/ // Return the exports of the module
|
|
1150
|
+
/******/ return module.exports;
|
|
1151
|
+
/******/ }
|
|
1152
|
+
/******/
|
|
1153
|
+
/************************************************************************/
|
|
1154
|
+
/******/
|
|
1155
|
+
/******/ // startup
|
|
1156
|
+
/******/ // Load entry module and return exports
|
|
1157
|
+
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
1158
|
+
/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
|
|
1159
|
+
/******/ module.exports = __webpack_exports__;
|
|
1160
|
+
/******/
|
|
1161
|
+
/******/ })()
|
|
1162
|
+
;
|
|
1212
1163
|
//# sourceMappingURL=index.js.map
|