@common-stack/core 0.2.1 → 0.2.16
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/constants/index.js +18 -0
- package/lib/constants/index.js.map +1 -0
- package/lib/constants/types.d.ts +10 -10
- package/lib/constants/types.js +26 -0
- package/lib/constants/types.js.map +1 -0
- package/lib/field-error.js +27 -0
- package/lib/field-error.js.map +1 -0
- package/lib/index.js +7 -246
- package/lib/index.js.map +1 -1
- package/lib/interfaces/common-settings.js +3 -0
- package/lib/interfaces/common-settings.js.map +1 -0
- package/lib/interfaces/index.js +18 -0
- package/lib/interfaces/index.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
package/lib/constants/types.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
LOGGER
|
|
3
|
-
ENVIRONMENT
|
|
4
|
-
HEMERA
|
|
5
|
-
MOLECULER_BROKER
|
|
6
|
-
PUBSUB
|
|
7
|
-
}
|
|
8
|
-
export declare
|
|
9
|
-
MICROSERVICE
|
|
10
|
-
}
|
|
1
|
+
export declare const CommonType: {
|
|
2
|
+
LOGGER: string;
|
|
3
|
+
ENVIRONMENT: string;
|
|
4
|
+
HEMERA: string;
|
|
5
|
+
MOLECULER_BROKER: string;
|
|
6
|
+
PUBSUB: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const TaggedType: {
|
|
9
|
+
MICROSERVICE: string;
|
|
10
|
+
};
|
|
11
11
|
export declare const ClientTypes: {
|
|
12
12
|
Logger: symbol;
|
|
13
13
|
ApolloClient: symbol;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ElectronTypes = exports.ClientTypes = exports.TaggedType = exports.CommonType = void 0;
|
|
4
|
+
exports.CommonType = {
|
|
5
|
+
LOGGER: 'LOGGER',
|
|
6
|
+
ENVIRONMENT: 'ENVIRONMENT',
|
|
7
|
+
HEMERA: 'HEMERA',
|
|
8
|
+
MOLECULER_BROKER: 'MOLECULER_BROKER',
|
|
9
|
+
PUBSUB: 'PUBSUB',
|
|
10
|
+
};
|
|
11
|
+
exports.TaggedType = {
|
|
12
|
+
MICROSERVICE: 'MICROSERVICE',
|
|
13
|
+
};
|
|
14
|
+
exports.ClientTypes = {
|
|
15
|
+
// common types
|
|
16
|
+
Logger: Symbol.for('Logger'),
|
|
17
|
+
ApolloClient: Symbol.for('ApolloClient'),
|
|
18
|
+
InMemoryCache: Symbol.for('InMemoryCache'),
|
|
19
|
+
UtilityClass: Symbol.for('UtilityClass'),
|
|
20
|
+
};
|
|
21
|
+
exports.ElectronTypes = {
|
|
22
|
+
MainWindow: Symbol.for('MainWindow'),
|
|
23
|
+
AboutWindow: Symbol.for('AboutWindow'),
|
|
24
|
+
TrayWindow: Symbol.for('TrayWindow'),
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/constants/types.ts"],"names":[],"mappings":";;;AACa,QAAA,UAAU,GAAG;IACtB,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;IAC1B,MAAM,EAAE,QAAQ;IAChB,gBAAgB,EAAE,kBAAkB;IACpC,MAAM,EAAE,QAAQ;CACnB,CAAA;AAEY,QAAA,UAAU,GAAG;IACtB,YAAY,EAAE,cAAc;CAC/B,CAAA;AAEY,QAAA,WAAW,GAAG;IACvB,eAAe;IACf,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC;IACxC,aAAa,EAAE,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC;IAC1C,YAAY,EAAE,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC;CAC3C,CAAC;AAEW,QAAA,aAAa,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC;IACpC,WAAW,EAAE,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC;IACtC,UAAU,EAAE,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC;CACvC,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FieldError = void 0;
|
|
4
|
+
class FieldError {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.errors = {};
|
|
7
|
+
}
|
|
8
|
+
hasAny() {
|
|
9
|
+
return !!Object.keys(this.errors).length;
|
|
10
|
+
}
|
|
11
|
+
setError(field, message) {
|
|
12
|
+
this.errors[field] = message;
|
|
13
|
+
}
|
|
14
|
+
getErrors() {
|
|
15
|
+
return Object.keys(this.errors).map(field => ({
|
|
16
|
+
field,
|
|
17
|
+
message: this.errors[field],
|
|
18
|
+
}));
|
|
19
|
+
}
|
|
20
|
+
throwIf() {
|
|
21
|
+
if (this.hasAny()) {
|
|
22
|
+
throw this.getErrors();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.FieldError = FieldError;
|
|
27
|
+
//# sourceMappingURL=field-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-error.js","sourceRoot":"","sources":["../src/field-error.ts"],"names":[],"mappings":";;;AAAA,MAAa,UAAU;IAGnB;QACI,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;IACrB,CAAC;IAEM,MAAM;QACT,OAAO,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC;IAC7C,CAAC;IAEM,QAAQ,CAAC,KAAK,EAAE,OAAO;QAC1B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC;IACjC,CAAC;IAEM,SAAS;QACZ,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YAC1C,KAAK;YACL,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;SAC9B,CAAC,CAAC,CAAC;IACR,CAAC;IAEM,OAAO;QACV,IAAI,IAAI,CAAC,MAAM,EAAE,EAAE;YACf,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;SAC1B;IACL,CAAC;CACJ;AA3BD,gCA2BC"}
|
package/lib/index.js
CHANGED
|
@@ -1,247 +1,11 @@
|
|
|
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
|
-
/******/ ({
|
|
89
|
-
|
|
90
|
-
/***/ "./src/constants/index.ts":
|
|
91
|
-
/*!********************************!*\
|
|
92
|
-
!*** ./src/constants/index.ts ***!
|
|
93
|
-
\********************************/
|
|
94
|
-
/*! no static exports found */
|
|
95
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
96
|
-
|
|
97
1
|
"use strict";
|
|
98
|
-
|
|
99
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
100
3
|
if (k2 === undefined) k2 = k;
|
|
101
|
-
Object.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
o[k2] = m[k];
|
|
105
|
-
}));
|
|
106
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
107
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
108
|
-
};
|
|
109
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
110
|
-
__exportStar(__webpack_require__(/*! ./types */ "./src/constants/types.ts"), exports);
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
/***/ }),
|
|
114
|
-
|
|
115
|
-
/***/ "./src/constants/types.ts":
|
|
116
|
-
/*!********************************!*\
|
|
117
|
-
!*** ./src/constants/types.ts ***!
|
|
118
|
-
\********************************/
|
|
119
|
-
/*! no static exports found */
|
|
120
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
121
|
-
|
|
122
|
-
"use strict";
|
|
123
|
-
|
|
124
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
125
|
-
exports.ElectronTypes = exports.ClientTypes = exports.TaggedType = exports.CommonType = void 0;
|
|
126
|
-
var CommonType;
|
|
127
|
-
(function (CommonType) {
|
|
128
|
-
CommonType["LOGGER"] = "LOGGER";
|
|
129
|
-
CommonType["ENVIRONMENT"] = "ENVIRONMENT";
|
|
130
|
-
CommonType["HEMERA"] = "HEMERA";
|
|
131
|
-
CommonType["MOLECULER_BROKER"] = "MOLECULER_BROKER";
|
|
132
|
-
CommonType["PUBSUB"] = "PUBSUB";
|
|
133
|
-
})(CommonType = exports.CommonType || (exports.CommonType = {}));
|
|
134
|
-
var TaggedType;
|
|
135
|
-
(function (TaggedType) {
|
|
136
|
-
TaggedType["MICROSERVICE"] = "MICROSERVICE";
|
|
137
|
-
})(TaggedType = exports.TaggedType || (exports.TaggedType = {}));
|
|
138
|
-
exports.ClientTypes = {
|
|
139
|
-
// common types
|
|
140
|
-
Logger: Symbol.for('Logger'),
|
|
141
|
-
ApolloClient: Symbol.for('ApolloClient'),
|
|
142
|
-
InMemoryCache: Symbol.for('InMemoryCache'),
|
|
143
|
-
UtilityClass: Symbol.for('UtilityClass'),
|
|
144
|
-
};
|
|
145
|
-
exports.ElectronTypes = {
|
|
146
|
-
MainWindow: Symbol.for('MainWindow'),
|
|
147
|
-
AboutWindow: Symbol.for('AboutWindow'),
|
|
148
|
-
TrayWindow: Symbol.for('TrayWindow'),
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
/***/ }),
|
|
153
|
-
|
|
154
|
-
/***/ "./src/field-error.ts":
|
|
155
|
-
/*!****************************!*\
|
|
156
|
-
!*** ./src/field-error.ts ***!
|
|
157
|
-
\****************************/
|
|
158
|
-
/*! no static exports found */
|
|
159
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
160
|
-
|
|
161
|
-
"use strict";
|
|
162
|
-
|
|
163
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
164
|
-
exports.FieldError = void 0;
|
|
165
|
-
class FieldError {
|
|
166
|
-
constructor() {
|
|
167
|
-
this.errors = {};
|
|
168
|
-
}
|
|
169
|
-
hasAny() {
|
|
170
|
-
return !!Object.keys(this.errors).length;
|
|
171
|
-
}
|
|
172
|
-
setError(field, message) {
|
|
173
|
-
this.errors[field] = message;
|
|
174
|
-
}
|
|
175
|
-
getErrors() {
|
|
176
|
-
return Object.keys(this.errors).map(field => ({
|
|
177
|
-
field,
|
|
178
|
-
message: this.errors[field],
|
|
179
|
-
}));
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
180
7
|
}
|
|
181
|
-
|
|
182
|
-
if (this.hasAny()) {
|
|
183
|
-
throw this.getErrors();
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
exports.FieldError = FieldError;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
/***/ }),
|
|
191
|
-
|
|
192
|
-
/***/ "./src/index.ts":
|
|
193
|
-
/*!**********************!*\
|
|
194
|
-
!*** ./src/index.ts ***!
|
|
195
|
-
\**********************/
|
|
196
|
-
/*! no static exports found */
|
|
197
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
198
|
-
|
|
199
|
-
"use strict";
|
|
200
|
-
|
|
201
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
202
|
-
if (k2 === undefined) k2 = k;
|
|
203
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
204
|
-
}) : (function(o, m, k, k2) {
|
|
205
|
-
if (k2 === undefined) k2 = k;
|
|
206
|
-
o[k2] = m[k];
|
|
207
|
-
}));
|
|
208
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
209
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
210
|
-
};
|
|
211
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
212
|
-
__exportStar(__webpack_require__(/*! ./field-error */ "./src/field-error.ts"), exports);
|
|
213
|
-
__exportStar(__webpack_require__(/*! ./interfaces */ "./src/interfaces/index.ts"), exports);
|
|
214
|
-
__exportStar(__webpack_require__(/*! ./constants */ "./src/constants/index.ts"), exports);
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
/***/ }),
|
|
218
|
-
|
|
219
|
-
/***/ "./src/interfaces/common-settings.ts":
|
|
220
|
-
/*!*******************************************!*\
|
|
221
|
-
!*** ./src/interfaces/common-settings.ts ***!
|
|
222
|
-
\*******************************************/
|
|
223
|
-
/*! no static exports found */
|
|
224
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
225
|
-
|
|
226
|
-
"use strict";
|
|
227
|
-
|
|
228
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
/***/ }),
|
|
232
|
-
|
|
233
|
-
/***/ "./src/interfaces/index.ts":
|
|
234
|
-
/*!*********************************!*\
|
|
235
|
-
!*** ./src/interfaces/index.ts ***!
|
|
236
|
-
\*********************************/
|
|
237
|
-
/*! no static exports found */
|
|
238
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
239
|
-
|
|
240
|
-
"use strict";
|
|
241
|
-
|
|
242
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
243
|
-
if (k2 === undefined) k2 = k;
|
|
244
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
245
9
|
}) : (function(o, m, k, k2) {
|
|
246
10
|
if (k2 === undefined) k2 = k;
|
|
247
11
|
o[k2] = m[k];
|
|
@@ -250,10 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
250
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
251
15
|
};
|
|
252
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
253
|
-
__exportStar(
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
/***/ })
|
|
257
|
-
|
|
258
|
-
/******/ });
|
|
17
|
+
__exportStar(require("./field-error"), exports);
|
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
|
19
|
+
__exportStar(require("./constants"), exports);
|
|
259
20
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,+CAA6B;AAC7B,8CAA4B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common-settings.js","sourceRoot":"","sources":["../../src/interfaces/common-settings.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./common-settings"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@common-stack/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.16",
|
|
4
4
|
"description": "Common core for higher packages to depend on",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "CDMBase LLC",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "yarn build:clean && yarn build:lib",
|
|
11
11
|
"build:clean": "rimraf lib",
|
|
12
|
-
"build:lib": "
|
|
12
|
+
"build:lib": "tsc",
|
|
13
13
|
"build:lib:watch": "yarn build:lib -- --watch",
|
|
14
14
|
"jest": "./node_modules/.bin/jest",
|
|
15
15
|
"prepublish": "yarn build",
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"typescript": {
|
|
25
25
|
"definition": "lib/index.d.ts"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "b6b684b47c3aab68830ce5788ef271bf8e7b6e19"
|
|
28
28
|
}
|