contentful-management 11.43.0-beta.2 → 11.43.1
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/contentful-management.browser.js +862 -655
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +966 -733
- package/dist/contentful-management.node.js.map +1 -1
- package/dist/contentful-management.node.min.js +1 -1
- package/dist/es-modules/adapters/REST/endpoints/bulk-action.js +0 -2
- package/dist/es-modules/adapters/REST/endpoints/index.js +0 -2
- package/dist/es-modules/adapters/REST/endpoints/release-action.js +0 -2
- package/dist/es-modules/common-types.js +0 -1
- package/dist/es-modules/contentful-management.js +1 -1
- package/dist/es-modules/entities/bulk-action.js +4 -0
- package/dist/es-modules/entities/index.js +0 -2
- package/dist/es-modules/entities/scheduled-action.js +5 -0
- package/dist/es-modules/plain/plain-client.js +0 -4
- package/dist/typings/adapters/REST/endpoints/index.d.ts +0 -2
- package/dist/typings/common-types.d.ts +0 -21
- package/dist/typings/entities/index.d.ts +0 -2
- package/dist/typings/plain/common-types.d.ts +0 -2
- package/package.json +8 -19
- package/dist/es-modules/adapters/REST/endpoints/function-log.js +0 -21
- package/dist/es-modules/create-function-log-api.js +0 -94
- package/dist/es-modules/entities/function-log.js +0 -24
- package/dist/es-modules/plain/entities/function-log.js +0 -1
- package/dist/typings/adapters/REST/endpoints/function-log.d.ts +0 -3
- package/dist/typings/create-function-log-api.d.ts +0 -63
- package/dist/typings/entities/function-log.d.ts +0 -50
- package/dist/typings/plain/entities/function-log.d.ts +0 -38
|
@@ -1238,8 +1238,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1238
1238
|
/* harmony export */ validate: function() { return /* binding */ validate; }
|
|
1239
1239
|
/* harmony export */ });
|
|
1240
1240
|
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
1241
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1242
|
-
|
|
1243
1241
|
|
|
1244
1242
|
var get = function get(http, params) {
|
|
1245
1243
|
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/bulk_actions/actions/").concat(params.bulkActionId));
|
|
@@ -2253,48 +2251,6 @@ var del = function del(http, params) {
|
|
|
2253
2251
|
|
|
2254
2252
|
/***/ }),
|
|
2255
2253
|
|
|
2256
|
-
/***/ "./adapters/REST/endpoints/function-log.ts":
|
|
2257
|
-
/*!*************************************************!*\
|
|
2258
|
-
!*** ./adapters/REST/endpoints/function-log.ts ***!
|
|
2259
|
-
\*************************************************/
|
|
2260
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2261
|
-
|
|
2262
|
-
"use strict";
|
|
2263
|
-
__webpack_require__.r(__webpack_exports__);
|
|
2264
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2265
|
-
/* harmony export */ get: function() { return /* binding */ get; },
|
|
2266
|
-
/* harmony export */ getAll: function() { return /* binding */ getAll; }
|
|
2267
|
-
/* harmony export */ });
|
|
2268
|
-
/* harmony import */ var _raw__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./raw */ "./adapters/REST/endpoints/raw.ts");
|
|
2269
|
-
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); }
|
|
2270
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2271
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2272
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
2273
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
2274
|
-
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); }
|
|
2275
|
-
|
|
2276
|
-
var FunctionLogAlphaHeaders = {
|
|
2277
|
-
'x-contentful-enable-alpha-feature': 'function-logs'
|
|
2278
|
-
};
|
|
2279
|
-
var baseURL = function baseURL(params) {
|
|
2280
|
-
return "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/app_installations/").concat(params.appInstallationId, "/functions/").concat(params.functionId, "/logs");
|
|
2281
|
-
};
|
|
2282
|
-
var getURL = function getURL(params) {
|
|
2283
|
-
return "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/app_installations/").concat(params.appInstallationId, "/functions/").concat(params.functionId, "/logs/").concat(params.logId);
|
|
2284
|
-
};
|
|
2285
|
-
var get = function get(http, params) {
|
|
2286
|
-
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, getURL(params), {
|
|
2287
|
-
headers: _objectSpread({}, FunctionLogAlphaHeaders)
|
|
2288
|
-
});
|
|
2289
|
-
};
|
|
2290
|
-
var getAll = function getAll(http, params) {
|
|
2291
|
-
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, baseURL(params), {
|
|
2292
|
-
headers: _objectSpread({}, FunctionLogAlphaHeaders)
|
|
2293
|
-
});
|
|
2294
|
-
};
|
|
2295
|
-
|
|
2296
|
-
/***/ }),
|
|
2297
|
-
|
|
2298
2254
|
/***/ "./adapters/REST/endpoints/function.ts":
|
|
2299
2255
|
/*!*********************************************!*\
|
|
2300
2256
|
!*** ./adapters/REST/endpoints/function.ts ***!
|
|
@@ -2422,41 +2378,39 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2422
2378
|
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./environment-template-installation */ "./adapters/REST/endpoints/environment-template-installation.ts");
|
|
2423
2379
|
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./extension */ "./adapters/REST/endpoints/extension.ts");
|
|
2424
2380
|
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./function */ "./adapters/REST/endpoints/function.ts");
|
|
2425
|
-
/* harmony import */ var
|
|
2426
|
-
/* harmony import */ var
|
|
2427
|
-
/* harmony import */ var
|
|
2428
|
-
/* harmony import */ var
|
|
2429
|
-
/* harmony import */ var
|
|
2430
|
-
/* harmony import */ var
|
|
2431
|
-
/* harmony import */ var
|
|
2432
|
-
/* harmony import */ var
|
|
2433
|
-
/* harmony import */ var
|
|
2434
|
-
/* harmony import */ var
|
|
2435
|
-
/* harmony import */ var
|
|
2436
|
-
/* harmony import */ var
|
|
2437
|
-
/* harmony import */ var
|
|
2438
|
-
/* harmony import */ var
|
|
2439
|
-
/* harmony import */ var
|
|
2440
|
-
/* harmony import */ var
|
|
2441
|
-
/* harmony import */ var
|
|
2442
|
-
/* harmony import */ var
|
|
2443
|
-
/* harmony import */ var
|
|
2444
|
-
/* harmony import */ var
|
|
2445
|
-
/* harmony import */ var
|
|
2446
|
-
/* harmony import */ var
|
|
2447
|
-
/* harmony import */ var
|
|
2448
|
-
/* harmony import */ var
|
|
2449
|
-
/* harmony import */ var
|
|
2450
|
-
/* harmony import */ var
|
|
2451
|
-
/* harmony import */ var
|
|
2452
|
-
/* harmony import */ var
|
|
2453
|
-
/* harmony import */ var
|
|
2454
|
-
/* harmony import */ var
|
|
2455
|
-
/* harmony import */ var
|
|
2456
|
-
/* harmony import */ var
|
|
2457
|
-
/* harmony import */ var
|
|
2458
|
-
/* harmony import */ var _workflows_changelog__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./workflows-changelog */ "./adapters/REST/endpoints/workflows-changelog.ts");
|
|
2459
|
-
|
|
2381
|
+
/* harmony import */ var _http__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./http */ "./adapters/REST/endpoints/http.ts");
|
|
2382
|
+
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./locale */ "./adapters/REST/endpoints/locale.ts");
|
|
2383
|
+
/* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./organization */ "./adapters/REST/endpoints/organization.ts");
|
|
2384
|
+
/* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./organization-invitation */ "./adapters/REST/endpoints/organization-invitation.ts");
|
|
2385
|
+
/* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./organization-membership */ "./adapters/REST/endpoints/organization-membership.ts");
|
|
2386
|
+
/* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./personal-access-token */ "./adapters/REST/endpoints/personal-access-token.ts");
|
|
2387
|
+
/* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./preview-api-key */ "./adapters/REST/endpoints/preview-api-key.ts");
|
|
2388
|
+
/* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./release */ "./adapters/REST/endpoints/release.ts");
|
|
2389
|
+
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./release-action */ "./adapters/REST/endpoints/release-action.ts");
|
|
2390
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./resource */ "./adapters/REST/endpoints/resource.ts");
|
|
2391
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./resource-provider */ "./adapters/REST/endpoints/resource-provider.ts");
|
|
2392
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./resource-type */ "./adapters/REST/endpoints/resource-type.ts");
|
|
2393
|
+
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./role */ "./adapters/REST/endpoints/role.ts");
|
|
2394
|
+
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./scheduled-action */ "./adapters/REST/endpoints/scheduled-action.ts");
|
|
2395
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./snapshot */ "./adapters/REST/endpoints/snapshot.ts");
|
|
2396
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./space */ "./adapters/REST/endpoints/space.ts");
|
|
2397
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./space-member */ "./adapters/REST/endpoints/space-member.ts");
|
|
2398
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./space-membership */ "./adapters/REST/endpoints/space-membership.ts");
|
|
2399
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./tag */ "./adapters/REST/endpoints/tag.ts");
|
|
2400
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./task */ "./adapters/REST/endpoints/task.ts");
|
|
2401
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./team */ "./adapters/REST/endpoints/team.ts");
|
|
2402
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./team-membership */ "./adapters/REST/endpoints/team-membership.ts");
|
|
2403
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./team-space-membership */ "./adapters/REST/endpoints/team-space-membership.ts");
|
|
2404
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./ui-config */ "./adapters/REST/endpoints/ui-config.ts");
|
|
2405
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./upload */ "./adapters/REST/endpoints/upload.ts");
|
|
2406
|
+
/* harmony import */ var _upload_credentials__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./upload-credentials */ "./adapters/REST/endpoints/upload-credentials.ts");
|
|
2407
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./usage */ "./adapters/REST/endpoints/usage.ts");
|
|
2408
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./user */ "./adapters/REST/endpoints/user.ts");
|
|
2409
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./user-ui-config */ "./adapters/REST/endpoints/user-ui-config.ts");
|
|
2410
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./webhook */ "./adapters/REST/endpoints/webhook.ts");
|
|
2411
|
+
/* harmony import */ var _workflow__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./workflow */ "./adapters/REST/endpoints/workflow.ts");
|
|
2412
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./workflow-definition */ "./adapters/REST/endpoints/workflow-definition.ts");
|
|
2413
|
+
/* harmony import */ var _workflows_changelog__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./workflows-changelog */ "./adapters/REST/endpoints/workflows-changelog.ts");
|
|
2460
2414
|
|
|
2461
2415
|
|
|
2462
2416
|
|
|
@@ -2548,41 +2502,40 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2548
2502
|
EnvironmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_26__,
|
|
2549
2503
|
Extension: _extension__WEBPACK_IMPORTED_MODULE_27__,
|
|
2550
2504
|
Function: _function__WEBPACK_IMPORTED_MODULE_28__,
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
PersonalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_35__,
|
|
2505
|
+
Http: _http__WEBPACK_IMPORTED_MODULE_29__,
|
|
2506
|
+
Locale: _locale__WEBPACK_IMPORTED_MODULE_30__,
|
|
2507
|
+
Organization: _organization__WEBPACK_IMPORTED_MODULE_31__,
|
|
2508
|
+
OrganizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_32__,
|
|
2509
|
+
OrganizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_33__,
|
|
2510
|
+
PersonalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_34__,
|
|
2558
2511
|
AccessToken: _access_token__WEBPACK_IMPORTED_MODULE_0__,
|
|
2559
|
-
PreviewApiKey:
|
|
2560
|
-
Release:
|
|
2561
|
-
ReleaseAction:
|
|
2562
|
-
Resource:
|
|
2563
|
-
ResourceProvider:
|
|
2564
|
-
ResourceType:
|
|
2565
|
-
Role:
|
|
2566
|
-
ScheduledAction:
|
|
2567
|
-
Snapshot:
|
|
2568
|
-
Space:
|
|
2569
|
-
SpaceMember:
|
|
2570
|
-
SpaceMembership:
|
|
2571
|
-
Tag:
|
|
2572
|
-
Task:
|
|
2573
|
-
Team:
|
|
2574
|
-
TeamMembership:
|
|
2575
|
-
TeamSpaceMembership:
|
|
2576
|
-
UIConfig:
|
|
2577
|
-
Upload:
|
|
2578
|
-
UploadCredential:
|
|
2579
|
-
Usage:
|
|
2580
|
-
User:
|
|
2581
|
-
UserUIConfig:
|
|
2582
|
-
Webhook:
|
|
2583
|
-
WorkflowDefinition:
|
|
2584
|
-
Workflow:
|
|
2585
|
-
WorkflowsChangelog:
|
|
2512
|
+
PreviewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_35__,
|
|
2513
|
+
Release: _release__WEBPACK_IMPORTED_MODULE_36__,
|
|
2514
|
+
ReleaseAction: _release_action__WEBPACK_IMPORTED_MODULE_37__,
|
|
2515
|
+
Resource: _resource__WEBPACK_IMPORTED_MODULE_38__,
|
|
2516
|
+
ResourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_39__,
|
|
2517
|
+
ResourceType: _resource_type__WEBPACK_IMPORTED_MODULE_40__,
|
|
2518
|
+
Role: _role__WEBPACK_IMPORTED_MODULE_41__,
|
|
2519
|
+
ScheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_42__,
|
|
2520
|
+
Snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_43__,
|
|
2521
|
+
Space: _space__WEBPACK_IMPORTED_MODULE_44__,
|
|
2522
|
+
SpaceMember: _space_member__WEBPACK_IMPORTED_MODULE_45__,
|
|
2523
|
+
SpaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_46__,
|
|
2524
|
+
Tag: _tag__WEBPACK_IMPORTED_MODULE_47__,
|
|
2525
|
+
Task: _task__WEBPACK_IMPORTED_MODULE_48__,
|
|
2526
|
+
Team: _team__WEBPACK_IMPORTED_MODULE_49__,
|
|
2527
|
+
TeamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_50__,
|
|
2528
|
+
TeamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_51__,
|
|
2529
|
+
UIConfig: _ui_config__WEBPACK_IMPORTED_MODULE_52__,
|
|
2530
|
+
Upload: _upload__WEBPACK_IMPORTED_MODULE_53__,
|
|
2531
|
+
UploadCredential: _upload_credentials__WEBPACK_IMPORTED_MODULE_54__,
|
|
2532
|
+
Usage: _usage__WEBPACK_IMPORTED_MODULE_55__,
|
|
2533
|
+
User: _user__WEBPACK_IMPORTED_MODULE_56__,
|
|
2534
|
+
UserUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_57__,
|
|
2535
|
+
Webhook: _webhook__WEBPACK_IMPORTED_MODULE_58__,
|
|
2536
|
+
WorkflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_60__,
|
|
2537
|
+
Workflow: _workflow__WEBPACK_IMPORTED_MODULE_59__,
|
|
2538
|
+
WorkflowsChangelog: _workflows_changelog__WEBPACK_IMPORTED_MODULE_61__
|
|
2586
2539
|
});
|
|
2587
2540
|
|
|
2588
2541
|
/***/ }),
|
|
@@ -2955,8 +2908,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
2955
2908
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
2956
2909
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
2957
2910
|
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); }
|
|
2958
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2959
|
-
|
|
2960
2911
|
|
|
2961
2912
|
var get = function get(http, params) {
|
|
2962
2913
|
return _raw__WEBPACK_IMPORTED_MODULE_0__.get(http, "/spaces/".concat(params.spaceId, "/environments/").concat(params.environmentId, "/releases/").concat(params.releaseId, "/actions/").concat(params.actionId));
|
|
@@ -4683,7 +4634,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4683
4634
|
*/
|
|
4684
4635
|
|
|
4685
4636
|
/** Base interface for all Payload interfaces. Used as part of the MakeRequestOptions to simplify payload definitions. */
|
|
4686
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
4687
4637
|
|
|
4688
4638
|
var ScheduledActionReferenceFilters = /*#__PURE__*/function (ScheduledActionReferenceFilters) {
|
|
4689
4639
|
ScheduledActionReferenceFilters["contentTypeAnnotationNotIn"] = "sys.contentType.metadata.annotations.ContentType[nin]";
|
|
@@ -9743,118 +9693,6 @@ function createFunctionApi(makeRequest) {
|
|
|
9743
9693
|
|
|
9744
9694
|
/***/ }),
|
|
9745
9695
|
|
|
9746
|
-
/***/ "./create-function-log-api.ts":
|
|
9747
|
-
/*!************************************!*\
|
|
9748
|
-
!*** ./create-function-log-api.ts ***!
|
|
9749
|
-
\************************************/
|
|
9750
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9751
|
-
|
|
9752
|
-
"use strict";
|
|
9753
|
-
__webpack_require__.r(__webpack_exports__);
|
|
9754
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9755
|
-
/* harmony export */ "default": function() { return /* binding */ createFunctionLogApi; }
|
|
9756
|
-
/* harmony export */ });
|
|
9757
|
-
/* harmony import */ var _entities__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./entities */ "./entities/index.ts");
|
|
9758
|
-
/* harmony import */ var _entities_function_log__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./entities/function-log */ "./entities/function-log.ts");
|
|
9759
|
-
|
|
9760
|
-
|
|
9761
|
-
|
|
9762
|
-
/**
|
|
9763
|
-
* @private
|
|
9764
|
-
*/
|
|
9765
|
-
|
|
9766
|
-
/**
|
|
9767
|
-
* @private
|
|
9768
|
-
*/
|
|
9769
|
-
function createFunctionLogApi(makeRequest) {
|
|
9770
|
-
var wrapFunctionLog = _entities__WEBPACK_IMPORTED_MODULE_0__["default"].functionLog.wrapFunctionLog;
|
|
9771
|
-
return {
|
|
9772
|
-
/**
|
|
9773
|
-
* Get a FunctionLog by it's log ID
|
|
9774
|
-
* @Param spaceId - Space ID
|
|
9775
|
-
* @Param environmentId - Environment ID
|
|
9776
|
-
* @Param appInstallationId - App Installation ID
|
|
9777
|
-
* @Param functionId - Function ID
|
|
9778
|
-
* @Param logId - Log ID
|
|
9779
|
-
* @returns a function log
|
|
9780
|
-
* ```javascript
|
|
9781
|
-
* const contentful = require('contentful-management')
|
|
9782
|
-
*
|
|
9783
|
-
* const client = contentful.createClient({
|
|
9784
|
-
* accessToken: '<content_management_api_key>'
|
|
9785
|
-
* })
|
|
9786
|
-
*
|
|
9787
|
-
* client.functionLog.get({
|
|
9788
|
-
* spaceId: '<space_id>',
|
|
9789
|
-
* environmentId: '<environment_id>',
|
|
9790
|
-
* appInstallationId: '<app_installation_id>',
|
|
9791
|
-
* functionId: '<function_id>',
|
|
9792
|
-
* logId: '<log_id>'
|
|
9793
|
-
* })
|
|
9794
|
-
* .then((response) => console.log(response.items))
|
|
9795
|
-
* .catch(console.error)
|
|
9796
|
-
* ```
|
|
9797
|
-
*/
|
|
9798
|
-
get: function get(logId) {
|
|
9799
|
-
var raw = this.toPlainObject();
|
|
9800
|
-
return makeRequest({
|
|
9801
|
-
entityType: 'FunctionLog',
|
|
9802
|
-
action: 'get',
|
|
9803
|
-
params: {
|
|
9804
|
-
spaceId: raw.sys.space.sys.id,
|
|
9805
|
-
environmentId: raw.sys.environment.sys.id,
|
|
9806
|
-
appInstallationId: raw.sys.appDefinition.sys.id,
|
|
9807
|
-
functionId: raw.sys.id,
|
|
9808
|
-
logId: logId
|
|
9809
|
-
}
|
|
9810
|
-
}).then(function (data) {
|
|
9811
|
-
return wrapFunctionLog(makeRequest, data);
|
|
9812
|
-
});
|
|
9813
|
-
},
|
|
9814
|
-
/**
|
|
9815
|
-
* Get all FunctionLogs
|
|
9816
|
-
* @Param spaceId - Space ID
|
|
9817
|
-
* @Param environmentId - Environment ID
|
|
9818
|
-
* @Param appInstallationId - App Installation ID
|
|
9819
|
-
* @Param functionId - Function ID
|
|
9820
|
-
* @returns a collection of FunctionLogs
|
|
9821
|
-
* ```javascript
|
|
9822
|
-
* const contentful = require('contentful-management')
|
|
9823
|
-
*
|
|
9824
|
-
* const client = contentful.createClient({
|
|
9825
|
-
* accessToken: '<content_management_api_key>'
|
|
9826
|
-
* })
|
|
9827
|
-
*
|
|
9828
|
-
* client.functionLog.getAll({
|
|
9829
|
-
* spaceId: '<space_id>',
|
|
9830
|
-
* environmentId: '<environment_id>',
|
|
9831
|
-
* appInstallationId: '<app_installation_id>',
|
|
9832
|
-
* functionId: '<function_id>'
|
|
9833
|
-
* })
|
|
9834
|
-
* .then((response) => console.log(response.items))
|
|
9835
|
-
* .catch(console.error)
|
|
9836
|
-
* ```
|
|
9837
|
-
*/
|
|
9838
|
-
getAll: function getAll() {
|
|
9839
|
-
var raw = this.toPlainObject();
|
|
9840
|
-
return makeRequest({
|
|
9841
|
-
entityType: 'FunctionLog',
|
|
9842
|
-
action: 'getAll',
|
|
9843
|
-
params: {
|
|
9844
|
-
spaceId: raw.sys.space.sys.id,
|
|
9845
|
-
environmentId: raw.sys.environment.sys.id,
|
|
9846
|
-
appInstallationId: raw.sys.appDefinition.sys.id,
|
|
9847
|
-
functionId: raw.sys.id
|
|
9848
|
-
}
|
|
9849
|
-
}).then(function (data) {
|
|
9850
|
-
return (0,_entities_function_log__WEBPACK_IMPORTED_MODULE_1__.wrapFunctionLogCollection)(makeRequest, data);
|
|
9851
|
-
});
|
|
9852
|
-
}
|
|
9853
|
-
};
|
|
9854
|
-
}
|
|
9855
|
-
|
|
9856
|
-
/***/ }),
|
|
9857
|
-
|
|
9858
9696
|
/***/ "./create-organization-api.ts":
|
|
9859
9697
|
/*!************************************!*\
|
|
9860
9698
|
!*** ./create-organization-api.ts ***!
|
|
@@ -14086,9 +13924,13 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
14086
13924
|
|
|
14087
13925
|
/** Represents the state of the BulkAction */
|
|
14088
13926
|
var BulkActionStatus = /*#__PURE__*/function (BulkActionStatus) {
|
|
13927
|
+
/** BulkAction is pending execution */
|
|
14089
13928
|
BulkActionStatus["created"] = "created";
|
|
13929
|
+
/** BulkAction has been started and pending completion */
|
|
14090
13930
|
BulkActionStatus["inProgress"] = "inProgress";
|
|
13931
|
+
/** BulkAction was completed successfully (terminal state) */
|
|
14091
13932
|
BulkActionStatus["succeeded"] = "succeeded";
|
|
13933
|
+
/** BulkAction failed to complete (terminal state) */
|
|
14092
13934
|
BulkActionStatus["failed"] = "failed";
|
|
14093
13935
|
return BulkActionStatus;
|
|
14094
13936
|
}({});
|
|
@@ -14885,50 +14727,6 @@ var wrapExtensionCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_3__.wrap
|
|
|
14885
14727
|
|
|
14886
14728
|
/***/ }),
|
|
14887
14729
|
|
|
14888
|
-
/***/ "./entities/function-log.ts":
|
|
14889
|
-
/*!**********************************!*\
|
|
14890
|
-
!*** ./entities/function-log.ts ***!
|
|
14891
|
-
\**********************************/
|
|
14892
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
14893
|
-
|
|
14894
|
-
"use strict";
|
|
14895
|
-
__webpack_require__.r(__webpack_exports__);
|
|
14896
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14897
|
-
/* harmony export */ wrapFunctionLog: function() { return /* binding */ wrapFunctionLog; },
|
|
14898
|
-
/* harmony export */ wrapFunctionLogCollection: function() { return /* binding */ wrapFunctionLogCollection; }
|
|
14899
|
-
/* harmony export */ });
|
|
14900
|
-
/* harmony import */ var contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! contentful-sdk-core */ "../node_modules/contentful-sdk-core/dist/index.js");
|
|
14901
|
-
/* harmony import */ var fast_copy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-copy */ "../node_modules/fast-copy/dist/esm/index.mjs");
|
|
14902
|
-
/* harmony import */ var _common_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common-utils */ "./common-utils.ts");
|
|
14903
|
-
/* harmony import */ var _enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../enhance-with-methods */ "./enhance-with-methods.ts");
|
|
14904
|
-
/* harmony import */ var _create_function_log_api__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../create-function-log-api */ "./create-function-log-api.ts");
|
|
14905
|
-
|
|
14906
|
-
|
|
14907
|
-
|
|
14908
|
-
|
|
14909
|
-
|
|
14910
|
-
/**
|
|
14911
|
-
* @private
|
|
14912
|
-
* @param makeRequest - function to make requests via an adapter
|
|
14913
|
-
* @param data - raw contentful-Function data
|
|
14914
|
-
* @return Wrapped Function data
|
|
14915
|
-
*/
|
|
14916
|
-
function wrapFunctionLog(makeRequest, data) {
|
|
14917
|
-
var appAction = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.toPlainObject)((0,fast_copy__WEBPACK_IMPORTED_MODULE_1__["default"])(data));
|
|
14918
|
-
var appActionWithMethods = (0,_enhance_with_methods__WEBPACK_IMPORTED_MODULE_3__["default"])(appAction, (0,_create_function_log_api__WEBPACK_IMPORTED_MODULE_4__["default"])(makeRequest));
|
|
14919
|
-
return (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.freezeSys)(appActionWithMethods);
|
|
14920
|
-
}
|
|
14921
|
-
|
|
14922
|
-
/**
|
|
14923
|
-
* @private
|
|
14924
|
-
* @param makeRequest - function to make requests via an adapter
|
|
14925
|
-
* @param data - raw contentful-function data
|
|
14926
|
-
* @return Wrapped App Function collection data
|
|
14927
|
-
*/
|
|
14928
|
-
var wrapFunctionLogCollection = (0,_common_utils__WEBPACK_IMPORTED_MODULE_2__.wrapCollection)(wrapFunctionLog);
|
|
14929
|
-
|
|
14930
|
-
/***/ }),
|
|
14931
|
-
|
|
14932
14730
|
/***/ "./entities/function.ts":
|
|
14933
14731
|
/*!******************************!*\
|
|
14934
14732
|
!*** ./entities/function.ts ***!
|
|
@@ -15007,40 +14805,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15007
14805
|
/* harmony import */ var _environment_template_installation__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./environment-template-installation */ "./entities/environment-template-installation.ts");
|
|
15008
14806
|
/* harmony import */ var _extension__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./extension */ "./entities/extension.ts");
|
|
15009
14807
|
/* harmony import */ var _function__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./function */ "./entities/function.ts");
|
|
15010
|
-
/* harmony import */ var
|
|
15011
|
-
/* harmony import */ var
|
|
15012
|
-
/* harmony import */ var
|
|
15013
|
-
/* harmony import */ var
|
|
15014
|
-
/* harmony import */ var
|
|
15015
|
-
/* harmony import */ var
|
|
15016
|
-
/* harmony import */ var
|
|
15017
|
-
/* harmony import */ var
|
|
15018
|
-
/* harmony import */ var
|
|
15019
|
-
/* harmony import */ var
|
|
15020
|
-
/* harmony import */ var
|
|
15021
|
-
/* harmony import */ var
|
|
15022
|
-
/* harmony import */ var
|
|
15023
|
-
/* harmony import */ var
|
|
15024
|
-
/* harmony import */ var
|
|
15025
|
-
/* harmony import */ var
|
|
15026
|
-
/* harmony import */ var
|
|
15027
|
-
/* harmony import */ var
|
|
15028
|
-
/* harmony import */ var
|
|
15029
|
-
/* harmony import */ var
|
|
15030
|
-
/* harmony import */ var
|
|
15031
|
-
/* harmony import */ var
|
|
15032
|
-
/* harmony import */ var
|
|
15033
|
-
/* harmony import */ var
|
|
15034
|
-
/* harmony import */ var
|
|
15035
|
-
/* harmony import */ var
|
|
15036
|
-
/* harmony import */ var
|
|
15037
|
-
/* harmony import */ var
|
|
15038
|
-
/* harmony import */ var
|
|
15039
|
-
/* harmony import */ var
|
|
15040
|
-
/* harmony import */ var
|
|
15041
|
-
/* harmony import */ var
|
|
15042
|
-
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./resource */ "./entities/resource.ts");
|
|
15043
|
-
|
|
14808
|
+
/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./locale */ "./entities/locale.ts");
|
|
14809
|
+
/* harmony import */ var _organization__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./organization */ "./entities/organization.ts");
|
|
14810
|
+
/* harmony import */ var _organization_invitation__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./organization-invitation */ "./entities/organization-invitation.ts");
|
|
14811
|
+
/* harmony import */ var _organization_membership__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./organization-membership */ "./entities/organization-membership.ts");
|
|
14812
|
+
/* harmony import */ var _personal_access_token__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./personal-access-token */ "./entities/personal-access-token.ts");
|
|
14813
|
+
/* harmony import */ var _access_token__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./access-token */ "./entities/access-token.ts");
|
|
14814
|
+
/* harmony import */ var _preview_api_key__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./preview-api-key */ "./entities/preview-api-key.ts");
|
|
14815
|
+
/* harmony import */ var _release__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./release */ "./entities/release.ts");
|
|
14816
|
+
/* harmony import */ var _release_action__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./release-action */ "./entities/release-action.ts");
|
|
14817
|
+
/* harmony import */ var _role__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./role */ "./entities/role.ts");
|
|
14818
|
+
/* harmony import */ var _scheduled_action__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./scheduled-action */ "./entities/scheduled-action.ts");
|
|
14819
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./snapshot */ "./entities/snapshot.ts");
|
|
14820
|
+
/* harmony import */ var _space__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./space */ "./entities/space.ts");
|
|
14821
|
+
/* harmony import */ var _space_member__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./space-member */ "./entities/space-member.ts");
|
|
14822
|
+
/* harmony import */ var _space_membership__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./space-membership */ "./entities/space-membership.ts");
|
|
14823
|
+
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./tag */ "./entities/tag.ts");
|
|
14824
|
+
/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./task */ "./entities/task.ts");
|
|
14825
|
+
/* harmony import */ var _team__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./team */ "./entities/team.ts");
|
|
14826
|
+
/* harmony import */ var _team_membership__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./team-membership */ "./entities/team-membership.ts");
|
|
14827
|
+
/* harmony import */ var _team_space_membership__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./team-space-membership */ "./entities/team-space-membership.ts");
|
|
14828
|
+
/* harmony import */ var _ui_config__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./ui-config */ "./entities/ui-config.ts");
|
|
14829
|
+
/* harmony import */ var _upload__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./upload */ "./entities/upload.ts");
|
|
14830
|
+
/* harmony import */ var _usage__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./usage */ "./entities/usage.ts");
|
|
14831
|
+
/* harmony import */ var _user__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./user */ "./entities/user.ts");
|
|
14832
|
+
/* harmony import */ var _user_ui_config__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./user-ui-config */ "./entities/user-ui-config.ts");
|
|
14833
|
+
/* harmony import */ var _webhook__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./webhook */ "./entities/webhook.ts");
|
|
14834
|
+
/* harmony import */ var _workflow_definition__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./workflow-definition */ "./entities/workflow-definition.ts");
|
|
14835
|
+
/* harmony import */ var _concept__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./concept */ "./entities/concept.ts");
|
|
14836
|
+
/* harmony import */ var _concept_scheme__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./concept-scheme */ "./entities/concept-scheme.ts");
|
|
14837
|
+
/* harmony import */ var _resource_provider__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./resource-provider */ "./entities/resource-provider.ts");
|
|
14838
|
+
/* harmony import */ var _resource_type__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./resource-type */ "./entities/resource-type.ts");
|
|
14839
|
+
/* harmony import */ var _resource__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./resource */ "./entities/resource.ts");
|
|
15044
14840
|
|
|
15045
14841
|
|
|
15046
14842
|
|
|
@@ -15100,7 +14896,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15100
14896
|
|
|
15101
14897
|
|
|
15102
14898
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
15103
|
-
accessToken:
|
|
14899
|
+
accessToken: _access_token__WEBPACK_IMPORTED_MODULE_31__,
|
|
15104
14900
|
appAction: _app_action__WEBPACK_IMPORTED_MODULE_1__,
|
|
15105
14901
|
appActionCall: _app_action_call__WEBPACK_IMPORTED_MODULE_2__,
|
|
15106
14902
|
appBundle: _app_bundle__WEBPACK_IMPORTED_MODULE_3__,
|
|
@@ -15118,8 +14914,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15118
14914
|
assetKey: _asset_key__WEBPACK_IMPORTED_MODULE_14__,
|
|
15119
14915
|
bulkAction: _bulk_action__WEBPACK_IMPORTED_MODULE_15__,
|
|
15120
14916
|
comment: _comment__WEBPACK_IMPORTED_MODULE_16__,
|
|
15121
|
-
concept:
|
|
15122
|
-
conceptScheme:
|
|
14917
|
+
concept: _concept__WEBPACK_IMPORTED_MODULE_53__,
|
|
14918
|
+
conceptScheme: _concept_scheme__WEBPACK_IMPORTED_MODULE_54__,
|
|
15123
14919
|
contentType: _content_type__WEBPACK_IMPORTED_MODULE_17__,
|
|
15124
14920
|
editorInterface: _editor_interface__WEBPACK_IMPORTED_MODULE_18__,
|
|
15125
14921
|
entry: _entry__WEBPACK_IMPORTED_MODULE_19__,
|
|
@@ -15129,36 +14925,35 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15129
14925
|
environmentTemplateInstallation: _environment_template_installation__WEBPACK_IMPORTED_MODULE_23__,
|
|
15130
14926
|
extension: _extension__WEBPACK_IMPORTED_MODULE_24__,
|
|
15131
14927
|
func: _function__WEBPACK_IMPORTED_MODULE_25__,
|
|
15132
|
-
|
|
15133
|
-
|
|
15134
|
-
|
|
15135
|
-
|
|
15136
|
-
|
|
15137
|
-
|
|
15138
|
-
|
|
15139
|
-
|
|
15140
|
-
|
|
15141
|
-
|
|
15142
|
-
|
|
15143
|
-
|
|
15144
|
-
|
|
15145
|
-
|
|
15146
|
-
|
|
15147
|
-
|
|
15148
|
-
|
|
15149
|
-
|
|
15150
|
-
|
|
15151
|
-
|
|
15152
|
-
|
|
15153
|
-
|
|
15154
|
-
|
|
15155
|
-
|
|
15156
|
-
|
|
15157
|
-
|
|
15158
|
-
|
|
15159
|
-
|
|
15160
|
-
|
|
15161
|
-
workflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_53__
|
|
14928
|
+
locale: _locale__WEBPACK_IMPORTED_MODULE_26__,
|
|
14929
|
+
organization: _organization__WEBPACK_IMPORTED_MODULE_27__,
|
|
14930
|
+
organizationInvitation: _organization_invitation__WEBPACK_IMPORTED_MODULE_28__,
|
|
14931
|
+
organizationMembership: _organization_membership__WEBPACK_IMPORTED_MODULE_29__,
|
|
14932
|
+
personalAccessToken: _personal_access_token__WEBPACK_IMPORTED_MODULE_30__,
|
|
14933
|
+
previewApiKey: _preview_api_key__WEBPACK_IMPORTED_MODULE_32__,
|
|
14934
|
+
release: _release__WEBPACK_IMPORTED_MODULE_33__,
|
|
14935
|
+
releaseAction: _release_action__WEBPACK_IMPORTED_MODULE_34__,
|
|
14936
|
+
resourceProvider: _resource_provider__WEBPACK_IMPORTED_MODULE_55__,
|
|
14937
|
+
resourceType: _resource_type__WEBPACK_IMPORTED_MODULE_56__,
|
|
14938
|
+
resource: _resource__WEBPACK_IMPORTED_MODULE_57__,
|
|
14939
|
+
role: _role__WEBPACK_IMPORTED_MODULE_35__,
|
|
14940
|
+
scheduledAction: _scheduled_action__WEBPACK_IMPORTED_MODULE_36__,
|
|
14941
|
+
snapshot: _snapshot__WEBPACK_IMPORTED_MODULE_37__,
|
|
14942
|
+
space: _space__WEBPACK_IMPORTED_MODULE_38__,
|
|
14943
|
+
spaceMember: _space_member__WEBPACK_IMPORTED_MODULE_39__,
|
|
14944
|
+
spaceMembership: _space_membership__WEBPACK_IMPORTED_MODULE_40__,
|
|
14945
|
+
tag: _tag__WEBPACK_IMPORTED_MODULE_41__,
|
|
14946
|
+
task: _task__WEBPACK_IMPORTED_MODULE_42__,
|
|
14947
|
+
team: _team__WEBPACK_IMPORTED_MODULE_43__,
|
|
14948
|
+
teamMembership: _team_membership__WEBPACK_IMPORTED_MODULE_44__,
|
|
14949
|
+
teamSpaceMembership: _team_space_membership__WEBPACK_IMPORTED_MODULE_45__,
|
|
14950
|
+
uiConfig: _ui_config__WEBPACK_IMPORTED_MODULE_46__,
|
|
14951
|
+
upload: _upload__WEBPACK_IMPORTED_MODULE_47__,
|
|
14952
|
+
usage: _usage__WEBPACK_IMPORTED_MODULE_48__,
|
|
14953
|
+
user: _user__WEBPACK_IMPORTED_MODULE_49__,
|
|
14954
|
+
userUIConfig: _user_ui_config__WEBPACK_IMPORTED_MODULE_50__,
|
|
14955
|
+
webhook: _webhook__WEBPACK_IMPORTED_MODULE_51__,
|
|
14956
|
+
workflowDefinition: _workflow_definition__WEBPACK_IMPORTED_MODULE_52__
|
|
15162
14957
|
});
|
|
15163
14958
|
|
|
15164
14959
|
/***/ }),
|
|
@@ -16257,10 +16052,15 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
16257
16052
|
* Represents that state of the scheduled action
|
|
16258
16053
|
*/
|
|
16259
16054
|
var ScheduledActionStatus = /*#__PURE__*/function (ScheduledActionStatus) {
|
|
16055
|
+
/** action is pending execution */
|
|
16260
16056
|
ScheduledActionStatus["scheduled"] = "scheduled";
|
|
16057
|
+
/** action has been started and pending completion */
|
|
16261
16058
|
ScheduledActionStatus["inProgress"] = "inProgress";
|
|
16059
|
+
/** action was completed successfully (terminal state) */
|
|
16262
16060
|
ScheduledActionStatus["succeeded"] = "succeeded";
|
|
16061
|
+
/** action failed to complete (terminal state) */
|
|
16263
16062
|
ScheduledActionStatus["failed"] = "failed";
|
|
16063
|
+
/** action was canceled by a user (terminal state) */
|
|
16264
16064
|
ScheduledActionStatus["canceled"] = "canceled";
|
|
16265
16065
|
return ScheduledActionStatus;
|
|
16266
16066
|
}({});
|
|
@@ -18125,10 +17925,6 @@ var createPlainClient = function createPlainClient(makeRequest, defaults) {
|
|
|
18125
17925
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'getMany'),
|
|
18126
17926
|
getManyForEnvironment: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'Function', 'getManyForEnvironment')
|
|
18127
17927
|
},
|
|
18128
|
-
functionLog: {
|
|
18129
|
-
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'FunctionLog', 'get'),
|
|
18130
|
-
getAll: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'FunctionLog', 'getAll')
|
|
18131
|
-
},
|
|
18132
17928
|
editorInterface: {
|
|
18133
17929
|
get: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'EditorInterface', 'get'),
|
|
18134
17930
|
getMany: (0,_wrappers_wrap__WEBPACK_IMPORTED_MODULE_1__.wrap)(wrapParams, 'EditorInterface', 'getMany'),
|
|
@@ -18610,141 +18406,164 @@ function getUploadHttpClient(http, options) {
|
|
|
18610
18406
|
|
|
18611
18407
|
/***/ }),
|
|
18612
18408
|
|
|
18613
|
-
/***/ "../node_modules/call-bind/
|
|
18614
|
-
|
|
18615
|
-
!*** ../node_modules/call-bind/
|
|
18616
|
-
|
|
18409
|
+
/***/ "../node_modules/call-bind-apply-helpers/actualApply.js":
|
|
18410
|
+
/*!**************************************************************!*\
|
|
18411
|
+
!*** ../node_modules/call-bind-apply-helpers/actualApply.js ***!
|
|
18412
|
+
\**************************************************************/
|
|
18617
18413
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
18618
18414
|
|
|
18619
18415
|
"use strict";
|
|
18620
18416
|
|
|
18621
18417
|
|
|
18622
|
-
var
|
|
18418
|
+
var bind = __webpack_require__(/*! function-bind */ "../node_modules/function-bind/index.js");
|
|
18623
18419
|
|
|
18624
|
-
var
|
|
18420
|
+
var $apply = __webpack_require__(/*! ./functionApply */ "../node_modules/call-bind-apply-helpers/functionApply.js");
|
|
18421
|
+
var $call = __webpack_require__(/*! ./functionCall */ "../node_modules/call-bind-apply-helpers/functionCall.js");
|
|
18422
|
+
var $reflectApply = __webpack_require__(/*! ./reflectApply */ "../node_modules/call-bind-apply-helpers/reflectApply.js");
|
|
18625
18423
|
|
|
18626
|
-
|
|
18424
|
+
/** @type {import('./actualApply')} */
|
|
18425
|
+
module.exports = $reflectApply || bind.call($call, $apply);
|
|
18627
18426
|
|
|
18628
|
-
|
|
18629
|
-
|
|
18630
|
-
|
|
18631
|
-
|
|
18632
|
-
|
|
18633
|
-
|
|
18634
|
-
|
|
18427
|
+
|
|
18428
|
+
/***/ }),
|
|
18429
|
+
|
|
18430
|
+
/***/ "../node_modules/call-bind-apply-helpers/functionApply.js":
|
|
18431
|
+
/*!****************************************************************!*\
|
|
18432
|
+
!*** ../node_modules/call-bind-apply-helpers/functionApply.js ***!
|
|
18433
|
+
\****************************************************************/
|
|
18434
|
+
/***/ (function(module) {
|
|
18435
|
+
|
|
18436
|
+
"use strict";
|
|
18437
|
+
|
|
18438
|
+
|
|
18439
|
+
/** @type {import('./functionApply')} */
|
|
18440
|
+
module.exports = Function.prototype.apply;
|
|
18635
18441
|
|
|
18636
18442
|
|
|
18637
18443
|
/***/ }),
|
|
18638
18444
|
|
|
18639
|
-
/***/ "../node_modules/call-bind/
|
|
18640
|
-
|
|
18641
|
-
!*** ../node_modules/call-bind/
|
|
18642
|
-
|
|
18445
|
+
/***/ "../node_modules/call-bind-apply-helpers/functionCall.js":
|
|
18446
|
+
/*!***************************************************************!*\
|
|
18447
|
+
!*** ../node_modules/call-bind-apply-helpers/functionCall.js ***!
|
|
18448
|
+
\***************************************************************/
|
|
18449
|
+
/***/ (function(module) {
|
|
18450
|
+
|
|
18451
|
+
"use strict";
|
|
18452
|
+
|
|
18453
|
+
|
|
18454
|
+
/** @type {import('./functionCall')} */
|
|
18455
|
+
module.exports = Function.prototype.call;
|
|
18456
|
+
|
|
18457
|
+
|
|
18458
|
+
/***/ }),
|
|
18459
|
+
|
|
18460
|
+
/***/ "../node_modules/call-bind-apply-helpers/index.js":
|
|
18461
|
+
/*!********************************************************!*\
|
|
18462
|
+
!*** ../node_modules/call-bind-apply-helpers/index.js ***!
|
|
18463
|
+
\********************************************************/
|
|
18643
18464
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
18644
18465
|
|
|
18645
18466
|
"use strict";
|
|
18646
18467
|
|
|
18647
18468
|
|
|
18648
18469
|
var bind = __webpack_require__(/*! function-bind */ "../node_modules/function-bind/index.js");
|
|
18649
|
-
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
18650
|
-
var setFunctionLength = __webpack_require__(/*! set-function-length */ "../node_modules/set-function-length/index.js");
|
|
18651
|
-
|
|
18652
18470
|
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
18653
|
-
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
18654
|
-
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
18655
|
-
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
|
18656
18471
|
|
|
18657
|
-
var $
|
|
18658
|
-
var $
|
|
18472
|
+
var $call = __webpack_require__(/*! ./functionCall */ "../node_modules/call-bind-apply-helpers/functionCall.js");
|
|
18473
|
+
var $actualApply = __webpack_require__(/*! ./actualApply */ "../node_modules/call-bind-apply-helpers/actualApply.js");
|
|
18659
18474
|
|
|
18660
|
-
|
|
18661
|
-
|
|
18475
|
+
/** @type {import('.')} */
|
|
18476
|
+
module.exports = function callBindBasic(args) {
|
|
18477
|
+
if (args.length < 1 || typeof args[0] !== 'function') {
|
|
18662
18478
|
throw new $TypeError('a function is required');
|
|
18663
18479
|
}
|
|
18664
|
-
|
|
18665
|
-
return setFunctionLength(
|
|
18666
|
-
func,
|
|
18667
|
-
1 + $max(0, originalFunction.length - (arguments.length - 1)),
|
|
18668
|
-
true
|
|
18669
|
-
);
|
|
18480
|
+
return $actualApply(bind, $call, args);
|
|
18670
18481
|
};
|
|
18671
18482
|
|
|
18672
|
-
var applyBind = function applyBind() {
|
|
18673
|
-
return $reflectApply(bind, $apply, arguments);
|
|
18674
|
-
};
|
|
18675
18483
|
|
|
18676
|
-
|
|
18677
|
-
|
|
18678
|
-
|
|
18679
|
-
|
|
18680
|
-
|
|
18484
|
+
/***/ }),
|
|
18485
|
+
|
|
18486
|
+
/***/ "../node_modules/call-bind-apply-helpers/reflectApply.js":
|
|
18487
|
+
/*!***************************************************************!*\
|
|
18488
|
+
!*** ../node_modules/call-bind-apply-helpers/reflectApply.js ***!
|
|
18489
|
+
\***************************************************************/
|
|
18490
|
+
/***/ (function(module) {
|
|
18491
|
+
|
|
18492
|
+
"use strict";
|
|
18493
|
+
|
|
18494
|
+
|
|
18495
|
+
/** @type {import('./reflectApply')} */
|
|
18496
|
+
module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
|
|
18681
18497
|
|
|
18682
18498
|
|
|
18683
18499
|
/***/ }),
|
|
18684
18500
|
|
|
18685
|
-
/***/ "../node_modules/
|
|
18686
|
-
|
|
18687
|
-
!*** ../node_modules/
|
|
18688
|
-
|
|
18501
|
+
/***/ "../node_modules/call-bound/index.js":
|
|
18502
|
+
/*!*******************************************!*\
|
|
18503
|
+
!*** ../node_modules/call-bound/index.js ***!
|
|
18504
|
+
\*******************************************/
|
|
18689
18505
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
18690
18506
|
|
|
18691
18507
|
"use strict";
|
|
18692
18508
|
|
|
18693
18509
|
|
|
18694
|
-
var
|
|
18510
|
+
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
18695
18511
|
|
|
18696
|
-
var
|
|
18697
|
-
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
18512
|
+
var callBindBasic = __webpack_require__(/*! call-bind-apply-helpers */ "../node_modules/call-bind-apply-helpers/index.js");
|
|
18698
18513
|
|
|
18699
|
-
|
|
18514
|
+
/** @type {(thisArg: string, searchString: string, position?: number) => number} */
|
|
18515
|
+
var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);
|
|
18700
18516
|
|
|
18701
18517
|
/** @type {import('.')} */
|
|
18702
|
-
module.exports = function
|
|
18703
|
-
|
|
18704
|
-
|
|
18705
|
-
|
|
18706
|
-
)
|
|
18707
|
-
if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
|
|
18708
|
-
throw new $TypeError('`obj` must be an object or a function`');
|
|
18709
|
-
}
|
|
18710
|
-
if (typeof property !== 'string' && typeof property !== 'symbol') {
|
|
18711
|
-
throw new $TypeError('`property` must be a string or a symbol`');
|
|
18712
|
-
}
|
|
18713
|
-
if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
|
|
18714
|
-
throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
|
|
18715
|
-
}
|
|
18716
|
-
if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
|
|
18717
|
-
throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
|
|
18718
|
-
}
|
|
18719
|
-
if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
|
|
18720
|
-
throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
|
|
18721
|
-
}
|
|
18722
|
-
if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
|
|
18723
|
-
throw new $TypeError('`loose`, if provided, must be a boolean');
|
|
18518
|
+
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
18519
|
+
// eslint-disable-next-line no-extra-parens
|
|
18520
|
+
var intrinsic = /** @type {Parameters<typeof callBindBasic>[0][0]} */ (GetIntrinsic(name, !!allowMissing));
|
|
18521
|
+
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
|
|
18522
|
+
return callBindBasic([intrinsic]);
|
|
18724
18523
|
}
|
|
18524
|
+
return intrinsic;
|
|
18525
|
+
};
|
|
18725
18526
|
|
|
18726
|
-
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
18727
|
-
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
18728
|
-
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
18729
|
-
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
18730
18527
|
|
|
18731
|
-
|
|
18732
|
-
var desc = !!gopd && gopd(obj, property);
|
|
18528
|
+
/***/ }),
|
|
18733
18529
|
|
|
18734
|
-
|
|
18735
|
-
|
|
18736
|
-
|
|
18737
|
-
|
|
18738
|
-
|
|
18739
|
-
|
|
18740
|
-
|
|
18741
|
-
|
|
18742
|
-
|
|
18743
|
-
|
|
18744
|
-
|
|
18745
|
-
|
|
18530
|
+
/***/ "../node_modules/dunder-proto/get.js":
|
|
18531
|
+
/*!*******************************************!*\
|
|
18532
|
+
!*** ../node_modules/dunder-proto/get.js ***!
|
|
18533
|
+
\*******************************************/
|
|
18534
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
18535
|
+
|
|
18536
|
+
"use strict";
|
|
18537
|
+
|
|
18538
|
+
|
|
18539
|
+
var callBind = __webpack_require__(/*! call-bind-apply-helpers */ "../node_modules/call-bind-apply-helpers/index.js");
|
|
18540
|
+
var gOPD = __webpack_require__(/*! gopd */ "../node_modules/gopd/index.js");
|
|
18541
|
+
|
|
18542
|
+
var hasProtoAccessor;
|
|
18543
|
+
try {
|
|
18544
|
+
// eslint-disable-next-line no-extra-parens, no-proto
|
|
18545
|
+
hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
|
|
18546
|
+
} catch (e) {
|
|
18547
|
+
if (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {
|
|
18548
|
+
throw e;
|
|
18746
18549
|
}
|
|
18747
|
-
}
|
|
18550
|
+
}
|
|
18551
|
+
|
|
18552
|
+
// eslint-disable-next-line no-extra-parens
|
|
18553
|
+
var desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
|
|
18554
|
+
|
|
18555
|
+
var $Object = Object;
|
|
18556
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
18557
|
+
|
|
18558
|
+
/** @type {import('./get')} */
|
|
18559
|
+
module.exports = desc && typeof desc.get === 'function'
|
|
18560
|
+
? callBind([desc.get])
|
|
18561
|
+
: typeof $getPrototypeOf === 'function'
|
|
18562
|
+
? /** @type {import('./get')} */ function getDunder(value) {
|
|
18563
|
+
// eslint-disable-next-line eqeqeq
|
|
18564
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
18565
|
+
}
|
|
18566
|
+
: false;
|
|
18748
18567
|
|
|
18749
18568
|
|
|
18750
18569
|
/***/ }),
|
|
@@ -18753,15 +18572,13 @@ module.exports = function defineDataProperty(
|
|
|
18753
18572
|
/*!***************************************************!*\
|
|
18754
18573
|
!*** ../node_modules/es-define-property/index.js ***!
|
|
18755
18574
|
\***************************************************/
|
|
18756
|
-
/***/ (function(module
|
|
18575
|
+
/***/ (function(module) {
|
|
18757
18576
|
|
|
18758
18577
|
"use strict";
|
|
18759
18578
|
|
|
18760
18579
|
|
|
18761
|
-
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
18762
|
-
|
|
18763
18580
|
/** @type {import('.')} */
|
|
18764
|
-
var $defineProperty =
|
|
18581
|
+
var $defineProperty = Object.defineProperty || false;
|
|
18765
18582
|
if ($defineProperty) {
|
|
18766
18583
|
try {
|
|
18767
18584
|
$defineProperty({}, 'a', { value: 1 });
|
|
@@ -18879,6 +18696,21 @@ module.exports = TypeError;
|
|
|
18879
18696
|
module.exports = URIError;
|
|
18880
18697
|
|
|
18881
18698
|
|
|
18699
|
+
/***/ }),
|
|
18700
|
+
|
|
18701
|
+
/***/ "../node_modules/es-object-atoms/index.js":
|
|
18702
|
+
/*!************************************************!*\
|
|
18703
|
+
!*** ../node_modules/es-object-atoms/index.js ***!
|
|
18704
|
+
\************************************************/
|
|
18705
|
+
/***/ (function(module) {
|
|
18706
|
+
|
|
18707
|
+
"use strict";
|
|
18708
|
+
|
|
18709
|
+
|
|
18710
|
+
/** @type {import('.')} */
|
|
18711
|
+
module.exports = Object;
|
|
18712
|
+
|
|
18713
|
+
|
|
18882
18714
|
/***/ }),
|
|
18883
18715
|
|
|
18884
18716
|
/***/ "../node_modules/function-bind/implementation.js":
|
|
@@ -19003,6 +18835,8 @@ module.exports = Function.prototype.bind || implementation;
|
|
|
19003
18835
|
|
|
19004
18836
|
var undefined;
|
|
19005
18837
|
|
|
18838
|
+
var $Object = __webpack_require__(/*! es-object-atoms */ "../node_modules/es-object-atoms/index.js");
|
|
18839
|
+
|
|
19006
18840
|
var $Error = __webpack_require__(/*! es-errors */ "../node_modules/es-errors/index.js");
|
|
19007
18841
|
var $EvalError = __webpack_require__(/*! es-errors/eval */ "../node_modules/es-errors/eval.js");
|
|
19008
18842
|
var $RangeError = __webpack_require__(/*! es-errors/range */ "../node_modules/es-errors/range.js");
|
|
@@ -19011,6 +18845,14 @@ var $SyntaxError = __webpack_require__(/*! es-errors/syntax */ "../node_modules/
|
|
|
19011
18845
|
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
19012
18846
|
var $URIError = __webpack_require__(/*! es-errors/uri */ "../node_modules/es-errors/uri.js");
|
|
19013
18847
|
|
|
18848
|
+
var abs = __webpack_require__(/*! math-intrinsics/abs */ "../node_modules/math-intrinsics/abs.js");
|
|
18849
|
+
var floor = __webpack_require__(/*! math-intrinsics/floor */ "../node_modules/math-intrinsics/floor.js");
|
|
18850
|
+
var max = __webpack_require__(/*! math-intrinsics/max */ "../node_modules/math-intrinsics/max.js");
|
|
18851
|
+
var min = __webpack_require__(/*! math-intrinsics/min */ "../node_modules/math-intrinsics/min.js");
|
|
18852
|
+
var pow = __webpack_require__(/*! math-intrinsics/pow */ "../node_modules/math-intrinsics/pow.js");
|
|
18853
|
+
var round = __webpack_require__(/*! math-intrinsics/round */ "../node_modules/math-intrinsics/round.js");
|
|
18854
|
+
var sign = __webpack_require__(/*! math-intrinsics/sign */ "../node_modules/math-intrinsics/sign.js");
|
|
18855
|
+
|
|
19014
18856
|
var $Function = Function;
|
|
19015
18857
|
|
|
19016
18858
|
// eslint-disable-next-line consistent-return
|
|
@@ -19020,14 +18862,8 @@ var getEvalledConstructor = function (expressionSyntax) {
|
|
|
19020
18862
|
} catch (e) {}
|
|
19021
18863
|
};
|
|
19022
18864
|
|
|
19023
|
-
var $gOPD =
|
|
19024
|
-
|
|
19025
|
-
try {
|
|
19026
|
-
$gOPD({}, '');
|
|
19027
|
-
} catch (e) {
|
|
19028
|
-
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
19029
|
-
}
|
|
19030
|
-
}
|
|
18865
|
+
var $gOPD = __webpack_require__(/*! gopd */ "../node_modules/gopd/index.js");
|
|
18866
|
+
var $defineProperty = __webpack_require__(/*! es-define-property */ "../node_modules/es-define-property/index.js");
|
|
19031
18867
|
|
|
19032
18868
|
var throwTypeError = function () {
|
|
19033
18869
|
throw new $TypeError();
|
|
@@ -19050,13 +18886,13 @@ var ThrowTypeError = $gOPD
|
|
|
19050
18886
|
: throwTypeError;
|
|
19051
18887
|
|
|
19052
18888
|
var hasSymbols = __webpack_require__(/*! has-symbols */ "../node_modules/has-symbols/index.js")();
|
|
19053
|
-
var hasProto = __webpack_require__(/*! has-proto */ "../node_modules/has-proto/index.js")();
|
|
19054
18889
|
|
|
19055
|
-
var getProto =
|
|
19056
|
-
|
|
19057
|
-
|
|
19058
|
-
|
|
19059
|
-
);
|
|
18890
|
+
var getProto = __webpack_require__(/*! get-proto */ "../node_modules/get-proto/index.js");
|
|
18891
|
+
var $ObjectGPO = __webpack_require__(/*! get-proto/Object.getPrototypeOf */ "../node_modules/get-proto/Object.getPrototypeOf.js");
|
|
18892
|
+
var $ReflectGPO = __webpack_require__(/*! get-proto/Reflect.getPrototypeOf */ "../node_modules/get-proto/Reflect.getPrototypeOf.js");
|
|
18893
|
+
|
|
18894
|
+
var $apply = __webpack_require__(/*! call-bind-apply-helpers/functionApply */ "../node_modules/call-bind-apply-helpers/functionApply.js");
|
|
18895
|
+
var $call = __webpack_require__(/*! call-bind-apply-helpers/functionCall */ "../node_modules/call-bind-apply-helpers/functionCall.js");
|
|
19060
18896
|
|
|
19061
18897
|
var needsEval = {};
|
|
19062
18898
|
|
|
@@ -19103,7 +18939,8 @@ var INTRINSICS = {
|
|
|
19103
18939
|
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
19104
18940
|
'%Math%': Math,
|
|
19105
18941
|
'%Number%': Number,
|
|
19106
|
-
'%Object%': Object,
|
|
18942
|
+
'%Object%': $Object,
|
|
18943
|
+
'%Object.getOwnPropertyDescriptor%': $gOPD,
|
|
19107
18944
|
'%parseFloat%': parseFloat,
|
|
19108
18945
|
'%parseInt%': parseInt,
|
|
19109
18946
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
@@ -19129,7 +18966,20 @@ var INTRINSICS = {
|
|
|
19129
18966
|
'%URIError%': $URIError,
|
|
19130
18967
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
19131
18968
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
19132
|
-
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
18969
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,
|
|
18970
|
+
|
|
18971
|
+
'%Function.prototype.call%': $call,
|
|
18972
|
+
'%Function.prototype.apply%': $apply,
|
|
18973
|
+
'%Object.defineProperty%': $defineProperty,
|
|
18974
|
+
'%Object.getPrototypeOf%': $ObjectGPO,
|
|
18975
|
+
'%Math.abs%': abs,
|
|
18976
|
+
'%Math.floor%': floor,
|
|
18977
|
+
'%Math.max%': max,
|
|
18978
|
+
'%Math.min%': min,
|
|
18979
|
+
'%Math.pow%': pow,
|
|
18980
|
+
'%Math.round%': round,
|
|
18981
|
+
'%Math.sign%': sign,
|
|
18982
|
+
'%Reflect.getPrototypeOf%': $ReflectGPO
|
|
19133
18983
|
};
|
|
19134
18984
|
|
|
19135
18985
|
if (getProto) {
|
|
@@ -19224,11 +19074,11 @@ var LEGACY_ALIASES = {
|
|
|
19224
19074
|
|
|
19225
19075
|
var bind = __webpack_require__(/*! function-bind */ "../node_modules/function-bind/index.js");
|
|
19226
19076
|
var hasOwn = __webpack_require__(/*! hasown */ "../node_modules/hasown/index.js");
|
|
19227
|
-
var $concat = bind.call(
|
|
19228
|
-
var $spliceApply = bind.call(
|
|
19229
|
-
var $replace = bind.call(
|
|
19230
|
-
var $strSlice = bind.call(
|
|
19231
|
-
var $exec = bind.call(
|
|
19077
|
+
var $concat = bind.call($call, Array.prototype.concat);
|
|
19078
|
+
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
19079
|
+
var $replace = bind.call($call, String.prototype.replace);
|
|
19080
|
+
var $strSlice = bind.call($call, String.prototype.slice);
|
|
19081
|
+
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
19232
19082
|
|
|
19233
19083
|
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
19234
19084
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
@@ -19362,88 +19212,113 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
19362
19212
|
|
|
19363
19213
|
/***/ }),
|
|
19364
19214
|
|
|
19365
|
-
/***/ "../node_modules/
|
|
19366
|
-
|
|
19367
|
-
!*** ../node_modules/
|
|
19368
|
-
|
|
19215
|
+
/***/ "../node_modules/get-proto/Object.getPrototypeOf.js":
|
|
19216
|
+
/*!**********************************************************!*\
|
|
19217
|
+
!*** ../node_modules/get-proto/Object.getPrototypeOf.js ***!
|
|
19218
|
+
\**********************************************************/
|
|
19369
19219
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
19370
19220
|
|
|
19371
19221
|
"use strict";
|
|
19372
19222
|
|
|
19373
19223
|
|
|
19374
|
-
var
|
|
19224
|
+
var $Object = __webpack_require__(/*! es-object-atoms */ "../node_modules/es-object-atoms/index.js");
|
|
19375
19225
|
|
|
19376
|
-
|
|
19226
|
+
/** @type {import('./Object.getPrototypeOf')} */
|
|
19227
|
+
module.exports = $Object.getPrototypeOf || null;
|
|
19377
19228
|
|
|
19378
|
-
if ($gOPD) {
|
|
19379
|
-
try {
|
|
19380
|
-
$gOPD([], 'length');
|
|
19381
|
-
} catch (e) {
|
|
19382
|
-
// IE 8 has a broken gOPD
|
|
19383
|
-
$gOPD = null;
|
|
19384
|
-
}
|
|
19385
|
-
}
|
|
19386
19229
|
|
|
19387
|
-
|
|
19230
|
+
/***/ }),
|
|
19231
|
+
|
|
19232
|
+
/***/ "../node_modules/get-proto/Reflect.getPrototypeOf.js":
|
|
19233
|
+
/*!***********************************************************!*\
|
|
19234
|
+
!*** ../node_modules/get-proto/Reflect.getPrototypeOf.js ***!
|
|
19235
|
+
\***********************************************************/
|
|
19236
|
+
/***/ (function(module) {
|
|
19237
|
+
|
|
19238
|
+
"use strict";
|
|
19239
|
+
|
|
19240
|
+
|
|
19241
|
+
/** @type {import('./Reflect.getPrototypeOf')} */
|
|
19242
|
+
module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
|
|
19388
19243
|
|
|
19389
19244
|
|
|
19390
19245
|
/***/ }),
|
|
19391
19246
|
|
|
19392
|
-
/***/ "../node_modules/
|
|
19393
|
-
|
|
19394
|
-
!*** ../node_modules/
|
|
19395
|
-
|
|
19247
|
+
/***/ "../node_modules/get-proto/index.js":
|
|
19248
|
+
/*!******************************************!*\
|
|
19249
|
+
!*** ../node_modules/get-proto/index.js ***!
|
|
19250
|
+
\******************************************/
|
|
19396
19251
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
19397
19252
|
|
|
19398
19253
|
"use strict";
|
|
19399
19254
|
|
|
19400
19255
|
|
|
19401
|
-
var
|
|
19256
|
+
var reflectGetProto = __webpack_require__(/*! ./Reflect.getPrototypeOf */ "../node_modules/get-proto/Reflect.getPrototypeOf.js");
|
|
19257
|
+
var originalGetProto = __webpack_require__(/*! ./Object.getPrototypeOf */ "../node_modules/get-proto/Object.getPrototypeOf.js");
|
|
19402
19258
|
|
|
19403
|
-
var
|
|
19404
|
-
return !!$defineProperty;
|
|
19405
|
-
};
|
|
19259
|
+
var getDunderProto = __webpack_require__(/*! dunder-proto/get */ "../node_modules/dunder-proto/get.js");
|
|
19406
19260
|
|
|
19407
|
-
|
|
19408
|
-
|
|
19409
|
-
|
|
19410
|
-
|
|
19411
|
-
|
|
19412
|
-
try {
|
|
19413
|
-
return $defineProperty([], 'length', { value: 1 }).length !== 1;
|
|
19414
|
-
} catch (e) {
|
|
19415
|
-
// In Firefox 4-22, defining length on an array throws an exception.
|
|
19416
|
-
return true;
|
|
19261
|
+
/** @type {import('.')} */
|
|
19262
|
+
module.exports = reflectGetProto
|
|
19263
|
+
? function getProto(O) {
|
|
19264
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
19265
|
+
return reflectGetProto(O);
|
|
19417
19266
|
}
|
|
19418
|
-
|
|
19419
|
-
|
|
19420
|
-
|
|
19267
|
+
: originalGetProto
|
|
19268
|
+
? function getProto(O) {
|
|
19269
|
+
if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
|
|
19270
|
+
throw new TypeError('getProto: not an object');
|
|
19271
|
+
}
|
|
19272
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
19273
|
+
return originalGetProto(O);
|
|
19274
|
+
}
|
|
19275
|
+
: getDunderProto
|
|
19276
|
+
? function getProto(O) {
|
|
19277
|
+
// @ts-expect-error TS can't narrow inside a closure, for some reason
|
|
19278
|
+
return getDunderProto(O);
|
|
19279
|
+
}
|
|
19280
|
+
: null;
|
|
19421
19281
|
|
|
19422
19282
|
|
|
19423
19283
|
/***/ }),
|
|
19424
19284
|
|
|
19425
|
-
/***/ "../node_modules/
|
|
19426
|
-
|
|
19427
|
-
!*** ../node_modules/
|
|
19428
|
-
|
|
19285
|
+
/***/ "../node_modules/gopd/gOPD.js":
|
|
19286
|
+
/*!************************************!*\
|
|
19287
|
+
!*** ../node_modules/gopd/gOPD.js ***!
|
|
19288
|
+
\************************************/
|
|
19429
19289
|
/***/ (function(module) {
|
|
19430
19290
|
|
|
19431
19291
|
"use strict";
|
|
19432
19292
|
|
|
19433
19293
|
|
|
19434
|
-
|
|
19435
|
-
|
|
19436
|
-
|
|
19437
|
-
|
|
19294
|
+
/** @type {import('./gOPD')} */
|
|
19295
|
+
module.exports = Object.getOwnPropertyDescriptor;
|
|
19296
|
+
|
|
19297
|
+
|
|
19298
|
+
/***/ }),
|
|
19299
|
+
|
|
19300
|
+
/***/ "../node_modules/gopd/index.js":
|
|
19301
|
+
/*!*************************************!*\
|
|
19302
|
+
!*** ../node_modules/gopd/index.js ***!
|
|
19303
|
+
\*************************************/
|
|
19304
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
19305
|
+
|
|
19306
|
+
"use strict";
|
|
19438
19307
|
|
|
19439
|
-
var $Object = Object;
|
|
19440
19308
|
|
|
19441
19309
|
/** @type {import('.')} */
|
|
19442
|
-
|
|
19443
|
-
|
|
19444
|
-
|
|
19445
|
-
|
|
19446
|
-
|
|
19310
|
+
var $gOPD = __webpack_require__(/*! ./gOPD */ "../node_modules/gopd/gOPD.js");
|
|
19311
|
+
|
|
19312
|
+
if ($gOPD) {
|
|
19313
|
+
try {
|
|
19314
|
+
$gOPD([], 'length');
|
|
19315
|
+
} catch (e) {
|
|
19316
|
+
// IE 8 has a broken gOPD
|
|
19317
|
+
$gOPD = null;
|
|
19318
|
+
}
|
|
19319
|
+
}
|
|
19320
|
+
|
|
19321
|
+
module.exports = $gOPD;
|
|
19447
19322
|
|
|
19448
19323
|
|
|
19449
19324
|
/***/ }),
|
|
@@ -19460,6 +19335,7 @@ module.exports = function hasProto() {
|
|
|
19460
19335
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
19461
19336
|
var hasSymbolSham = __webpack_require__(/*! ./shams */ "../node_modules/has-symbols/shams.js");
|
|
19462
19337
|
|
|
19338
|
+
/** @type {import('.')} */
|
|
19463
19339
|
module.exports = function hasNativeSymbols() {
|
|
19464
19340
|
if (typeof origSymbol !== 'function') { return false; }
|
|
19465
19341
|
if (typeof Symbol !== 'function') { return false; }
|
|
@@ -19481,11 +19357,13 @@ module.exports = function hasNativeSymbols() {
|
|
|
19481
19357
|
"use strict";
|
|
19482
19358
|
|
|
19483
19359
|
|
|
19360
|
+
/** @type {import('./shams')} */
|
|
19484
19361
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
19485
19362
|
module.exports = function hasSymbols() {
|
|
19486
19363
|
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
19487
19364
|
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
19488
19365
|
|
|
19366
|
+
/** @type {{ [k in symbol]?: unknown }} */
|
|
19489
19367
|
var obj = {};
|
|
19490
19368
|
var sym = Symbol('test');
|
|
19491
19369
|
var symObj = Object(sym);
|
|
@@ -19504,7 +19382,7 @@ module.exports = function hasSymbols() {
|
|
|
19504
19382
|
|
|
19505
19383
|
var symVal = 42;
|
|
19506
19384
|
obj[sym] = symVal;
|
|
19507
|
-
for (
|
|
19385
|
+
for (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
19508
19386
|
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
19509
19387
|
|
|
19510
19388
|
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
@@ -19515,7 +19393,8 @@ module.exports = function hasSymbols() {
|
|
|
19515
19393
|
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
|
|
19516
19394
|
|
|
19517
19395
|
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
19518
|
-
|
|
19396
|
+
// eslint-disable-next-line no-extra-parens
|
|
19397
|
+
var descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));
|
|
19519
19398
|
if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
|
|
19520
19399
|
}
|
|
19521
19400
|
|
|
@@ -19802,6 +19681,135 @@ function isString(value) {
|
|
|
19802
19681
|
module.exports = isString;
|
|
19803
19682
|
|
|
19804
19683
|
|
|
19684
|
+
/***/ }),
|
|
19685
|
+
|
|
19686
|
+
/***/ "../node_modules/math-intrinsics/abs.js":
|
|
19687
|
+
/*!**********************************************!*\
|
|
19688
|
+
!*** ../node_modules/math-intrinsics/abs.js ***!
|
|
19689
|
+
\**********************************************/
|
|
19690
|
+
/***/ (function(module) {
|
|
19691
|
+
|
|
19692
|
+
"use strict";
|
|
19693
|
+
|
|
19694
|
+
|
|
19695
|
+
/** @type {import('./abs')} */
|
|
19696
|
+
module.exports = Math.abs;
|
|
19697
|
+
|
|
19698
|
+
|
|
19699
|
+
/***/ }),
|
|
19700
|
+
|
|
19701
|
+
/***/ "../node_modules/math-intrinsics/floor.js":
|
|
19702
|
+
/*!************************************************!*\
|
|
19703
|
+
!*** ../node_modules/math-intrinsics/floor.js ***!
|
|
19704
|
+
\************************************************/
|
|
19705
|
+
/***/ (function(module) {
|
|
19706
|
+
|
|
19707
|
+
"use strict";
|
|
19708
|
+
|
|
19709
|
+
|
|
19710
|
+
/** @type {import('./floor')} */
|
|
19711
|
+
module.exports = Math.floor;
|
|
19712
|
+
|
|
19713
|
+
|
|
19714
|
+
/***/ }),
|
|
19715
|
+
|
|
19716
|
+
/***/ "../node_modules/math-intrinsics/isNaN.js":
|
|
19717
|
+
/*!************************************************!*\
|
|
19718
|
+
!*** ../node_modules/math-intrinsics/isNaN.js ***!
|
|
19719
|
+
\************************************************/
|
|
19720
|
+
/***/ (function(module) {
|
|
19721
|
+
|
|
19722
|
+
"use strict";
|
|
19723
|
+
|
|
19724
|
+
|
|
19725
|
+
/** @type {import('./isNaN')} */
|
|
19726
|
+
module.exports = Number.isNaN || function isNaN(a) {
|
|
19727
|
+
return a !== a;
|
|
19728
|
+
};
|
|
19729
|
+
|
|
19730
|
+
|
|
19731
|
+
/***/ }),
|
|
19732
|
+
|
|
19733
|
+
/***/ "../node_modules/math-intrinsics/max.js":
|
|
19734
|
+
/*!**********************************************!*\
|
|
19735
|
+
!*** ../node_modules/math-intrinsics/max.js ***!
|
|
19736
|
+
\**********************************************/
|
|
19737
|
+
/***/ (function(module) {
|
|
19738
|
+
|
|
19739
|
+
"use strict";
|
|
19740
|
+
|
|
19741
|
+
|
|
19742
|
+
/** @type {import('./max')} */
|
|
19743
|
+
module.exports = Math.max;
|
|
19744
|
+
|
|
19745
|
+
|
|
19746
|
+
/***/ }),
|
|
19747
|
+
|
|
19748
|
+
/***/ "../node_modules/math-intrinsics/min.js":
|
|
19749
|
+
/*!**********************************************!*\
|
|
19750
|
+
!*** ../node_modules/math-intrinsics/min.js ***!
|
|
19751
|
+
\**********************************************/
|
|
19752
|
+
/***/ (function(module) {
|
|
19753
|
+
|
|
19754
|
+
"use strict";
|
|
19755
|
+
|
|
19756
|
+
|
|
19757
|
+
/** @type {import('./min')} */
|
|
19758
|
+
module.exports = Math.min;
|
|
19759
|
+
|
|
19760
|
+
|
|
19761
|
+
/***/ }),
|
|
19762
|
+
|
|
19763
|
+
/***/ "../node_modules/math-intrinsics/pow.js":
|
|
19764
|
+
/*!**********************************************!*\
|
|
19765
|
+
!*** ../node_modules/math-intrinsics/pow.js ***!
|
|
19766
|
+
\**********************************************/
|
|
19767
|
+
/***/ (function(module) {
|
|
19768
|
+
|
|
19769
|
+
"use strict";
|
|
19770
|
+
|
|
19771
|
+
|
|
19772
|
+
/** @type {import('./pow')} */
|
|
19773
|
+
module.exports = Math.pow;
|
|
19774
|
+
|
|
19775
|
+
|
|
19776
|
+
/***/ }),
|
|
19777
|
+
|
|
19778
|
+
/***/ "../node_modules/math-intrinsics/round.js":
|
|
19779
|
+
/*!************************************************!*\
|
|
19780
|
+
!*** ../node_modules/math-intrinsics/round.js ***!
|
|
19781
|
+
\************************************************/
|
|
19782
|
+
/***/ (function(module) {
|
|
19783
|
+
|
|
19784
|
+
"use strict";
|
|
19785
|
+
|
|
19786
|
+
|
|
19787
|
+
/** @type {import('./round')} */
|
|
19788
|
+
module.exports = Math.round;
|
|
19789
|
+
|
|
19790
|
+
|
|
19791
|
+
/***/ }),
|
|
19792
|
+
|
|
19793
|
+
/***/ "../node_modules/math-intrinsics/sign.js":
|
|
19794
|
+
/*!***********************************************!*\
|
|
19795
|
+
!*** ../node_modules/math-intrinsics/sign.js ***!
|
|
19796
|
+
\***********************************************/
|
|
19797
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
19798
|
+
|
|
19799
|
+
"use strict";
|
|
19800
|
+
|
|
19801
|
+
|
|
19802
|
+
var $isNaN = __webpack_require__(/*! ./isNaN */ "../node_modules/math-intrinsics/isNaN.js");
|
|
19803
|
+
|
|
19804
|
+
/** @type {import('./sign')} */
|
|
19805
|
+
module.exports = function sign(number) {
|
|
19806
|
+
if ($isNaN(number) || number === 0) {
|
|
19807
|
+
return number;
|
|
19808
|
+
}
|
|
19809
|
+
return number < 0 ? -1 : +1;
|
|
19810
|
+
};
|
|
19811
|
+
|
|
19812
|
+
|
|
19805
19813
|
/***/ }),
|
|
19806
19814
|
|
|
19807
19815
|
/***/ "../node_modules/object-inspect/index.js":
|
|
@@ -20639,7 +20647,8 @@ var defaults = {
|
|
|
20639
20647
|
parseArrays: true,
|
|
20640
20648
|
plainObjects: false,
|
|
20641
20649
|
strictDepth: false,
|
|
20642
|
-
strictNullHandling: false
|
|
20650
|
+
strictNullHandling: false,
|
|
20651
|
+
throwOnLimitExceeded: false
|
|
20643
20652
|
};
|
|
20644
20653
|
|
|
20645
20654
|
var interpretNumericEntities = function (str) {
|
|
@@ -20648,11 +20657,15 @@ var interpretNumericEntities = function (str) {
|
|
|
20648
20657
|
});
|
|
20649
20658
|
};
|
|
20650
20659
|
|
|
20651
|
-
var parseArrayValue = function (val, options) {
|
|
20660
|
+
var parseArrayValue = function (val, options, currentArrayLength) {
|
|
20652
20661
|
if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
|
|
20653
20662
|
return val.split(',');
|
|
20654
20663
|
}
|
|
20655
20664
|
|
|
20665
|
+
if (options.throwOnLimitExceeded && currentArrayLength >= options.arrayLimit) {
|
|
20666
|
+
throw new RangeError('Array limit exceeded. Only ' + options.arrayLimit + ' element' + (options.arrayLimit === 1 ? '' : 's') + ' allowed in an array.');
|
|
20667
|
+
}
|
|
20668
|
+
|
|
20656
20669
|
return val;
|
|
20657
20670
|
};
|
|
20658
20671
|
|
|
@@ -20671,8 +20684,17 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
20671
20684
|
|
|
20672
20685
|
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
|
|
20673
20686
|
cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');
|
|
20687
|
+
|
|
20674
20688
|
var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
|
|
20675
|
-
var parts = cleanStr.split(
|
|
20689
|
+
var parts = cleanStr.split(
|
|
20690
|
+
options.delimiter,
|
|
20691
|
+
options.throwOnLimitExceeded ? limit + 1 : limit
|
|
20692
|
+
);
|
|
20693
|
+
|
|
20694
|
+
if (options.throwOnLimitExceeded && parts.length > limit) {
|
|
20695
|
+
throw new RangeError('Parameter limit exceeded. Only ' + limit + ' parameter' + (limit === 1 ? '' : 's') + ' allowed.');
|
|
20696
|
+
}
|
|
20697
|
+
|
|
20676
20698
|
var skipIndex = -1; // Keep track of where the utf8 sentinel was found
|
|
20677
20699
|
var i;
|
|
20678
20700
|
|
|
@@ -20700,14 +20722,20 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
20700
20722
|
var bracketEqualsPos = part.indexOf(']=');
|
|
20701
20723
|
var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
|
|
20702
20724
|
|
|
20703
|
-
var key
|
|
20725
|
+
var key;
|
|
20726
|
+
var val;
|
|
20704
20727
|
if (pos === -1) {
|
|
20705
20728
|
key = options.decoder(part, defaults.decoder, charset, 'key');
|
|
20706
20729
|
val = options.strictNullHandling ? null : '';
|
|
20707
20730
|
} else {
|
|
20708
20731
|
key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');
|
|
20732
|
+
|
|
20709
20733
|
val = utils.maybeMap(
|
|
20710
|
-
parseArrayValue(
|
|
20734
|
+
parseArrayValue(
|
|
20735
|
+
part.slice(pos + 1),
|
|
20736
|
+
options,
|
|
20737
|
+
isArray(obj[key]) ? obj[key].length : 0
|
|
20738
|
+
),
|
|
20711
20739
|
function (encodedVal) {
|
|
20712
20740
|
return options.decoder(encodedVal, defaults.decoder, charset, 'value');
|
|
20713
20741
|
}
|
|
@@ -20715,7 +20743,7 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
20715
20743
|
}
|
|
20716
20744
|
|
|
20717
20745
|
if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
|
|
20718
|
-
val = interpretNumericEntities(val);
|
|
20746
|
+
val = interpretNumericEntities(String(val));
|
|
20719
20747
|
}
|
|
20720
20748
|
|
|
20721
20749
|
if (part.indexOf('[]=') > -1) {
|
|
@@ -20734,7 +20762,13 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
20734
20762
|
};
|
|
20735
20763
|
|
|
20736
20764
|
var parseObject = function (chain, val, options, valuesParsed) {
|
|
20737
|
-
var
|
|
20765
|
+
var currentArrayLength = 0;
|
|
20766
|
+
if (chain.length > 0 && chain[chain.length - 1] === '[]') {
|
|
20767
|
+
var parentKey = chain.slice(0, -1).join('');
|
|
20768
|
+
currentArrayLength = Array.isArray(val) && val[parentKey] ? val[parentKey].length : 0;
|
|
20769
|
+
}
|
|
20770
|
+
|
|
20771
|
+
var leaf = valuesParsed ? val : parseArrayValue(val, options, currentArrayLength);
|
|
20738
20772
|
|
|
20739
20773
|
for (var i = chain.length - 1; i >= 0; --i) {
|
|
20740
20774
|
var obj;
|
|
@@ -20743,9 +20777,9 @@ var parseObject = function (chain, val, options, valuesParsed) {
|
|
|
20743
20777
|
if (root === '[]' && options.parseArrays) {
|
|
20744
20778
|
obj = options.allowEmptyArrays && (leaf === '' || (options.strictNullHandling && leaf === null))
|
|
20745
20779
|
? []
|
|
20746
|
-
: []
|
|
20780
|
+
: utils.combine([], leaf);
|
|
20747
20781
|
} else {
|
|
20748
|
-
obj = options.plainObjects ?
|
|
20782
|
+
obj = options.plainObjects ? { __proto__: null } : {};
|
|
20749
20783
|
var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
|
|
20750
20784
|
var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;
|
|
20751
20785
|
var index = parseInt(decodedRoot, 10);
|
|
@@ -20848,6 +20882,11 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
20848
20882
|
if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
|
|
20849
20883
|
throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
|
|
20850
20884
|
}
|
|
20885
|
+
|
|
20886
|
+
if (typeof opts.throwOnLimitExceeded !== 'undefined' && typeof opts.throwOnLimitExceeded !== 'boolean') {
|
|
20887
|
+
throw new TypeError('`throwOnLimitExceeded` option must be a boolean');
|
|
20888
|
+
}
|
|
20889
|
+
|
|
20851
20890
|
var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
|
|
20852
20891
|
|
|
20853
20892
|
var duplicates = typeof opts.duplicates === 'undefined' ? defaults.duplicates : opts.duplicates;
|
|
@@ -20879,7 +20918,8 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
20879
20918
|
parseArrays: opts.parseArrays !== false,
|
|
20880
20919
|
plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
|
|
20881
20920
|
strictDepth: typeof opts.strictDepth === 'boolean' ? !!opts.strictDepth : defaults.strictDepth,
|
|
20882
|
-
strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
|
|
20921
|
+
strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling,
|
|
20922
|
+
throwOnLimitExceeded: typeof opts.throwOnLimitExceeded === 'boolean' ? opts.throwOnLimitExceeded : false
|
|
20883
20923
|
};
|
|
20884
20924
|
};
|
|
20885
20925
|
|
|
@@ -20887,11 +20927,11 @@ module.exports = function (str, opts) {
|
|
|
20887
20927
|
var options = normalizeParseOptions(opts);
|
|
20888
20928
|
|
|
20889
20929
|
if (str === '' || str === null || typeof str === 'undefined') {
|
|
20890
|
-
return options.plainObjects ?
|
|
20930
|
+
return options.plainObjects ? { __proto__: null } : {};
|
|
20891
20931
|
}
|
|
20892
20932
|
|
|
20893
20933
|
var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
|
|
20894
|
-
var obj = options.plainObjects ?
|
|
20934
|
+
var obj = options.plainObjects ? { __proto__: null } : {};
|
|
20895
20935
|
|
|
20896
20936
|
// Iterate over the keys and setup the new object
|
|
20897
20937
|
|
|
@@ -20955,11 +20995,13 @@ var defaults = {
|
|
|
20955
20995
|
arrayFormat: 'indices',
|
|
20956
20996
|
charset: 'utf-8',
|
|
20957
20997
|
charsetSentinel: false,
|
|
20998
|
+
commaRoundTrip: false,
|
|
20958
20999
|
delimiter: '&',
|
|
20959
21000
|
encode: true,
|
|
20960
21001
|
encodeDotInKeys: false,
|
|
20961
21002
|
encoder: utils.encode,
|
|
20962
21003
|
encodeValuesOnly: false,
|
|
21004
|
+
filter: void undefined,
|
|
20963
21005
|
format: defaultFormat,
|
|
20964
21006
|
formatter: formats.formatters[defaultFormat],
|
|
20965
21007
|
// deprecated
|
|
@@ -21071,7 +21113,7 @@ var stringify = function stringify(
|
|
|
21071
21113
|
objKeys = sort ? keys.sort(sort) : keys;
|
|
21072
21114
|
}
|
|
21073
21115
|
|
|
21074
|
-
var encodedPrefix = encodeDotInKeys ? prefix.replace(/\./g, '%2E') : prefix;
|
|
21116
|
+
var encodedPrefix = encodeDotInKeys ? String(prefix).replace(/\./g, '%2E') : String(prefix);
|
|
21075
21117
|
|
|
21076
21118
|
var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix;
|
|
21077
21119
|
|
|
@@ -21081,13 +21123,15 @@ var stringify = function stringify(
|
|
|
21081
21123
|
|
|
21082
21124
|
for (var j = 0; j < objKeys.length; ++j) {
|
|
21083
21125
|
var key = objKeys[j];
|
|
21084
|
-
var value = typeof key === 'object' && typeof key.value !== 'undefined'
|
|
21126
|
+
var value = typeof key === 'object' && key && typeof key.value !== 'undefined'
|
|
21127
|
+
? key.value
|
|
21128
|
+
: obj[key];
|
|
21085
21129
|
|
|
21086
21130
|
if (skipNulls && value === null) {
|
|
21087
21131
|
continue;
|
|
21088
21132
|
}
|
|
21089
21133
|
|
|
21090
|
-
var encodedKey = allowDots && encodeDotInKeys ? key.replace(/\./g, '%2E') : key;
|
|
21134
|
+
var encodedKey = allowDots && encodeDotInKeys ? String(key).replace(/\./g, '%2E') : String(key);
|
|
21091
21135
|
var keyPrefix = isArray(obj)
|
|
21092
21136
|
? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix
|
|
21093
21137
|
: adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']');
|
|
@@ -21178,7 +21222,7 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
|
|
21178
21222
|
arrayFormat: arrayFormat,
|
|
21179
21223
|
charset: charset,
|
|
21180
21224
|
charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
21181
|
-
commaRoundTrip: opts.commaRoundTrip,
|
|
21225
|
+
commaRoundTrip: !!opts.commaRoundTrip,
|
|
21182
21226
|
delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
|
|
21183
21227
|
encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
|
|
21184
21228
|
encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
|
|
@@ -21229,12 +21273,13 @@ module.exports = function (object, opts) {
|
|
|
21229
21273
|
var sideChannel = getSideChannel();
|
|
21230
21274
|
for (var i = 0; i < objKeys.length; ++i) {
|
|
21231
21275
|
var key = objKeys[i];
|
|
21276
|
+
var value = obj[key];
|
|
21232
21277
|
|
|
21233
|
-
if (options.skipNulls &&
|
|
21278
|
+
if (options.skipNulls && value === null) {
|
|
21234
21279
|
continue;
|
|
21235
21280
|
}
|
|
21236
21281
|
pushToArray(keys, stringify(
|
|
21237
|
-
|
|
21282
|
+
value,
|
|
21238
21283
|
key,
|
|
21239
21284
|
generateArrayPrefix,
|
|
21240
21285
|
commaRoundTrip,
|
|
@@ -21317,7 +21362,7 @@ var compactQueue = function compactQueue(queue) {
|
|
|
21317
21362
|
};
|
|
21318
21363
|
|
|
21319
21364
|
var arrayToObject = function arrayToObject(source, options) {
|
|
21320
|
-
var obj = options && options.plainObjects ?
|
|
21365
|
+
var obj = options && options.plainObjects ? { __proto__: null } : {};
|
|
21321
21366
|
for (var i = 0; i < source.length; ++i) {
|
|
21322
21367
|
if (typeof source[i] !== 'undefined') {
|
|
21323
21368
|
obj[i] = source[i];
|
|
@@ -21333,11 +21378,14 @@ var merge = function merge(target, source, options) {
|
|
|
21333
21378
|
return target;
|
|
21334
21379
|
}
|
|
21335
21380
|
|
|
21336
|
-
if (typeof source !== 'object') {
|
|
21381
|
+
if (typeof source !== 'object' && typeof source !== 'function') {
|
|
21337
21382
|
if (isArray(target)) {
|
|
21338
21383
|
target.push(source);
|
|
21339
21384
|
} else if (target && typeof target === 'object') {
|
|
21340
|
-
if (
|
|
21385
|
+
if (
|
|
21386
|
+
(options && (options.plainObjects || options.allowPrototypes))
|
|
21387
|
+
|| !has.call(Object.prototype, source)
|
|
21388
|
+
) {
|
|
21341
21389
|
target[source] = true;
|
|
21342
21390
|
}
|
|
21343
21391
|
} else {
|
|
@@ -21391,7 +21439,7 @@ var assign = function assignSingleSource(target, source) {
|
|
|
21391
21439
|
}, target);
|
|
21392
21440
|
};
|
|
21393
21441
|
|
|
21394
|
-
var decode = function (str,
|
|
21442
|
+
var decode = function (str, defaultDecoder, charset) {
|
|
21395
21443
|
var strWithoutPlus = str.replace(/\+/g, ' ');
|
|
21396
21444
|
if (charset === 'iso-8859-1') {
|
|
21397
21445
|
// unescape never throws, no try...catch needed:
|
|
@@ -21550,193 +21598,352 @@ module.exports = {
|
|
|
21550
21598
|
|
|
21551
21599
|
/***/ }),
|
|
21552
21600
|
|
|
21553
|
-
/***/ "../node_modules/
|
|
21554
|
-
|
|
21555
|
-
!*** ../node_modules/
|
|
21556
|
-
|
|
21557
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
21558
|
-
|
|
21559
|
-
"use strict";
|
|
21560
|
-
|
|
21561
|
-
|
|
21562
|
-
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
21563
|
-
var define = __webpack_require__(/*! define-data-property */ "../node_modules/define-data-property/index.js");
|
|
21564
|
-
var hasDescriptors = __webpack_require__(/*! has-property-descriptors */ "../node_modules/has-property-descriptors/index.js")();
|
|
21565
|
-
var gOPD = __webpack_require__(/*! gopd */ "../node_modules/gopd/index.js");
|
|
21566
|
-
|
|
21567
|
-
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
21568
|
-
var $floor = GetIntrinsic('%Math.floor%');
|
|
21569
|
-
|
|
21570
|
-
/** @type {import('.')} */
|
|
21571
|
-
module.exports = function setFunctionLength(fn, length) {
|
|
21572
|
-
if (typeof fn !== 'function') {
|
|
21573
|
-
throw new $TypeError('`fn` is not a function');
|
|
21574
|
-
}
|
|
21575
|
-
if (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {
|
|
21576
|
-
throw new $TypeError('`length` must be a positive 32-bit integer');
|
|
21577
|
-
}
|
|
21578
|
-
|
|
21579
|
-
var loose = arguments.length > 2 && !!arguments[2];
|
|
21580
|
-
|
|
21581
|
-
var functionLengthIsConfigurable = true;
|
|
21582
|
-
var functionLengthIsWritable = true;
|
|
21583
|
-
if ('length' in fn && gOPD) {
|
|
21584
|
-
var desc = gOPD(fn, 'length');
|
|
21585
|
-
if (desc && !desc.configurable) {
|
|
21586
|
-
functionLengthIsConfigurable = false;
|
|
21587
|
-
}
|
|
21588
|
-
if (desc && !desc.writable) {
|
|
21589
|
-
functionLengthIsWritable = false;
|
|
21590
|
-
}
|
|
21591
|
-
}
|
|
21592
|
-
|
|
21593
|
-
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
21594
|
-
if (hasDescriptors) {
|
|
21595
|
-
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
|
|
21596
|
-
} else {
|
|
21597
|
-
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
|
|
21598
|
-
}
|
|
21599
|
-
}
|
|
21600
|
-
return fn;
|
|
21601
|
-
};
|
|
21602
|
-
|
|
21603
|
-
|
|
21604
|
-
/***/ }),
|
|
21605
|
-
|
|
21606
|
-
/***/ "../node_modules/side-channel/index.js":
|
|
21607
|
-
/*!*********************************************!*\
|
|
21608
|
-
!*** ../node_modules/side-channel/index.js ***!
|
|
21609
|
-
\*********************************************/
|
|
21601
|
+
/***/ "../node_modules/side-channel-list/index.js":
|
|
21602
|
+
/*!**************************************************!*\
|
|
21603
|
+
!*** ../node_modules/side-channel-list/index.js ***!
|
|
21604
|
+
\**************************************************/
|
|
21610
21605
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
21611
21606
|
|
|
21612
21607
|
"use strict";
|
|
21613
21608
|
|
|
21614
21609
|
|
|
21615
|
-
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
21616
|
-
var callBound = __webpack_require__(/*! call-bind/callBound */ "../node_modules/call-bind/callBound.js");
|
|
21617
21610
|
var inspect = __webpack_require__(/*! object-inspect */ "../node_modules/object-inspect/index.js");
|
|
21618
21611
|
|
|
21619
21612
|
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
21620
|
-
var $WeakMap = GetIntrinsic('%WeakMap%', true);
|
|
21621
|
-
var $Map = GetIntrinsic('%Map%', true);
|
|
21622
|
-
|
|
21623
|
-
var $weakMapGet = callBound('WeakMap.prototype.get', true);
|
|
21624
|
-
var $weakMapSet = callBound('WeakMap.prototype.set', true);
|
|
21625
|
-
var $weakMapHas = callBound('WeakMap.prototype.has', true);
|
|
21626
|
-
var $mapGet = callBound('Map.prototype.get', true);
|
|
21627
|
-
var $mapSet = callBound('Map.prototype.set', true);
|
|
21628
|
-
var $mapHas = callBound('Map.prototype.has', true);
|
|
21629
21613
|
|
|
21630
21614
|
/*
|
|
21631
21615
|
* This function traverses the list returning the node corresponding to the given key.
|
|
21632
21616
|
*
|
|
21633
|
-
* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list.
|
|
21617
|
+
* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list.
|
|
21618
|
+
* By doing so, all the recently used nodes can be accessed relatively quickly.
|
|
21634
21619
|
*/
|
|
21635
|
-
/** @type {import('.').listGetNode} */
|
|
21636
|
-
|
|
21620
|
+
/** @type {import('./list.d.ts').listGetNode} */
|
|
21621
|
+
// eslint-disable-next-line consistent-return
|
|
21622
|
+
var listGetNode = function (list, key, isDelete) {
|
|
21637
21623
|
/** @type {typeof list | NonNullable<(typeof list)['next']>} */
|
|
21638
21624
|
var prev = list;
|
|
21639
21625
|
/** @type {(typeof list)['next']} */
|
|
21640
21626
|
var curr;
|
|
21641
|
-
|
|
21627
|
+
// eslint-disable-next-line eqeqeq
|
|
21628
|
+
for (; (curr = prev.next) != null; prev = curr) {
|
|
21642
21629
|
if (curr.key === key) {
|
|
21643
21630
|
prev.next = curr.next;
|
|
21644
|
-
|
|
21645
|
-
|
|
21646
|
-
|
|
21631
|
+
if (!isDelete) {
|
|
21632
|
+
// eslint-disable-next-line no-extra-parens
|
|
21633
|
+
curr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);
|
|
21634
|
+
list.next = curr; // eslint-disable-line no-param-reassign
|
|
21635
|
+
}
|
|
21647
21636
|
return curr;
|
|
21648
21637
|
}
|
|
21649
21638
|
}
|
|
21650
21639
|
};
|
|
21651
21640
|
|
|
21652
|
-
/** @type {import('.').listGet} */
|
|
21641
|
+
/** @type {import('./list.d.ts').listGet} */
|
|
21653
21642
|
var listGet = function (objects, key) {
|
|
21643
|
+
if (!objects) {
|
|
21644
|
+
return void undefined;
|
|
21645
|
+
}
|
|
21654
21646
|
var node = listGetNode(objects, key);
|
|
21655
21647
|
return node && node.value;
|
|
21656
21648
|
};
|
|
21657
|
-
/** @type {import('.').listSet} */
|
|
21649
|
+
/** @type {import('./list.d.ts').listSet} */
|
|
21658
21650
|
var listSet = function (objects, key, value) {
|
|
21659
21651
|
var node = listGetNode(objects, key);
|
|
21660
21652
|
if (node) {
|
|
21661
21653
|
node.value = value;
|
|
21662
21654
|
} else {
|
|
21663
21655
|
// Prepend the new node to the beginning of the list
|
|
21664
|
-
objects.next = /** @type {import('.').ListNode<typeof value>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens
|
|
21656
|
+
objects.next = /** @type {import('./list.d.ts').ListNode<typeof value, typeof key>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens
|
|
21665
21657
|
key: key,
|
|
21666
21658
|
next: objects.next,
|
|
21667
21659
|
value: value
|
|
21668
21660
|
});
|
|
21669
21661
|
}
|
|
21670
21662
|
};
|
|
21671
|
-
/** @type {import('.').listHas} */
|
|
21663
|
+
/** @type {import('./list.d.ts').listHas} */
|
|
21672
21664
|
var listHas = function (objects, key) {
|
|
21665
|
+
if (!objects) {
|
|
21666
|
+
return false;
|
|
21667
|
+
}
|
|
21673
21668
|
return !!listGetNode(objects, key);
|
|
21674
21669
|
};
|
|
21670
|
+
/** @type {import('./list.d.ts').listDelete} */
|
|
21671
|
+
// eslint-disable-next-line consistent-return
|
|
21672
|
+
var listDelete = function (objects, key) {
|
|
21673
|
+
if (objects) {
|
|
21674
|
+
return listGetNode(objects, key, true);
|
|
21675
|
+
}
|
|
21676
|
+
};
|
|
21675
21677
|
|
|
21676
21678
|
/** @type {import('.')} */
|
|
21677
|
-
module.exports = function
|
|
21678
|
-
/** @
|
|
21679
|
-
/** @
|
|
21680
|
-
/** @
|
|
21679
|
+
module.exports = function getSideChannelList() {
|
|
21680
|
+
/** @typedef {ReturnType<typeof getSideChannelList>} Channel */
|
|
21681
|
+
/** @typedef {Parameters<Channel['get']>[0]} K */
|
|
21682
|
+
/** @typedef {Parameters<Channel['set']>[1]} V */
|
|
21683
|
+
|
|
21684
|
+
/** @type {import('./list.d.ts').RootNode<V, K> | undefined} */ var $o;
|
|
21681
21685
|
|
|
21682
|
-
/** @type {
|
|
21686
|
+
/** @type {Channel} */
|
|
21683
21687
|
var channel = {
|
|
21684
21688
|
assert: function (key) {
|
|
21685
21689
|
if (!channel.has(key)) {
|
|
21686
21690
|
throw new $TypeError('Side channel does not contain ' + inspect(key));
|
|
21687
21691
|
}
|
|
21688
21692
|
},
|
|
21689
|
-
|
|
21690
|
-
|
|
21691
|
-
|
|
21692
|
-
|
|
21693
|
-
|
|
21694
|
-
} else if ($Map) {
|
|
21695
|
-
if ($m) {
|
|
21696
|
-
return $mapGet($m, key);
|
|
21697
|
-
}
|
|
21698
|
-
} else {
|
|
21699
|
-
if ($o) { // eslint-disable-line no-lonely-if
|
|
21700
|
-
return listGet($o, key);
|
|
21701
|
-
}
|
|
21693
|
+
'delete': function (key) {
|
|
21694
|
+
var root = $o && $o.next;
|
|
21695
|
+
var deletedNode = listDelete($o, key);
|
|
21696
|
+
if (deletedNode && root && root === deletedNode) {
|
|
21697
|
+
$o = void undefined;
|
|
21702
21698
|
}
|
|
21699
|
+
return !!deletedNode;
|
|
21700
|
+
},
|
|
21701
|
+
get: function (key) {
|
|
21702
|
+
return listGet($o, key);
|
|
21703
21703
|
},
|
|
21704
21704
|
has: function (key) {
|
|
21705
|
-
|
|
21706
|
-
|
|
21707
|
-
|
|
21708
|
-
|
|
21709
|
-
|
|
21710
|
-
|
|
21711
|
-
|
|
21712
|
-
}
|
|
21713
|
-
}
|
|
21714
|
-
|
|
21715
|
-
|
|
21705
|
+
return listHas($o, key);
|
|
21706
|
+
},
|
|
21707
|
+
set: function (key, value) {
|
|
21708
|
+
if (!$o) {
|
|
21709
|
+
// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head
|
|
21710
|
+
$o = {
|
|
21711
|
+
next: void undefined
|
|
21712
|
+
};
|
|
21713
|
+
}
|
|
21714
|
+
// eslint-disable-next-line no-extra-parens
|
|
21715
|
+
listSet(/** @type {NonNullable<typeof $o>} */ ($o), key, value);
|
|
21716
|
+
}
|
|
21717
|
+
};
|
|
21718
|
+
// @ts-expect-error TODO: figure out why this is erroring
|
|
21719
|
+
return channel;
|
|
21720
|
+
};
|
|
21721
|
+
|
|
21722
|
+
|
|
21723
|
+
/***/ }),
|
|
21724
|
+
|
|
21725
|
+
/***/ "../node_modules/side-channel-map/index.js":
|
|
21726
|
+
/*!*************************************************!*\
|
|
21727
|
+
!*** ../node_modules/side-channel-map/index.js ***!
|
|
21728
|
+
\*************************************************/
|
|
21729
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
21730
|
+
|
|
21731
|
+
"use strict";
|
|
21732
|
+
|
|
21733
|
+
|
|
21734
|
+
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
21735
|
+
var callBound = __webpack_require__(/*! call-bound */ "../node_modules/call-bound/index.js");
|
|
21736
|
+
var inspect = __webpack_require__(/*! object-inspect */ "../node_modules/object-inspect/index.js");
|
|
21737
|
+
|
|
21738
|
+
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
21739
|
+
var $Map = GetIntrinsic('%Map%', true);
|
|
21740
|
+
|
|
21741
|
+
/** @type {<K, V>(thisArg: Map<K, V>, key: K) => V} */
|
|
21742
|
+
var $mapGet = callBound('Map.prototype.get', true);
|
|
21743
|
+
/** @type {<K, V>(thisArg: Map<K, V>, key: K, value: V) => void} */
|
|
21744
|
+
var $mapSet = callBound('Map.prototype.set', true);
|
|
21745
|
+
/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */
|
|
21746
|
+
var $mapHas = callBound('Map.prototype.has', true);
|
|
21747
|
+
/** @type {<K, V>(thisArg: Map<K, V>, key: K) => boolean} */
|
|
21748
|
+
var $mapDelete = callBound('Map.prototype.delete', true);
|
|
21749
|
+
/** @type {<K, V>(thisArg: Map<K, V>) => number} */
|
|
21750
|
+
var $mapSize = callBound('Map.prototype.size', true);
|
|
21751
|
+
|
|
21752
|
+
/** @type {import('.')} */
|
|
21753
|
+
module.exports = !!$Map && /** @type {Exclude<import('.'), false>} */ function getSideChannelMap() {
|
|
21754
|
+
/** @typedef {ReturnType<typeof getSideChannelMap>} Channel */
|
|
21755
|
+
/** @typedef {Parameters<Channel['get']>[0]} K */
|
|
21756
|
+
/** @typedef {Parameters<Channel['set']>[1]} V */
|
|
21757
|
+
|
|
21758
|
+
/** @type {Map<K, V> | undefined} */ var $m;
|
|
21759
|
+
|
|
21760
|
+
/** @type {Channel} */
|
|
21761
|
+
var channel = {
|
|
21762
|
+
assert: function (key) {
|
|
21763
|
+
if (!channel.has(key)) {
|
|
21764
|
+
throw new $TypeError('Side channel does not contain ' + inspect(key));
|
|
21765
|
+
}
|
|
21766
|
+
},
|
|
21767
|
+
'delete': function (key) {
|
|
21768
|
+
if ($m) {
|
|
21769
|
+
var result = $mapDelete($m, key);
|
|
21770
|
+
if ($mapSize($m) === 0) {
|
|
21771
|
+
$m = void undefined;
|
|
21716
21772
|
}
|
|
21773
|
+
return result;
|
|
21774
|
+
}
|
|
21775
|
+
return false;
|
|
21776
|
+
},
|
|
21777
|
+
get: function (key) { // eslint-disable-line consistent-return
|
|
21778
|
+
if ($m) {
|
|
21779
|
+
return $mapGet($m, key);
|
|
21780
|
+
}
|
|
21781
|
+
},
|
|
21782
|
+
has: function (key) {
|
|
21783
|
+
if ($m) {
|
|
21784
|
+
return $mapHas($m, key);
|
|
21717
21785
|
}
|
|
21718
21786
|
return false;
|
|
21719
21787
|
},
|
|
21720
21788
|
set: function (key, value) {
|
|
21721
|
-
if (
|
|
21722
|
-
|
|
21723
|
-
|
|
21789
|
+
if (!$m) {
|
|
21790
|
+
// @ts-expect-error TS can't handle narrowing a variable inside a closure
|
|
21791
|
+
$m = new $Map();
|
|
21792
|
+
}
|
|
21793
|
+
$mapSet($m, key, value);
|
|
21794
|
+
}
|
|
21795
|
+
};
|
|
21796
|
+
|
|
21797
|
+
// @ts-expect-error TODO: figure out why TS is erroring here
|
|
21798
|
+
return channel;
|
|
21799
|
+
};
|
|
21800
|
+
|
|
21801
|
+
|
|
21802
|
+
/***/ }),
|
|
21803
|
+
|
|
21804
|
+
/***/ "../node_modules/side-channel-weakmap/index.js":
|
|
21805
|
+
/*!*****************************************************!*\
|
|
21806
|
+
!*** ../node_modules/side-channel-weakmap/index.js ***!
|
|
21807
|
+
\*****************************************************/
|
|
21808
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
21809
|
+
|
|
21810
|
+
"use strict";
|
|
21811
|
+
|
|
21812
|
+
|
|
21813
|
+
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../node_modules/get-intrinsic/index.js");
|
|
21814
|
+
var callBound = __webpack_require__(/*! call-bound */ "../node_modules/call-bound/index.js");
|
|
21815
|
+
var inspect = __webpack_require__(/*! object-inspect */ "../node_modules/object-inspect/index.js");
|
|
21816
|
+
var getSideChannelMap = __webpack_require__(/*! side-channel-map */ "../node_modules/side-channel-map/index.js");
|
|
21817
|
+
|
|
21818
|
+
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
21819
|
+
var $WeakMap = GetIntrinsic('%WeakMap%', true);
|
|
21820
|
+
|
|
21821
|
+
/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => V} */
|
|
21822
|
+
var $weakMapGet = callBound('WeakMap.prototype.get', true);
|
|
21823
|
+
/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K, value: V) => void} */
|
|
21824
|
+
var $weakMapSet = callBound('WeakMap.prototype.set', true);
|
|
21825
|
+
/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */
|
|
21826
|
+
var $weakMapHas = callBound('WeakMap.prototype.has', true);
|
|
21827
|
+
/** @type {<K extends object, V>(thisArg: WeakMap<K, V>, key: K) => boolean} */
|
|
21828
|
+
var $weakMapDelete = callBound('WeakMap.prototype.delete', true);
|
|
21829
|
+
|
|
21830
|
+
/** @type {import('.')} */
|
|
21831
|
+
module.exports = $WeakMap
|
|
21832
|
+
? /** @type {Exclude<import('.'), false>} */ function getSideChannelWeakMap() {
|
|
21833
|
+
/** @typedef {ReturnType<typeof getSideChannelWeakMap>} Channel */
|
|
21834
|
+
/** @typedef {Parameters<Channel['get']>[0]} K */
|
|
21835
|
+
/** @typedef {Parameters<Channel['set']>[1]} V */
|
|
21836
|
+
|
|
21837
|
+
/** @type {WeakMap<K & object, V> | undefined} */ var $wm;
|
|
21838
|
+
/** @type {Channel | undefined} */ var $m;
|
|
21839
|
+
|
|
21840
|
+
/** @type {Channel} */
|
|
21841
|
+
var channel = {
|
|
21842
|
+
assert: function (key) {
|
|
21843
|
+
if (!channel.has(key)) {
|
|
21844
|
+
throw new $TypeError('Side channel does not contain ' + inspect(key));
|
|
21724
21845
|
}
|
|
21725
|
-
|
|
21726
|
-
|
|
21727
|
-
if (
|
|
21728
|
-
|
|
21846
|
+
},
|
|
21847
|
+
'delete': function (key) {
|
|
21848
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
|
21849
|
+
if ($wm) {
|
|
21850
|
+
return $weakMapDelete($wm, key);
|
|
21851
|
+
}
|
|
21852
|
+
} else if (getSideChannelMap) {
|
|
21853
|
+
if ($m) {
|
|
21854
|
+
return $m['delete'](key);
|
|
21855
|
+
}
|
|
21729
21856
|
}
|
|
21730
|
-
|
|
21731
|
-
}
|
|
21732
|
-
|
|
21733
|
-
|
|
21734
|
-
$
|
|
21857
|
+
return false;
|
|
21858
|
+
},
|
|
21859
|
+
get: function (key) {
|
|
21860
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
|
21861
|
+
if ($wm) {
|
|
21862
|
+
return $weakMapGet($wm, key);
|
|
21863
|
+
}
|
|
21864
|
+
}
|
|
21865
|
+
return $m && $m.get(key);
|
|
21866
|
+
},
|
|
21867
|
+
has: function (key) {
|
|
21868
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
|
21869
|
+
if ($wm) {
|
|
21870
|
+
return $weakMapHas($wm, key);
|
|
21871
|
+
}
|
|
21872
|
+
}
|
|
21873
|
+
return !!$m && $m.has(key);
|
|
21874
|
+
},
|
|
21875
|
+
set: function (key, value) {
|
|
21876
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
|
21877
|
+
if (!$wm) {
|
|
21878
|
+
$wm = new $WeakMap();
|
|
21879
|
+
}
|
|
21880
|
+
$weakMapSet($wm, key, value);
|
|
21881
|
+
} else if (getSideChannelMap) {
|
|
21882
|
+
if (!$m) {
|
|
21883
|
+
$m = getSideChannelMap();
|
|
21884
|
+
}
|
|
21885
|
+
// eslint-disable-next-line no-extra-parens
|
|
21886
|
+
/** @type {NonNullable<typeof $m>} */ ($m).set(key, value);
|
|
21735
21887
|
}
|
|
21736
|
-
listSet($o, key, value);
|
|
21737
21888
|
}
|
|
21889
|
+
};
|
|
21890
|
+
|
|
21891
|
+
// @ts-expect-error TODO: figure out why this is erroring
|
|
21892
|
+
return channel;
|
|
21893
|
+
}
|
|
21894
|
+
: getSideChannelMap;
|
|
21895
|
+
|
|
21896
|
+
|
|
21897
|
+
/***/ }),
|
|
21898
|
+
|
|
21899
|
+
/***/ "../node_modules/side-channel/index.js":
|
|
21900
|
+
/*!*********************************************!*\
|
|
21901
|
+
!*** ../node_modules/side-channel/index.js ***!
|
|
21902
|
+
\*********************************************/
|
|
21903
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
21904
|
+
|
|
21905
|
+
"use strict";
|
|
21906
|
+
|
|
21907
|
+
|
|
21908
|
+
var $TypeError = __webpack_require__(/*! es-errors/type */ "../node_modules/es-errors/type.js");
|
|
21909
|
+
var inspect = __webpack_require__(/*! object-inspect */ "../node_modules/object-inspect/index.js");
|
|
21910
|
+
var getSideChannelList = __webpack_require__(/*! side-channel-list */ "../node_modules/side-channel-list/index.js");
|
|
21911
|
+
var getSideChannelMap = __webpack_require__(/*! side-channel-map */ "../node_modules/side-channel-map/index.js");
|
|
21912
|
+
var getSideChannelWeakMap = __webpack_require__(/*! side-channel-weakmap */ "../node_modules/side-channel-weakmap/index.js");
|
|
21913
|
+
|
|
21914
|
+
var makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList;
|
|
21915
|
+
|
|
21916
|
+
/** @type {import('.')} */
|
|
21917
|
+
module.exports = function getSideChannel() {
|
|
21918
|
+
/** @typedef {ReturnType<typeof getSideChannel>} Channel */
|
|
21919
|
+
|
|
21920
|
+
/** @type {Channel | undefined} */ var $channelData;
|
|
21921
|
+
|
|
21922
|
+
/** @type {Channel} */
|
|
21923
|
+
var channel = {
|
|
21924
|
+
assert: function (key) {
|
|
21925
|
+
if (!channel.has(key)) {
|
|
21926
|
+
throw new $TypeError('Side channel does not contain ' + inspect(key));
|
|
21927
|
+
}
|
|
21928
|
+
},
|
|
21929
|
+
'delete': function (key) {
|
|
21930
|
+
return !!$channelData && $channelData['delete'](key);
|
|
21931
|
+
},
|
|
21932
|
+
get: function (key) {
|
|
21933
|
+
return $channelData && $channelData.get(key);
|
|
21934
|
+
},
|
|
21935
|
+
has: function (key) {
|
|
21936
|
+
return !!$channelData && $channelData.has(key);
|
|
21937
|
+
},
|
|
21938
|
+
set: function (key, value) {
|
|
21939
|
+
if (!$channelData) {
|
|
21940
|
+
$channelData = makeChannel();
|
|
21941
|
+
}
|
|
21942
|
+
|
|
21943
|
+
$channelData.set(key, value);
|
|
21738
21944
|
}
|
|
21739
21945
|
};
|
|
21946
|
+
// @ts-expect-error TODO: figure out why this is erroring
|
|
21740
21947
|
return channel;
|
|
21741
21948
|
};
|
|
21742
21949
|
|
|
@@ -27832,7 +28039,7 @@ function createClient(params) {
|
|
|
27832
28039
|
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
27833
28040
|
var sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
27834
28041
|
var userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(// @ts-expect-error
|
|
27835
|
-
"".concat(sdkMain, "/").concat("11.43.
|
|
28042
|
+
"".concat(sdkMain, "/").concat("11.43.1"), params.application, params.integration, params.feature);
|
|
27836
28043
|
var adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
|
|
27837
28044
|
userAgent: userAgent
|
|
27838
28045
|
}));
|