@bytescale/sdk 3.53.0 → 3.55.0
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/dist/browser/cjs/main.js +152 -150
- package/dist/browser/esm/main.mjs +153 -196
- package/dist/node/cjs/main.js +155 -155
- package/dist/node/esm/main.mjs +165 -218
- package/dist/types/private/dtos/AuthSwConfigEntryDto.d.ts +1 -0
- package/dist/types/private/model/AuthManagerInterface.d.ts +6 -0
- package/dist/types/public/browser/AuthManagerBrowser.d.ts +1 -0
- package/dist/types/public/shared/generated/apis/FileApi.d.ts +13 -10
- package/dist/types/public/shared/generated/models/index.d.ts +80 -27
- package/dist/worker/cjs/main.js +140 -140
- package/dist/worker/esm/main.mjs +141 -186
- package/package.json +39 -8
- package/tests/UploadManager.test.ts +2 -2
package/dist/node/esm/main.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { Readable as __WEBPACK_EXTERNAL_MODULE_stream_Readable__, Transform as __WEBPACK_EXTERNAL_MODULE_stream_Transform__ } from "stream";
|
|
2
|
+
import { Blob as __WEBPACK_EXTERNAL_MODULE_buffer_Blob__ } from "buffer";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __lib_require__ = {};
|
|
5
5
|
/******/
|
|
@@ -22,33 +22,8 @@ import * as __WEBPACK_EXTERNAL_MODULE_buffer__ from "buffer";
|
|
|
22
22
|
/******/ }();
|
|
23
23
|
/******/
|
|
24
24
|
/************************************************************************/
|
|
25
|
-
var __lib_exports__ = {};
|
|
26
25
|
|
|
27
|
-
|
|
28
|
-
__lib_require__.d(__lib_exports__, {
|
|
29
|
-
AuthManager: function() { return /* reexport */ AuthManager; },
|
|
30
|
-
BaseAPI: function() { return /* reexport */ BaseAPI; },
|
|
31
|
-
BinaryResult: function() { return /* reexport */ BinaryResult; },
|
|
32
|
-
BytescaleApiClientConfigUtils: function() { return /* reexport */ BytescaleApiClientConfigUtils; },
|
|
33
|
-
BytescaleApiError: function() { return /* reexport */ BytescaleApiError; },
|
|
34
|
-
BytescaleGenericError: function() { return /* reexport */ BytescaleGenericError; },
|
|
35
|
-
CacheApi: function() { return /* reexport */ CacheApi; },
|
|
36
|
-
CancelledError: function() { return /* reexport */ CancelledError; },
|
|
37
|
-
CommonTypesNoOp: function() { return /* reexport */ CommonTypesNoOp; },
|
|
38
|
-
FileApi: function() { return /* reexport */ FileApi; },
|
|
39
|
-
FolderApi: function() { return /* reexport */ FolderApi; },
|
|
40
|
-
JSONApiResponse: function() { return /* reexport */ JSONApiResponse; },
|
|
41
|
-
JobApi: function() { return /* reexport */ JobApi; },
|
|
42
|
-
UploadApi: function() { return /* reexport */ UploadApi; },
|
|
43
|
-
UploadManager: function() { return /* reexport */ UploadManager; },
|
|
44
|
-
UrlBuilder: function() { return /* reexport */ UrlBuilder; },
|
|
45
|
-
UrlBuilderTypesNoOp: function() { return /* reexport */ UrlBuilderTypesNoOp; },
|
|
46
|
-
VoidApiResponse: function() { return /* reexport */ VoidApiResponse; },
|
|
47
|
-
encodeBytescaleQuerystringKVP: function() { return /* reexport */ encodeBytescaleQuerystringKVP; },
|
|
48
|
-
querystring: function() { return /* reexport */ querystring; }
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
;// CONCATENATED MODULE: ./src/private/FairMutex.ts
|
|
26
|
+
;// ./src/private/FairMutex.ts
|
|
52
27
|
function _call(body, then, direct) {
|
|
53
28
|
if (direct) {
|
|
54
29
|
return then ? then(body()) : body();
|
|
@@ -98,9 +73,9 @@ function _invoke(body, then) {
|
|
|
98
73
|
return then(result);
|
|
99
74
|
}
|
|
100
75
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
101
|
-
function _classCallCheck(
|
|
102
|
-
function _defineProperties(
|
|
103
|
-
function _createClass(
|
|
76
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
77
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
78
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
104
79
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
105
80
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
106
81
|
/**
|
|
@@ -179,11 +154,11 @@ var FairMutex = /*#__PURE__*/function () {
|
|
|
179
154
|
}
|
|
180
155
|
}]);
|
|
181
156
|
}();
|
|
182
|
-
;//
|
|
157
|
+
;// ./src/private/AuthSessionState.ts
|
|
183
158
|
function AuthSessionState_typeof(o) { "@babel/helpers - typeof"; return AuthSessionState_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, AuthSessionState_typeof(o); }
|
|
184
|
-
function AuthSessionState_classCallCheck(
|
|
185
|
-
function AuthSessionState_defineProperties(
|
|
186
|
-
function AuthSessionState_createClass(
|
|
159
|
+
function AuthSessionState_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
160
|
+
function AuthSessionState_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, AuthSessionState_toPropertyKey(o.key), o); } }
|
|
161
|
+
function AuthSessionState_createClass(e, r, t) { return r && AuthSessionState_defineProperties(e.prototype, r), t && AuthSessionState_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
187
162
|
function AuthSessionState_toPropertyKey(t) { var i = AuthSessionState_toPrimitive(t, "string"); return "symbol" == AuthSessionState_typeof(i) ? i : i + ""; }
|
|
188
163
|
function AuthSessionState_toPrimitive(t, r) { if ("object" != AuthSessionState_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != AuthSessionState_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
189
164
|
|
|
@@ -241,11 +216,11 @@ var AuthSessionState = /*#__PURE__*/function () {
|
|
|
241
216
|
}();
|
|
242
217
|
AuthSessionState.stateKey = "BytescaleSessionState";
|
|
243
218
|
AuthSessionState.mutexKey = "BytescaleSessionStateMutex";
|
|
244
|
-
;//
|
|
219
|
+
;// ./src/private/ConsoleUtils.ts
|
|
245
220
|
function ConsoleUtils_typeof(o) { "@babel/helpers - typeof"; return ConsoleUtils_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, ConsoleUtils_typeof(o); }
|
|
246
|
-
function ConsoleUtils_classCallCheck(
|
|
247
|
-
function ConsoleUtils_defineProperties(
|
|
248
|
-
function ConsoleUtils_createClass(
|
|
221
|
+
function ConsoleUtils_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
222
|
+
function ConsoleUtils_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, ConsoleUtils_toPropertyKey(o.key), o); } }
|
|
223
|
+
function ConsoleUtils_createClass(e, r, t) { return r && ConsoleUtils_defineProperties(e.prototype, r), t && ConsoleUtils_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
249
224
|
function ConsoleUtils_toPropertyKey(t) { var i = ConsoleUtils_toPrimitive(t, "string"); return "symbol" == ConsoleUtils_typeof(i) ? i : i + ""; }
|
|
250
225
|
function ConsoleUtils_toPrimitive(t, r) { if ("object" != ConsoleUtils_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != ConsoleUtils_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
251
226
|
var ConsoleUtils = /*#__PURE__*/function () {
|
|
@@ -274,11 +249,11 @@ var ConsoleUtils = /*#__PURE__*/function () {
|
|
|
274
249
|
}
|
|
275
250
|
}]);
|
|
276
251
|
}();
|
|
277
|
-
;//
|
|
252
|
+
;// ./src/private/FilePathUtils.ts
|
|
278
253
|
function FilePathUtils_typeof(o) { "@babel/helpers - typeof"; return FilePathUtils_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, FilePathUtils_typeof(o); }
|
|
279
|
-
function FilePathUtils_classCallCheck(
|
|
280
|
-
function FilePathUtils_defineProperties(
|
|
281
|
-
function FilePathUtils_createClass(
|
|
254
|
+
function FilePathUtils_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
255
|
+
function FilePathUtils_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, FilePathUtils_toPropertyKey(o.key), o); } }
|
|
256
|
+
function FilePathUtils_createClass(e, r, t) { return r && FilePathUtils_defineProperties(e.prototype, r), t && FilePathUtils_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
282
257
|
function FilePathUtils_toPropertyKey(t) { var i = FilePathUtils_toPrimitive(t, "string"); return "symbol" == FilePathUtils_typeof(i) ? i : i + ""; }
|
|
283
258
|
function FilePathUtils_toPrimitive(t, r) { if ("object" != FilePathUtils_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != FilePathUtils_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
284
259
|
var FilePathUtils = /*#__PURE__*/function () {
|
|
@@ -297,7 +272,7 @@ var FilePathUtils = /*#__PURE__*/function () {
|
|
|
297
272
|
}
|
|
298
273
|
}]);
|
|
299
274
|
}();
|
|
300
|
-
;//
|
|
275
|
+
;// ./src/public/shared/generated/runtime.ts
|
|
301
276
|
function runtime_await(value, then, direct) {
|
|
302
277
|
if (direct) {
|
|
303
278
|
return then ? then(value) : value;
|
|
@@ -330,26 +305,26 @@ function runtime_invoke(body, then) {
|
|
|
330
305
|
return then(result);
|
|
331
306
|
}
|
|
332
307
|
function runtime_typeof(o) { "@babel/helpers - typeof"; return runtime_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, runtime_typeof(o); }
|
|
333
|
-
function _toConsumableArray(
|
|
308
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
334
309
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
335
|
-
function _unsupportedIterableToArray(
|
|
336
|
-
function _iterableToArray(
|
|
337
|
-
function _arrayWithoutHoles(
|
|
338
|
-
function _arrayLikeToArray(
|
|
310
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
311
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
312
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
313
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
339
314
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
340
|
-
function _possibleConstructorReturn(
|
|
341
|
-
function _assertThisInitialized(
|
|
342
|
-
function _inherits(
|
|
343
|
-
function _wrapNativeSuper(
|
|
315
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == runtime_typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
316
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
317
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
318
|
+
function _wrapNativeSuper(t) { var r = "function" == typeof Map ? new Map() : void 0; return _wrapNativeSuper = function _wrapNativeSuper(t) { if (null === t || !_isNativeFunction(t)) return t; if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function"); if (void 0 !== r) { if (r.has(t)) return r.get(t); r.set(t, Wrapper); } function Wrapper() { return _construct(t, arguments, _getPrototypeOf(this).constructor); } return Wrapper.prototype = Object.create(t.prototype, { constructor: { value: Wrapper, enumerable: !1, writable: !0, configurable: !0 } }), _setPrototypeOf(Wrapper, t); }, _wrapNativeSuper(t); }
|
|
344
319
|
function _construct(t, e, r) { if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && _setPrototypeOf(p, r.prototype), p; }
|
|
345
320
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
346
|
-
function _isNativeFunction(
|
|
347
|
-
function _setPrototypeOf(
|
|
348
|
-
function _getPrototypeOf(
|
|
349
|
-
function _defineProperty(
|
|
350
|
-
function runtime_classCallCheck(
|
|
351
|
-
function runtime_defineProperties(
|
|
352
|
-
function runtime_createClass(
|
|
321
|
+
function _isNativeFunction(t) { try { return -1 !== Function.toString.call(t).indexOf("[native code]"); } catch (n) { return "function" == typeof t; } }
|
|
322
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
323
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
324
|
+
function _defineProperty(e, r, t) { return (r = runtime_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
325
|
+
function runtime_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
326
|
+
function runtime_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, runtime_toPropertyKey(o.key), o); } }
|
|
327
|
+
function runtime_createClass(e, r, t) { return r && runtime_defineProperties(e.prototype, r), t && runtime_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
353
328
|
function runtime_toPropertyKey(t) { var i = runtime_toPrimitive(t, "string"); return "symbol" == runtime_typeof(i) ? i : i + ""; }
|
|
354
329
|
function runtime_toPrimitive(t, r) { if ("object" != runtime_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != runtime_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
355
330
|
|
|
@@ -595,7 +570,7 @@ var CancelledError = /*#__PURE__*/function (_Error) {
|
|
|
595
570
|
}
|
|
596
571
|
_inherits(CancelledError, _Error);
|
|
597
572
|
return runtime_createClass(CancelledError);
|
|
598
|
-
}(
|
|
573
|
+
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
599
574
|
/**
|
|
600
575
|
* Thrown when the Bytescale API cannot be reached or when an error is returned that cannot be parsed as a JSON error response.
|
|
601
576
|
*/
|
|
@@ -612,7 +587,7 @@ var BytescaleGenericError = /*#__PURE__*/function (_Error2) {
|
|
|
612
587
|
}
|
|
613
588
|
_inherits(BytescaleGenericError, _Error2);
|
|
614
589
|
return runtime_createClass(BytescaleGenericError);
|
|
615
|
-
}(
|
|
590
|
+
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
616
591
|
/**
|
|
617
592
|
* Thrown when the Bytescale API returns a JSON error response.
|
|
618
593
|
*/
|
|
@@ -628,7 +603,7 @@ var BytescaleApiError = /*#__PURE__*/function (_Error3) {
|
|
|
628
603
|
}
|
|
629
604
|
_inherits(BytescaleApiError, _Error3);
|
|
630
605
|
return runtime_createClass(BytescaleApiError);
|
|
631
|
-
}(
|
|
606
|
+
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
632
607
|
function moveElementToEnd(array, element) {
|
|
633
608
|
return [].concat(_toConsumableArray(array.filter(function (x) {
|
|
634
609
|
return x !== element;
|
|
@@ -747,7 +722,7 @@ var BinaryResult = /*#__PURE__*/function () {
|
|
|
747
722
|
}
|
|
748
723
|
}]);
|
|
749
724
|
}();
|
|
750
|
-
;//
|
|
725
|
+
;// ./src/public/shared/generated/apis/CacheApi.ts
|
|
751
726
|
function CacheApi_typeof(o) { "@babel/helpers - typeof"; return CacheApi_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, CacheApi_typeof(o); }
|
|
752
727
|
function CacheApi_await(value, then, direct) {
|
|
753
728
|
if (direct) {
|
|
@@ -758,18 +733,18 @@ function CacheApi_await(value, then, direct) {
|
|
|
758
733
|
}
|
|
759
734
|
return then ? value.then(then) : value;
|
|
760
735
|
}
|
|
761
|
-
function CacheApi_classCallCheck(
|
|
762
|
-
function CacheApi_defineProperties(
|
|
763
|
-
function CacheApi_createClass(
|
|
736
|
+
function CacheApi_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
737
|
+
function CacheApi_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, CacheApi_toPropertyKey(o.key), o); } }
|
|
738
|
+
function CacheApi_createClass(e, r, t) { return r && CacheApi_defineProperties(e.prototype, r), t && CacheApi_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
764
739
|
function CacheApi_toPropertyKey(t) { var i = CacheApi_toPrimitive(t, "string"); return "symbol" == CacheApi_typeof(i) ? i : i + ""; }
|
|
765
740
|
function CacheApi_toPrimitive(t, r) { if ("object" != CacheApi_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != CacheApi_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
766
741
|
function CacheApi_callSuper(t, o, e) { return o = CacheApi_getPrototypeOf(o), CacheApi_possibleConstructorReturn(t, CacheApi_isNativeReflectConstruct() ? Reflect.construct(o, e || [], CacheApi_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
767
|
-
function CacheApi_possibleConstructorReturn(
|
|
768
|
-
function CacheApi_assertThisInitialized(
|
|
742
|
+
function CacheApi_possibleConstructorReturn(t, e) { if (e && ("object" == CacheApi_typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return CacheApi_assertThisInitialized(t); }
|
|
743
|
+
function CacheApi_assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
769
744
|
function CacheApi_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (CacheApi_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
770
|
-
function CacheApi_getPrototypeOf(
|
|
771
|
-
function CacheApi_inherits(
|
|
772
|
-
function CacheApi_setPrototypeOf(
|
|
745
|
+
function CacheApi_getPrototypeOf(t) { return CacheApi_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, CacheApi_getPrototypeOf(t); }
|
|
746
|
+
function CacheApi_inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && CacheApi_setPrototypeOf(t, e); }
|
|
747
|
+
function CacheApi_setPrototypeOf(t, e) { return CacheApi_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, CacheApi_setPrototypeOf(t, e); }
|
|
773
748
|
/* tslint:disable */
|
|
774
749
|
/* eslint-disable */
|
|
775
750
|
/**
|
|
@@ -820,7 +795,7 @@ var CacheApi = /*#__PURE__*/function (_runtime$BaseAPI) {
|
|
|
820
795
|
}
|
|
821
796
|
}]);
|
|
822
797
|
}(BaseAPI);
|
|
823
|
-
;//
|
|
798
|
+
;// ./src/public/shared/generated/apis/FileApi.ts
|
|
824
799
|
function FileApi_typeof(o) { "@babel/helpers - typeof"; return FileApi_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, FileApi_typeof(o); }
|
|
825
800
|
function FileApi_await(value, then, direct) {
|
|
826
801
|
if (direct) {
|
|
@@ -831,18 +806,18 @@ function FileApi_await(value, then, direct) {
|
|
|
831
806
|
}
|
|
832
807
|
return then ? value.then(then) : value;
|
|
833
808
|
}
|
|
834
|
-
function FileApi_classCallCheck(
|
|
835
|
-
function FileApi_defineProperties(
|
|
836
|
-
function FileApi_createClass(
|
|
809
|
+
function FileApi_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
810
|
+
function FileApi_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, FileApi_toPropertyKey(o.key), o); } }
|
|
811
|
+
function FileApi_createClass(e, r, t) { return r && FileApi_defineProperties(e.prototype, r), t && FileApi_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
837
812
|
function FileApi_toPropertyKey(t) { var i = FileApi_toPrimitive(t, "string"); return "symbol" == FileApi_typeof(i) ? i : i + ""; }
|
|
838
813
|
function FileApi_toPrimitive(t, r) { if ("object" != FileApi_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != FileApi_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
839
814
|
function FileApi_callSuper(t, o, e) { return o = FileApi_getPrototypeOf(o), FileApi_possibleConstructorReturn(t, FileApi_isNativeReflectConstruct() ? Reflect.construct(o, e || [], FileApi_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
840
|
-
function FileApi_possibleConstructorReturn(
|
|
841
|
-
function FileApi_assertThisInitialized(
|
|
815
|
+
function FileApi_possibleConstructorReturn(t, e) { if (e && ("object" == FileApi_typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return FileApi_assertThisInitialized(t); }
|
|
816
|
+
function FileApi_assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
842
817
|
function FileApi_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (FileApi_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
843
|
-
function FileApi_getPrototypeOf(
|
|
844
|
-
function FileApi_inherits(
|
|
845
|
-
function FileApi_setPrototypeOf(
|
|
818
|
+
function FileApi_getPrototypeOf(t) { return FileApi_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, FileApi_getPrototypeOf(t); }
|
|
819
|
+
function FileApi_inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && FileApi_setPrototypeOf(t, e); }
|
|
820
|
+
function FileApi_setPrototypeOf(t, e) { return FileApi_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, FileApi_setPrototypeOf(t, e); }
|
|
846
821
|
/* tslint:disable */
|
|
847
822
|
/* eslint-disable */
|
|
848
823
|
/**
|
|
@@ -1128,7 +1103,7 @@ var FileApi = /*#__PURE__*/function (_runtime$BaseAPI) {
|
|
|
1128
1103
|
}
|
|
1129
1104
|
}]);
|
|
1130
1105
|
}(BaseAPI);
|
|
1131
|
-
;//
|
|
1106
|
+
;// ./src/public/shared/generated/apis/FolderApi.ts
|
|
1132
1107
|
function FolderApi_typeof(o) { "@babel/helpers - typeof"; return FolderApi_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, FolderApi_typeof(o); }
|
|
1133
1108
|
function FolderApi_await(value, then, direct) {
|
|
1134
1109
|
if (direct) {
|
|
@@ -1139,18 +1114,18 @@ function FolderApi_await(value, then, direct) {
|
|
|
1139
1114
|
}
|
|
1140
1115
|
return then ? value.then(then) : value;
|
|
1141
1116
|
}
|
|
1142
|
-
function FolderApi_classCallCheck(
|
|
1143
|
-
function FolderApi_defineProperties(
|
|
1144
|
-
function FolderApi_createClass(
|
|
1117
|
+
function FolderApi_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
1118
|
+
function FolderApi_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, FolderApi_toPropertyKey(o.key), o); } }
|
|
1119
|
+
function FolderApi_createClass(e, r, t) { return r && FolderApi_defineProperties(e.prototype, r), t && FolderApi_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
1145
1120
|
function FolderApi_toPropertyKey(t) { var i = FolderApi_toPrimitive(t, "string"); return "symbol" == FolderApi_typeof(i) ? i : i + ""; }
|
|
1146
1121
|
function FolderApi_toPrimitive(t, r) { if ("object" != FolderApi_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != FolderApi_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1147
1122
|
function FolderApi_callSuper(t, o, e) { return o = FolderApi_getPrototypeOf(o), FolderApi_possibleConstructorReturn(t, FolderApi_isNativeReflectConstruct() ? Reflect.construct(o, e || [], FolderApi_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
1148
|
-
function FolderApi_possibleConstructorReturn(
|
|
1149
|
-
function FolderApi_assertThisInitialized(
|
|
1123
|
+
function FolderApi_possibleConstructorReturn(t, e) { if (e && ("object" == FolderApi_typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return FolderApi_assertThisInitialized(t); }
|
|
1124
|
+
function FolderApi_assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
1150
1125
|
function FolderApi_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (FolderApi_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
1151
|
-
function FolderApi_getPrototypeOf(
|
|
1152
|
-
function FolderApi_inherits(
|
|
1153
|
-
function FolderApi_setPrototypeOf(
|
|
1126
|
+
function FolderApi_getPrototypeOf(t) { return FolderApi_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, FolderApi_getPrototypeOf(t); }
|
|
1127
|
+
function FolderApi_inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && FolderApi_setPrototypeOf(t, e); }
|
|
1128
|
+
function FolderApi_setPrototypeOf(t, e) { return FolderApi_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, FolderApi_setPrototypeOf(t, e); }
|
|
1154
1129
|
/* tslint:disable */
|
|
1155
1130
|
/* eslint-disable */
|
|
1156
1131
|
/**
|
|
@@ -1383,7 +1358,7 @@ var FolderApi = /*#__PURE__*/function (_runtime$BaseAPI) {
|
|
|
1383
1358
|
}
|
|
1384
1359
|
}]);
|
|
1385
1360
|
}(BaseAPI);
|
|
1386
|
-
;//
|
|
1361
|
+
;// ./src/public/shared/generated/apis/JobApi.ts
|
|
1387
1362
|
function JobApi_typeof(o) { "@babel/helpers - typeof"; return JobApi_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, JobApi_typeof(o); }
|
|
1388
1363
|
function JobApi_await(value, then, direct) {
|
|
1389
1364
|
if (direct) {
|
|
@@ -1394,18 +1369,18 @@ function JobApi_await(value, then, direct) {
|
|
|
1394
1369
|
}
|
|
1395
1370
|
return then ? value.then(then) : value;
|
|
1396
1371
|
}
|
|
1397
|
-
function JobApi_classCallCheck(
|
|
1398
|
-
function JobApi_defineProperties(
|
|
1399
|
-
function JobApi_createClass(
|
|
1372
|
+
function JobApi_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
1373
|
+
function JobApi_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, JobApi_toPropertyKey(o.key), o); } }
|
|
1374
|
+
function JobApi_createClass(e, r, t) { return r && JobApi_defineProperties(e.prototype, r), t && JobApi_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
1400
1375
|
function JobApi_toPropertyKey(t) { var i = JobApi_toPrimitive(t, "string"); return "symbol" == JobApi_typeof(i) ? i : i + ""; }
|
|
1401
1376
|
function JobApi_toPrimitive(t, r) { if ("object" != JobApi_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != JobApi_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1402
1377
|
function JobApi_callSuper(t, o, e) { return o = JobApi_getPrototypeOf(o), JobApi_possibleConstructorReturn(t, JobApi_isNativeReflectConstruct() ? Reflect.construct(o, e || [], JobApi_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
1403
|
-
function JobApi_possibleConstructorReturn(
|
|
1404
|
-
function JobApi_assertThisInitialized(
|
|
1378
|
+
function JobApi_possibleConstructorReturn(t, e) { if (e && ("object" == JobApi_typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return JobApi_assertThisInitialized(t); }
|
|
1379
|
+
function JobApi_assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
1405
1380
|
function JobApi_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (JobApi_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
1406
|
-
function JobApi_getPrototypeOf(
|
|
1407
|
-
function JobApi_inherits(
|
|
1408
|
-
function JobApi_setPrototypeOf(
|
|
1381
|
+
function JobApi_getPrototypeOf(t) { return JobApi_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, JobApi_getPrototypeOf(t); }
|
|
1382
|
+
function JobApi_inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && JobApi_setPrototypeOf(t, e); }
|
|
1383
|
+
function JobApi_setPrototypeOf(t, e) { return JobApi_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, JobApi_setPrototypeOf(t, e); }
|
|
1409
1384
|
/* tslint:disable */
|
|
1410
1385
|
/* eslint-disable */
|
|
1411
1386
|
/**
|
|
@@ -1513,7 +1488,7 @@ var JobApi = /*#__PURE__*/function (_runtime$BaseAPI) {
|
|
|
1513
1488
|
}
|
|
1514
1489
|
}]);
|
|
1515
1490
|
}(BaseAPI);
|
|
1516
|
-
;//
|
|
1491
|
+
;// ./src/public/shared/generated/apis/UploadApi.ts
|
|
1517
1492
|
function UploadApi_typeof(o) { "@babel/helpers - typeof"; return UploadApi_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, UploadApi_typeof(o); }
|
|
1518
1493
|
function UploadApi_await(value, then, direct) {
|
|
1519
1494
|
if (direct) {
|
|
@@ -1524,18 +1499,18 @@ function UploadApi_await(value, then, direct) {
|
|
|
1524
1499
|
}
|
|
1525
1500
|
return then ? value.then(then) : value;
|
|
1526
1501
|
}
|
|
1527
|
-
function UploadApi_classCallCheck(
|
|
1528
|
-
function UploadApi_defineProperties(
|
|
1529
|
-
function UploadApi_createClass(
|
|
1502
|
+
function UploadApi_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
1503
|
+
function UploadApi_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, UploadApi_toPropertyKey(o.key), o); } }
|
|
1504
|
+
function UploadApi_createClass(e, r, t) { return r && UploadApi_defineProperties(e.prototype, r), t && UploadApi_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
1530
1505
|
function UploadApi_toPropertyKey(t) { var i = UploadApi_toPrimitive(t, "string"); return "symbol" == UploadApi_typeof(i) ? i : i + ""; }
|
|
1531
1506
|
function UploadApi_toPrimitive(t, r) { if ("object" != UploadApi_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != UploadApi_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1532
1507
|
function UploadApi_callSuper(t, o, e) { return o = UploadApi_getPrototypeOf(o), UploadApi_possibleConstructorReturn(t, UploadApi_isNativeReflectConstruct() ? Reflect.construct(o, e || [], UploadApi_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
1533
|
-
function UploadApi_possibleConstructorReturn(
|
|
1534
|
-
function UploadApi_assertThisInitialized(
|
|
1508
|
+
function UploadApi_possibleConstructorReturn(t, e) { if (e && ("object" == UploadApi_typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return UploadApi_assertThisInitialized(t); }
|
|
1509
|
+
function UploadApi_assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
1535
1510
|
function UploadApi_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (UploadApi_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
1536
|
-
function UploadApi_getPrototypeOf(
|
|
1537
|
-
function UploadApi_inherits(
|
|
1538
|
-
function UploadApi_setPrototypeOf(
|
|
1511
|
+
function UploadApi_getPrototypeOf(t) { return UploadApi_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, UploadApi_getPrototypeOf(t); }
|
|
1512
|
+
function UploadApi_inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && UploadApi_setPrototypeOf(t, e); }
|
|
1513
|
+
function UploadApi_setPrototypeOf(t, e) { return UploadApi_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, UploadApi_setPrototypeOf(t, e); }
|
|
1539
1514
|
/* tslint:disable */
|
|
1540
1515
|
/* eslint-disable */
|
|
1541
1516
|
/**
|
|
@@ -1696,7 +1671,7 @@ var UploadApi = /*#__PURE__*/function (_runtime$BaseAPI) {
|
|
|
1696
1671
|
}
|
|
1697
1672
|
}]);
|
|
1698
1673
|
}(BaseAPI);
|
|
1699
|
-
;//
|
|
1674
|
+
;// ./src/public/shared/generated/apis/index.ts
|
|
1700
1675
|
/* tslint:disable */
|
|
1701
1676
|
/* eslint-disable */
|
|
1702
1677
|
|
|
@@ -1704,39 +1679,39 @@ var UploadApi = /*#__PURE__*/function (_runtime$BaseAPI) {
|
|
|
1704
1679
|
|
|
1705
1680
|
|
|
1706
1681
|
|
|
1707
|
-
;//
|
|
1682
|
+
;// ./src/public/shared/generated/index.ts
|
|
1708
1683
|
/* tslint:disable */
|
|
1709
1684
|
/* eslint-disable */
|
|
1710
1685
|
|
|
1711
1686
|
|
|
1712
1687
|
|
|
1713
|
-
;//
|
|
1688
|
+
;// ./src/public/shared/CommonTypes.ts
|
|
1714
1689
|
/**
|
|
1715
1690
|
* Workaround for tsc aliases, where we cannot export implementation-less libs in our dists.
|
|
1716
1691
|
*/
|
|
1717
1692
|
var CommonTypesNoOp = false;
|
|
1718
|
-
;//
|
|
1693
|
+
;// ./src/private/TypeUtils.ts
|
|
1719
1694
|
function assertUnreachable(x) {
|
|
1720
1695
|
throw new Error("Didn't expect to get here: ".concat(JSON.stringify(x)));
|
|
1721
1696
|
}
|
|
1722
1697
|
function isDefinedEntry(object) {
|
|
1723
1698
|
return object[1] !== undefined && object[1] !== null;
|
|
1724
1699
|
}
|
|
1725
|
-
;//
|
|
1700
|
+
;// ./src/public/shared/UrlBuilder.ts
|
|
1726
1701
|
function UrlBuilder_typeof(o) { "@babel/helpers - typeof"; return UrlBuilder_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, UrlBuilder_typeof(o); }
|
|
1727
|
-
function _slicedToArray(
|
|
1702
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || UrlBuilder_unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
1728
1703
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
1729
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t
|
|
1730
|
-
function _arrayWithHoles(
|
|
1731
|
-
function UrlBuilder_toConsumableArray(
|
|
1704
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
1705
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
1706
|
+
function UrlBuilder_toConsumableArray(r) { return UrlBuilder_arrayWithoutHoles(r) || UrlBuilder_iterableToArray(r) || UrlBuilder_unsupportedIterableToArray(r) || UrlBuilder_nonIterableSpread(); }
|
|
1732
1707
|
function UrlBuilder_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
1733
|
-
function UrlBuilder_unsupportedIterableToArray(
|
|
1734
|
-
function UrlBuilder_iterableToArray(
|
|
1735
|
-
function UrlBuilder_arrayWithoutHoles(
|
|
1736
|
-
function UrlBuilder_arrayLikeToArray(
|
|
1737
|
-
function UrlBuilder_classCallCheck(
|
|
1738
|
-
function UrlBuilder_defineProperties(
|
|
1739
|
-
function UrlBuilder_createClass(
|
|
1708
|
+
function UrlBuilder_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return UrlBuilder_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? UrlBuilder_arrayLikeToArray(r, a) : void 0; } }
|
|
1709
|
+
function UrlBuilder_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
1710
|
+
function UrlBuilder_arrayWithoutHoles(r) { if (Array.isArray(r)) return UrlBuilder_arrayLikeToArray(r); }
|
|
1711
|
+
function UrlBuilder_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
1712
|
+
function UrlBuilder_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
1713
|
+
function UrlBuilder_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, UrlBuilder_toPropertyKey(o.key), o); } }
|
|
1714
|
+
function UrlBuilder_createClass(e, r, t) { return r && UrlBuilder_defineProperties(e.prototype, r), t && UrlBuilder_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
1740
1715
|
function UrlBuilder_toPropertyKey(t) { var i = UrlBuilder_toPrimitive(t, "string"); return "symbol" == UrlBuilder_typeof(i) ? i : i + ""; }
|
|
1741
1716
|
function UrlBuilder_toPrimitive(t, r) { if ("object" != UrlBuilder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != UrlBuilder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1742
1717
|
|
|
@@ -1885,17 +1860,17 @@ var UrlBuilder = /*#__PURE__*/function () {
|
|
|
1885
1860
|
}
|
|
1886
1861
|
}]);
|
|
1887
1862
|
}();
|
|
1888
|
-
;//
|
|
1863
|
+
;// ./src/public/shared/UrlBuilderTypes.ts
|
|
1889
1864
|
/**
|
|
1890
1865
|
* Workaround for tsc aliases, where we cannot export implementation-less libs in our dists.
|
|
1891
1866
|
*/
|
|
1892
1867
|
var UrlBuilderTypesNoOp = false;
|
|
1893
|
-
;//
|
|
1868
|
+
;// ./src/public/shared/index.ts
|
|
1894
1869
|
|
|
1895
1870
|
|
|
1896
1871
|
|
|
1897
1872
|
|
|
1898
|
-
;//
|
|
1873
|
+
;// ./src/private/UploadManagerBase.ts
|
|
1899
1874
|
function UploadManagerBase_empty() {}
|
|
1900
1875
|
function UploadManagerBase_awaitIgnored(value, direct) {
|
|
1901
1876
|
if (!direct) {
|
|
@@ -2102,15 +2077,15 @@ function _continueIgnored(value) {
|
|
|
2102
2077
|
}
|
|
2103
2078
|
}
|
|
2104
2079
|
function UploadManagerBase_typeof(o) { "@babel/helpers - typeof"; return UploadManagerBase_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, UploadManagerBase_typeof(o); }
|
|
2105
|
-
function UploadManagerBase_toConsumableArray(
|
|
2080
|
+
function UploadManagerBase_toConsumableArray(r) { return UploadManagerBase_arrayWithoutHoles(r) || UploadManagerBase_iterableToArray(r) || UploadManagerBase_unsupportedIterableToArray(r) || UploadManagerBase_nonIterableSpread(); }
|
|
2106
2081
|
function UploadManagerBase_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
2107
|
-
function UploadManagerBase_unsupportedIterableToArray(
|
|
2108
|
-
function UploadManagerBase_iterableToArray(
|
|
2109
|
-
function UploadManagerBase_arrayWithoutHoles(
|
|
2110
|
-
function UploadManagerBase_arrayLikeToArray(
|
|
2111
|
-
function UploadManagerBase_classCallCheck(
|
|
2112
|
-
function UploadManagerBase_defineProperties(
|
|
2113
|
-
function UploadManagerBase_createClass(
|
|
2082
|
+
function UploadManagerBase_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return UploadManagerBase_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? UploadManagerBase_arrayLikeToArray(r, a) : void 0; } }
|
|
2083
|
+
function UploadManagerBase_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
2084
|
+
function UploadManagerBase_arrayWithoutHoles(r) { if (Array.isArray(r)) return UploadManagerBase_arrayLikeToArray(r); }
|
|
2085
|
+
function UploadManagerBase_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
2086
|
+
function UploadManagerBase_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
2087
|
+
function UploadManagerBase_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, UploadManagerBase_toPropertyKey(o.key), o); } }
|
|
2088
|
+
function UploadManagerBase_createClass(e, r, t) { return r && UploadManagerBase_defineProperties(e.prototype, r), t && UploadManagerBase_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
2114
2089
|
function UploadManagerBase_toPropertyKey(t) { var i = UploadManagerBase_toPrimitive(t, "string"); return "symbol" == UploadManagerBase_typeof(i) ? i : i + ""; }
|
|
2115
2090
|
function UploadManagerBase_toPrimitive(t, r) { if ("object" != UploadManagerBase_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != UploadManagerBase_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
2116
2091
|
|
|
@@ -2394,17 +2369,13 @@ var UploadManagerBase = /*#__PURE__*/function () {
|
|
|
2394
2369
|
}
|
|
2395
2370
|
}]);
|
|
2396
2371
|
}();
|
|
2397
|
-
;//
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
}
|
|
2401
|
-
var y = function(x) { return function() { return x; }; }
|
|
2402
|
-
var external_stream_namespaceObject = x({ ["Readable"]: function() { return __WEBPACK_EXTERNAL_MODULE_stream__.Readable; }, ["Transform"]: function() { return __WEBPACK_EXTERNAL_MODULE_stream__.Transform; } });
|
|
2403
|
-
;// CONCATENATED MODULE: ./src/private/StreamUtils.ts
|
|
2372
|
+
;// external "stream"
|
|
2373
|
+
|
|
2374
|
+
;// ./src/private/StreamUtils.ts
|
|
2404
2375
|
function StreamUtils_typeof(o) { "@babel/helpers - typeof"; return StreamUtils_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, StreamUtils_typeof(o); }
|
|
2405
|
-
function StreamUtils_classCallCheck(
|
|
2406
|
-
function StreamUtils_defineProperties(
|
|
2407
|
-
function StreamUtils_createClass(
|
|
2376
|
+
function StreamUtils_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
2377
|
+
function StreamUtils_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, StreamUtils_toPropertyKey(o.key), o); } }
|
|
2378
|
+
function StreamUtils_createClass(e, r, t) { return r && StreamUtils_defineProperties(e.prototype, r), t && StreamUtils_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
2408
2379
|
function StreamUtils_toPropertyKey(t) { var i = StreamUtils_toPrimitive(t, "string"); return "symbol" == StreamUtils_typeof(i) ? i : i + ""; }
|
|
2409
2380
|
function StreamUtils_toPrimitive(t, r) { if ("object" != StreamUtils_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != StreamUtils_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
2410
2381
|
|
|
@@ -2415,7 +2386,7 @@ var StreamUtils = /*#__PURE__*/function () {
|
|
|
2415
2386
|
return StreamUtils_createClass(StreamUtils, null, [{
|
|
2416
2387
|
key: "create",
|
|
2417
2388
|
value: function create() {
|
|
2418
|
-
return new
|
|
2389
|
+
return new __WEBPACK_EXTERNAL_MODULE_stream_Readable__({
|
|
2419
2390
|
read: function read(_size) {
|
|
2420
2391
|
// No implementation needed here.
|
|
2421
2392
|
// The stream will wait for data to be pushed externally.
|
|
@@ -2430,12 +2401,12 @@ var StreamUtils = /*#__PURE__*/function () {
|
|
|
2430
2401
|
}, {
|
|
2431
2402
|
key: "empty",
|
|
2432
2403
|
value: function empty() {
|
|
2433
|
-
return
|
|
2404
|
+
return __WEBPACK_EXTERNAL_MODULE_stream_Readable__.from([]);
|
|
2434
2405
|
}
|
|
2435
2406
|
}, {
|
|
2436
2407
|
key: "fromBuffer",
|
|
2437
2408
|
value: function fromBuffer(buffer) {
|
|
2438
|
-
return
|
|
2409
|
+
return __WEBPACK_EXTERNAL_MODULE_stream_Readable__.from(buffer);
|
|
2439
2410
|
}
|
|
2440
2411
|
}, {
|
|
2441
2412
|
key: "fromArrayBuffer",
|
|
@@ -2444,7 +2415,7 @@ var StreamUtils = /*#__PURE__*/function () {
|
|
|
2444
2415
|
}
|
|
2445
2416
|
}]);
|
|
2446
2417
|
}();
|
|
2447
|
-
;//
|
|
2418
|
+
;// ./src/private/NodeChunkedStream.ts
|
|
2448
2419
|
function NodeChunkedStream_await(value, then, direct) {
|
|
2449
2420
|
if (direct) {
|
|
2450
2421
|
return then ? then(value) : value;
|
|
@@ -2455,15 +2426,15 @@ function NodeChunkedStream_await(value, then, direct) {
|
|
|
2455
2426
|
return then ? value.then(then) : value;
|
|
2456
2427
|
}
|
|
2457
2428
|
function NodeChunkedStream_typeof(o) { "@babel/helpers - typeof"; return NodeChunkedStream_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, NodeChunkedStream_typeof(o); }
|
|
2458
|
-
function NodeChunkedStream_slicedToArray(
|
|
2429
|
+
function NodeChunkedStream_slicedToArray(r, e) { return NodeChunkedStream_arrayWithHoles(r) || NodeChunkedStream_iterableToArrayLimit(r, e) || NodeChunkedStream_unsupportedIterableToArray(r, e) || NodeChunkedStream_nonIterableRest(); }
|
|
2459
2430
|
function NodeChunkedStream_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
2460
|
-
function NodeChunkedStream_unsupportedIterableToArray(
|
|
2461
|
-
function NodeChunkedStream_arrayLikeToArray(
|
|
2462
|
-
function NodeChunkedStream_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t
|
|
2463
|
-
function NodeChunkedStream_arrayWithHoles(
|
|
2464
|
-
function NodeChunkedStream_classCallCheck(
|
|
2465
|
-
function NodeChunkedStream_defineProperties(
|
|
2466
|
-
function NodeChunkedStream_createClass(
|
|
2431
|
+
function NodeChunkedStream_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return NodeChunkedStream_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? NodeChunkedStream_arrayLikeToArray(r, a) : void 0; } }
|
|
2432
|
+
function NodeChunkedStream_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
2433
|
+
function NodeChunkedStream_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
2434
|
+
function NodeChunkedStream_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
2435
|
+
function NodeChunkedStream_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
2436
|
+
function NodeChunkedStream_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, NodeChunkedStream_toPropertyKey(o.key), o); } }
|
|
2437
|
+
function NodeChunkedStream_createClass(e, r, t) { return r && NodeChunkedStream_defineProperties(e.prototype, r), t && NodeChunkedStream_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
2467
2438
|
function NodeChunkedStream_toPropertyKey(t) { var i = NodeChunkedStream_toPrimitive(t, "string"); return "symbol" == NodeChunkedStream_typeof(i) ? i : i + ""; }
|
|
2468
2439
|
function NodeChunkedStream_toPrimitive(t, r) { if ("object" != NodeChunkedStream_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != NodeChunkedStream_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
2469
2440
|
|
|
@@ -2631,13 +2602,9 @@ var NodeChunkedStream = /*#__PURE__*/function () {
|
|
|
2631
2602
|
}
|
|
2632
2603
|
}]);
|
|
2633
2604
|
}();
|
|
2634
|
-
;//
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
}
|
|
2638
|
-
var external_buffer_y = function(x) { return function() { return x; }; }
|
|
2639
|
-
var external_buffer_namespaceObject = external_buffer_x({ ["Blob"]: function() { return __WEBPACK_EXTERNAL_MODULE_buffer__.Blob; } });
|
|
2640
|
-
;// CONCATENATED MODULE: ./src/private/UploadManagerFetchUtils.ts
|
|
2605
|
+
;// external "buffer"
|
|
2606
|
+
|
|
2607
|
+
;// ./src/private/UploadManagerFetchUtils.ts
|
|
2641
2608
|
function UploadManagerFetchUtils_await(value, then, direct) {
|
|
2642
2609
|
if (direct) {
|
|
2643
2610
|
return then ? then(value) : value;
|
|
@@ -2648,9 +2615,9 @@ function UploadManagerFetchUtils_await(value, then, direct) {
|
|
|
2648
2615
|
return then ? value.then(then) : value;
|
|
2649
2616
|
}
|
|
2650
2617
|
function UploadManagerFetchUtils_typeof(o) { "@babel/helpers - typeof"; return UploadManagerFetchUtils_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, UploadManagerFetchUtils_typeof(o); }
|
|
2651
|
-
function UploadManagerFetchUtils_classCallCheck(
|
|
2652
|
-
function UploadManagerFetchUtils_defineProperties(
|
|
2653
|
-
function UploadManagerFetchUtils_createClass(
|
|
2618
|
+
function UploadManagerFetchUtils_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
2619
|
+
function UploadManagerFetchUtils_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, UploadManagerFetchUtils_toPropertyKey(o.key), o); } }
|
|
2620
|
+
function UploadManagerFetchUtils_createClass(e, r, t) { return r && UploadManagerFetchUtils_defineProperties(e.prototype, r), t && UploadManagerFetchUtils_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
2654
2621
|
function UploadManagerFetchUtils_toPropertyKey(t) { var i = UploadManagerFetchUtils_toPrimitive(t, "string"); return "symbol" == UploadManagerFetchUtils_typeof(i) ? i : i + ""; }
|
|
2655
2622
|
function UploadManagerFetchUtils_toPrimitive(t, r) { if ("object" != UploadManagerFetchUtils_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != UploadManagerFetchUtils_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
2656
2623
|
|
|
@@ -2693,20 +2660,20 @@ var UploadManagerFetchUtils = /*#__PURE__*/function () {
|
|
|
2693
2660
|
}
|
|
2694
2661
|
}]);
|
|
2695
2662
|
}();
|
|
2696
|
-
;//
|
|
2663
|
+
;// ./src/public/node/ProgressStream.ts
|
|
2697
2664
|
function ProgressStream_typeof(o) { "@babel/helpers - typeof"; return ProgressStream_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, ProgressStream_typeof(o); }
|
|
2698
|
-
function ProgressStream_classCallCheck(
|
|
2699
|
-
function ProgressStream_defineProperties(
|
|
2700
|
-
function ProgressStream_createClass(
|
|
2665
|
+
function ProgressStream_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
2666
|
+
function ProgressStream_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, ProgressStream_toPropertyKey(o.key), o); } }
|
|
2667
|
+
function ProgressStream_createClass(e, r, t) { return r && ProgressStream_defineProperties(e.prototype, r), t && ProgressStream_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
2701
2668
|
function ProgressStream_toPropertyKey(t) { var i = ProgressStream_toPrimitive(t, "string"); return "symbol" == ProgressStream_typeof(i) ? i : i + ""; }
|
|
2702
2669
|
function ProgressStream_toPrimitive(t, r) { if ("object" != ProgressStream_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != ProgressStream_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
2703
2670
|
function ProgressStream_callSuper(t, o, e) { return o = ProgressStream_getPrototypeOf(o), ProgressStream_possibleConstructorReturn(t, ProgressStream_isNativeReflectConstruct() ? Reflect.construct(o, e || [], ProgressStream_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
2704
|
-
function ProgressStream_possibleConstructorReturn(
|
|
2705
|
-
function ProgressStream_assertThisInitialized(
|
|
2671
|
+
function ProgressStream_possibleConstructorReturn(t, e) { if (e && ("object" == ProgressStream_typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return ProgressStream_assertThisInitialized(t); }
|
|
2672
|
+
function ProgressStream_assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
2706
2673
|
function ProgressStream_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (ProgressStream_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
2707
|
-
function ProgressStream_getPrototypeOf(
|
|
2708
|
-
function ProgressStream_inherits(
|
|
2709
|
-
function ProgressStream_setPrototypeOf(
|
|
2674
|
+
function ProgressStream_getPrototypeOf(t) { return ProgressStream_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, ProgressStream_getPrototypeOf(t); }
|
|
2675
|
+
function ProgressStream_inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && ProgressStream_setPrototypeOf(t, e); }
|
|
2676
|
+
function ProgressStream_setPrototypeOf(t, e) { return ProgressStream_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, ProgressStream_setPrototypeOf(t, e); }
|
|
2710
2677
|
|
|
2711
2678
|
var ProgressStream = /*#__PURE__*/function (_Transform) {
|
|
2712
2679
|
function ProgressStream(options) {
|
|
@@ -2731,8 +2698,8 @@ var ProgressStream = /*#__PURE__*/function (_Transform) {
|
|
|
2731
2698
|
callback();
|
|
2732
2699
|
}
|
|
2733
2700
|
}]);
|
|
2734
|
-
}(
|
|
2735
|
-
;//
|
|
2701
|
+
}(__WEBPACK_EXTERNAL_MODULE_stream_Transform__);
|
|
2702
|
+
;// ./src/public/node/UploadManagerNode.ts
|
|
2736
2703
|
function UploadManagerNode_typeof(o) { "@babel/helpers - typeof"; return UploadManagerNode_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, UploadManagerNode_typeof(o); }
|
|
2737
2704
|
function UploadManagerNode_empty() {}
|
|
2738
2705
|
function UploadManagerNode_awaitIgnored(value, direct) {
|
|
@@ -2914,18 +2881,18 @@ function _switch(discriminant, cases) {
|
|
|
2914
2881
|
UploadManagerNode_settle(pact, 1, result);
|
|
2915
2882
|
}
|
|
2916
2883
|
}
|
|
2917
|
-
function UploadManagerNode_classCallCheck(
|
|
2918
|
-
function UploadManagerNode_defineProperties(
|
|
2919
|
-
function UploadManagerNode_createClass(
|
|
2884
|
+
function UploadManagerNode_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
2885
|
+
function UploadManagerNode_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, UploadManagerNode_toPropertyKey(o.key), o); } }
|
|
2886
|
+
function UploadManagerNode_createClass(e, r, t) { return r && UploadManagerNode_defineProperties(e.prototype, r), t && UploadManagerNode_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
2920
2887
|
function UploadManagerNode_toPropertyKey(t) { var i = UploadManagerNode_toPrimitive(t, "string"); return "symbol" == UploadManagerNode_typeof(i) ? i : i + ""; }
|
|
2921
2888
|
function UploadManagerNode_toPrimitive(t, r) { if ("object" != UploadManagerNode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != UploadManagerNode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
2922
2889
|
function UploadManagerNode_callSuper(t, o, e) { return o = UploadManagerNode_getPrototypeOf(o), UploadManagerNode_possibleConstructorReturn(t, UploadManagerNode_isNativeReflectConstruct() ? Reflect.construct(o, e || [], UploadManagerNode_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
2923
|
-
function UploadManagerNode_possibleConstructorReturn(
|
|
2924
|
-
function UploadManagerNode_assertThisInitialized(
|
|
2890
|
+
function UploadManagerNode_possibleConstructorReturn(t, e) { if (e && ("object" == UploadManagerNode_typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return UploadManagerNode_assertThisInitialized(t); }
|
|
2891
|
+
function UploadManagerNode_assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
2925
2892
|
function UploadManagerNode_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (UploadManagerNode_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
2926
|
-
function UploadManagerNode_getPrototypeOf(
|
|
2927
|
-
function UploadManagerNode_inherits(
|
|
2928
|
-
function UploadManagerNode_setPrototypeOf(
|
|
2893
|
+
function UploadManagerNode_getPrototypeOf(t) { return UploadManagerNode_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, UploadManagerNode_getPrototypeOf(t); }
|
|
2894
|
+
function UploadManagerNode_inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && UploadManagerNode_setPrototypeOf(t, e); }
|
|
2895
|
+
function UploadManagerNode_setPrototypeOf(t, e) { return UploadManagerNode_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, UploadManagerNode_setPrototypeOf(t, e); }
|
|
2929
2896
|
|
|
2930
2897
|
|
|
2931
2898
|
|
|
@@ -2946,7 +2913,7 @@ var UploadManager = /*#__PURE__*/function (_UploadManagerBase) {
|
|
|
2946
2913
|
// 'Blob' must be from 'buffer' as we're in a node context here, so isn't globally available.
|
|
2947
2914
|
return {
|
|
2948
2915
|
type: "Blob",
|
|
2949
|
-
value: new
|
|
2916
|
+
value: new __WEBPACK_EXTERNAL_MODULE_buffer_Blob__([data], {
|
|
2950
2917
|
type: this.stringMimeType
|
|
2951
2918
|
})
|
|
2952
2919
|
};
|
|
@@ -3091,11 +3058,11 @@ var UploadManager = /*#__PURE__*/function (_UploadManagerBase) {
|
|
|
3091
3058
|
}
|
|
3092
3059
|
}]);
|
|
3093
3060
|
}(UploadManagerBase);
|
|
3094
|
-
;//
|
|
3061
|
+
;// ./src/private/EnvChecker.ts
|
|
3095
3062
|
function EnvChecker_typeof(o) { "@babel/helpers - typeof"; return EnvChecker_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, EnvChecker_typeof(o); }
|
|
3096
|
-
function EnvChecker_classCallCheck(
|
|
3097
|
-
function EnvChecker_defineProperties(
|
|
3098
|
-
function EnvChecker_createClass(
|
|
3063
|
+
function EnvChecker_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
3064
|
+
function EnvChecker_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, EnvChecker_toPropertyKey(o.key), o); } }
|
|
3065
|
+
function EnvChecker_createClass(e, r, t) { return r && EnvChecker_defineProperties(e.prototype, r), t && EnvChecker_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
3099
3066
|
function EnvChecker_toPropertyKey(t) { var i = EnvChecker_toPrimitive(t, "string"); return "symbol" == EnvChecker_typeof(i) ? i : i + ""; }
|
|
3100
3067
|
function EnvChecker_toPrimitive(t, r) { if ("object" != EnvChecker_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != EnvChecker_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
3101
3068
|
var EnvChecker = /*#__PURE__*/function () {
|
|
@@ -3117,11 +3084,11 @@ var EnvChecker = /*#__PURE__*/function () {
|
|
|
3117
3084
|
}
|
|
3118
3085
|
}]);
|
|
3119
3086
|
}();
|
|
3120
|
-
;//
|
|
3087
|
+
;// ./src/public/node/AuthManagerNode.ts
|
|
3121
3088
|
function AuthManagerNode_typeof(o) { "@babel/helpers - typeof"; return AuthManagerNode_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, AuthManagerNode_typeof(o); }
|
|
3122
|
-
function AuthManagerNode_classCallCheck(
|
|
3123
|
-
function AuthManagerNode_defineProperties(
|
|
3124
|
-
function AuthManagerNode_createClass(
|
|
3089
|
+
function AuthManagerNode_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
3090
|
+
function AuthManagerNode_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, AuthManagerNode_toPropertyKey(o.key), o); } }
|
|
3091
|
+
function AuthManagerNode_createClass(e, r, t) { return r && AuthManagerNode_defineProperties(e.prototype, r), t && AuthManagerNode_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
3125
3092
|
function AuthManagerNode_toPropertyKey(t) { var i = AuthManagerNode_toPrimitive(t, "string"); return "symbol" == AuthManagerNode_typeof(i) ? i : i + ""; }
|
|
3126
3093
|
function AuthManagerNode_toPrimitive(t, r) { if ("object" != AuthManagerNode_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != AuthManagerNode_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
3127
3094
|
|
|
@@ -3163,32 +3130,12 @@ var AuthManagerImpl = /*#__PURE__*/function () {
|
|
|
3163
3130
|
* Alternative way of implementing a static class (i.e. all methods static). We do this so we can use a interface on the class (interfaces can't define static methods).
|
|
3164
3131
|
*/
|
|
3165
3132
|
var AuthManager = new AuthManagerImpl();
|
|
3166
|
-
;//
|
|
3133
|
+
;// ./src/public/node/index.ts
|
|
3167
3134
|
|
|
3168
3135
|
|
|
3169
|
-
;//
|
|
3136
|
+
;// ./src/index.node.ts
|
|
3170
3137
|
/* tslint:disable */
|
|
3171
3138
|
/* eslint-disable */
|
|
3172
3139
|
|
|
3173
3140
|
|
|
3174
|
-
|
|
3175
|
-
var __lib_exports__BaseAPI = __lib_exports__.BaseAPI;
|
|
3176
|
-
var __lib_exports__BinaryResult = __lib_exports__.BinaryResult;
|
|
3177
|
-
var __lib_exports__BytescaleApiClientConfigUtils = __lib_exports__.BytescaleApiClientConfigUtils;
|
|
3178
|
-
var __lib_exports__BytescaleApiError = __lib_exports__.BytescaleApiError;
|
|
3179
|
-
var __lib_exports__BytescaleGenericError = __lib_exports__.BytescaleGenericError;
|
|
3180
|
-
var __lib_exports__CacheApi = __lib_exports__.CacheApi;
|
|
3181
|
-
var __lib_exports__CancelledError = __lib_exports__.CancelledError;
|
|
3182
|
-
var __lib_exports__CommonTypesNoOp = __lib_exports__.CommonTypesNoOp;
|
|
3183
|
-
var __lib_exports__FileApi = __lib_exports__.FileApi;
|
|
3184
|
-
var __lib_exports__FolderApi = __lib_exports__.FolderApi;
|
|
3185
|
-
var __lib_exports__JSONApiResponse = __lib_exports__.JSONApiResponse;
|
|
3186
|
-
var __lib_exports__JobApi = __lib_exports__.JobApi;
|
|
3187
|
-
var __lib_exports__UploadApi = __lib_exports__.UploadApi;
|
|
3188
|
-
var __lib_exports__UploadManager = __lib_exports__.UploadManager;
|
|
3189
|
-
var __lib_exports__UrlBuilder = __lib_exports__.UrlBuilder;
|
|
3190
|
-
var __lib_exports__UrlBuilderTypesNoOp = __lib_exports__.UrlBuilderTypesNoOp;
|
|
3191
|
-
var __lib_exports__VoidApiResponse = __lib_exports__.VoidApiResponse;
|
|
3192
|
-
var __lib_exports__encodeBytescaleQuerystringKVP = __lib_exports__.encodeBytescaleQuerystringKVP;
|
|
3193
|
-
var __lib_exports__querystring = __lib_exports__.querystring;
|
|
3194
|
-
export { __lib_exports__AuthManager as AuthManager, __lib_exports__BaseAPI as BaseAPI, __lib_exports__BinaryResult as BinaryResult, __lib_exports__BytescaleApiClientConfigUtils as BytescaleApiClientConfigUtils, __lib_exports__BytescaleApiError as BytescaleApiError, __lib_exports__BytescaleGenericError as BytescaleGenericError, __lib_exports__CacheApi as CacheApi, __lib_exports__CancelledError as CancelledError, __lib_exports__CommonTypesNoOp as CommonTypesNoOp, __lib_exports__FileApi as FileApi, __lib_exports__FolderApi as FolderApi, __lib_exports__JSONApiResponse as JSONApiResponse, __lib_exports__JobApi as JobApi, __lib_exports__UploadApi as UploadApi, __lib_exports__UploadManager as UploadManager, __lib_exports__UrlBuilder as UrlBuilder, __lib_exports__UrlBuilderTypesNoOp as UrlBuilderTypesNoOp, __lib_exports__VoidApiResponse as VoidApiResponse, __lib_exports__encodeBytescaleQuerystringKVP as encodeBytescaleQuerystringKVP, __lib_exports__querystring as querystring };
|
|
3141
|
+
export { AuthManager, BaseAPI, BinaryResult, BytescaleApiClientConfigUtils, BytescaleApiError, BytescaleGenericError, CacheApi, CancelledError, CommonTypesNoOp, FileApi, FolderApi, JSONApiResponse, JobApi, UploadApi, UploadManager, UrlBuilder, UrlBuilderTypesNoOp, VoidApiResponse, encodeBytescaleQuerystringKVP, querystring };
|