standard-log 9.1.3 → 9.1.4
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/cjs/logStore.d.ts +2 -2
- package/cjs/logStore.d.ts.map +1 -1
- package/cjs/logStore.js.map +1 -1
- package/cjs/types.d.ts +1 -1
- package/cjs/types.d.ts.map +1 -1
- package/cjs/types.js.map +1 -1
- package/dist/standard-log.es5.js +1419 -18
- package/dist/standard-log.es5.js.gz +0 -0
- package/dist/standard-log.es5.js.map +1 -1
- package/dist/standard-log.es5.js.map.gz +0 -0
- package/dist/standard-log.esm.js +23 -13
- package/dist/standard-log.esm.js.gz +0 -0
- package/dist/standard-log.esm.js.map +1 -1
- package/dist/standard-log.esm.js.map.gz +0 -0
- package/esm/logStore.d.ts +2 -2
- package/esm/logStore.d.ts.map +1 -1
- package/esm/logStore.js +4 -2
- package/esm/logStore.js.map +1 -1
- package/esm/logger.js +3 -2
- package/esm/logger.js.map +1 -1
- package/esm/standardLog.js +3 -2
- package/esm/standardLog.js.map +1 -1
- package/esm/standardLog.spec.js +2 -1
- package/esm/standardLog.spec.js.map +1 -1
- package/esm/testUtil.js +2 -1
- package/esm/testUtil.js.map +1 -1
- package/esm/types.d.ts +1 -1
- package/esm/types.d.ts.map +1 -1
- package/esm/types.js.map +1 -1
- package/package.json +2 -2
- package/ts/logStore.ts +2 -2
- package/ts/types.ts +1 -1
package/dist/standard-log.es5.js
CHANGED
|
@@ -1891,10 +1891,1394 @@ exports.isAggregateError = isAggregateError;
|
|
|
1891
1891
|
|
|
1892
1892
|
/***/ }),
|
|
1893
1893
|
|
|
1894
|
+
/***/ "../../node_modules/type-plus/cjs/JSONTypes.js":
|
|
1895
|
+
/*!*****************************************************!*\
|
|
1896
|
+
!*** ../../node_modules/type-plus/cjs/JSONTypes.js ***!
|
|
1897
|
+
\*****************************************************/
|
|
1898
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
1899
|
+
|
|
1900
|
+
"use strict";
|
|
1901
|
+
|
|
1902
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
1903
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
1904
|
+
if (ar || !(i in from)) {
|
|
1905
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
1906
|
+
ar[i] = from[i];
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1909
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
1910
|
+
};
|
|
1911
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1912
|
+
exports.JSONTypes = void 0;
|
|
1913
|
+
exports.JSONTypes = { get: get };
|
|
1914
|
+
function get(obj) {
|
|
1915
|
+
var props = [];
|
|
1916
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
1917
|
+
props[_i - 1] = arguments[_i];
|
|
1918
|
+
}
|
|
1919
|
+
if (props.length === 0)
|
|
1920
|
+
return obj;
|
|
1921
|
+
if (typeof obj !== 'object' || obj === null)
|
|
1922
|
+
return undefined;
|
|
1923
|
+
var p = props.shift();
|
|
1924
|
+
// @ts-ignore
|
|
1925
|
+
return get.apply(void 0, __spreadArray([obj[p]], props, false));
|
|
1926
|
+
}
|
|
1927
|
+
//# sourceMappingURL=JSONTypes.js.map
|
|
1928
|
+
|
|
1929
|
+
/***/ }),
|
|
1930
|
+
|
|
1931
|
+
/***/ "../../node_modules/type-plus/cjs/array/drop.js":
|
|
1932
|
+
/*!******************************************************!*\
|
|
1933
|
+
!*** ../../node_modules/type-plus/cjs/array/drop.js ***!
|
|
1934
|
+
\******************************************************/
|
|
1935
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
1936
|
+
|
|
1937
|
+
"use strict";
|
|
1938
|
+
|
|
1939
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1940
|
+
exports.drop = void 0;
|
|
1941
|
+
/**
|
|
1942
|
+
* drop a particular value from an array
|
|
1943
|
+
*/
|
|
1944
|
+
function drop(array, value) {
|
|
1945
|
+
return array.filter(function (v) { return v !== value; });
|
|
1946
|
+
}
|
|
1947
|
+
exports.drop = drop;
|
|
1948
|
+
//# sourceMappingURL=drop.js.map
|
|
1949
|
+
|
|
1950
|
+
/***/ }),
|
|
1951
|
+
|
|
1952
|
+
/***/ "../../node_modules/type-plus/cjs/array/index.js":
|
|
1953
|
+
/*!*******************************************************!*\
|
|
1954
|
+
!*** ../../node_modules/type-plus/cjs/array/index.js ***!
|
|
1955
|
+
\*******************************************************/
|
|
1956
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1957
|
+
|
|
1958
|
+
"use strict";
|
|
1959
|
+
|
|
1960
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
1961
|
+
if (k2 === undefined) k2 = k;
|
|
1962
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1963
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1964
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
1965
|
+
}
|
|
1966
|
+
Object.defineProperty(o, k2, desc);
|
|
1967
|
+
}) : (function(o, m, k, k2) {
|
|
1968
|
+
if (k2 === undefined) k2 = k;
|
|
1969
|
+
o[k2] = m[k];
|
|
1970
|
+
}));
|
|
1971
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
1972
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1973
|
+
};
|
|
1974
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1975
|
+
__exportStar(__webpack_require__(/*! ./drop.js */ "../../node_modules/type-plus/cjs/array/drop.js"), exports);
|
|
1976
|
+
__exportStar(__webpack_require__(/*! ./literalArray.js */ "../../node_modules/type-plus/cjs/array/literalArray.js"), exports);
|
|
1977
|
+
__exportStar(__webpack_require__(/*! ./reduceWhile.js */ "../../node_modules/type-plus/cjs/array/reduceWhile.js"), exports);
|
|
1978
|
+
//# sourceMappingURL=index.js.map
|
|
1979
|
+
|
|
1980
|
+
/***/ }),
|
|
1981
|
+
|
|
1982
|
+
/***/ "../../node_modules/type-plus/cjs/array/literalArray.js":
|
|
1983
|
+
/*!**************************************************************!*\
|
|
1984
|
+
!*** ../../node_modules/type-plus/cjs/array/literalArray.js ***!
|
|
1985
|
+
\**************************************************************/
|
|
1986
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
1987
|
+
|
|
1988
|
+
"use strict";
|
|
1989
|
+
|
|
1990
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1991
|
+
exports.literalArray = void 0;
|
|
1992
|
+
function literalArray() {
|
|
1993
|
+
var entries = [];
|
|
1994
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
1995
|
+
entries[_i] = arguments[_i];
|
|
1996
|
+
}
|
|
1997
|
+
return entries;
|
|
1998
|
+
}
|
|
1999
|
+
exports.literalArray = literalArray;
|
|
2000
|
+
//# sourceMappingURL=literalArray.js.map
|
|
2001
|
+
|
|
2002
|
+
/***/ }),
|
|
2003
|
+
|
|
2004
|
+
/***/ "../../node_modules/type-plus/cjs/array/reduceWhile.js":
|
|
2005
|
+
/*!*************************************************************!*\
|
|
2006
|
+
!*** ../../node_modules/type-plus/cjs/array/reduceWhile.js ***!
|
|
2007
|
+
\*************************************************************/
|
|
2008
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2009
|
+
|
|
2010
|
+
"use strict";
|
|
2011
|
+
|
|
2012
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2013
|
+
exports.reduceWhile = void 0;
|
|
2014
|
+
function reduceWhile(predicate, callbackfn, initialValue, array) {
|
|
2015
|
+
var acc = initialValue;
|
|
2016
|
+
for (var i = 0; i < array.length; i++) {
|
|
2017
|
+
var value = array[i];
|
|
2018
|
+
if (!predicate(acc, value))
|
|
2019
|
+
return acc;
|
|
2020
|
+
acc = callbackfn(acc, value, i, array);
|
|
2021
|
+
}
|
|
2022
|
+
return acc;
|
|
2023
|
+
}
|
|
2024
|
+
exports.reduceWhile = reduceWhile;
|
|
2025
|
+
//# sourceMappingURL=reduceWhile.js.map
|
|
2026
|
+
|
|
2027
|
+
/***/ }),
|
|
2028
|
+
|
|
2029
|
+
/***/ "../../node_modules/type-plus/cjs/assertion/assertType.js":
|
|
2030
|
+
/*!****************************************************************!*\
|
|
2031
|
+
!*** ../../node_modules/type-plus/cjs/assertion/assertType.js ***!
|
|
2032
|
+
\****************************************************************/
|
|
2033
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2034
|
+
|
|
2035
|
+
"use strict";
|
|
2036
|
+
|
|
2037
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2038
|
+
exports.assertType = void 0;
|
|
2039
|
+
var tersify_1 = __webpack_require__(/*! tersify */ "../../node_modules/tersify/cjs/index.js");
|
|
2040
|
+
var index_js_1 = __webpack_require__(/*! ../class/index.js */ "../../node_modules/type-plus/cjs/class/index.js");
|
|
2041
|
+
function assertType(subject, validator) {
|
|
2042
|
+
if (validator) {
|
|
2043
|
+
if (((0, index_js_1.isConstructor)(validator) && !(subject instanceof validator)) || !validator(subject))
|
|
2044
|
+
throw new TypeError("subject fails to satisfy ".concat((0, tersify_1.tersify)(validator)));
|
|
2045
|
+
}
|
|
2046
|
+
return;
|
|
2047
|
+
}
|
|
2048
|
+
exports.assertType = assertType;
|
|
2049
|
+
assertType.isUndefined = function (subject) {
|
|
2050
|
+
if (typeof subject !== 'undefined')
|
|
2051
|
+
throw TypeError("subject is not undefined");
|
|
2052
|
+
};
|
|
2053
|
+
assertType.noUndefined = function (subject) {
|
|
2054
|
+
if (typeof subject === 'undefined')
|
|
2055
|
+
throw TypeError("subject is undefined");
|
|
2056
|
+
};
|
|
2057
|
+
assertType.isNull = function (subject) {
|
|
2058
|
+
if (subject !== null)
|
|
2059
|
+
throw TypeError("subject is not null");
|
|
2060
|
+
};
|
|
2061
|
+
assertType.noNull = function (subject) {
|
|
2062
|
+
if (subject === null)
|
|
2063
|
+
throw TypeError("subject is null");
|
|
2064
|
+
};
|
|
2065
|
+
assertType.isNumber = function (subject) {
|
|
2066
|
+
if (typeof subject !== 'number')
|
|
2067
|
+
throw TypeError("subject is not number");
|
|
2068
|
+
};
|
|
2069
|
+
assertType.noNumber = function (subject) {
|
|
2070
|
+
if (typeof subject === 'number')
|
|
2071
|
+
throw TypeError("subject is number");
|
|
2072
|
+
};
|
|
2073
|
+
assertType.isBoolean = function (subject) {
|
|
2074
|
+
if (typeof subject !== 'boolean')
|
|
2075
|
+
throw TypeError("subject is not boolean");
|
|
2076
|
+
};
|
|
2077
|
+
assertType.noBoolean = function (subject) {
|
|
2078
|
+
if (typeof subject === 'boolean')
|
|
2079
|
+
throw TypeError("subject is boolean");
|
|
2080
|
+
};
|
|
2081
|
+
assertType.isTrue = function (subject) {
|
|
2082
|
+
if (subject !== true)
|
|
2083
|
+
throw TypeError("subject is not true");
|
|
2084
|
+
};
|
|
2085
|
+
assertType.noTrue = function (subject) {
|
|
2086
|
+
// @ts-ignore
|
|
2087
|
+
if (subject === true)
|
|
2088
|
+
throw TypeError("subject is true");
|
|
2089
|
+
};
|
|
2090
|
+
assertType.isFalse = function (subject) {
|
|
2091
|
+
if (subject !== false)
|
|
2092
|
+
throw TypeError("subject is not false");
|
|
2093
|
+
};
|
|
2094
|
+
assertType.noFalse = function (subject) {
|
|
2095
|
+
// @ts-ignore
|
|
2096
|
+
if (subject === false)
|
|
2097
|
+
throw TypeError("subject is false");
|
|
2098
|
+
};
|
|
2099
|
+
assertType.isString = function (subject) {
|
|
2100
|
+
if (typeof subject !== 'string')
|
|
2101
|
+
throw TypeError("subject is not string");
|
|
2102
|
+
};
|
|
2103
|
+
assertType.noString = function (subject) {
|
|
2104
|
+
if (typeof subject === 'string')
|
|
2105
|
+
throw TypeError("subject is string");
|
|
2106
|
+
};
|
|
2107
|
+
assertType.isFunction = function (subject) {
|
|
2108
|
+
if (typeof subject !== 'function')
|
|
2109
|
+
throw TypeError("subject is not function");
|
|
2110
|
+
};
|
|
2111
|
+
assertType.noFunction = function (subject) {
|
|
2112
|
+
if (typeof subject === 'function')
|
|
2113
|
+
throw TypeError("subject is function");
|
|
2114
|
+
};
|
|
2115
|
+
assertType.isConstructor = function (subject) {
|
|
2116
|
+
if (!(0, index_js_1.isConstructor)(subject))
|
|
2117
|
+
throw TypeError("subject is not a constructor");
|
|
2118
|
+
};
|
|
2119
|
+
assertType.isError = function (subject) {
|
|
2120
|
+
if (!(subject instanceof Error))
|
|
2121
|
+
throw TypeError("subject is not an Error");
|
|
2122
|
+
};
|
|
2123
|
+
assertType.noError = function (subject) {
|
|
2124
|
+
if (subject instanceof Error)
|
|
2125
|
+
throw TypeError("subject is an Error");
|
|
2126
|
+
};
|
|
2127
|
+
assertType.isNever = function (subject) {
|
|
2128
|
+
};
|
|
2129
|
+
/**
|
|
2130
|
+
* creates a custom assertion function with standard TypeError.
|
|
2131
|
+
* Currently this requires explicity type annotation,
|
|
2132
|
+
* thus making it hard to use:
|
|
2133
|
+
* https://github.com/microsoft/TypeScript/issues/41047
|
|
2134
|
+
*/
|
|
2135
|
+
assertType.custom = function (validator) {
|
|
2136
|
+
return function (subject) {
|
|
2137
|
+
if (!validator(subject))
|
|
2138
|
+
throw new TypeError("subject fails to satisfy ".concat((0, tersify_1.tersify)(validator)));
|
|
2139
|
+
return;
|
|
2140
|
+
};
|
|
2141
|
+
};
|
|
2142
|
+
//# sourceMappingURL=assertType.js.map
|
|
2143
|
+
|
|
2144
|
+
/***/ }),
|
|
2145
|
+
|
|
2146
|
+
/***/ "../../node_modules/type-plus/cjs/assertion/index.js":
|
|
2147
|
+
/*!***********************************************************!*\
|
|
2148
|
+
!*** ../../node_modules/type-plus/cjs/assertion/index.js ***!
|
|
2149
|
+
\***********************************************************/
|
|
2150
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2151
|
+
|
|
2152
|
+
"use strict";
|
|
2153
|
+
|
|
2154
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2155
|
+
if (k2 === undefined) k2 = k;
|
|
2156
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2157
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2158
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
2159
|
+
}
|
|
2160
|
+
Object.defineProperty(o, k2, desc);
|
|
2161
|
+
}) : (function(o, m, k, k2) {
|
|
2162
|
+
if (k2 === undefined) k2 = k;
|
|
2163
|
+
o[k2] = m[k];
|
|
2164
|
+
}));
|
|
2165
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
2166
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2167
|
+
};
|
|
2168
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2169
|
+
__exportStar(__webpack_require__(/*! ./assertType.js */ "../../node_modules/type-plus/cjs/assertion/assertType.js"), exports);
|
|
2170
|
+
//# sourceMappingURL=index.js.map
|
|
2171
|
+
|
|
2172
|
+
/***/ }),
|
|
2173
|
+
|
|
2174
|
+
/***/ "../../node_modules/type-plus/cjs/class/index.js":
|
|
2175
|
+
/*!*******************************************************!*\
|
|
2176
|
+
!*** ../../node_modules/type-plus/cjs/class/index.js ***!
|
|
2177
|
+
\*******************************************************/
|
|
2178
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2179
|
+
|
|
2180
|
+
"use strict";
|
|
2181
|
+
|
|
2182
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2183
|
+
if (k2 === undefined) k2 = k;
|
|
2184
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2185
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2186
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
2187
|
+
}
|
|
2188
|
+
Object.defineProperty(o, k2, desc);
|
|
2189
|
+
}) : (function(o, m, k, k2) {
|
|
2190
|
+
if (k2 === undefined) k2 = k;
|
|
2191
|
+
o[k2] = m[k];
|
|
2192
|
+
}));
|
|
2193
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
2194
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2195
|
+
};
|
|
2196
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2197
|
+
__exportStar(__webpack_require__(/*! ./isConstructor.js */ "../../node_modules/type-plus/cjs/class/isConstructor.js"), exports);
|
|
2198
|
+
//# sourceMappingURL=index.js.map
|
|
2199
|
+
|
|
2200
|
+
/***/ }),
|
|
2201
|
+
|
|
2202
|
+
/***/ "../../node_modules/type-plus/cjs/class/isConstructor.js":
|
|
2203
|
+
/*!***************************************************************!*\
|
|
2204
|
+
!*** ../../node_modules/type-plus/cjs/class/isConstructor.js ***!
|
|
2205
|
+
\***************************************************************/
|
|
2206
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2207
|
+
|
|
2208
|
+
"use strict";
|
|
2209
|
+
|
|
2210
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2211
|
+
exports.isConstructor = void 0;
|
|
2212
|
+
function isConstructor(subject) {
|
|
2213
|
+
try {
|
|
2214
|
+
new subject();
|
|
2215
|
+
}
|
|
2216
|
+
catch (err) {
|
|
2217
|
+
var msg = err === null || err === void 0 ? void 0 : err.message;
|
|
2218
|
+
if (msg && msg.indexOf('is not a constructor') >= 0) {
|
|
2219
|
+
return false;
|
|
2220
|
+
}
|
|
2221
|
+
}
|
|
2222
|
+
return true;
|
|
2223
|
+
}
|
|
2224
|
+
exports.isConstructor = isConstructor;
|
|
2225
|
+
//# sourceMappingURL=isConstructor.js.map
|
|
2226
|
+
|
|
2227
|
+
/***/ }),
|
|
2228
|
+
|
|
2229
|
+
/***/ "../../node_modules/type-plus/cjs/function/index.js":
|
|
2230
|
+
/*!**********************************************************!*\
|
|
2231
|
+
!*** ../../node_modules/type-plus/cjs/function/index.js ***!
|
|
2232
|
+
\**********************************************************/
|
|
2233
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2234
|
+
|
|
2235
|
+
"use strict";
|
|
2236
|
+
|
|
2237
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2238
|
+
//# sourceMappingURL=index.js.map
|
|
2239
|
+
|
|
2240
|
+
/***/ }),
|
|
2241
|
+
|
|
2242
|
+
/***/ "../../node_modules/type-plus/cjs/functional/compose.js":
|
|
2243
|
+
/*!**************************************************************!*\
|
|
2244
|
+
!*** ../../node_modules/type-plus/cjs/functional/compose.js ***!
|
|
2245
|
+
\**************************************************************/
|
|
2246
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2247
|
+
|
|
2248
|
+
"use strict";
|
|
2249
|
+
|
|
2250
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2251
|
+
exports.compose = void 0;
|
|
2252
|
+
/**
|
|
2253
|
+
* compose functions
|
|
2254
|
+
*/
|
|
2255
|
+
function compose() {
|
|
2256
|
+
var fns = [];
|
|
2257
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
2258
|
+
fns[_i] = arguments[_i];
|
|
2259
|
+
}
|
|
2260
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
2261
|
+
return function () {
|
|
2262
|
+
var args = [];
|
|
2263
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
2264
|
+
args[_i] = arguments[_i];
|
|
2265
|
+
}
|
|
2266
|
+
return fns.reduce(function (args, fn) { return [fn.apply(void 0, args)]; }, args)[0];
|
|
2267
|
+
};
|
|
2268
|
+
}
|
|
2269
|
+
exports.compose = compose;
|
|
2270
|
+
//# sourceMappingURL=compose.js.map
|
|
2271
|
+
|
|
2272
|
+
/***/ }),
|
|
2273
|
+
|
|
2274
|
+
/***/ "../../node_modules/type-plus/cjs/functional/index.js":
|
|
2275
|
+
/*!************************************************************!*\
|
|
2276
|
+
!*** ../../node_modules/type-plus/cjs/functional/index.js ***!
|
|
2277
|
+
\************************************************************/
|
|
2278
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2279
|
+
|
|
2280
|
+
"use strict";
|
|
2281
|
+
|
|
2282
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2283
|
+
if (k2 === undefined) k2 = k;
|
|
2284
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2285
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2286
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
2287
|
+
}
|
|
2288
|
+
Object.defineProperty(o, k2, desc);
|
|
2289
|
+
}) : (function(o, m, k, k2) {
|
|
2290
|
+
if (k2 === undefined) k2 = k;
|
|
2291
|
+
o[k2] = m[k];
|
|
2292
|
+
}));
|
|
2293
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
2294
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2295
|
+
};
|
|
2296
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2297
|
+
__exportStar(__webpack_require__(/*! ./compose.js */ "../../node_modules/type-plus/cjs/functional/compose.js"), exports);
|
|
2298
|
+
//# sourceMappingURL=index.js.map
|
|
2299
|
+
|
|
2300
|
+
/***/ }),
|
|
2301
|
+
|
|
1894
2302
|
/***/ "../../node_modules/type-plus/cjs/index.js":
|
|
1895
2303
|
/*!*************************************************!*\
|
|
1896
2304
|
!*** ../../node_modules/type-plus/cjs/index.js ***!
|
|
1897
2305
|
\*************************************************/
|
|
2306
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2307
|
+
|
|
2308
|
+
"use strict";
|
|
2309
|
+
|
|
2310
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2311
|
+
if (k2 === undefined) k2 = k;
|
|
2312
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2313
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2314
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
2315
|
+
}
|
|
2316
|
+
Object.defineProperty(o, k2, desc);
|
|
2317
|
+
}) : (function(o, m, k, k2) {
|
|
2318
|
+
if (k2 === undefined) k2 = k;
|
|
2319
|
+
o[k2] = m[k];
|
|
2320
|
+
}));
|
|
2321
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
2322
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2323
|
+
};
|
|
2324
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2325
|
+
exports.requiredDeep = exports.required = void 0;
|
|
2326
|
+
// import * as types from './types/index.js'
|
|
2327
|
+
var unpartial_1 = __webpack_require__(/*! unpartial */ "../../node_modules/type-plus/node_modules/unpartial/cjs/index.js");
|
|
2328
|
+
Object.defineProperty(exports, "required", ({ enumerable: true, get: function () { return unpartial_1.required; } }));
|
|
2329
|
+
Object.defineProperty(exports, "requiredDeep", ({ enumerable: true, get: function () { return unpartial_1.requiredDeep; } }));
|
|
2330
|
+
__exportStar(__webpack_require__(/*! ./array/index.js */ "../../node_modules/type-plus/cjs/array/index.js"), exports);
|
|
2331
|
+
__exportStar(__webpack_require__(/*! ./assertion/index.js */ "../../node_modules/type-plus/cjs/assertion/index.js"), exports);
|
|
2332
|
+
__exportStar(__webpack_require__(/*! ./class/index.js */ "../../node_modules/type-plus/cjs/class/index.js"), exports);
|
|
2333
|
+
__exportStar(__webpack_require__(/*! ./function/index.js */ "../../node_modules/type-plus/cjs/function/index.js"), exports);
|
|
2334
|
+
__exportStar(__webpack_require__(/*! ./functional/index.js */ "../../node_modules/type-plus/cjs/functional/index.js"), exports);
|
|
2335
|
+
__exportStar(__webpack_require__(/*! ./JSONTypes.js */ "../../node_modules/type-plus/cjs/JSONTypes.js"), exports);
|
|
2336
|
+
__exportStar(__webpack_require__(/*! ./math/index.js */ "../../node_modules/type-plus/cjs/math/index.js"), exports);
|
|
2337
|
+
__exportStar(__webpack_require__(/*! ./nodejs/index.js */ "../../node_modules/type-plus/cjs/nodejs/index.js"), exports);
|
|
2338
|
+
__exportStar(__webpack_require__(/*! ./nominal-types/index.js */ "../../node_modules/type-plus/cjs/nominal-types/index.js"), exports);
|
|
2339
|
+
__exportStar(__webpack_require__(/*! ./object/index.js */ "../../node_modules/type-plus/cjs/object/index.js"), exports);
|
|
2340
|
+
__exportStar(__webpack_require__(/*! ./predicates/index.js */ "../../node_modules/type-plus/cjs/predicates/index.js"), exports);
|
|
2341
|
+
__exportStar(__webpack_require__(/*! ./promise/index.js */ "../../node_modules/type-plus/cjs/promise/index.js"), exports);
|
|
2342
|
+
__exportStar(__webpack_require__(/*! ./testing/index.js */ "../../node_modules/type-plus/cjs/testing/index.js"), exports);
|
|
2343
|
+
__exportStar(__webpack_require__(/*! ./utils/index.js */ "../../node_modules/type-plus/cjs/utils/index.js"), exports);
|
|
2344
|
+
// export { types, types as T }
|
|
2345
|
+
//# sourceMappingURL=index.js.map
|
|
2346
|
+
|
|
2347
|
+
/***/ }),
|
|
2348
|
+
|
|
2349
|
+
/***/ "../../node_modules/type-plus/cjs/math/index.js":
|
|
2350
|
+
/*!******************************************************!*\
|
|
2351
|
+
!*** ../../node_modules/type-plus/cjs/math/index.js ***!
|
|
2352
|
+
\******************************************************/
|
|
2353
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2354
|
+
|
|
2355
|
+
"use strict";
|
|
2356
|
+
|
|
2357
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2358
|
+
//# sourceMappingURL=index.js.map
|
|
2359
|
+
|
|
2360
|
+
/***/ }),
|
|
2361
|
+
|
|
2362
|
+
/***/ "../../node_modules/type-plus/cjs/nodejs/index.js":
|
|
2363
|
+
/*!********************************************************!*\
|
|
2364
|
+
!*** ../../node_modules/type-plus/cjs/nodejs/index.js ***!
|
|
2365
|
+
\********************************************************/
|
|
2366
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2367
|
+
|
|
2368
|
+
"use strict";
|
|
2369
|
+
|
|
2370
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2371
|
+
if (k2 === undefined) k2 = k;
|
|
2372
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2373
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2374
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
2375
|
+
}
|
|
2376
|
+
Object.defineProperty(o, k2, desc);
|
|
2377
|
+
}) : (function(o, m, k, k2) {
|
|
2378
|
+
if (k2 === undefined) k2 = k;
|
|
2379
|
+
o[k2] = m[k];
|
|
2380
|
+
}));
|
|
2381
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
2382
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2383
|
+
};
|
|
2384
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2385
|
+
__exportStar(__webpack_require__(/*! ./isNodeError.js */ "../../node_modules/type-plus/cjs/nodejs/isNodeError.js"), exports);
|
|
2386
|
+
//# sourceMappingURL=index.js.map
|
|
2387
|
+
|
|
2388
|
+
/***/ }),
|
|
2389
|
+
|
|
2390
|
+
/***/ "../../node_modules/type-plus/cjs/nodejs/isNodeError.js":
|
|
2391
|
+
/*!**************************************************************!*\
|
|
2392
|
+
!*** ../../node_modules/type-plus/cjs/nodejs/isNodeError.js ***!
|
|
2393
|
+
\**************************************************************/
|
|
2394
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2395
|
+
|
|
2396
|
+
"use strict";
|
|
2397
|
+
|
|
2398
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2399
|
+
exports.isSystemError = void 0;
|
|
2400
|
+
/**
|
|
2401
|
+
* Type guard NodeJS SystemErrors.
|
|
2402
|
+
* The list is not complete. Will add as needed.
|
|
2403
|
+
* Feel free to contribute.
|
|
2404
|
+
*/
|
|
2405
|
+
function isSystemError(code, err) {
|
|
2406
|
+
return !!err && err.code === code;
|
|
2407
|
+
}
|
|
2408
|
+
exports.isSystemError = isSystemError;
|
|
2409
|
+
//# sourceMappingURL=isNodeError.js.map
|
|
2410
|
+
|
|
2411
|
+
/***/ }),
|
|
2412
|
+
|
|
2413
|
+
/***/ "../../node_modules/type-plus/cjs/nominal-types/Brand.js":
|
|
2414
|
+
/*!***************************************************************!*\
|
|
2415
|
+
!*** ../../node_modules/type-plus/cjs/nominal-types/Brand.js ***!
|
|
2416
|
+
\***************************************************************/
|
|
2417
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2418
|
+
|
|
2419
|
+
"use strict";
|
|
2420
|
+
|
|
2421
|
+
// By Drew Colthorp, <https://spin.atomicobject.com/2018/01/15/typescript-flexible-nominal-typing/#comment-604580>
|
|
2422
|
+
// <https://gist.github.com/dcolthorp/aa21cf87d847ae9942106435bf47565d>
|
|
2423
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2424
|
+
exports.brand = void 0;
|
|
2425
|
+
var types_js_1 = __webpack_require__(/*! ./types.js */ "../../node_modules/type-plus/cjs/nominal-types/types.js");
|
|
2426
|
+
function brand(type, subject) {
|
|
2427
|
+
if (subject === undefined)
|
|
2428
|
+
return function (subject) { return brand(type, subject); };
|
|
2429
|
+
if (typeof subject === 'object' && subject !== null) {
|
|
2430
|
+
// if subject is not an object, the branding will exist only in type-level.
|
|
2431
|
+
subject[types_js_1.typeSym] = type;
|
|
2432
|
+
}
|
|
2433
|
+
return subject;
|
|
2434
|
+
}
|
|
2435
|
+
exports.brand = brand;
|
|
2436
|
+
//# sourceMappingURL=Brand.js.map
|
|
2437
|
+
|
|
2438
|
+
/***/ }),
|
|
2439
|
+
|
|
2440
|
+
/***/ "../../node_modules/type-plus/cjs/nominal-types/Flavor.js":
|
|
2441
|
+
/*!****************************************************************!*\
|
|
2442
|
+
!*** ../../node_modules/type-plus/cjs/nominal-types/Flavor.js ***!
|
|
2443
|
+
\****************************************************************/
|
|
2444
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2445
|
+
|
|
2446
|
+
"use strict";
|
|
2447
|
+
|
|
2448
|
+
// By Drew Colthorp, <https://spin.atomicobject.com/2018/01/15/typescript-flexible-nominal-typing/#comment-604580>
|
|
2449
|
+
// <https://gist.github.com/dcolthorp/aa21cf87d847ae9942106435bf47565d>
|
|
2450
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2451
|
+
exports.flavor = void 0;
|
|
2452
|
+
var types_js_1 = __webpack_require__(/*! ./types.js */ "../../node_modules/type-plus/cjs/nominal-types/types.js");
|
|
2453
|
+
function flavor(type, subject) {
|
|
2454
|
+
if (subject === undefined)
|
|
2455
|
+
return function (subject) { return flavor(type, subject); };
|
|
2456
|
+
if (typeof subject === 'object' && subject !== null) {
|
|
2457
|
+
// if subject is not an object, the branding will exist only in type-level.
|
|
2458
|
+
subject[types_js_1.typeSym] = type;
|
|
2459
|
+
}
|
|
2460
|
+
return subject;
|
|
2461
|
+
}
|
|
2462
|
+
exports.flavor = flavor;
|
|
2463
|
+
//# sourceMappingURL=Flavor.js.map
|
|
2464
|
+
|
|
2465
|
+
/***/ }),
|
|
2466
|
+
|
|
2467
|
+
/***/ "../../node_modules/type-plus/cjs/nominal-types/index.js":
|
|
2468
|
+
/*!***************************************************************!*\
|
|
2469
|
+
!*** ../../node_modules/type-plus/cjs/nominal-types/index.js ***!
|
|
2470
|
+
\***************************************************************/
|
|
2471
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2472
|
+
|
|
2473
|
+
"use strict";
|
|
2474
|
+
|
|
2475
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2476
|
+
if (k2 === undefined) k2 = k;
|
|
2477
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2478
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2479
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
2480
|
+
}
|
|
2481
|
+
Object.defineProperty(o, k2, desc);
|
|
2482
|
+
}) : (function(o, m, k, k2) {
|
|
2483
|
+
if (k2 === undefined) k2 = k;
|
|
2484
|
+
o[k2] = m[k];
|
|
2485
|
+
}));
|
|
2486
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
2487
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2488
|
+
};
|
|
2489
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2490
|
+
__exportStar(__webpack_require__(/*! ./Brand.js */ "../../node_modules/type-plus/cjs/nominal-types/Brand.js"), exports);
|
|
2491
|
+
__exportStar(__webpack_require__(/*! ./Flavor.js */ "../../node_modules/type-plus/cjs/nominal-types/Flavor.js"), exports);
|
|
2492
|
+
__exportStar(__webpack_require__(/*! ./nominalMatch.js */ "../../node_modules/type-plus/cjs/nominal-types/nominalMatch.js"), exports);
|
|
2493
|
+
//# sourceMappingURL=index.js.map
|
|
2494
|
+
|
|
2495
|
+
/***/ }),
|
|
2496
|
+
|
|
2497
|
+
/***/ "../../node_modules/type-plus/cjs/nominal-types/nominalMatch.js":
|
|
2498
|
+
/*!**********************************************************************!*\
|
|
2499
|
+
!*** ../../node_modules/type-plus/cjs/nominal-types/nominalMatch.js ***!
|
|
2500
|
+
\**********************************************************************/
|
|
2501
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2502
|
+
|
|
2503
|
+
"use strict";
|
|
2504
|
+
|
|
2505
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2506
|
+
exports.nominalMatch = void 0;
|
|
2507
|
+
var types_js_1 = __webpack_require__(/*! ./types.js */ "../../node_modules/type-plus/cjs/nominal-types/types.js");
|
|
2508
|
+
function nominalMatch(a, b) {
|
|
2509
|
+
if (typeof a === 'object' && a !== null && typeof b === 'object' && b !== null)
|
|
2510
|
+
return a[types_js_1.typeSym] === b[types_js_1.typeSym];
|
|
2511
|
+
else {
|
|
2512
|
+
return true;
|
|
2513
|
+
}
|
|
2514
|
+
}
|
|
2515
|
+
exports.nominalMatch = nominalMatch;
|
|
2516
|
+
//# sourceMappingURL=nominalMatch.js.map
|
|
2517
|
+
|
|
2518
|
+
/***/ }),
|
|
2519
|
+
|
|
2520
|
+
/***/ "../../node_modules/type-plus/cjs/nominal-types/types.js":
|
|
2521
|
+
/*!***************************************************************!*\
|
|
2522
|
+
!*** ../../node_modules/type-plus/cjs/nominal-types/types.js ***!
|
|
2523
|
+
\***************************************************************/
|
|
2524
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2525
|
+
|
|
2526
|
+
"use strict";
|
|
2527
|
+
|
|
2528
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2529
|
+
exports.valueSym = exports.typeSym = void 0;
|
|
2530
|
+
exports.typeSym = Symbol('type');
|
|
2531
|
+
exports.valueSym = Symbol('value');
|
|
2532
|
+
//# sourceMappingURL=types.js.map
|
|
2533
|
+
|
|
2534
|
+
/***/ }),
|
|
2535
|
+
|
|
2536
|
+
/***/ "../../node_modules/type-plus/cjs/object/everyKey.js":
|
|
2537
|
+
/*!***********************************************************!*\
|
|
2538
|
+
!*** ../../node_modules/type-plus/cjs/object/everyKey.js ***!
|
|
2539
|
+
\***********************************************************/
|
|
2540
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2541
|
+
|
|
2542
|
+
"use strict";
|
|
2543
|
+
|
|
2544
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2545
|
+
exports.everyKey = void 0;
|
|
2546
|
+
function everyKey(subject, predicate, thisArg) {
|
|
2547
|
+
return Object.keys(subject).every(predicate, thisArg);
|
|
2548
|
+
}
|
|
2549
|
+
exports.everyKey = everyKey;
|
|
2550
|
+
//# sourceMappingURL=everyKey.js.map
|
|
2551
|
+
|
|
2552
|
+
/***/ }),
|
|
2553
|
+
|
|
2554
|
+
/***/ "../../node_modules/type-plus/cjs/object/facade.js":
|
|
2555
|
+
/*!*********************************************************!*\
|
|
2556
|
+
!*** ../../node_modules/type-plus/cjs/object/facade.js ***!
|
|
2557
|
+
\*********************************************************/
|
|
2558
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2559
|
+
|
|
2560
|
+
"use strict";
|
|
2561
|
+
|
|
2562
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2563
|
+
exports.facade = void 0;
|
|
2564
|
+
function facade(subject) {
|
|
2565
|
+
var props = [];
|
|
2566
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
2567
|
+
props[_i - 1] = arguments[_i];
|
|
2568
|
+
}
|
|
2569
|
+
return props.reduce(function (p, k) {
|
|
2570
|
+
var prop = subject[k];
|
|
2571
|
+
if (typeof prop === 'function') {
|
|
2572
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call
|
|
2573
|
+
p[k] = prop.bind(subject);
|
|
2574
|
+
}
|
|
2575
|
+
else {
|
|
2576
|
+
Object.defineProperty(p, k, {
|
|
2577
|
+
get: function () {
|
|
2578
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
2579
|
+
return subject[k];
|
|
2580
|
+
},
|
|
2581
|
+
set: function (value) {
|
|
2582
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-assignment
|
|
2583
|
+
return subject[k] = value;
|
|
2584
|
+
},
|
|
2585
|
+
});
|
|
2586
|
+
}
|
|
2587
|
+
return p;
|
|
2588
|
+
}, {});
|
|
2589
|
+
}
|
|
2590
|
+
exports.facade = facade;
|
|
2591
|
+
//# sourceMappingURL=facade.js.map
|
|
2592
|
+
|
|
2593
|
+
/***/ }),
|
|
2594
|
+
|
|
2595
|
+
/***/ "../../node_modules/type-plus/cjs/object/filterKey.js":
|
|
2596
|
+
/*!************************************************************!*\
|
|
2597
|
+
!*** ../../node_modules/type-plus/cjs/object/filterKey.js ***!
|
|
2598
|
+
\************************************************************/
|
|
2599
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2600
|
+
|
|
2601
|
+
"use strict";
|
|
2602
|
+
|
|
2603
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2604
|
+
exports.filterKey = void 0;
|
|
2605
|
+
function filterKey(subject, predicate, thisArg) {
|
|
2606
|
+
return Object.keys(subject).filter(predicate, thisArg);
|
|
2607
|
+
}
|
|
2608
|
+
exports.filterKey = filterKey;
|
|
2609
|
+
//# sourceMappingURL=filterKey.js.map
|
|
2610
|
+
|
|
2611
|
+
/***/ }),
|
|
2612
|
+
|
|
2613
|
+
/***/ "../../node_modules/type-plus/cjs/object/findKey.js":
|
|
2614
|
+
/*!**********************************************************!*\
|
|
2615
|
+
!*** ../../node_modules/type-plus/cjs/object/findKey.js ***!
|
|
2616
|
+
\**********************************************************/
|
|
2617
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2618
|
+
|
|
2619
|
+
"use strict";
|
|
2620
|
+
|
|
2621
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2622
|
+
exports.findKey = void 0;
|
|
2623
|
+
function findKey(subject, predicate, thisArg) {
|
|
2624
|
+
return Object.keys(subject).find(predicate, thisArg);
|
|
2625
|
+
}
|
|
2626
|
+
exports.findKey = findKey;
|
|
2627
|
+
//# sourceMappingURL=findKey.js.map
|
|
2628
|
+
|
|
2629
|
+
/***/ }),
|
|
2630
|
+
|
|
2631
|
+
/***/ "../../node_modules/type-plus/cjs/object/forEachKey.js":
|
|
2632
|
+
/*!*************************************************************!*\
|
|
2633
|
+
!*** ../../node_modules/type-plus/cjs/object/forEachKey.js ***!
|
|
2634
|
+
\*************************************************************/
|
|
2635
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2636
|
+
|
|
2637
|
+
"use strict";
|
|
2638
|
+
|
|
2639
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2640
|
+
exports.forEachKey = void 0;
|
|
2641
|
+
function forEachKey(subject, predicate, thisArg) {
|
|
2642
|
+
return Object.keys(subject).forEach(predicate, thisArg);
|
|
2643
|
+
}
|
|
2644
|
+
exports.forEachKey = forEachKey;
|
|
2645
|
+
//# sourceMappingURL=forEachKey.js.map
|
|
2646
|
+
|
|
2647
|
+
/***/ }),
|
|
2648
|
+
|
|
2649
|
+
/***/ "../../node_modules/type-plus/cjs/object/getField.js":
|
|
2650
|
+
/*!***********************************************************!*\
|
|
2651
|
+
!*** ../../node_modules/type-plus/cjs/object/getField.js ***!
|
|
2652
|
+
\***********************************************************/
|
|
2653
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2654
|
+
|
|
2655
|
+
"use strict";
|
|
2656
|
+
|
|
2657
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2658
|
+
exports.getField = void 0;
|
|
2659
|
+
function getField(subject, key, defaultValue) {
|
|
2660
|
+
return subject && subject[key] || defaultValue;
|
|
2661
|
+
}
|
|
2662
|
+
exports.getField = getField;
|
|
2663
|
+
//# sourceMappingURL=getField.js.map
|
|
2664
|
+
|
|
2665
|
+
/***/ }),
|
|
2666
|
+
|
|
2667
|
+
/***/ "../../node_modules/type-plus/cjs/object/hasKey.js":
|
|
2668
|
+
/*!*********************************************************!*\
|
|
2669
|
+
!*** ../../node_modules/type-plus/cjs/object/hasKey.js ***!
|
|
2670
|
+
\*********************************************************/
|
|
2671
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2672
|
+
|
|
2673
|
+
"use strict";
|
|
2674
|
+
|
|
2675
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2676
|
+
exports.hasKey = void 0;
|
|
2677
|
+
function hasKey(subject) {
|
|
2678
|
+
var keys = [];
|
|
2679
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
2680
|
+
keys[_i - 1] = arguments[_i];
|
|
2681
|
+
}
|
|
2682
|
+
return !keys.some(function (key) { return !subject[key]; });
|
|
2683
|
+
}
|
|
2684
|
+
exports.hasKey = hasKey;
|
|
2685
|
+
//# sourceMappingURL=hasKey.js.map
|
|
2686
|
+
|
|
2687
|
+
/***/ }),
|
|
2688
|
+
|
|
2689
|
+
/***/ "../../node_modules/type-plus/cjs/object/hasProperty.js":
|
|
2690
|
+
/*!**************************************************************!*\
|
|
2691
|
+
!*** ../../node_modules/type-plus/cjs/object/hasProperty.js ***!
|
|
2692
|
+
\**************************************************************/
|
|
2693
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2694
|
+
|
|
2695
|
+
"use strict";
|
|
2696
|
+
|
|
2697
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2698
|
+
exports.hasProperty = void 0;
|
|
2699
|
+
function hasProperty(value, prop) {
|
|
2700
|
+
return !!value[prop];
|
|
2701
|
+
}
|
|
2702
|
+
exports.hasProperty = hasProperty;
|
|
2703
|
+
//# sourceMappingURL=hasProperty.js.map
|
|
2704
|
+
|
|
2705
|
+
/***/ }),
|
|
2706
|
+
|
|
2707
|
+
/***/ "../../node_modules/type-plus/cjs/object/index.js":
|
|
2708
|
+
/*!********************************************************!*\
|
|
2709
|
+
!*** ../../node_modules/type-plus/cjs/object/index.js ***!
|
|
2710
|
+
\********************************************************/
|
|
2711
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2712
|
+
|
|
2713
|
+
"use strict";
|
|
2714
|
+
|
|
2715
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2716
|
+
if (k2 === undefined) k2 = k;
|
|
2717
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2718
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2719
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
2720
|
+
}
|
|
2721
|
+
Object.defineProperty(o, k2, desc);
|
|
2722
|
+
}) : (function(o, m, k, k2) {
|
|
2723
|
+
if (k2 === undefined) k2 = k;
|
|
2724
|
+
o[k2] = m[k];
|
|
2725
|
+
}));
|
|
2726
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
2727
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2728
|
+
};
|
|
2729
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2730
|
+
__exportStar(__webpack_require__(/*! ./everyKey.js */ "../../node_modules/type-plus/cjs/object/everyKey.js"), exports);
|
|
2731
|
+
__exportStar(__webpack_require__(/*! ./facade.js */ "../../node_modules/type-plus/cjs/object/facade.js"), exports);
|
|
2732
|
+
__exportStar(__webpack_require__(/*! ./filterKey.js */ "../../node_modules/type-plus/cjs/object/filterKey.js"), exports);
|
|
2733
|
+
__exportStar(__webpack_require__(/*! ./findKey.js */ "../../node_modules/type-plus/cjs/object/findKey.js"), exports);
|
|
2734
|
+
__exportStar(__webpack_require__(/*! ./forEachKey.js */ "../../node_modules/type-plus/cjs/object/forEachKey.js"), exports);
|
|
2735
|
+
__exportStar(__webpack_require__(/*! ./getField.js */ "../../node_modules/type-plus/cjs/object/getField.js"), exports);
|
|
2736
|
+
__exportStar(__webpack_require__(/*! ./hasKey.js */ "../../node_modules/type-plus/cjs/object/hasKey.js"), exports);
|
|
2737
|
+
__exportStar(__webpack_require__(/*! ./hasProperty.js */ "../../node_modules/type-plus/cjs/object/hasProperty.js"), exports);
|
|
2738
|
+
__exportStar(__webpack_require__(/*! ./mapKey.js */ "../../node_modules/type-plus/cjs/object/mapKey.js"), exports);
|
|
2739
|
+
__exportStar(__webpack_require__(/*! ./mapProperties.js */ "../../node_modules/type-plus/cjs/object/mapProperties.js"), exports);
|
|
2740
|
+
__exportStar(__webpack_require__(/*! ./omit.js */ "../../node_modules/type-plus/cjs/object/omit.js"), exports);
|
|
2741
|
+
__exportStar(__webpack_require__(/*! ./pick.js */ "../../node_modules/type-plus/cjs/object/pick.js"), exports);
|
|
2742
|
+
__exportStar(__webpack_require__(/*! ./record.js */ "../../node_modules/type-plus/cjs/object/record.js"), exports);
|
|
2743
|
+
__exportStar(__webpack_require__(/*! ./reduceKey.js */ "../../node_modules/type-plus/cjs/object/reduceKey.js"), exports);
|
|
2744
|
+
__exportStar(__webpack_require__(/*! ./replaceProperty.js */ "../../node_modules/type-plus/cjs/object/replaceProperty.js"), exports);
|
|
2745
|
+
__exportStar(__webpack_require__(/*! ./someKey.js */ "../../node_modules/type-plus/cjs/object/someKey.js"), exports);
|
|
2746
|
+
__exportStar(__webpack_require__(/*! ./split.js */ "../../node_modules/type-plus/cjs/object/split.js"), exports);
|
|
2747
|
+
__exportStar(__webpack_require__(/*! ./typeOverrideIncompatible.js */ "../../node_modules/type-plus/cjs/object/typeOverrideIncompatible.js"), exports);
|
|
2748
|
+
//# sourceMappingURL=index.js.map
|
|
2749
|
+
|
|
2750
|
+
/***/ }),
|
|
2751
|
+
|
|
2752
|
+
/***/ "../../node_modules/type-plus/cjs/object/mapKey.js":
|
|
2753
|
+
/*!*********************************************************!*\
|
|
2754
|
+
!*** ../../node_modules/type-plus/cjs/object/mapKey.js ***!
|
|
2755
|
+
\*********************************************************/
|
|
2756
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2757
|
+
|
|
2758
|
+
"use strict";
|
|
2759
|
+
|
|
2760
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2761
|
+
exports.mapKey = void 0;
|
|
2762
|
+
function mapKey(subject, predicate, thisArg) {
|
|
2763
|
+
return Object.keys(subject).map(predicate, thisArg);
|
|
2764
|
+
}
|
|
2765
|
+
exports.mapKey = mapKey;
|
|
2766
|
+
//# sourceMappingURL=mapKey.js.map
|
|
2767
|
+
|
|
2768
|
+
/***/ }),
|
|
2769
|
+
|
|
2770
|
+
/***/ "../../node_modules/type-plus/cjs/object/mapProperties.js":
|
|
2771
|
+
/*!****************************************************************!*\
|
|
2772
|
+
!*** ../../node_modules/type-plus/cjs/object/mapProperties.js ***!
|
|
2773
|
+
\****************************************************************/
|
|
2774
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2775
|
+
|
|
2776
|
+
"use strict";
|
|
2777
|
+
|
|
2778
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2779
|
+
exports.mapProperties = void 0;
|
|
2780
|
+
var reduceKey_js_1 = __webpack_require__(/*! ./reduceKey.js */ "../../node_modules/type-plus/cjs/object/reduceKey.js");
|
|
2781
|
+
/**
|
|
2782
|
+
* An Object-specific version of `map`.
|
|
2783
|
+
* Original source:
|
|
2784
|
+
* <https://stackoverflow.com/questions/53964071/how-to-dynamically-create-mapped-type-in-typescript>
|
|
2785
|
+
*
|
|
2786
|
+
* `ramda` has a similar function (`mapObjIndexed()`) with different parameter order.
|
|
2787
|
+
* I keep this parameter order because this parameter order provides better type inference.
|
|
2788
|
+
*/
|
|
2789
|
+
function mapProperties(subject, callbackfn) {
|
|
2790
|
+
return (0, reduceKey_js_1.reduceByKey)(subject, function (p, key) { return (p[key] = callbackfn(subject[key], key, subject),
|
|
2791
|
+
p); }, {});
|
|
2792
|
+
}
|
|
2793
|
+
exports.mapProperties = mapProperties;
|
|
2794
|
+
//# sourceMappingURL=mapProperties.js.map
|
|
2795
|
+
|
|
2796
|
+
/***/ }),
|
|
2797
|
+
|
|
2798
|
+
/***/ "../../node_modules/type-plus/cjs/object/omit.js":
|
|
2799
|
+
/*!*******************************************************!*\
|
|
2800
|
+
!*** ../../node_modules/type-plus/cjs/object/omit.js ***!
|
|
2801
|
+
\*******************************************************/
|
|
2802
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2803
|
+
|
|
2804
|
+
"use strict";
|
|
2805
|
+
|
|
2806
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2807
|
+
exports.omit = void 0;
|
|
2808
|
+
var index_js_1 = __webpack_require__(/*! ../object/index.js */ "../../node_modules/type-plus/cjs/object/index.js");
|
|
2809
|
+
function omit(subject) {
|
|
2810
|
+
var props = [];
|
|
2811
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
2812
|
+
props[_i - 1] = arguments[_i];
|
|
2813
|
+
}
|
|
2814
|
+
return (0, index_js_1.reduceByKey)(subject, function (p, k) {
|
|
2815
|
+
if (props.indexOf(k) === -1)
|
|
2816
|
+
p[k] = subject[k];
|
|
2817
|
+
return p;
|
|
2818
|
+
}, {});
|
|
2819
|
+
}
|
|
2820
|
+
exports.omit = omit;
|
|
2821
|
+
//# sourceMappingURL=omit.js.map
|
|
2822
|
+
|
|
2823
|
+
/***/ }),
|
|
2824
|
+
|
|
2825
|
+
/***/ "../../node_modules/type-plus/cjs/object/pick.js":
|
|
2826
|
+
/*!*******************************************************!*\
|
|
2827
|
+
!*** ../../node_modules/type-plus/cjs/object/pick.js ***!
|
|
2828
|
+
\*******************************************************/
|
|
2829
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2830
|
+
|
|
2831
|
+
"use strict";
|
|
2832
|
+
|
|
2833
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2834
|
+
exports.pick = void 0;
|
|
2835
|
+
var reduceKey_js_1 = __webpack_require__(/*! ./reduceKey.js */ "../../node_modules/type-plus/cjs/object/reduceKey.js");
|
|
2836
|
+
function pick(subject) {
|
|
2837
|
+
var props = [];
|
|
2838
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
2839
|
+
props[_i - 1] = arguments[_i];
|
|
2840
|
+
}
|
|
2841
|
+
return (0, reduceKey_js_1.reduceByKey)(subject, function (p, k) {
|
|
2842
|
+
if (props.indexOf(k) >= 0)
|
|
2843
|
+
p[k] = subject[k];
|
|
2844
|
+
return p;
|
|
2845
|
+
}, {});
|
|
2846
|
+
}
|
|
2847
|
+
exports.pick = pick;
|
|
2848
|
+
//# sourceMappingURL=pick.js.map
|
|
2849
|
+
|
|
2850
|
+
/***/ }),
|
|
2851
|
+
|
|
2852
|
+
/***/ "../../node_modules/type-plus/cjs/object/record.js":
|
|
2853
|
+
/*!*********************************************************!*\
|
|
2854
|
+
!*** ../../node_modules/type-plus/cjs/object/record.js ***!
|
|
2855
|
+
\*********************************************************/
|
|
2856
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2857
|
+
|
|
2858
|
+
"use strict";
|
|
2859
|
+
|
|
2860
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2861
|
+
exports.record = void 0;
|
|
2862
|
+
/**
|
|
2863
|
+
* Creates a `Record<Key, Value>`
|
|
2864
|
+
*/
|
|
2865
|
+
function record(value) {
|
|
2866
|
+
var r = Object.create(null);
|
|
2867
|
+
return (value ? Object.assign(r, value) : r);
|
|
2868
|
+
}
|
|
2869
|
+
exports.record = record;
|
|
2870
|
+
//# sourceMappingURL=record.js.map
|
|
2871
|
+
|
|
2872
|
+
/***/ }),
|
|
2873
|
+
|
|
2874
|
+
/***/ "../../node_modules/type-plus/cjs/object/reduceKey.js":
|
|
2875
|
+
/*!************************************************************!*\
|
|
2876
|
+
!*** ../../node_modules/type-plus/cjs/object/reduceKey.js ***!
|
|
2877
|
+
\************************************************************/
|
|
2878
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2879
|
+
|
|
2880
|
+
"use strict";
|
|
2881
|
+
|
|
2882
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2883
|
+
exports.reduceKey = exports.reduceByKey = void 0;
|
|
2884
|
+
function reduceByKey(subject, callbackfn, initialValue) {
|
|
2885
|
+
return Object.keys(subject).reduce(callbackfn, initialValue);
|
|
2886
|
+
}
|
|
2887
|
+
exports.reduceByKey = reduceByKey;
|
|
2888
|
+
/**
|
|
2889
|
+
* @deprecated renamed to reduceByKey
|
|
2890
|
+
*/
|
|
2891
|
+
exports.reduceKey = reduceByKey;
|
|
2892
|
+
//# sourceMappingURL=reduceKey.js.map
|
|
2893
|
+
|
|
2894
|
+
/***/ }),
|
|
2895
|
+
|
|
2896
|
+
/***/ "../../node_modules/type-plus/cjs/object/replaceProperty.js":
|
|
2897
|
+
/*!******************************************************************!*\
|
|
2898
|
+
!*** ../../node_modules/type-plus/cjs/object/replaceProperty.js ***!
|
|
2899
|
+
\******************************************************************/
|
|
2900
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2901
|
+
|
|
2902
|
+
"use strict";
|
|
2903
|
+
|
|
2904
|
+
var __assign = (this && this.__assign) || function () {
|
|
2905
|
+
__assign = Object.assign || function(t) {
|
|
2906
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
2907
|
+
s = arguments[i];
|
|
2908
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
2909
|
+
t[p] = s[p];
|
|
2910
|
+
}
|
|
2911
|
+
return t;
|
|
2912
|
+
};
|
|
2913
|
+
return __assign.apply(this, arguments);
|
|
2914
|
+
};
|
|
2915
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2916
|
+
exports.replaceProperty = void 0;
|
|
2917
|
+
function replaceProperty(subject, key, value) {
|
|
2918
|
+
var _a;
|
|
2919
|
+
return __assign(__assign({}, subject), (_a = {}, _a[key] = value, _a));
|
|
2920
|
+
}
|
|
2921
|
+
exports.replaceProperty = replaceProperty;
|
|
2922
|
+
//# sourceMappingURL=replaceProperty.js.map
|
|
2923
|
+
|
|
2924
|
+
/***/ }),
|
|
2925
|
+
|
|
2926
|
+
/***/ "../../node_modules/type-plus/cjs/object/someKey.js":
|
|
2927
|
+
/*!**********************************************************!*\
|
|
2928
|
+
!*** ../../node_modules/type-plus/cjs/object/someKey.js ***!
|
|
2929
|
+
\**********************************************************/
|
|
2930
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2931
|
+
|
|
2932
|
+
"use strict";
|
|
2933
|
+
|
|
2934
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2935
|
+
exports.someKey = void 0;
|
|
2936
|
+
function someKey(subject, predicate, thisArg) {
|
|
2937
|
+
return Object.keys(subject).some(predicate, thisArg);
|
|
2938
|
+
}
|
|
2939
|
+
exports.someKey = someKey;
|
|
2940
|
+
//# sourceMappingURL=someKey.js.map
|
|
2941
|
+
|
|
2942
|
+
/***/ }),
|
|
2943
|
+
|
|
2944
|
+
/***/ "../../node_modules/type-plus/cjs/object/split.js":
|
|
2945
|
+
/*!********************************************************!*\
|
|
2946
|
+
!*** ../../node_modules/type-plus/cjs/object/split.js ***!
|
|
2947
|
+
\********************************************************/
|
|
2948
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2949
|
+
|
|
2950
|
+
"use strict";
|
|
2951
|
+
|
|
2952
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
2953
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
2954
|
+
if (ar || !(i in from)) {
|
|
2955
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
2956
|
+
ar[i] = from[i];
|
|
2957
|
+
}
|
|
2958
|
+
}
|
|
2959
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
2960
|
+
};
|
|
2961
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2962
|
+
exports.split = void 0;
|
|
2963
|
+
var reduceKey_js_1 = __webpack_require__(/*! ./reduceKey.js */ "../../node_modules/type-plus/cjs/object/reduceKey.js");
|
|
2964
|
+
function split(target) {
|
|
2965
|
+
var splitters = [];
|
|
2966
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
2967
|
+
splitters[_i - 1] = arguments[_i];
|
|
2968
|
+
}
|
|
2969
|
+
var keyMap = {};
|
|
2970
|
+
var s = splitters.map(function (s) { return (0, reduceKey_js_1.reduceByKey)(s, function (p, k) { var _a; return (keyMap[k] = true, p[k] = (_a = target[k]) !== null && _a !== void 0 ? _a : s[k], p); }, {}); });
|
|
2971
|
+
var r = (0, reduceKey_js_1.reduceByKey)(target, function (p, k) { return keyMap[k] ? p : (p[k] = target[k], p); }, {});
|
|
2972
|
+
return __spreadArray(__spreadArray([], s, true), [r], false);
|
|
2973
|
+
}
|
|
2974
|
+
exports.split = split;
|
|
2975
|
+
//# sourceMappingURL=split.js.map
|
|
2976
|
+
|
|
2977
|
+
/***/ }),
|
|
2978
|
+
|
|
2979
|
+
/***/ "../../node_modules/type-plus/cjs/object/typeOverrideIncompatible.js":
|
|
2980
|
+
/*!***************************************************************************!*\
|
|
2981
|
+
!*** ../../node_modules/type-plus/cjs/object/typeOverrideIncompatible.js ***!
|
|
2982
|
+
\***************************************************************************/
|
|
2983
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
2984
|
+
|
|
2985
|
+
"use strict";
|
|
2986
|
+
|
|
2987
|
+
var __assign = (this && this.__assign) || function () {
|
|
2988
|
+
__assign = Object.assign || function(t) {
|
|
2989
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
2990
|
+
s = arguments[i];
|
|
2991
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
2992
|
+
t[p] = s[p];
|
|
2993
|
+
}
|
|
2994
|
+
return t;
|
|
2995
|
+
};
|
|
2996
|
+
return __assign.apply(this, arguments);
|
|
2997
|
+
};
|
|
2998
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2999
|
+
exports.typeOverrideIncompatible = void 0;
|
|
3000
|
+
function typeOverrideIncompatible() {
|
|
3001
|
+
return function (source, override) {
|
|
3002
|
+
return __assign(__assign({}, source), override);
|
|
3003
|
+
};
|
|
3004
|
+
}
|
|
3005
|
+
exports.typeOverrideIncompatible = typeOverrideIncompatible;
|
|
3006
|
+
//# sourceMappingURL=typeOverrideIncompatible.js.map
|
|
3007
|
+
|
|
3008
|
+
/***/ }),
|
|
3009
|
+
|
|
3010
|
+
/***/ "../../node_modules/type-plus/cjs/predicates/CanAssign.js":
|
|
3011
|
+
/*!****************************************************************!*\
|
|
3012
|
+
!*** ../../node_modules/type-plus/cjs/predicates/CanAssign.js ***!
|
|
3013
|
+
\****************************************************************/
|
|
3014
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
3015
|
+
|
|
3016
|
+
"use strict";
|
|
3017
|
+
|
|
3018
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3019
|
+
exports.canAssign = void 0;
|
|
3020
|
+
function canAssign() {
|
|
3021
|
+
return function () { return true; };
|
|
3022
|
+
}
|
|
3023
|
+
exports.canAssign = canAssign;
|
|
3024
|
+
//# sourceMappingURL=CanAssign.js.map
|
|
3025
|
+
|
|
3026
|
+
/***/ }),
|
|
3027
|
+
|
|
3028
|
+
/***/ "../../node_modules/type-plus/cjs/predicates/index.js":
|
|
3029
|
+
/*!************************************************************!*\
|
|
3030
|
+
!*** ../../node_modules/type-plus/cjs/predicates/index.js ***!
|
|
3031
|
+
\************************************************************/
|
|
3032
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3033
|
+
|
|
3034
|
+
"use strict";
|
|
3035
|
+
|
|
3036
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3037
|
+
if (k2 === undefined) k2 = k;
|
|
3038
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3039
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3040
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
3041
|
+
}
|
|
3042
|
+
Object.defineProperty(o, k2, desc);
|
|
3043
|
+
}) : (function(o, m, k, k2) {
|
|
3044
|
+
if (k2 === undefined) k2 = k;
|
|
3045
|
+
o[k2] = m[k];
|
|
3046
|
+
}));
|
|
3047
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
3048
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3049
|
+
};
|
|
3050
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3051
|
+
__exportStar(__webpack_require__(/*! ./CanAssign.js */ "../../node_modules/type-plus/cjs/predicates/CanAssign.js"), exports);
|
|
3052
|
+
__exportStar(__webpack_require__(/*! ./isType.js */ "../../node_modules/type-plus/cjs/predicates/isType.js"), exports);
|
|
3053
|
+
//# sourceMappingURL=index.js.map
|
|
3054
|
+
|
|
3055
|
+
/***/ }),
|
|
3056
|
+
|
|
3057
|
+
/***/ "../../node_modules/type-plus/cjs/predicates/isType.js":
|
|
3058
|
+
/*!*************************************************************!*\
|
|
3059
|
+
!*** ../../node_modules/type-plus/cjs/predicates/isType.js ***!
|
|
3060
|
+
\*************************************************************/
|
|
3061
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3062
|
+
|
|
3063
|
+
"use strict";
|
|
3064
|
+
|
|
3065
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3066
|
+
exports.isType = void 0;
|
|
3067
|
+
var index_js_1 = __webpack_require__(/*! ../class/index.js */ "../../node_modules/type-plus/cjs/class/index.js");
|
|
3068
|
+
function isType(subject, validator) {
|
|
3069
|
+
if (validator) {
|
|
3070
|
+
if ((0, index_js_1.isConstructor)(validator))
|
|
3071
|
+
return subject instanceof validator;
|
|
3072
|
+
else
|
|
3073
|
+
return validator(subject);
|
|
3074
|
+
}
|
|
3075
|
+
return true;
|
|
3076
|
+
}
|
|
3077
|
+
exports.isType = isType;
|
|
3078
|
+
isType.t = function (subject) {
|
|
3079
|
+
return subject === undefined || subject === true;
|
|
3080
|
+
};
|
|
3081
|
+
isType.f = function (subject) {
|
|
3082
|
+
return subject === undefined || subject === false;
|
|
3083
|
+
};
|
|
3084
|
+
/**
|
|
3085
|
+
* are types A and B equals/not equals.
|
|
3086
|
+
* Slightly easier to use then `isType.t<>()` and `isType.f<>()`,
|
|
3087
|
+
* when doing type level only equality comparison as you don't have to import `Equal<>`.
|
|
3088
|
+
*/
|
|
3089
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
3090
|
+
isType.equal = function () { };
|
|
3091
|
+
//# sourceMappingURL=isType.js.map
|
|
3092
|
+
|
|
3093
|
+
/***/ }),
|
|
3094
|
+
|
|
3095
|
+
/***/ "../../node_modules/type-plus/cjs/promise/index.js":
|
|
3096
|
+
/*!*********************************************************!*\
|
|
3097
|
+
!*** ../../node_modules/type-plus/cjs/promise/index.js ***!
|
|
3098
|
+
\*********************************************************/
|
|
3099
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3100
|
+
|
|
3101
|
+
"use strict";
|
|
3102
|
+
|
|
3103
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3104
|
+
if (k2 === undefined) k2 = k;
|
|
3105
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3106
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3107
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
3108
|
+
}
|
|
3109
|
+
Object.defineProperty(o, k2, desc);
|
|
3110
|
+
}) : (function(o, m, k, k2) {
|
|
3111
|
+
if (k2 === undefined) k2 = k;
|
|
3112
|
+
o[k2] = m[k];
|
|
3113
|
+
}));
|
|
3114
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
3115
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3116
|
+
};
|
|
3117
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3118
|
+
__exportStar(__webpack_require__(/*! ./isPromise.js */ "../../node_modules/type-plus/cjs/promise/isPromise.js"), exports);
|
|
3119
|
+
__exportStar(__webpack_require__(/*! ./mapSeries.js */ "../../node_modules/type-plus/cjs/promise/mapSeries.js"), exports);
|
|
3120
|
+
//# sourceMappingURL=index.js.map
|
|
3121
|
+
|
|
3122
|
+
/***/ }),
|
|
3123
|
+
|
|
3124
|
+
/***/ "../../node_modules/type-plus/cjs/promise/isPromise.js":
|
|
3125
|
+
/*!*************************************************************!*\
|
|
3126
|
+
!*** ../../node_modules/type-plus/cjs/promise/isPromise.js ***!
|
|
3127
|
+
\*************************************************************/
|
|
3128
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
3129
|
+
|
|
3130
|
+
"use strict";
|
|
3131
|
+
|
|
3132
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3133
|
+
exports.isPromise = void 0;
|
|
3134
|
+
function isPromise(subject) {
|
|
3135
|
+
// @ts-ignore
|
|
3136
|
+
return !!subject && typeof subject['then'] === 'function';
|
|
3137
|
+
}
|
|
3138
|
+
exports.isPromise = isPromise;
|
|
3139
|
+
//# sourceMappingURL=isPromise.js.map
|
|
3140
|
+
|
|
3141
|
+
/***/ }),
|
|
3142
|
+
|
|
3143
|
+
/***/ "../../node_modules/type-plus/cjs/promise/mapSeries.js":
|
|
3144
|
+
/*!*************************************************************!*\
|
|
3145
|
+
!*** ../../node_modules/type-plus/cjs/promise/mapSeries.js ***!
|
|
3146
|
+
\*************************************************************/
|
|
3147
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
3148
|
+
|
|
3149
|
+
"use strict";
|
|
3150
|
+
|
|
3151
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3152
|
+
exports.mapSeries = void 0;
|
|
3153
|
+
function mapSeries(values, fn) {
|
|
3154
|
+
return values.reduce(function (p, v) { return p.then(function (r) { return fn(v).then(function (v) { return (r.push(v), r); }); }); }, Promise.resolve([]));
|
|
3155
|
+
}
|
|
3156
|
+
exports.mapSeries = mapSeries;
|
|
3157
|
+
//# sourceMappingURL=mapSeries.js.map
|
|
3158
|
+
|
|
3159
|
+
/***/ }),
|
|
3160
|
+
|
|
3161
|
+
/***/ "../../node_modules/type-plus/cjs/testing/index.js":
|
|
3162
|
+
/*!*********************************************************!*\
|
|
3163
|
+
!*** ../../node_modules/type-plus/cjs/testing/index.js ***!
|
|
3164
|
+
\*********************************************************/
|
|
3165
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3166
|
+
|
|
3167
|
+
"use strict";
|
|
3168
|
+
|
|
3169
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3170
|
+
if (k2 === undefined) k2 = k;
|
|
3171
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3172
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3173
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
3174
|
+
}
|
|
3175
|
+
Object.defineProperty(o, k2, desc);
|
|
3176
|
+
}) : (function(o, m, k, k2) {
|
|
3177
|
+
if (k2 === undefined) k2 = k;
|
|
3178
|
+
o[k2] = m[k];
|
|
3179
|
+
}));
|
|
3180
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
3181
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3182
|
+
};
|
|
3183
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3184
|
+
__exportStar(__webpack_require__(/*! ./stub.js */ "../../node_modules/type-plus/cjs/testing/stub.js"), exports);
|
|
3185
|
+
//# sourceMappingURL=index.js.map
|
|
3186
|
+
|
|
3187
|
+
/***/ }),
|
|
3188
|
+
|
|
3189
|
+
/***/ "../../node_modules/type-plus/cjs/testing/stub.js":
|
|
3190
|
+
/*!********************************************************!*\
|
|
3191
|
+
!*** ../../node_modules/type-plus/cjs/testing/stub.js ***!
|
|
3192
|
+
\********************************************************/
|
|
3193
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3194
|
+
|
|
3195
|
+
"use strict";
|
|
3196
|
+
|
|
3197
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3198
|
+
exports.stub = void 0;
|
|
3199
|
+
var unpartial_1 = __webpack_require__(/*! unpartial */ "../../node_modules/type-plus/node_modules/unpartial/cjs/index.js");
|
|
3200
|
+
function stub(stub) {
|
|
3201
|
+
return stub;
|
|
3202
|
+
}
|
|
3203
|
+
exports.stub = stub;
|
|
3204
|
+
/**
|
|
3205
|
+
* builds a stub function
|
|
3206
|
+
*/
|
|
3207
|
+
stub.build = function build(init) {
|
|
3208
|
+
return function (value) {
|
|
3209
|
+
return init
|
|
3210
|
+
? stub((0, unpartial_1.requiredDeep)(init, value))
|
|
3211
|
+
: stub(value);
|
|
3212
|
+
};
|
|
3213
|
+
};
|
|
3214
|
+
//# sourceMappingURL=stub.js.map
|
|
3215
|
+
|
|
3216
|
+
/***/ }),
|
|
3217
|
+
|
|
3218
|
+
/***/ "../../node_modules/type-plus/cjs/utils/as.js":
|
|
3219
|
+
/*!****************************************************!*\
|
|
3220
|
+
!*** ../../node_modules/type-plus/cjs/utils/as.js ***!
|
|
3221
|
+
\****************************************************/
|
|
3222
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
3223
|
+
|
|
3224
|
+
"use strict";
|
|
3225
|
+
|
|
3226
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3227
|
+
exports.amend = exports.asAny = exports.as = void 0;
|
|
3228
|
+
function as(subject) {
|
|
3229
|
+
return subject;
|
|
3230
|
+
}
|
|
3231
|
+
exports.as = as;
|
|
3232
|
+
function asAny(subject) {
|
|
3233
|
+
return subject;
|
|
3234
|
+
}
|
|
3235
|
+
exports.asAny = asAny;
|
|
3236
|
+
/**
|
|
3237
|
+
* amend `subject` with type `T`
|
|
3238
|
+
*/
|
|
3239
|
+
function amend(subject) {
|
|
3240
|
+
return {
|
|
3241
|
+
union: function () { return subject; },
|
|
3242
|
+
intersect: function () { return subject; }
|
|
3243
|
+
};
|
|
3244
|
+
}
|
|
3245
|
+
exports.amend = amend;
|
|
3246
|
+
//# sourceMappingURL=as.js.map
|
|
3247
|
+
|
|
3248
|
+
/***/ }),
|
|
3249
|
+
|
|
3250
|
+
/***/ "../../node_modules/type-plus/cjs/utils/index.js":
|
|
3251
|
+
/*!*******************************************************!*\
|
|
3252
|
+
!*** ../../node_modules/type-plus/cjs/utils/index.js ***!
|
|
3253
|
+
\*******************************************************/
|
|
3254
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3255
|
+
|
|
3256
|
+
"use strict";
|
|
3257
|
+
|
|
3258
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3259
|
+
if (k2 === undefined) k2 = k;
|
|
3260
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3261
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3262
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
3263
|
+
}
|
|
3264
|
+
Object.defineProperty(o, k2, desc);
|
|
3265
|
+
}) : (function(o, m, k, k2) {
|
|
3266
|
+
if (k2 === undefined) k2 = k;
|
|
3267
|
+
o[k2] = m[k];
|
|
3268
|
+
}));
|
|
3269
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
3270
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3271
|
+
};
|
|
3272
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3273
|
+
__exportStar(__webpack_require__(/*! ./as.js */ "../../node_modules/type-plus/cjs/utils/as.js"), exports);
|
|
3274
|
+
//# sourceMappingURL=index.js.map
|
|
3275
|
+
|
|
3276
|
+
/***/ }),
|
|
3277
|
+
|
|
3278
|
+
/***/ "../../node_modules/tersify/cjs/index.js":
|
|
3279
|
+
/*!***********************************************!*\
|
|
3280
|
+
!*** ../../node_modules/tersify/cjs/index.js ***!
|
|
3281
|
+
\***********************************************/
|
|
1898
3282
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
1899
3283
|
|
|
1900
3284
|
"use strict";
|
|
@@ -1915,24 +3299,41 @@ var __exportStar = (undefined && undefined.__exportStar) || function(m, exports)
|
|
|
1915
3299
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1916
3300
|
};
|
|
1917
3301
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1918
|
-
exports.
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
Object.defineProperty(exports, "
|
|
1922
|
-
__exportStar(require("./
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
3302
|
+
exports.tersify = void 0;
|
|
3303
|
+
__exportStar(require("./tersible.js"), exports);
|
|
3304
|
+
var tersify_js_1 = require("./tersify.js");
|
|
3305
|
+
Object.defineProperty(exports, "tersify", { enumerable: true, get: function () { return tersify_js_1.tersify; } });
|
|
3306
|
+
__exportStar(require("./types.js"), exports);
|
|
3307
|
+
//# sourceMappingURL=index.js.map
|
|
3308
|
+
|
|
3309
|
+
/***/ }),
|
|
3310
|
+
|
|
3311
|
+
/***/ "../../node_modules/type-plus/node_modules/unpartial/cjs/index.js":
|
|
3312
|
+
/*!************************************************************************!*\
|
|
3313
|
+
!*** ../../node_modules/type-plus/node_modules/unpartial/cjs/index.js ***!
|
|
3314
|
+
\************************************************************************/
|
|
3315
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
3316
|
+
|
|
3317
|
+
"use strict";
|
|
3318
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3319
|
+
|
|
3320
|
+
var __createBinding = (undefined && undefined.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3321
|
+
if (k2 === undefined) k2 = k;
|
|
3322
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3323
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3324
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
3325
|
+
}
|
|
3326
|
+
Object.defineProperty(o, k2, desc);
|
|
3327
|
+
}) : (function(o, m, k, k2) {
|
|
3328
|
+
if (k2 === undefined) k2 = k;
|
|
3329
|
+
o[k2] = m[k];
|
|
3330
|
+
}));
|
|
3331
|
+
var __exportStar = (undefined && undefined.__exportStar) || function(m, exports) {
|
|
3332
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3333
|
+
};
|
|
3334
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3335
|
+
__exportStar(require("./required.js"), exports);
|
|
3336
|
+
__exportStar(require("./unpartial.js"), exports);
|
|
1936
3337
|
//# sourceMappingURL=index.js.map
|
|
1937
3338
|
|
|
1938
3339
|
/***/ })
|