@spica-devkit/storage 0.9.11 → 0.9.15
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/index.d.ts +0 -1
- package/dist/index.js +345 -150
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +344 -140
- package/dist/index.mjs.map +1 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/interface.d.ts +0 -4
- package/dist/src/storage.d.ts +0 -4
- package/dist/src/utility.d.ts +0 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,52 @@
|
|
|
1
|
-
import
|
|
1
|
+
import axios_1 from 'axios';
|
|
2
2
|
import buffer from 'buffer';
|
|
3
3
|
|
|
4
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
5
|
+
|
|
6
|
+
function getDefaultExportFromCjs (x) {
|
|
7
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
function createCommonjsModule(fn, basedir, module) {
|
|
11
|
+
return module = {
|
|
12
|
+
path: basedir,
|
|
13
|
+
exports: {},
|
|
14
|
+
require: function (path, base) {
|
|
15
|
+
return commonjsRequire(path, (base === undefined || base === null) ? module.path : base);
|
|
16
|
+
}
|
|
17
|
+
}, fn(module, module.exports), module.exports;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function getAugmentedNamespace(n) {
|
|
21
|
+
if (n.__esModule) return n;
|
|
22
|
+
var a = Object.defineProperty({}, '__esModule', {value: true});
|
|
23
|
+
Object.keys(n).forEach(function (k) {
|
|
24
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
25
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () {
|
|
28
|
+
return n[k];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
return a;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function commonjsRequire () {
|
|
36
|
+
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
var request = createCommonjsModule(function (module, exports) {
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.Axios = exports.logWarning = void 0;
|
|
42
|
+
|
|
4
43
|
function logWarning(response) {
|
|
5
44
|
const warning = response.headers["warning"];
|
|
6
45
|
if (warning) {
|
|
7
46
|
console.warn(warning);
|
|
8
47
|
}
|
|
9
48
|
}
|
|
49
|
+
exports.logWarning = logWarning;
|
|
10
50
|
class Axios {
|
|
11
51
|
constructor(config) {
|
|
12
52
|
this.interceptors = {
|
|
@@ -31,7 +71,7 @@ class Axios {
|
|
|
31
71
|
}
|
|
32
72
|
}
|
|
33
73
|
};
|
|
34
|
-
this.instance =
|
|
74
|
+
this.instance = axios_1.default.create(config);
|
|
35
75
|
this.instance.interceptors.request.use(this.interceptors.request.onFulfilled, this.interceptors.request.onRejected);
|
|
36
76
|
this.instance.interceptors.response.use(this.interceptors.response.onFulfilled, this.interceptors.response.onRejected);
|
|
37
77
|
this.baseUrl = this.instance.defaults.baseURL;
|
|
@@ -64,6 +104,13 @@ class Axios {
|
|
|
64
104
|
return this.instance.delete(url, config);
|
|
65
105
|
}
|
|
66
106
|
}
|
|
107
|
+
exports.Axios = Axios;
|
|
108
|
+
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
var initialize_1 = createCommonjsModule(function (module, exports) {
|
|
112
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
113
|
+
exports.isPlatformBrowser = exports.checkInitialized = exports.initialize = void 0;
|
|
67
114
|
|
|
68
115
|
let service;
|
|
69
116
|
function initialize(options) {
|
|
@@ -80,7 +127,7 @@ function initialize(options) {
|
|
|
80
127
|
throw new Error("Public url must be provided.");
|
|
81
128
|
}
|
|
82
129
|
if (!service) {
|
|
83
|
-
service = new Axios({ baseURL: publicUrl, headers: { Authorization: authorization } });
|
|
130
|
+
service = new request.Axios({ baseURL: publicUrl, headers: { Authorization: authorization } });
|
|
84
131
|
}
|
|
85
132
|
else {
|
|
86
133
|
service.setBaseUrl(publicUrl);
|
|
@@ -88,29 +135,91 @@ function initialize(options) {
|
|
|
88
135
|
}
|
|
89
136
|
return { authorization, publicUrl, service };
|
|
90
137
|
}
|
|
138
|
+
exports.initialize = initialize;
|
|
91
139
|
function checkInitialized(authorization) {
|
|
92
140
|
if (!authorization) {
|
|
93
141
|
throw new Error("You should call initialize method with a valid apikey or identity token.");
|
|
94
142
|
}
|
|
95
143
|
}
|
|
144
|
+
exports.checkInitialized = checkInitialized;
|
|
96
145
|
function getPublicUrl() {
|
|
97
146
|
return isPlatformBrowser() ? undefined : process.env.__INTERNAL__SPICA__PUBLIC_URL__;
|
|
98
147
|
}
|
|
99
148
|
function isPlatformBrowser() {
|
|
100
149
|
return typeof window !== "undefined";
|
|
101
150
|
}
|
|
151
|
+
exports.isPlatformBrowser = isPlatformBrowser;
|
|
102
152
|
|
|
103
|
-
|
|
153
|
+
});
|
|
154
|
+
|
|
155
|
+
var _interface = createCommonjsModule(function (module, exports) {
|
|
156
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
157
|
+
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
var url = createCommonjsModule(function (module, exports) {
|
|
161
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
162
|
+
exports.buildUrl = void 0;
|
|
163
|
+
function buildUrl(baseUrl, queryParams = {}) {
|
|
164
|
+
const url = new URL(baseUrl);
|
|
165
|
+
for (let [key, value] of Object.entries(queryParams)) {
|
|
166
|
+
if (typeof value != "string") {
|
|
167
|
+
value = JSON.stringify(value);
|
|
168
|
+
}
|
|
169
|
+
url.searchParams.set(key, value);
|
|
170
|
+
}
|
|
171
|
+
return url;
|
|
172
|
+
}
|
|
173
|
+
exports.buildUrl = buildUrl;
|
|
174
|
+
|
|
175
|
+
});
|
|
176
|
+
|
|
177
|
+
var src = createCommonjsModule(function (module, exports) {
|
|
178
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
179
|
+
if (k2 === undefined) k2 = k;
|
|
180
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
181
|
+
}) : (function(o, m, k, k2) {
|
|
182
|
+
if (k2 === undefined) k2 = k;
|
|
183
|
+
o[k2] = m[k];
|
|
184
|
+
}));
|
|
185
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
186
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
187
|
+
};
|
|
188
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
189
|
+
__exportStar(initialize_1, exports);
|
|
190
|
+
__exportStar(_interface, exports);
|
|
191
|
+
__exportStar(request, exports);
|
|
192
|
+
__exportStar(url, exports);
|
|
193
|
+
|
|
194
|
+
});
|
|
195
|
+
|
|
196
|
+
var internal_common = createCommonjsModule(function (module, exports) {
|
|
197
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
198
|
+
if (k2 === undefined) k2 = k;
|
|
199
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
200
|
+
}) : (function(o, m, k, k2) {
|
|
201
|
+
if (k2 === undefined) k2 = k;
|
|
202
|
+
o[k2] = m[k];
|
|
203
|
+
}));
|
|
204
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
205
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
206
|
+
};
|
|
207
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
208
|
+
__exportStar(src, exports);
|
|
209
|
+
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
var commonjsGlobal$1 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
104
213
|
|
|
105
214
|
function unwrapExports (x) {
|
|
106
215
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
107
216
|
}
|
|
108
217
|
|
|
109
|
-
function createCommonjsModule(fn, module) {
|
|
218
|
+
function createCommonjsModule$1(fn, module) {
|
|
110
219
|
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
111
220
|
}
|
|
112
221
|
|
|
113
|
-
var ensure_buffer = createCommonjsModule(function (module, exports) {
|
|
222
|
+
var ensure_buffer = createCommonjsModule$1(function (module, exports) {
|
|
114
223
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
115
224
|
exports.ensureBuffer = void 0;
|
|
116
225
|
|
|
@@ -141,7 +250,7 @@ exports.ensureBuffer = ensureBuffer;
|
|
|
141
250
|
unwrapExports(ensure_buffer);
|
|
142
251
|
var ensure_buffer_1 = ensure_buffer.ensureBuffer;
|
|
143
252
|
|
|
144
|
-
var uuid = createCommonjsModule(function (module, exports) {
|
|
253
|
+
var uuid = createCommonjsModule$1(function (module, exports) {
|
|
145
254
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
146
255
|
exports.parseUUID = void 0;
|
|
147
256
|
/**
|
|
@@ -194,7 +303,7 @@ exports.parseUUID = parseUUID;
|
|
|
194
303
|
unwrapExports(uuid);
|
|
195
304
|
var uuid_1 = uuid.parseUUID;
|
|
196
305
|
|
|
197
|
-
var binary = createCommonjsModule(function (module, exports) {
|
|
306
|
+
var binary = createCommonjsModule$1(function (module, exports) {
|
|
198
307
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
199
308
|
exports.Binary = void 0;
|
|
200
309
|
|
|
@@ -417,7 +526,7 @@ Object.defineProperty(Binary.prototype, '_bsontype', { value: 'Binary' });
|
|
|
417
526
|
unwrapExports(binary);
|
|
418
527
|
var binary_1 = binary.Binary;
|
|
419
528
|
|
|
420
|
-
var code = createCommonjsModule(function (module, exports) {
|
|
529
|
+
var code = createCommonjsModule$1(function (module, exports) {
|
|
421
530
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
422
531
|
exports.Code = void 0;
|
|
423
532
|
/**
|
|
@@ -1011,7 +1120,7 @@ var require$$1 = {
|
|
|
1011
1120
|
debuglog: debuglog
|
|
1012
1121
|
};
|
|
1013
1122
|
|
|
1014
|
-
var utils = createCommonjsModule(function (module, exports) {
|
|
1123
|
+
var utils = createCommonjsModule$1(function (module, exports) {
|
|
1015
1124
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1016
1125
|
exports.deprecate = exports.isObjectLike = exports.isDate = exports.isBuffer = exports.haveBuffer = exports.isBigUInt64Array = exports.isBigInt64Array = exports.isUint8Array = exports.randomBytes = exports.normalizedFunctionString = void 0;
|
|
1017
1126
|
|
|
@@ -1060,7 +1169,7 @@ function isBigUInt64Array(value) {
|
|
|
1060
1169
|
exports.isBigUInt64Array = isBigUInt64Array;
|
|
1061
1170
|
/** Call to check if your environment has `Buffer` */
|
|
1062
1171
|
function haveBuffer() {
|
|
1063
|
-
return typeof commonjsGlobal !== 'undefined' && typeof commonjsGlobal.Buffer !== 'undefined';
|
|
1172
|
+
return typeof commonjsGlobal$1 !== 'undefined' && typeof commonjsGlobal$1.Buffer !== 'undefined';
|
|
1064
1173
|
}
|
|
1065
1174
|
exports.haveBuffer = haveBuffer;
|
|
1066
1175
|
/** Callable in any environment to check if value is a Buffer */
|
|
@@ -1113,7 +1222,7 @@ var utils_8 = utils.isUint8Array;
|
|
|
1113
1222
|
var utils_9 = utils.randomBytes;
|
|
1114
1223
|
var utils_10 = utils.normalizedFunctionString;
|
|
1115
1224
|
|
|
1116
|
-
var db_ref = createCommonjsModule(function (module, exports) {
|
|
1225
|
+
var db_ref = createCommonjsModule$1(function (module, exports) {
|
|
1117
1226
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1118
1227
|
exports.DBRef = exports.isDBRefLike = void 0;
|
|
1119
1228
|
|
|
@@ -1197,7 +1306,7 @@ unwrapExports(db_ref);
|
|
|
1197
1306
|
var db_ref_1 = db_ref.DBRef;
|
|
1198
1307
|
var db_ref_2 = db_ref.isDBRefLike;
|
|
1199
1308
|
|
|
1200
|
-
var long_1 = createCommonjsModule(function (module, exports) {
|
|
1309
|
+
var long_1 = createCommonjsModule$1(function (module, exports) {
|
|
1201
1310
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1202
1311
|
exports.Long = void 0;
|
|
1203
1312
|
|
|
@@ -2033,7 +2142,7 @@ Object.defineProperty(Long.prototype, '_bsontype', { value: 'Long' });
|
|
|
2033
2142
|
unwrapExports(long_1);
|
|
2034
2143
|
var long_2 = long_1.Long;
|
|
2035
2144
|
|
|
2036
|
-
var decimal128 = createCommonjsModule(function (module, exports) {
|
|
2145
|
+
var decimal128 = createCommonjsModule$1(function (module, exports) {
|
|
2037
2146
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2038
2147
|
exports.Decimal128 = void 0;
|
|
2039
2148
|
|
|
@@ -2725,7 +2834,7 @@ Object.defineProperty(Decimal128.prototype, '_bsontype', { value: 'Decimal128' }
|
|
|
2725
2834
|
unwrapExports(decimal128);
|
|
2726
2835
|
var decimal128_1 = decimal128.Decimal128;
|
|
2727
2836
|
|
|
2728
|
-
var double_1 = createCommonjsModule(function (module, exports) {
|
|
2837
|
+
var double_1 = createCommonjsModule$1(function (module, exports) {
|
|
2729
2838
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2730
2839
|
exports.Double = void 0;
|
|
2731
2840
|
/**
|
|
@@ -2792,7 +2901,7 @@ Object.defineProperty(Double.prototype, '_bsontype', { value: 'Double' });
|
|
|
2792
2901
|
unwrapExports(double_1);
|
|
2793
2902
|
var double_2 = double_1.Double;
|
|
2794
2903
|
|
|
2795
|
-
var int_32 = createCommonjsModule(function (module, exports) {
|
|
2904
|
+
var int_32 = createCommonjsModule$1(function (module, exports) {
|
|
2796
2905
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2797
2906
|
exports.Int32 = void 0;
|
|
2798
2907
|
/**
|
|
@@ -2842,7 +2951,7 @@ Object.defineProperty(Int32.prototype, '_bsontype', { value: 'Int32' });
|
|
|
2842
2951
|
unwrapExports(int_32);
|
|
2843
2952
|
var int_32_1 = int_32.Int32;
|
|
2844
2953
|
|
|
2845
|
-
var map = createCommonjsModule(function (module, exports) {
|
|
2954
|
+
var map = createCommonjsModule$1(function (module, exports) {
|
|
2846
2955
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2847
2956
|
// We have an ES6 Map available, return the native instance
|
|
2848
2957
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -2860,7 +2969,7 @@ function getGlobal() {
|
|
|
2860
2969
|
return (check(typeof globalThis === 'object' && globalThis) ||
|
|
2861
2970
|
check(typeof window === 'object' && window) ||
|
|
2862
2971
|
check(typeof self === 'object' && self) ||
|
|
2863
|
-
check(typeof commonjsGlobal === 'object' && commonjsGlobal) ||
|
|
2972
|
+
check(typeof commonjsGlobal$1 === 'object' && commonjsGlobal$1) ||
|
|
2864
2973
|
Function('return this')());
|
|
2865
2974
|
}
|
|
2866
2975
|
const bsonGlobal = getGlobal();
|
|
@@ -2973,7 +3082,7 @@ else {
|
|
|
2973
3082
|
unwrapExports(map);
|
|
2974
3083
|
var map_1 = map.Map;
|
|
2975
3084
|
|
|
2976
|
-
var max_key = createCommonjsModule(function (module, exports) {
|
|
3085
|
+
var max_key = createCommonjsModule$1(function (module, exports) {
|
|
2977
3086
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2978
3087
|
exports.MaxKey = void 0;
|
|
2979
3088
|
/**
|
|
@@ -2998,7 +3107,7 @@ Object.defineProperty(MaxKey.prototype, '_bsontype', { value: 'MaxKey' });
|
|
|
2998
3107
|
unwrapExports(max_key);
|
|
2999
3108
|
var max_key_1 = max_key.MaxKey;
|
|
3000
3109
|
|
|
3001
|
-
var min_key = createCommonjsModule(function (module, exports) {
|
|
3110
|
+
var min_key = createCommonjsModule$1(function (module, exports) {
|
|
3002
3111
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3003
3112
|
exports.MinKey = void 0;
|
|
3004
3113
|
/**
|
|
@@ -3023,7 +3132,7 @@ Object.defineProperty(MinKey.prototype, '_bsontype', { value: 'MinKey' });
|
|
|
3023
3132
|
unwrapExports(min_key);
|
|
3024
3133
|
var min_key_1 = min_key.MinKey;
|
|
3025
3134
|
|
|
3026
|
-
var objectid = createCommonjsModule(function (module, exports) {
|
|
3135
|
+
var objectid = createCommonjsModule$1(function (module, exports) {
|
|
3027
3136
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3028
3137
|
exports.ObjectId = void 0;
|
|
3029
3138
|
|
|
@@ -3326,7 +3435,7 @@ Object.defineProperty(ObjectId.prototype, '_bsontype', { value: 'ObjectID' });
|
|
|
3326
3435
|
unwrapExports(objectid);
|
|
3327
3436
|
var objectid_1 = objectid.ObjectId;
|
|
3328
3437
|
|
|
3329
|
-
var constants = createCommonjsModule(function (module, exports) {
|
|
3438
|
+
var constants = createCommonjsModule$1(function (module, exports) {
|
|
3330
3439
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3331
3440
|
exports.BSON_BINARY_SUBTYPE_USER_DEFINED = exports.BSON_BINARY_SUBTYPE_MD5 = exports.BSON_BINARY_SUBTYPE_UUID_NEW = exports.BSON_BINARY_SUBTYPE_UUID = exports.BSON_BINARY_SUBTYPE_BYTE_ARRAY = exports.BSON_BINARY_SUBTYPE_FUNCTION = exports.BSON_BINARY_SUBTYPE_DEFAULT = exports.BSON_DATA_MAX_KEY = exports.BSON_DATA_MIN_KEY = exports.BSON_DATA_DECIMAL128 = exports.BSON_DATA_LONG = exports.BSON_DATA_TIMESTAMP = exports.BSON_DATA_INT = exports.BSON_DATA_CODE_W_SCOPE = exports.BSON_DATA_SYMBOL = exports.BSON_DATA_CODE = exports.BSON_DATA_DBPOINTER = exports.BSON_DATA_REGEXP = exports.BSON_DATA_NULL = exports.BSON_DATA_DATE = exports.BSON_DATA_BOOLEAN = exports.BSON_DATA_OID = exports.BSON_DATA_UNDEFINED = exports.BSON_DATA_BINARY = exports.BSON_DATA_ARRAY = exports.BSON_DATA_OBJECT = exports.BSON_DATA_STRING = exports.BSON_DATA_NUMBER = exports.JS_INT_MIN = exports.JS_INT_MAX = exports.BSON_INT64_MIN = exports.BSON_INT64_MAX = exports.BSON_INT32_MIN = exports.BSON_INT32_MAX = void 0;
|
|
3332
3441
|
/** @internal */
|
|
@@ -3442,7 +3551,7 @@ var constants_32 = constants.BSON_INT64_MAX;
|
|
|
3442
3551
|
var constants_33 = constants.BSON_INT32_MIN;
|
|
3443
3552
|
var constants_34 = constants.BSON_INT32_MAX;
|
|
3444
3553
|
|
|
3445
|
-
var calculate_size = createCommonjsModule(function (module, exports) {
|
|
3554
|
+
var calculate_size = createCommonjsModule$1(function (module, exports) {
|
|
3446
3555
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3447
3556
|
exports.calculateObjectSize = void 0;
|
|
3448
3557
|
|
|
@@ -3638,7 +3747,7 @@ value, serializeFunctions = false, isArray = false, ignoreUndefined = false) {
|
|
|
3638
3747
|
unwrapExports(calculate_size);
|
|
3639
3748
|
var calculate_size_1 = calculate_size.calculateObjectSize;
|
|
3640
3749
|
|
|
3641
|
-
var regexp = createCommonjsModule(function (module, exports) {
|
|
3750
|
+
var regexp = createCommonjsModule$1(function (module, exports) {
|
|
3642
3751
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3643
3752
|
exports.BSONRegExp = void 0;
|
|
3644
3753
|
function alphabetize(str) {
|
|
@@ -3708,7 +3817,7 @@ Object.defineProperty(BSONRegExp.prototype, '_bsontype', { value: 'BSONRegExp' }
|
|
|
3708
3817
|
unwrapExports(regexp);
|
|
3709
3818
|
var regexp_1 = regexp.BSONRegExp;
|
|
3710
3819
|
|
|
3711
|
-
var symbol = createCommonjsModule(function (module, exports) {
|
|
3820
|
+
var symbol = createCommonjsModule$1(function (module, exports) {
|
|
3712
3821
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3713
3822
|
exports.BSONSymbol = void 0;
|
|
3714
3823
|
/**
|
|
@@ -3755,7 +3864,7 @@ Object.defineProperty(BSONSymbol.prototype, '_bsontype', { value: 'Symbol' });
|
|
|
3755
3864
|
unwrapExports(symbol);
|
|
3756
3865
|
var symbol_1 = symbol.BSONSymbol;
|
|
3757
3866
|
|
|
3758
|
-
var timestamp$1 = createCommonjsModule(function (module, exports) {
|
|
3867
|
+
var timestamp$1 = createCommonjsModule$1(function (module, exports) {
|
|
3759
3868
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3760
3869
|
exports.Timestamp = exports.LongWithoutOverridesClass = void 0;
|
|
3761
3870
|
|
|
@@ -3826,7 +3935,7 @@ unwrapExports(timestamp$1);
|
|
|
3826
3935
|
var timestamp_1 = timestamp$1.Timestamp;
|
|
3827
3936
|
var timestamp_2 = timestamp$1.LongWithoutOverridesClass;
|
|
3828
3937
|
|
|
3829
|
-
var validate_utf8 = createCommonjsModule(function (module, exports) {
|
|
3938
|
+
var validate_utf8 = createCommonjsModule$1(function (module, exports) {
|
|
3830
3939
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3831
3940
|
exports.validateUtf8 = void 0;
|
|
3832
3941
|
const FIRST_BIT = 0x80;
|
|
@@ -3878,7 +3987,7 @@ exports.validateUtf8 = validateUtf8;
|
|
|
3878
3987
|
unwrapExports(validate_utf8);
|
|
3879
3988
|
var validate_utf8_1 = validate_utf8.validateUtf8;
|
|
3880
3989
|
|
|
3881
|
-
var deserializer = createCommonjsModule(function (module, exports) {
|
|
3990
|
+
var deserializer = createCommonjsModule$1(function (module, exports) {
|
|
3882
3991
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3883
3992
|
exports.deserialize = void 0;
|
|
3884
3993
|
|
|
@@ -4446,7 +4555,7 @@ function isolateEval(functionString, functionCache, object) {
|
|
|
4446
4555
|
unwrapExports(deserializer);
|
|
4447
4556
|
var deserializer_1 = deserializer.deserialize;
|
|
4448
4557
|
|
|
4449
|
-
var extended_json = createCommonjsModule(function (module, exports) {
|
|
4558
|
+
var extended_json = createCommonjsModule$1(function (module, exports) {
|
|
4450
4559
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4451
4560
|
exports.EJSON = exports.isBSONType = void 0;
|
|
4452
4561
|
|
|
@@ -4759,7 +4868,7 @@ unwrapExports(extended_json);
|
|
|
4759
4868
|
var extended_json_1 = extended_json.EJSON;
|
|
4760
4869
|
var extended_json_2 = extended_json.isBSONType;
|
|
4761
4870
|
|
|
4762
|
-
var float_parser = createCommonjsModule(function (module, exports) {
|
|
4871
|
+
var float_parser = createCommonjsModule$1(function (module, exports) {
|
|
4763
4872
|
// Copyright (c) 2008, Fair Oaks Labs, Inc.
|
|
4764
4873
|
// All rights reserved.
|
|
4765
4874
|
//
|
|
@@ -4902,7 +5011,7 @@ unwrapExports(float_parser);
|
|
|
4902
5011
|
var float_parser_1 = float_parser.writeIEEE754;
|
|
4903
5012
|
var float_parser_2 = float_parser.readIEEE754;
|
|
4904
5013
|
|
|
4905
|
-
var serializer = createCommonjsModule(function (module, exports) {
|
|
5014
|
+
var serializer = createCommonjsModule$1(function (module, exports) {
|
|
4906
5015
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4907
5016
|
exports.serializeInto = void 0;
|
|
4908
5017
|
|
|
@@ -5756,7 +5865,7 @@ exports.serializeInto = serializeInto;
|
|
|
5756
5865
|
unwrapExports(serializer);
|
|
5757
5866
|
var serializer_1 = serializer.serializeInto;
|
|
5758
5867
|
|
|
5759
|
-
var bson = createCommonjsModule(function (module, exports) {
|
|
5868
|
+
var bson = createCommonjsModule$1(function (module, exports) {
|
|
5760
5869
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5761
5870
|
exports.deserializeStream = exports.calculateObjectSize = exports.deserialize = exports.serializeWithBufferAndIndex = exports.serialize = exports.setInternalBufferSize = exports.ObjectID = exports.Decimal128 = exports.BSONRegExp = exports.MaxKey = exports.MinKey = exports.Int32 = exports.Double = exports.Timestamp = exports.Long = exports.ObjectId = exports.Binary = exports.DBRef = exports.BSONSymbol = exports.Map = exports.Code = exports.LongWithoutOverridesClass = exports.EJSON = exports.JS_INT_MIN = exports.JS_INT_MAX = exports.BSON_INT64_MIN = exports.BSON_INT64_MAX = exports.BSON_INT32_MIN = exports.BSON_INT32_MAX = exports.BSON_DATA_UNDEFINED = exports.BSON_DATA_TIMESTAMP = exports.BSON_DATA_SYMBOL = exports.BSON_DATA_STRING = exports.BSON_DATA_REGEXP = exports.BSON_DATA_OID = exports.BSON_DATA_OBJECT = exports.BSON_DATA_NUMBER = exports.BSON_DATA_NULL = exports.BSON_DATA_MIN_KEY = exports.BSON_DATA_MAX_KEY = exports.BSON_DATA_LONG = exports.BSON_DATA_INT = exports.BSON_DATA_DECIMAL128 = exports.BSON_DATA_DBPOINTER = exports.BSON_DATA_DATE = exports.BSON_DATA_CODE_W_SCOPE = exports.BSON_DATA_CODE = exports.BSON_DATA_BOOLEAN = exports.BSON_DATA_BINARY = exports.BSON_DATA_ARRAY = exports.BSON_BINARY_SUBTYPE_UUID_NEW = exports.BSON_BINARY_SUBTYPE_UUID = exports.BSON_BINARY_SUBTYPE_USER_DEFINED = exports.BSON_BINARY_SUBTYPE_MD5 = exports.BSON_BINARY_SUBTYPE_FUNCTION = exports.BSON_BINARY_SUBTYPE_DEFAULT = exports.BSON_BINARY_SUBTYPE_BYTE_ARRAY = void 0;
|
|
5762
5871
|
|
|
@@ -6021,15 +6130,74 @@ var bson_55 = bson.BSON_BINARY_SUBTYPE_FUNCTION;
|
|
|
6021
6130
|
var bson_56 = bson.BSON_BINARY_SUBTYPE_DEFAULT;
|
|
6022
6131
|
var bson_57 = bson.BSON_BINARY_SUBTYPE_BYTE_ARRAY;
|
|
6023
6132
|
|
|
6024
|
-
var
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6133
|
+
var bson_esm = /*#__PURE__*/Object.freeze({
|
|
6134
|
+
__proto__: null,
|
|
6135
|
+
'default': bson$1,
|
|
6136
|
+
BSONRegExp: bson_9,
|
|
6137
|
+
BSONSymbol: bson_19,
|
|
6138
|
+
BSON_BINARY_SUBTYPE_BYTE_ARRAY: bson_57,
|
|
6139
|
+
BSON_BINARY_SUBTYPE_DEFAULT: bson_56,
|
|
6140
|
+
BSON_BINARY_SUBTYPE_FUNCTION: bson_55,
|
|
6141
|
+
BSON_BINARY_SUBTYPE_MD5: bson_54,
|
|
6142
|
+
BSON_BINARY_SUBTYPE_USER_DEFINED: bson_53,
|
|
6143
|
+
BSON_BINARY_SUBTYPE_UUID: bson_52,
|
|
6144
|
+
BSON_BINARY_SUBTYPE_UUID_NEW: bson_51,
|
|
6145
|
+
BSON_DATA_ARRAY: bson_50,
|
|
6146
|
+
BSON_DATA_BINARY: bson_49,
|
|
6147
|
+
BSON_DATA_BOOLEAN: bson_48,
|
|
6148
|
+
BSON_DATA_CODE: bson_47,
|
|
6149
|
+
BSON_DATA_CODE_W_SCOPE: bson_46,
|
|
6150
|
+
BSON_DATA_DATE: bson_45,
|
|
6151
|
+
BSON_DATA_DBPOINTER: bson_44,
|
|
6152
|
+
BSON_DATA_DECIMAL128: bson_43,
|
|
6153
|
+
BSON_DATA_INT: bson_42,
|
|
6154
|
+
BSON_DATA_LONG: bson_41,
|
|
6155
|
+
BSON_DATA_MAX_KEY: bson_40,
|
|
6156
|
+
BSON_DATA_MIN_KEY: bson_39,
|
|
6157
|
+
BSON_DATA_NULL: bson_38,
|
|
6158
|
+
BSON_DATA_NUMBER: bson_37,
|
|
6159
|
+
BSON_DATA_OBJECT: bson_36,
|
|
6160
|
+
BSON_DATA_OID: bson_35,
|
|
6161
|
+
BSON_DATA_REGEXP: bson_34,
|
|
6162
|
+
BSON_DATA_STRING: bson_33,
|
|
6163
|
+
BSON_DATA_SYMBOL: bson_32,
|
|
6164
|
+
BSON_DATA_TIMESTAMP: bson_31,
|
|
6165
|
+
BSON_DATA_UNDEFINED: bson_30,
|
|
6166
|
+
BSON_INT32_MAX: bson_29,
|
|
6167
|
+
BSON_INT32_MIN: bson_28,
|
|
6168
|
+
BSON_INT64_MAX: bson_27,
|
|
6169
|
+
BSON_INT64_MIN: bson_26,
|
|
6170
|
+
Binary: bson_17,
|
|
6171
|
+
Code: bson_21,
|
|
6172
|
+
DBRef: bson_18,
|
|
6173
|
+
Decimal128: bson_8,
|
|
6174
|
+
Double: bson_13,
|
|
6175
|
+
EJSON: bson_23,
|
|
6176
|
+
Int32: bson_12,
|
|
6177
|
+
JS_INT_MAX: bson_25,
|
|
6178
|
+
JS_INT_MIN: bson_24,
|
|
6179
|
+
Long: bson_15,
|
|
6180
|
+
LongWithoutOverridesClass: bson_22,
|
|
6181
|
+
Map: bson_20,
|
|
6182
|
+
MaxKey: bson_10,
|
|
6183
|
+
MinKey: bson_11,
|
|
6184
|
+
ObjectID: bson_7,
|
|
6185
|
+
ObjectId: bson_16,
|
|
6186
|
+
Timestamp: bson_14,
|
|
6187
|
+
calculateObjectSize: bson_2,
|
|
6188
|
+
deserialize: bson_3,
|
|
6189
|
+
deserializeStream: bson_1,
|
|
6190
|
+
serialize: bson_5,
|
|
6191
|
+
serializeWithBufferAndIndex: bson_4,
|
|
6192
|
+
setInternalBufferSize: bson_6
|
|
6193
|
+
});
|
|
6194
|
+
|
|
6195
|
+
var BSON = /*@__PURE__*/getAugmentedNamespace(bson_esm);
|
|
6196
|
+
|
|
6197
|
+
var utility = createCommonjsModule(function (module, exports) {
|
|
6198
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6199
|
+
exports.jsonToArrayBuffer = exports.preparePutBody = exports.preparePostBody = exports.fileToBuffer = void 0;
|
|
6200
|
+
|
|
6033
6201
|
function fileToBuffer(file) {
|
|
6034
6202
|
return new Promise((resolve, reject) => {
|
|
6035
6203
|
const reader = new FileReader();
|
|
@@ -6038,139 +6206,175 @@ function fileToBuffer(file) {
|
|
|
6038
6206
|
reader.onerror = error => reject(error);
|
|
6039
6207
|
});
|
|
6040
6208
|
}
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
return
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
|
|
6209
|
+
exports.fileToBuffer = fileToBuffer;
|
|
6210
|
+
async function preparePostBody(objects) {
|
|
6211
|
+
let files;
|
|
6212
|
+
const contents = [];
|
|
6213
|
+
if (!Array.isArray(objects)) {
|
|
6214
|
+
files = Array.from(objects);
|
|
6215
|
+
}
|
|
6216
|
+
else {
|
|
6217
|
+
files = objects;
|
|
6218
|
+
}
|
|
6219
|
+
for (const file of files) {
|
|
6220
|
+
const content = await getContent(file);
|
|
6221
|
+
contents.push(content);
|
|
6222
|
+
}
|
|
6223
|
+
const body = {
|
|
6224
|
+
content: contents
|
|
6225
|
+
};
|
|
6226
|
+
return jsonToArrayBuffer(body);
|
|
6227
|
+
}
|
|
6228
|
+
exports.preparePostBody = preparePostBody;
|
|
6229
|
+
async function preparePutBody(object) {
|
|
6230
|
+
const body = await getContent(object);
|
|
6231
|
+
return jsonToArrayBuffer(body);
|
|
6232
|
+
}
|
|
6233
|
+
exports.preparePutBody = preparePutBody;
|
|
6234
|
+
async function getContent(file) {
|
|
6235
|
+
let data;
|
|
6236
|
+
let name;
|
|
6237
|
+
let type;
|
|
6238
|
+
if (instanceOfBufferWithMeta(file)) {
|
|
6239
|
+
data = file.data;
|
|
6240
|
+
name = file.name;
|
|
6241
|
+
type = file.contentType;
|
|
6242
|
+
}
|
|
6243
|
+
else {
|
|
6244
|
+
data = await fileToBuffer(file);
|
|
6245
|
+
name = file.name;
|
|
6246
|
+
type = file.type;
|
|
6247
|
+
}
|
|
6248
|
+
return {
|
|
6249
|
+
name,
|
|
6250
|
+
content: {
|
|
6251
|
+
data: new BSON.Binary(data),
|
|
6252
|
+
type
|
|
6082
6253
|
}
|
|
6083
|
-
|
|
6084
|
-
name,
|
|
6085
|
-
content: {
|
|
6086
|
-
data: new bson_17(data),
|
|
6087
|
-
type
|
|
6088
|
-
}
|
|
6089
|
-
};
|
|
6090
|
-
});
|
|
6254
|
+
};
|
|
6091
6255
|
}
|
|
6092
6256
|
function jsonToArrayBuffer(body) {
|
|
6093
|
-
const size =
|
|
6094
|
-
const buffer =
|
|
6257
|
+
const size = BSON.calculateObjectSize(body);
|
|
6258
|
+
const buffer = BSON.serialize(body, { minInternalBufferSize: size });
|
|
6095
6259
|
return buffer.buffer;
|
|
6096
6260
|
}
|
|
6261
|
+
exports.jsonToArrayBuffer = jsonToArrayBuffer;
|
|
6097
6262
|
function instanceOfBufferWithMeta(value) {
|
|
6098
6263
|
return "data" in value && "name" in value && "contentType" in value;
|
|
6099
6264
|
}
|
|
6100
6265
|
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
});
|
|
6109
|
-
};
|
|
6266
|
+
});
|
|
6267
|
+
|
|
6268
|
+
var storage = createCommonjsModule(function (module, exports) {
|
|
6269
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6270
|
+
exports.remove = exports.update = exports.getAll = exports.download = exports.get = exports.insertMany = exports.insert = exports.initialize = void 0;
|
|
6271
|
+
|
|
6272
|
+
|
|
6110
6273
|
let authorization;
|
|
6111
|
-
let service
|
|
6112
|
-
function initialize
|
|
6113
|
-
const { authorization: _authorization, service: _service } = initialize(options);
|
|
6274
|
+
let service;
|
|
6275
|
+
function initialize(options) {
|
|
6276
|
+
const { authorization: _authorization, service: _service } = internal_common.initialize(options);
|
|
6114
6277
|
authorization = _authorization;
|
|
6115
|
-
service
|
|
6116
|
-
service
|
|
6278
|
+
service = _service;
|
|
6279
|
+
service.setWriteDefaults({
|
|
6117
6280
|
headers: {
|
|
6118
6281
|
"Content-Type": "application/bson"
|
|
6119
6282
|
}
|
|
6120
6283
|
});
|
|
6121
6284
|
}
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6127
|
-
|
|
6128
|
-
});
|
|
6285
|
+
exports.initialize = initialize;
|
|
6286
|
+
async function insert(object, onUploadProgress) {
|
|
6287
|
+
internal_common.checkInitialized(authorization);
|
|
6288
|
+
const body = await utility.preparePostBody([object]);
|
|
6289
|
+
return service.post("storage", body, {
|
|
6290
|
+
onUploadProgress
|
|
6129
6291
|
});
|
|
6130
6292
|
}
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
});
|
|
6293
|
+
exports.insert = insert;
|
|
6294
|
+
async function insertMany(objects, onUploadProgress) {
|
|
6295
|
+
internal_common.checkInitialized(authorization);
|
|
6296
|
+
const body = await utility.preparePostBody(objects);
|
|
6297
|
+
return service.post("storage", body, {
|
|
6298
|
+
onUploadProgress
|
|
6138
6299
|
});
|
|
6139
6300
|
}
|
|
6301
|
+
exports.insertMany = insertMany;
|
|
6140
6302
|
function get(id) {
|
|
6141
|
-
checkInitialized(authorization);
|
|
6142
|
-
return service
|
|
6303
|
+
internal_common.checkInitialized(authorization);
|
|
6304
|
+
return service.get(`storage/${id}`);
|
|
6143
6305
|
}
|
|
6144
|
-
|
|
6145
|
-
* Returns Blob for browser environment, ReadableStream for Nodejs environment
|
|
6146
|
-
*/
|
|
6306
|
+
exports.get = get;
|
|
6147
6307
|
function download(id, options = {}) {
|
|
6148
|
-
checkInitialized(authorization);
|
|
6149
|
-
return service
|
|
6308
|
+
internal_common.checkInitialized(authorization);
|
|
6309
|
+
return service.get(`storage/${id}/view`, {
|
|
6150
6310
|
headers: options.headers,
|
|
6151
6311
|
onDownloadProgress: options.onDownloadProgress,
|
|
6152
|
-
responseType: isPlatformBrowser() ? "blob" : "stream"
|
|
6312
|
+
responseType: internal_common.isPlatformBrowser() ? "blob" : "stream"
|
|
6153
6313
|
});
|
|
6154
6314
|
}
|
|
6315
|
+
exports.download = download;
|
|
6155
6316
|
function getAll(queryParams) {
|
|
6156
|
-
checkInitialized(authorization);
|
|
6157
|
-
return service
|
|
6317
|
+
internal_common.checkInitialized(authorization);
|
|
6318
|
+
return service.get(`storage`, {
|
|
6158
6319
|
params: queryParams
|
|
6159
6320
|
});
|
|
6160
6321
|
}
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
});
|
|
6322
|
+
exports.getAll = getAll;
|
|
6323
|
+
async function update(id, object, onUploadProgress) {
|
|
6324
|
+
internal_common.checkInitialized(authorization);
|
|
6325
|
+
const body = await utility.preparePutBody(object);
|
|
6326
|
+
return service.put(`storage/${id}`, body, {
|
|
6327
|
+
onUploadProgress
|
|
6168
6328
|
});
|
|
6169
6329
|
}
|
|
6330
|
+
exports.update = update;
|
|
6170
6331
|
function remove(id) {
|
|
6171
|
-
checkInitialized(authorization);
|
|
6172
|
-
return service
|
|
6332
|
+
internal_common.checkInitialized(authorization);
|
|
6333
|
+
return service.delete(`storage/${id}`);
|
|
6173
6334
|
}
|
|
6335
|
+
exports.remove = remove;
|
|
6336
|
+
|
|
6337
|
+
});
|
|
6338
|
+
|
|
6339
|
+
var _interface$1 = createCommonjsModule(function (module, exports) {
|
|
6340
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6341
|
+
|
|
6342
|
+
});
|
|
6343
|
+
|
|
6344
|
+
var src$1 = createCommonjsModule(function (module, exports) {
|
|
6345
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6346
|
+
if (k2 === undefined) k2 = k;
|
|
6347
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
6348
|
+
}) : (function(o, m, k, k2) {
|
|
6349
|
+
if (k2 === undefined) k2 = k;
|
|
6350
|
+
o[k2] = m[k];
|
|
6351
|
+
}));
|
|
6352
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
6353
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
6354
|
+
};
|
|
6355
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6356
|
+
__exportStar(storage, exports);
|
|
6357
|
+
__exportStar(_interface$1, exports);
|
|
6358
|
+
|
|
6359
|
+
});
|
|
6360
|
+
|
|
6361
|
+
var storage$1 = createCommonjsModule(function (module, exports) {
|
|
6362
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6363
|
+
if (k2 === undefined) k2 = k;
|
|
6364
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
6365
|
+
}) : (function(o, m, k, k2) {
|
|
6366
|
+
if (k2 === undefined) k2 = k;
|
|
6367
|
+
o[k2] = m[k];
|
|
6368
|
+
}));
|
|
6369
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
6370
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
6371
|
+
};
|
|
6372
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6373
|
+
__exportStar(src$1, exports);
|
|
6374
|
+
|
|
6375
|
+
});
|
|
6376
|
+
|
|
6377
|
+
var index = /*@__PURE__*/getDefaultExportFromCjs(storage$1);
|
|
6174
6378
|
|
|
6175
|
-
export
|
|
6379
|
+
export default index;
|
|
6176
6380
|
//# sourceMappingURL=index.mjs.map
|