houdini-svelte 1.1.4-react.0 → 1.1.5
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/build/plugin-cjs/index.js +577 -565
- package/build/plugin-esm/index.js +577 -565
- package/build/preprocess-cjs/index.js +583 -582
- package/build/preprocess-esm/index.js +583 -582
- package/build/runtime/stores/index.d.ts +1 -1
- package/build/runtime/stores/pagination/cursor.d.ts +13 -0
- package/build/runtime/stores/pagination/fetch.d.ts +3 -0
- package/build/runtime/stores/pagination/fragment.d.ts +7 -4
- package/build/runtime/stores/pagination/offset.d.ts +20 -0
- package/build/runtime/stores/pagination/pageInfo.d.ts +13 -0
- package/build/runtime/stores/pagination/query.d.ts +4 -3
- package/build/runtime/stores/query.d.ts +54 -2
- package/build/runtime/types.d.ts +28 -40
- package/build/runtime-cjs/stores/index.d.ts +1 -1
- package/build/runtime-cjs/stores/pagination/cursor.d.ts +13 -0
- package/build/runtime-cjs/stores/pagination/cursor.js +191 -0
- package/build/runtime-cjs/stores/pagination/fetch.d.ts +3 -0
- package/build/runtime-cjs/stores/pagination/fetch.js +16 -0
- package/build/runtime-cjs/stores/pagination/fragment.d.ts +7 -4
- package/build/runtime-cjs/stores/pagination/fragment.js +9 -6
- package/build/runtime-cjs/stores/pagination/offset.d.ts +20 -0
- package/build/runtime-cjs/stores/pagination/offset.js +89 -0
- package/build/runtime-cjs/stores/pagination/pageInfo.d.ts +13 -0
- package/build/runtime-cjs/stores/pagination/pageInfo.js +79 -0
- package/build/runtime-cjs/stores/pagination/query.d.ts +4 -3
- package/build/runtime-cjs/stores/pagination/query.js +9 -10
- package/build/runtime-cjs/stores/query.d.ts +54 -2
- package/build/runtime-cjs/types.d.ts +28 -40
- package/build/runtime-esm/stores/index.d.ts +1 -1
- package/build/runtime-esm/stores/pagination/cursor.d.ts +13 -0
- package/build/runtime-esm/stores/pagination/cursor.js +167 -0
- package/build/runtime-esm/stores/pagination/fetch.d.ts +3 -0
- package/build/runtime-esm/stores/pagination/fetch.js +0 -0
- package/build/runtime-esm/stores/pagination/fragment.d.ts +7 -4
- package/build/runtime-esm/stores/pagination/fragment.js +7 -4
- package/build/runtime-esm/stores/pagination/offset.d.ts +20 -0
- package/build/runtime-esm/stores/pagination/offset.js +65 -0
- package/build/runtime-esm/stores/pagination/pageInfo.d.ts +13 -0
- package/build/runtime-esm/stores/pagination/pageInfo.js +52 -0
- package/build/runtime-esm/stores/pagination/query.d.ts +4 -3
- package/build/runtime-esm/stores/pagination/query.js +4 -5
- package/build/runtime-esm/stores/query.d.ts +54 -2
- package/build/runtime-esm/types.d.ts +28 -40
- package/build/test-cjs/index.js +1401 -1207
- package/build/test-esm/index.js +1401 -1207
- package/package.json +2 -2
|
@@ -226,16 +226,16 @@ var require_GraphQLError2 = __commonJS({
|
|
|
226
226
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
227
227
|
}
|
|
228
228
|
function ownKeys(object, enumerableOnly) {
|
|
229
|
-
var
|
|
229
|
+
var keys3 = Object.keys(object);
|
|
230
230
|
if (Object.getOwnPropertySymbols) {
|
|
231
231
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
232
232
|
if (enumerableOnly)
|
|
233
233
|
symbols = symbols.filter(function(sym) {
|
|
234
234
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
235
235
|
});
|
|
236
|
-
|
|
236
|
+
keys3.push.apply(keys3, symbols);
|
|
237
237
|
}
|
|
238
|
-
return
|
|
238
|
+
return keys3;
|
|
239
239
|
}
|
|
240
240
|
function _objectSpread(target) {
|
|
241
241
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -472,7 +472,7 @@ var require_GraphQLError2 = __commonJS({
|
|
|
472
472
|
}
|
|
473
473
|
_createClass(GraphQLError2, [{
|
|
474
474
|
key: "toString",
|
|
475
|
-
value: function
|
|
475
|
+
value: function toString3() {
|
|
476
476
|
return printError(this);
|
|
477
477
|
}
|
|
478
478
|
}, {
|
|
@@ -794,14 +794,14 @@ var require_inspect2 = __commonJS({
|
|
|
794
794
|
return formatObject(value2, seenValues);
|
|
795
795
|
}
|
|
796
796
|
function formatObject(object, seenValues) {
|
|
797
|
-
var
|
|
798
|
-
if (
|
|
797
|
+
var keys3 = Object.keys(object);
|
|
798
|
+
if (keys3.length === 0) {
|
|
799
799
|
return "{}";
|
|
800
800
|
}
|
|
801
801
|
if (seenValues.length > MAX_RECURSIVE_DEPTH) {
|
|
802
802
|
return "[" + getObjectTag(object) + "]";
|
|
803
803
|
}
|
|
804
|
-
var properties =
|
|
804
|
+
var properties = keys3.map(function(key) {
|
|
805
805
|
var value2 = formatValue(object[key], seenValues);
|
|
806
806
|
return key + ": " + value2;
|
|
807
807
|
});
|
|
@@ -2466,7 +2466,7 @@ var require_visitor2 = __commonJS({
|
|
|
2466
2466
|
var visitorKeys = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : QueryDocumentKeys;
|
|
2467
2467
|
var stack = void 0;
|
|
2468
2468
|
var inArray = Array.isArray(root);
|
|
2469
|
-
var
|
|
2469
|
+
var keys3 = [root];
|
|
2470
2470
|
var index = -1;
|
|
2471
2471
|
var edits = [];
|
|
2472
2472
|
var node2 = void 0;
|
|
@@ -2477,7 +2477,7 @@ var require_visitor2 = __commonJS({
|
|
|
2477
2477
|
var newRoot = root;
|
|
2478
2478
|
do {
|
|
2479
2479
|
index++;
|
|
2480
|
-
var isLeaving = index ===
|
|
2480
|
+
var isLeaving = index === keys3.length;
|
|
2481
2481
|
var isEdited = isLeaving && edits.length !== 0;
|
|
2482
2482
|
if (isLeaving) {
|
|
2483
2483
|
key = ancestors.length === 0 ? void 0 : path3[path3.length - 1];
|
|
@@ -2510,12 +2510,12 @@ var require_visitor2 = __commonJS({
|
|
|
2510
2510
|
}
|
|
2511
2511
|
}
|
|
2512
2512
|
index = stack.index;
|
|
2513
|
-
|
|
2513
|
+
keys3 = stack.keys;
|
|
2514
2514
|
edits = stack.edits;
|
|
2515
2515
|
inArray = stack.inArray;
|
|
2516
2516
|
stack = stack.prev;
|
|
2517
2517
|
} else {
|
|
2518
|
-
key = parent ? inArray ? index :
|
|
2518
|
+
key = parent ? inArray ? index : keys3[index] : void 0;
|
|
2519
2519
|
node2 = parent ? parent[key] : newRoot;
|
|
2520
2520
|
if (node2 === null || node2 === void 0) {
|
|
2521
2521
|
continue;
|
|
@@ -2563,12 +2563,12 @@ var require_visitor2 = __commonJS({
|
|
|
2563
2563
|
stack = {
|
|
2564
2564
|
inArray,
|
|
2565
2565
|
index,
|
|
2566
|
-
keys:
|
|
2566
|
+
keys: keys3,
|
|
2567
2567
|
edits,
|
|
2568
2568
|
prev: stack
|
|
2569
2569
|
};
|
|
2570
2570
|
inArray = Array.isArray(node2);
|
|
2571
|
-
|
|
2571
|
+
keys3 = inArray ? node2 : (_visitorKeys$node$kin = visitorKeys[node2.kind]) !== null && _visitorKeys$node$kin !== void 0 ? _visitorKeys$node$kin : [];
|
|
2572
2572
|
index = -1;
|
|
2573
2573
|
edits = [];
|
|
2574
2574
|
if (parent) {
|
|
@@ -3551,7 +3551,7 @@ var require_definition2 = __commonJS({
|
|
|
3551
3551
|
return new GraphQLList(ofType);
|
|
3552
3552
|
}
|
|
3553
3553
|
}
|
|
3554
|
-
GraphQLList.prototype.toString = function
|
|
3554
|
+
GraphQLList.prototype.toString = function toString3() {
|
|
3555
3555
|
return "[" + String(this.ofType) + "]";
|
|
3556
3556
|
};
|
|
3557
3557
|
GraphQLList.prototype.toJSON = function toJSON() {
|
|
@@ -3570,7 +3570,7 @@ var require_definition2 = __commonJS({
|
|
|
3570
3570
|
return new GraphQLNonNull(ofType);
|
|
3571
3571
|
}
|
|
3572
3572
|
}
|
|
3573
|
-
GraphQLNonNull.prototype.toString = function
|
|
3573
|
+
GraphQLNonNull.prototype.toString = function toString3() {
|
|
3574
3574
|
return String(this.ofType) + "!";
|
|
3575
3575
|
};
|
|
3576
3576
|
GraphQLNonNull.prototype.toJSON = function toJSON() {
|
|
@@ -3666,7 +3666,7 @@ var require_definition2 = __commonJS({
|
|
|
3666
3666
|
extensionASTNodes: (_this$extensionASTNod = this.extensionASTNodes) !== null && _this$extensionASTNod !== void 0 ? _this$extensionASTNod : []
|
|
3667
3667
|
};
|
|
3668
3668
|
};
|
|
3669
|
-
_proto.toString = function
|
|
3669
|
+
_proto.toString = function toString3() {
|
|
3670
3670
|
return this.name;
|
|
3671
3671
|
};
|
|
3672
3672
|
_proto.toJSON = function toJSON() {
|
|
@@ -3720,7 +3720,7 @@ var require_definition2 = __commonJS({
|
|
|
3720
3720
|
extensionASTNodes: this.extensionASTNodes || []
|
|
3721
3721
|
};
|
|
3722
3722
|
};
|
|
3723
|
-
_proto2.toString = function
|
|
3723
|
+
_proto2.toString = function toString3() {
|
|
3724
3724
|
return this.name;
|
|
3725
3725
|
};
|
|
3726
3726
|
_proto2.toJSON = function toJSON() {
|
|
@@ -3851,7 +3851,7 @@ var require_definition2 = __commonJS({
|
|
|
3851
3851
|
extensionASTNodes: (_this$extensionASTNod2 = this.extensionASTNodes) !== null && _this$extensionASTNod2 !== void 0 ? _this$extensionASTNod2 : []
|
|
3852
3852
|
};
|
|
3853
3853
|
};
|
|
3854
|
-
_proto3.toString = function
|
|
3854
|
+
_proto3.toString = function toString3() {
|
|
3855
3855
|
return this.name;
|
|
3856
3856
|
};
|
|
3857
3857
|
_proto3.toJSON = function toJSON() {
|
|
@@ -3898,7 +3898,7 @@ var require_definition2 = __commonJS({
|
|
|
3898
3898
|
extensionASTNodes: (_this$extensionASTNod3 = this.extensionASTNodes) !== null && _this$extensionASTNod3 !== void 0 ? _this$extensionASTNod3 : []
|
|
3899
3899
|
};
|
|
3900
3900
|
};
|
|
3901
|
-
_proto4.toString = function
|
|
3901
|
+
_proto4.toString = function toString3() {
|
|
3902
3902
|
return this.name;
|
|
3903
3903
|
};
|
|
3904
3904
|
_proto4.toJSON = function toJSON() {
|
|
@@ -3994,7 +3994,7 @@ var require_definition2 = __commonJS({
|
|
|
3994
3994
|
extensionASTNodes: (_this$extensionASTNod4 = this.extensionASTNodes) !== null && _this$extensionASTNod4 !== void 0 ? _this$extensionASTNod4 : []
|
|
3995
3995
|
};
|
|
3996
3996
|
};
|
|
3997
|
-
_proto5.toString = function
|
|
3997
|
+
_proto5.toString = function toString3() {
|
|
3998
3998
|
return this.name;
|
|
3999
3999
|
};
|
|
4000
4000
|
_proto5.toJSON = function toJSON() {
|
|
@@ -4072,7 +4072,7 @@ var require_definition2 = __commonJS({
|
|
|
4072
4072
|
extensionASTNodes: (_this$extensionASTNod5 = this.extensionASTNodes) !== null && _this$extensionASTNod5 !== void 0 ? _this$extensionASTNod5 : []
|
|
4073
4073
|
};
|
|
4074
4074
|
};
|
|
4075
|
-
_proto6.toString = function
|
|
4075
|
+
_proto6.toString = function toString3() {
|
|
4076
4076
|
return this.name;
|
|
4077
4077
|
};
|
|
4078
4078
|
_proto6.toJSON = function toJSON() {
|
|
@@ -5326,7 +5326,7 @@ var require_directives2 = __commonJS({
|
|
|
5326
5326
|
astNode: this.astNode
|
|
5327
5327
|
};
|
|
5328
5328
|
};
|
|
5329
|
-
_proto.toString = function
|
|
5329
|
+
_proto.toString = function toString3() {
|
|
5330
5330
|
return "@" + this.name;
|
|
5331
5331
|
};
|
|
5332
5332
|
_proto.toJSON = function toJSON() {
|
|
@@ -7263,16 +7263,16 @@ var require_KnownArgumentNamesRule2 = __commonJS({
|
|
|
7263
7263
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
7264
7264
|
}
|
|
7265
7265
|
function ownKeys(object, enumerableOnly) {
|
|
7266
|
-
var
|
|
7266
|
+
var keys3 = Object.keys(object);
|
|
7267
7267
|
if (Object.getOwnPropertySymbols) {
|
|
7268
7268
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
7269
7269
|
if (enumerableOnly)
|
|
7270
7270
|
symbols = symbols.filter(function(sym) {
|
|
7271
7271
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
7272
7272
|
});
|
|
7273
|
-
|
|
7273
|
+
keys3.push.apply(keys3, symbols);
|
|
7274
7274
|
}
|
|
7275
|
-
return
|
|
7275
|
+
return keys3;
|
|
7276
7276
|
}
|
|
7277
7277
|
function _objectSpread(target) {
|
|
7278
7278
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -7519,16 +7519,16 @@ var require_ProvidedRequiredArgumentsRule2 = __commonJS({
|
|
|
7519
7519
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
7520
7520
|
}
|
|
7521
7521
|
function ownKeys(object, enumerableOnly) {
|
|
7522
|
-
var
|
|
7522
|
+
var keys3 = Object.keys(object);
|
|
7523
7523
|
if (Object.getOwnPropertySymbols) {
|
|
7524
7524
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
7525
7525
|
if (enumerableOnly)
|
|
7526
7526
|
symbols = symbols.filter(function(sym) {
|
|
7527
7527
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
7528
7528
|
});
|
|
7529
|
-
|
|
7529
|
+
keys3.push.apply(keys3, symbols);
|
|
7530
7530
|
}
|
|
7531
|
-
return
|
|
7531
|
+
return keys3;
|
|
7532
7532
|
}
|
|
7533
7533
|
function _objectSpread(target) {
|
|
7534
7534
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -8786,13 +8786,13 @@ var require_promiseForObject2 = __commonJS({
|
|
|
8786
8786
|
});
|
|
8787
8787
|
exports.default = promiseForObject;
|
|
8788
8788
|
function promiseForObject(object) {
|
|
8789
|
-
var
|
|
8790
|
-
var valuesAndPromises =
|
|
8789
|
+
var keys3 = Object.keys(object);
|
|
8790
|
+
var valuesAndPromises = keys3.map(function(name) {
|
|
8791
8791
|
return object[name];
|
|
8792
8792
|
});
|
|
8793
8793
|
return Promise.all(valuesAndPromises).then(function(values) {
|
|
8794
8794
|
return values.reduce(function(resolvedObject, value2, i3) {
|
|
8795
|
-
resolvedObject[
|
|
8795
|
+
resolvedObject[keys3[i3]] = value2;
|
|
8796
8796
|
return resolvedObject;
|
|
8797
8797
|
}, /* @__PURE__ */ Object.create(null));
|
|
8798
8798
|
});
|
|
@@ -11244,16 +11244,16 @@ var require_getIntrospectionQuery2 = __commonJS({
|
|
|
11244
11244
|
});
|
|
11245
11245
|
exports.getIntrospectionQuery = getIntrospectionQuery;
|
|
11246
11246
|
function ownKeys(object, enumerableOnly) {
|
|
11247
|
-
var
|
|
11247
|
+
var keys3 = Object.keys(object);
|
|
11248
11248
|
if (Object.getOwnPropertySymbols) {
|
|
11249
11249
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
11250
11250
|
if (enumerableOnly)
|
|
11251
11251
|
symbols = symbols.filter(function(sym) {
|
|
11252
11252
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
11253
11253
|
});
|
|
11254
|
-
|
|
11254
|
+
keys3.push.apply(keys3, symbols);
|
|
11255
11255
|
}
|
|
11256
|
-
return
|
|
11256
|
+
return keys3;
|
|
11257
11257
|
}
|
|
11258
11258
|
function _objectSpread(target) {
|
|
11259
11259
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -11346,16 +11346,16 @@ var require_introspectionFromSchema2 = __commonJS({
|
|
|
11346
11346
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
11347
11347
|
}
|
|
11348
11348
|
function ownKeys(object, enumerableOnly) {
|
|
11349
|
-
var
|
|
11349
|
+
var keys3 = Object.keys(object);
|
|
11350
11350
|
if (Object.getOwnPropertySymbols) {
|
|
11351
11351
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
11352
11352
|
if (enumerableOnly)
|
|
11353
11353
|
symbols = symbols.filter(function(sym) {
|
|
11354
11354
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
11355
11355
|
});
|
|
11356
|
-
|
|
11356
|
+
keys3.push.apply(keys3, symbols);
|
|
11357
11357
|
}
|
|
11358
|
-
return
|
|
11358
|
+
return keys3;
|
|
11359
11359
|
}
|
|
11360
11360
|
function _objectSpread(target) {
|
|
11361
11361
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -11687,16 +11687,16 @@ var require_extendSchema2 = __commonJS({
|
|
|
11687
11687
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
11688
11688
|
}
|
|
11689
11689
|
function ownKeys(object, enumerableOnly) {
|
|
11690
|
-
var
|
|
11690
|
+
var keys3 = Object.keys(object);
|
|
11691
11691
|
if (Object.getOwnPropertySymbols) {
|
|
11692
11692
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
11693
11693
|
if (enumerableOnly)
|
|
11694
11694
|
symbols = symbols.filter(function(sym) {
|
|
11695
11695
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
11696
11696
|
});
|
|
11697
|
-
|
|
11697
|
+
keys3.push.apply(keys3, symbols);
|
|
11698
11698
|
}
|
|
11699
|
-
return
|
|
11699
|
+
return keys3;
|
|
11700
11700
|
}
|
|
11701
11701
|
function _objectSpread(target) {
|
|
11702
11702
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -12287,16 +12287,16 @@ var require_lexicographicSortSchema2 = __commonJS({
|
|
|
12287
12287
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
12288
12288
|
}
|
|
12289
12289
|
function ownKeys(object, enumerableOnly) {
|
|
12290
|
-
var
|
|
12290
|
+
var keys3 = Object.keys(object);
|
|
12291
12291
|
if (Object.getOwnPropertySymbols) {
|
|
12292
12292
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
12293
12293
|
if (enumerableOnly)
|
|
12294
12294
|
symbols = symbols.filter(function(sym) {
|
|
12295
12295
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
12296
12296
|
});
|
|
12297
|
-
|
|
12297
|
+
keys3.push.apply(keys3, symbols);
|
|
12298
12298
|
}
|
|
12299
|
-
return
|
|
12299
|
+
return keys3;
|
|
12300
12300
|
}
|
|
12301
12301
|
function _objectSpread(target) {
|
|
12302
12302
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -12837,16 +12837,16 @@ var require_findBreakingChanges2 = __commonJS({
|
|
|
12837
12837
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
12838
12838
|
}
|
|
12839
12839
|
function ownKeys(object, enumerableOnly) {
|
|
12840
|
-
var
|
|
12840
|
+
var keys3 = Object.keys(object);
|
|
12841
12841
|
if (Object.getOwnPropertySymbols) {
|
|
12842
12842
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
12843
12843
|
if (enumerableOnly)
|
|
12844
12844
|
symbols = symbols.filter(function(sym) {
|
|
12845
12845
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
12846
12846
|
});
|
|
12847
|
-
|
|
12847
|
+
keys3.push.apply(keys3, symbols);
|
|
12848
12848
|
}
|
|
12849
|
-
return
|
|
12849
|
+
return keys3;
|
|
12850
12850
|
}
|
|
12851
12851
|
function _objectSpread(target) {
|
|
12852
12852
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -20368,10 +20368,10 @@ var require_util5 = __commonJS({
|
|
|
20368
20368
|
var result = {};
|
|
20369
20369
|
var argc = args.length;
|
|
20370
20370
|
for (var i3 = 0; i3 < argc; ++i3) {
|
|
20371
|
-
var
|
|
20372
|
-
var keyCount =
|
|
20371
|
+
var keys3 = Object.keys(args[i3]);
|
|
20372
|
+
var keyCount = keys3.length;
|
|
20373
20373
|
for (var j = 0; j < keyCount; ++j) {
|
|
20374
|
-
result[
|
|
20374
|
+
result[keys3[j]] = true;
|
|
20375
20375
|
}
|
|
20376
20376
|
}
|
|
20377
20377
|
return result;
|
|
@@ -28031,10 +28031,10 @@ var require_parser5 = __commonJS({
|
|
|
28031
28031
|
loc.indent = newIndent;
|
|
28032
28032
|
this.findTokenRange(loc);
|
|
28033
28033
|
}
|
|
28034
|
-
var
|
|
28035
|
-
var keyCount =
|
|
28034
|
+
var keys3 = Object.keys(node2);
|
|
28035
|
+
var keyCount = keys3.length;
|
|
28036
28036
|
for (var i3 = 0; i3 < keyCount; ++i3) {
|
|
28037
|
-
var key =
|
|
28037
|
+
var key = keys3[i3];
|
|
28038
28038
|
if (key === "loc") {
|
|
28039
28039
|
copy[key] = node2[key];
|
|
28040
28040
|
} else if (key === "tokens" && node2.type === "File") {
|
|
@@ -28793,13 +28793,13 @@ var require_patcher3 = __commonJS({
|
|
|
28793
28793
|
if (newPath.needsParens() && !oldPath.hasParens()) {
|
|
28794
28794
|
return false;
|
|
28795
28795
|
}
|
|
28796
|
-
var
|
|
28796
|
+
var keys3 = (0, util_110.getUnionOfKeys)(oldNode, newNode);
|
|
28797
28797
|
if (oldNode.type === "File" || newNode.type === "File") {
|
|
28798
|
-
delete
|
|
28798
|
+
delete keys3.tokens;
|
|
28799
28799
|
}
|
|
28800
|
-
delete
|
|
28800
|
+
delete keys3.loc;
|
|
28801
28801
|
var originalReprintCount = reprints.length;
|
|
28802
|
-
for (var k in
|
|
28802
|
+
for (var k in keys3) {
|
|
28803
28803
|
if (k.charAt(0) === "_") {
|
|
28804
28804
|
continue;
|
|
28805
28805
|
}
|
|
@@ -31278,16 +31278,16 @@ var require_GraphQLError = __commonJS2({
|
|
|
31278
31278
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
31279
31279
|
}
|
|
31280
31280
|
function ownKeys(object, enumerableOnly) {
|
|
31281
|
-
var
|
|
31281
|
+
var keys3 = Object.keys(object);
|
|
31282
31282
|
if (Object.getOwnPropertySymbols) {
|
|
31283
31283
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
31284
31284
|
if (enumerableOnly)
|
|
31285
31285
|
symbols = symbols.filter(function(sym) {
|
|
31286
31286
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
31287
31287
|
});
|
|
31288
|
-
|
|
31288
|
+
keys3.push.apply(keys3, symbols);
|
|
31289
31289
|
}
|
|
31290
|
-
return
|
|
31290
|
+
return keys3;
|
|
31291
31291
|
}
|
|
31292
31292
|
function _objectSpread(target) {
|
|
31293
31293
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -31524,7 +31524,7 @@ var require_GraphQLError = __commonJS2({
|
|
|
31524
31524
|
}
|
|
31525
31525
|
_createClass(GraphQLError3, [{
|
|
31526
31526
|
key: "toString",
|
|
31527
|
-
value: function
|
|
31527
|
+
value: function toString3() {
|
|
31528
31528
|
return printError(this);
|
|
31529
31529
|
}
|
|
31530
31530
|
}, {
|
|
@@ -31830,14 +31830,14 @@ var require_inspect = __commonJS2({
|
|
|
31830
31830
|
return formatObject2(value2, seenValues);
|
|
31831
31831
|
}
|
|
31832
31832
|
function formatObject2(object, seenValues) {
|
|
31833
|
-
var
|
|
31834
|
-
if (
|
|
31833
|
+
var keys3 = Object.keys(object);
|
|
31834
|
+
if (keys3.length === 0) {
|
|
31835
31835
|
return "{}";
|
|
31836
31836
|
}
|
|
31837
31837
|
if (seenValues.length > MAX_RECURSIVE_DEPTH2) {
|
|
31838
31838
|
return "[" + getObjectTag2(object) + "]";
|
|
31839
31839
|
}
|
|
31840
|
-
var properties =
|
|
31840
|
+
var properties = keys3.map(function(key) {
|
|
31841
31841
|
var value2 = formatValue2(object[key], seenValues);
|
|
31842
31842
|
return key + ": " + value2;
|
|
31843
31843
|
});
|
|
@@ -33419,7 +33419,7 @@ var require_visitor = __commonJS2({
|
|
|
33419
33419
|
Object.defineProperty(exports, "__esModule", {
|
|
33420
33420
|
value: true
|
|
33421
33421
|
});
|
|
33422
|
-
exports.visit =
|
|
33422
|
+
exports.visit = visit2;
|
|
33423
33423
|
exports.visitInParallel = visitInParallel;
|
|
33424
33424
|
exports.getVisitFn = getVisitFn;
|
|
33425
33425
|
exports.BREAK = exports.QueryDocumentKeys = void 0;
|
|
@@ -33482,11 +33482,11 @@ var require_visitor = __commonJS2({
|
|
|
33482
33482
|
exports.QueryDocumentKeys = QueryDocumentKeys;
|
|
33483
33483
|
var BREAK = Object.freeze({});
|
|
33484
33484
|
exports.BREAK = BREAK;
|
|
33485
|
-
function
|
|
33485
|
+
function visit2(root, visitor) {
|
|
33486
33486
|
var visitorKeys = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : QueryDocumentKeys;
|
|
33487
33487
|
var stack = void 0;
|
|
33488
33488
|
var inArray = Array.isArray(root);
|
|
33489
|
-
var
|
|
33489
|
+
var keys3 = [root];
|
|
33490
33490
|
var index = -1;
|
|
33491
33491
|
var edits = [];
|
|
33492
33492
|
var node2 = void 0;
|
|
@@ -33497,7 +33497,7 @@ var require_visitor = __commonJS2({
|
|
|
33497
33497
|
var newRoot = root;
|
|
33498
33498
|
do {
|
|
33499
33499
|
index++;
|
|
33500
|
-
var isLeaving = index ===
|
|
33500
|
+
var isLeaving = index === keys3.length;
|
|
33501
33501
|
var isEdited = isLeaving && edits.length !== 0;
|
|
33502
33502
|
if (isLeaving) {
|
|
33503
33503
|
key = ancestors.length === 0 ? void 0 : path22[path22.length - 1];
|
|
@@ -33530,12 +33530,12 @@ var require_visitor = __commonJS2({
|
|
|
33530
33530
|
}
|
|
33531
33531
|
}
|
|
33532
33532
|
index = stack.index;
|
|
33533
|
-
|
|
33533
|
+
keys3 = stack.keys;
|
|
33534
33534
|
edits = stack.edits;
|
|
33535
33535
|
inArray = stack.inArray;
|
|
33536
33536
|
stack = stack.prev;
|
|
33537
33537
|
} else {
|
|
33538
|
-
key = parent ? inArray ? index :
|
|
33538
|
+
key = parent ? inArray ? index : keys3[index] : void 0;
|
|
33539
33539
|
node2 = parent ? parent[key] : newRoot;
|
|
33540
33540
|
if (node2 === null || node2 === void 0) {
|
|
33541
33541
|
continue;
|
|
@@ -33583,12 +33583,12 @@ var require_visitor = __commonJS2({
|
|
|
33583
33583
|
stack = {
|
|
33584
33584
|
inArray,
|
|
33585
33585
|
index,
|
|
33586
|
-
keys:
|
|
33586
|
+
keys: keys3,
|
|
33587
33587
|
edits,
|
|
33588
33588
|
prev: stack
|
|
33589
33589
|
};
|
|
33590
33590
|
inArray = Array.isArray(node2);
|
|
33591
|
-
|
|
33591
|
+
keys3 = inArray ? node2 : (_visitorKeys$node$kin = visitorKeys[node2.kind]) !== null && _visitorKeys$node$kin !== void 0 ? _visitorKeys$node$kin : [];
|
|
33592
33592
|
index = -1;
|
|
33593
33593
|
edits = [];
|
|
33594
33594
|
if (parent) {
|
|
@@ -34539,7 +34539,7 @@ var require_definition = __commonJS2({
|
|
|
34539
34539
|
return new GraphQLList6(ofType);
|
|
34540
34540
|
}
|
|
34541
34541
|
}
|
|
34542
|
-
GraphQLList6.prototype.toString = function
|
|
34542
|
+
GraphQLList6.prototype.toString = function toString3() {
|
|
34543
34543
|
return "[" + String(this.ofType) + "]";
|
|
34544
34544
|
};
|
|
34545
34545
|
GraphQLList6.prototype.toJSON = function toJSON() {
|
|
@@ -34558,7 +34558,7 @@ var require_definition = __commonJS2({
|
|
|
34558
34558
|
return new GraphQLNonNull6(ofType);
|
|
34559
34559
|
}
|
|
34560
34560
|
}
|
|
34561
|
-
GraphQLNonNull6.prototype.toString = function
|
|
34561
|
+
GraphQLNonNull6.prototype.toString = function toString3() {
|
|
34562
34562
|
return String(this.ofType) + "!";
|
|
34563
34563
|
};
|
|
34564
34564
|
GraphQLNonNull6.prototype.toJSON = function toJSON() {
|
|
@@ -34654,7 +34654,7 @@ var require_definition = __commonJS2({
|
|
|
34654
34654
|
extensionASTNodes: (_this$extensionASTNod = this.extensionASTNodes) !== null && _this$extensionASTNod !== void 0 ? _this$extensionASTNod : []
|
|
34655
34655
|
};
|
|
34656
34656
|
};
|
|
34657
|
-
_proto.toString = function
|
|
34657
|
+
_proto.toString = function toString3() {
|
|
34658
34658
|
return this.name;
|
|
34659
34659
|
};
|
|
34660
34660
|
_proto.toJSON = function toJSON() {
|
|
@@ -34708,7 +34708,7 @@ var require_definition = __commonJS2({
|
|
|
34708
34708
|
extensionASTNodes: this.extensionASTNodes || []
|
|
34709
34709
|
};
|
|
34710
34710
|
};
|
|
34711
|
-
_proto2.toString = function
|
|
34711
|
+
_proto2.toString = function toString3() {
|
|
34712
34712
|
return this.name;
|
|
34713
34713
|
};
|
|
34714
34714
|
_proto2.toJSON = function toJSON() {
|
|
@@ -34839,7 +34839,7 @@ var require_definition = __commonJS2({
|
|
|
34839
34839
|
extensionASTNodes: (_this$extensionASTNod2 = this.extensionASTNodes) !== null && _this$extensionASTNod2 !== void 0 ? _this$extensionASTNod2 : []
|
|
34840
34840
|
};
|
|
34841
34841
|
};
|
|
34842
|
-
_proto3.toString = function
|
|
34842
|
+
_proto3.toString = function toString3() {
|
|
34843
34843
|
return this.name;
|
|
34844
34844
|
};
|
|
34845
34845
|
_proto3.toJSON = function toJSON() {
|
|
@@ -34886,7 +34886,7 @@ var require_definition = __commonJS2({
|
|
|
34886
34886
|
extensionASTNodes: (_this$extensionASTNod3 = this.extensionASTNodes) !== null && _this$extensionASTNod3 !== void 0 ? _this$extensionASTNod3 : []
|
|
34887
34887
|
};
|
|
34888
34888
|
};
|
|
34889
|
-
_proto4.toString = function
|
|
34889
|
+
_proto4.toString = function toString3() {
|
|
34890
34890
|
return this.name;
|
|
34891
34891
|
};
|
|
34892
34892
|
_proto4.toJSON = function toJSON() {
|
|
@@ -34982,7 +34982,7 @@ var require_definition = __commonJS2({
|
|
|
34982
34982
|
extensionASTNodes: (_this$extensionASTNod4 = this.extensionASTNodes) !== null && _this$extensionASTNod4 !== void 0 ? _this$extensionASTNod4 : []
|
|
34983
34983
|
};
|
|
34984
34984
|
};
|
|
34985
|
-
_proto5.toString = function
|
|
34985
|
+
_proto5.toString = function toString3() {
|
|
34986
34986
|
return this.name;
|
|
34987
34987
|
};
|
|
34988
34988
|
_proto5.toJSON = function toJSON() {
|
|
@@ -35060,7 +35060,7 @@ var require_definition = __commonJS2({
|
|
|
35060
35060
|
extensionASTNodes: (_this$extensionASTNod5 = this.extensionASTNodes) !== null && _this$extensionASTNod5 !== void 0 ? _this$extensionASTNod5 : []
|
|
35061
35061
|
};
|
|
35062
35062
|
};
|
|
35063
|
-
_proto6.toString = function
|
|
35063
|
+
_proto6.toString = function toString3() {
|
|
35064
35064
|
return this.name;
|
|
35065
35065
|
};
|
|
35066
35066
|
_proto6.toJSON = function toJSON() {
|
|
@@ -36296,7 +36296,7 @@ var require_directives = __commonJS2({
|
|
|
36296
36296
|
astNode: this.astNode
|
|
36297
36297
|
};
|
|
36298
36298
|
};
|
|
36299
|
-
_proto.toString = function
|
|
36299
|
+
_proto.toString = function toString3() {
|
|
36300
36300
|
return "@" + this.name;
|
|
36301
36301
|
};
|
|
36302
36302
|
_proto.toJSON = function toJSON() {
|
|
@@ -38183,16 +38183,16 @@ var require_KnownArgumentNamesRule = __commonJS2({
|
|
|
38183
38183
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
38184
38184
|
}
|
|
38185
38185
|
function ownKeys(object, enumerableOnly) {
|
|
38186
|
-
var
|
|
38186
|
+
var keys3 = Object.keys(object);
|
|
38187
38187
|
if (Object.getOwnPropertySymbols) {
|
|
38188
38188
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
38189
38189
|
if (enumerableOnly)
|
|
38190
38190
|
symbols = symbols.filter(function(sym) {
|
|
38191
38191
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
38192
38192
|
});
|
|
38193
|
-
|
|
38193
|
+
keys3.push.apply(keys3, symbols);
|
|
38194
38194
|
}
|
|
38195
|
-
return
|
|
38195
|
+
return keys3;
|
|
38196
38196
|
}
|
|
38197
38197
|
function _objectSpread(target) {
|
|
38198
38198
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -38433,16 +38433,16 @@ var require_ProvidedRequiredArgumentsRule = __commonJS2({
|
|
|
38433
38433
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
38434
38434
|
}
|
|
38435
38435
|
function ownKeys(object, enumerableOnly) {
|
|
38436
|
-
var
|
|
38436
|
+
var keys3 = Object.keys(object);
|
|
38437
38437
|
if (Object.getOwnPropertySymbols) {
|
|
38438
38438
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
38439
38439
|
if (enumerableOnly)
|
|
38440
38440
|
symbols = symbols.filter(function(sym) {
|
|
38441
38441
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
38442
38442
|
});
|
|
38443
|
-
|
|
38443
|
+
keys3.push.apply(keys3, symbols);
|
|
38444
38444
|
}
|
|
38445
|
-
return
|
|
38445
|
+
return keys3;
|
|
38446
38446
|
}
|
|
38447
38447
|
function _objectSpread(target) {
|
|
38448
38448
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -39668,13 +39668,13 @@ var require_promiseForObject = __commonJS2({
|
|
|
39668
39668
|
});
|
|
39669
39669
|
exports.default = promiseForObject;
|
|
39670
39670
|
function promiseForObject(object) {
|
|
39671
|
-
var
|
|
39672
|
-
var valuesAndPromises =
|
|
39671
|
+
var keys3 = Object.keys(object);
|
|
39672
|
+
var valuesAndPromises = keys3.map(function(name) {
|
|
39673
39673
|
return object[name];
|
|
39674
39674
|
});
|
|
39675
39675
|
return Promise.all(valuesAndPromises).then(function(values) {
|
|
39676
39676
|
return values.reduce(function(resolvedObject, value2, i22) {
|
|
39677
|
-
resolvedObject[
|
|
39677
|
+
resolvedObject[keys3[i22]] = value2;
|
|
39678
39678
|
return resolvedObject;
|
|
39679
39679
|
}, /* @__PURE__ */ Object.create(null));
|
|
39680
39680
|
});
|
|
@@ -42084,16 +42084,16 @@ var require_getIntrospectionQuery = __commonJS2({
|
|
|
42084
42084
|
});
|
|
42085
42085
|
exports.getIntrospectionQuery = getIntrospectionQuery2;
|
|
42086
42086
|
function ownKeys(object, enumerableOnly) {
|
|
42087
|
-
var
|
|
42087
|
+
var keys3 = Object.keys(object);
|
|
42088
42088
|
if (Object.getOwnPropertySymbols) {
|
|
42089
42089
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
42090
42090
|
if (enumerableOnly)
|
|
42091
42091
|
symbols = symbols.filter(function(sym) {
|
|
42092
42092
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
42093
42093
|
});
|
|
42094
|
-
|
|
42094
|
+
keys3.push.apply(keys3, symbols);
|
|
42095
42095
|
}
|
|
42096
|
-
return
|
|
42096
|
+
return keys3;
|
|
42097
42097
|
}
|
|
42098
42098
|
function _objectSpread(target) {
|
|
42099
42099
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -42182,16 +42182,16 @@ var require_introspectionFromSchema = __commonJS2({
|
|
|
42182
42182
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
42183
42183
|
}
|
|
42184
42184
|
function ownKeys(object, enumerableOnly) {
|
|
42185
|
-
var
|
|
42185
|
+
var keys3 = Object.keys(object);
|
|
42186
42186
|
if (Object.getOwnPropertySymbols) {
|
|
42187
42187
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
42188
42188
|
if (enumerableOnly)
|
|
42189
42189
|
symbols = symbols.filter(function(sym) {
|
|
42190
42190
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
42191
42191
|
});
|
|
42192
|
-
|
|
42192
|
+
keys3.push.apply(keys3, symbols);
|
|
42193
42193
|
}
|
|
42194
|
-
return
|
|
42194
|
+
return keys3;
|
|
42195
42195
|
}
|
|
42196
42196
|
function _objectSpread(target) {
|
|
42197
42197
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -42519,16 +42519,16 @@ var require_extendSchema = __commonJS2({
|
|
|
42519
42519
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
42520
42520
|
}
|
|
42521
42521
|
function ownKeys(object, enumerableOnly) {
|
|
42522
|
-
var
|
|
42522
|
+
var keys3 = Object.keys(object);
|
|
42523
42523
|
if (Object.getOwnPropertySymbols) {
|
|
42524
42524
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
42525
42525
|
if (enumerableOnly)
|
|
42526
42526
|
symbols = symbols.filter(function(sym) {
|
|
42527
42527
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
42528
42528
|
});
|
|
42529
|
-
|
|
42529
|
+
keys3.push.apply(keys3, symbols);
|
|
42530
42530
|
}
|
|
42531
|
-
return
|
|
42531
|
+
return keys3;
|
|
42532
42532
|
}
|
|
42533
42533
|
function _objectSpread(target) {
|
|
42534
42534
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -43115,16 +43115,16 @@ var require_lexicographicSortSchema = __commonJS2({
|
|
|
43115
43115
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
43116
43116
|
}
|
|
43117
43117
|
function ownKeys(object, enumerableOnly) {
|
|
43118
|
-
var
|
|
43118
|
+
var keys3 = Object.keys(object);
|
|
43119
43119
|
if (Object.getOwnPropertySymbols) {
|
|
43120
43120
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
43121
43121
|
if (enumerableOnly)
|
|
43122
43122
|
symbols = symbols.filter(function(sym) {
|
|
43123
43123
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
43124
43124
|
});
|
|
43125
|
-
|
|
43125
|
+
keys3.push.apply(keys3, symbols);
|
|
43126
43126
|
}
|
|
43127
|
-
return
|
|
43127
|
+
return keys3;
|
|
43128
43128
|
}
|
|
43129
43129
|
function _objectSpread(target) {
|
|
43130
43130
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -43655,16 +43655,16 @@ var require_findBreakingChanges = __commonJS2({
|
|
|
43655
43655
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
43656
43656
|
}
|
|
43657
43657
|
function ownKeys(object, enumerableOnly) {
|
|
43658
|
-
var
|
|
43658
|
+
var keys3 = Object.keys(object);
|
|
43659
43659
|
if (Object.getOwnPropertySymbols) {
|
|
43660
43660
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
43661
43661
|
if (enumerableOnly)
|
|
43662
43662
|
symbols = symbols.filter(function(sym) {
|
|
43663
43663
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
43664
43664
|
});
|
|
43665
|
-
|
|
43665
|
+
keys3.push.apply(keys3, symbols);
|
|
43666
43666
|
}
|
|
43667
|
-
return
|
|
43667
|
+
return keys3;
|
|
43668
43668
|
}
|
|
43669
43669
|
function _objectSpread(target) {
|
|
43670
43670
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -46641,9 +46641,9 @@ var require_legacy_streams = __commonJS2({
|
|
|
46641
46641
|
this.mode = 438;
|
|
46642
46642
|
this.bufferSize = 64 * 1024;
|
|
46643
46643
|
options = options || {};
|
|
46644
|
-
var
|
|
46645
|
-
for (var index = 0, length =
|
|
46646
|
-
var key =
|
|
46644
|
+
var keys3 = Object.keys(options);
|
|
46645
|
+
for (var index = 0, length = keys3.length; index < length; index++) {
|
|
46646
|
+
var key = keys3[index];
|
|
46647
46647
|
this[key] = options[key];
|
|
46648
46648
|
}
|
|
46649
46649
|
if (this.encoding)
|
|
@@ -46691,9 +46691,9 @@ var require_legacy_streams = __commonJS2({
|
|
|
46691
46691
|
this.mode = 438;
|
|
46692
46692
|
this.bytesWritten = 0;
|
|
46693
46693
|
options = options || {};
|
|
46694
|
-
var
|
|
46695
|
-
for (var index = 0, length =
|
|
46696
|
-
var key =
|
|
46694
|
+
var keys3 = Object.keys(options);
|
|
46695
|
+
for (var index = 0, length = keys3.length; index < length; index++) {
|
|
46696
|
+
var key = keys3[index];
|
|
46697
46697
|
this[key] = options[key];
|
|
46698
46698
|
}
|
|
46699
46699
|
if (this.start !== void 0) {
|
|
@@ -49826,10 +49826,10 @@ var require_glob = __commonJS2({
|
|
|
49826
49826
|
if (add === null || typeof add !== "object") {
|
|
49827
49827
|
return origin;
|
|
49828
49828
|
}
|
|
49829
|
-
var
|
|
49830
|
-
var i22 =
|
|
49829
|
+
var keys3 = Object.keys(add);
|
|
49830
|
+
var i22 = keys3.length;
|
|
49831
49831
|
while (i22--) {
|
|
49832
|
-
origin[
|
|
49832
|
+
origin[keys3[i22]] = add[keys3[i22]];
|
|
49833
49833
|
}
|
|
49834
49834
|
return origin;
|
|
49835
49835
|
}
|
|
@@ -58222,12 +58222,12 @@ var require_lib3 = __commonJS2({
|
|
|
58222
58222
|
SyntaxError: "BABEL_PARSER_SYNTAX_ERROR",
|
|
58223
58223
|
SourceTypeModuleError: "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"
|
|
58224
58224
|
};
|
|
58225
|
-
var reflect = (
|
|
58225
|
+
var reflect = (keys3, last = keys3.length - 1) => ({
|
|
58226
58226
|
get() {
|
|
58227
|
-
return
|
|
58227
|
+
return keys3.reduce((object, key) => object[key], this);
|
|
58228
58228
|
},
|
|
58229
58229
|
set(value2) {
|
|
58230
|
-
|
|
58230
|
+
keys3.reduce(
|
|
58231
58231
|
(item, key, i22) => i22 === last ? item[key] = value2 : item[key],
|
|
58232
58232
|
this
|
|
58233
58233
|
);
|
|
@@ -60160,9 +60160,9 @@ var require_lib3 = __commonJS2({
|
|
|
60160
60160
|
}
|
|
60161
60161
|
clone(skipArrays) {
|
|
60162
60162
|
const state = new State();
|
|
60163
|
-
const
|
|
60164
|
-
for (let i22 = 0, length =
|
|
60165
|
-
const key =
|
|
60163
|
+
const keys3 = Object.keys(this);
|
|
60164
|
+
for (let i22 = 0, length = keys3.length; i22 < length; i22++) {
|
|
60165
|
+
const key = keys3[i22];
|
|
60166
60166
|
let val = this[key];
|
|
60167
60167
|
if (!skipArrays && Array.isArray(val)) {
|
|
60168
60168
|
val = val.slice();
|
|
@@ -62067,9 +62067,9 @@ var require_lib3 = __commonJS2({
|
|
|
62067
62067
|
{
|
|
62068
62068
|
NodePrototype.__clone = function() {
|
|
62069
62069
|
const newNode = new Node3(void 0, this.start, this.loc.start);
|
|
62070
|
-
const
|
|
62071
|
-
for (let i22 = 0, length =
|
|
62072
|
-
const key =
|
|
62070
|
+
const keys3 = Object.keys(this);
|
|
62071
|
+
for (let i22 = 0, length = keys3.length; i22 < length; i22++) {
|
|
62072
|
+
const key = keys3[i22];
|
|
62073
62073
|
if (key !== "leadingComments" && key !== "trailingComments" && key !== "innerComments") {
|
|
62074
62074
|
newNode[key] = this[key];
|
|
62075
62075
|
}
|
|
@@ -72708,107 +72708,6 @@ var require_lib3 = __commonJS2({
|
|
|
72708
72708
|
exports.tokTypes = tokTypes;
|
|
72709
72709
|
}
|
|
72710
72710
|
});
|
|
72711
|
-
var require_cjs = __commonJS2({
|
|
72712
|
-
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
|
|
72713
|
-
"use strict";
|
|
72714
|
-
var isMergeableObject = function isMergeableObject2(value2) {
|
|
72715
|
-
return isNonNullObject(value2) && !isSpecial(value2);
|
|
72716
|
-
};
|
|
72717
|
-
function isNonNullObject(value2) {
|
|
72718
|
-
return !!value2 && typeof value2 === "object";
|
|
72719
|
-
}
|
|
72720
|
-
function isSpecial(value2) {
|
|
72721
|
-
var stringValue = Object.prototype.toString.call(value2);
|
|
72722
|
-
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
72723
|
-
}
|
|
72724
|
-
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
72725
|
-
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
72726
|
-
function isReactElement(value2) {
|
|
72727
|
-
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
72728
|
-
}
|
|
72729
|
-
function emptyTarget(val) {
|
|
72730
|
-
return Array.isArray(val) ? [] : {};
|
|
72731
|
-
}
|
|
72732
|
-
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
72733
|
-
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
72734
|
-
}
|
|
72735
|
-
function defaultArrayMerge(target, source, options) {
|
|
72736
|
-
return target.concat(source).map(function(element) {
|
|
72737
|
-
return cloneUnlessOtherwiseSpecified(element, options);
|
|
72738
|
-
});
|
|
72739
|
-
}
|
|
72740
|
-
function getMergeFunction(key, options) {
|
|
72741
|
-
if (!options.customMerge) {
|
|
72742
|
-
return deepmerge;
|
|
72743
|
-
}
|
|
72744
|
-
var customMerge = options.customMerge(key);
|
|
72745
|
-
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
72746
|
-
}
|
|
72747
|
-
function getEnumerableOwnPropertySymbols(target) {
|
|
72748
|
-
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
72749
|
-
return target.propertyIsEnumerable(symbol);
|
|
72750
|
-
}) : [];
|
|
72751
|
-
}
|
|
72752
|
-
function getKeys(target) {
|
|
72753
|
-
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
72754
|
-
}
|
|
72755
|
-
function propertyIsOnObject(object, property) {
|
|
72756
|
-
try {
|
|
72757
|
-
return property in object;
|
|
72758
|
-
} catch (_) {
|
|
72759
|
-
return false;
|
|
72760
|
-
}
|
|
72761
|
-
}
|
|
72762
|
-
function propertyIsUnsafe(target, key) {
|
|
72763
|
-
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
72764
|
-
}
|
|
72765
|
-
function mergeObject(target, source, options) {
|
|
72766
|
-
var destination = {};
|
|
72767
|
-
if (options.isMergeableObject(target)) {
|
|
72768
|
-
getKeys(target).forEach(function(key) {
|
|
72769
|
-
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
72770
|
-
});
|
|
72771
|
-
}
|
|
72772
|
-
getKeys(source).forEach(function(key) {
|
|
72773
|
-
if (propertyIsUnsafe(target, key)) {
|
|
72774
|
-
return;
|
|
72775
|
-
}
|
|
72776
|
-
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
72777
|
-
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
72778
|
-
} else {
|
|
72779
|
-
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
72780
|
-
}
|
|
72781
|
-
});
|
|
72782
|
-
return destination;
|
|
72783
|
-
}
|
|
72784
|
-
function deepmerge(target, source, options) {
|
|
72785
|
-
options = options || {};
|
|
72786
|
-
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
72787
|
-
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
72788
|
-
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
72789
|
-
var sourceIsArray = Array.isArray(source);
|
|
72790
|
-
var targetIsArray = Array.isArray(target);
|
|
72791
|
-
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
72792
|
-
if (!sourceAndTargetTypesMatch) {
|
|
72793
|
-
return cloneUnlessOtherwiseSpecified(source, options);
|
|
72794
|
-
} else if (sourceIsArray) {
|
|
72795
|
-
return options.arrayMerge(target, source, options);
|
|
72796
|
-
} else {
|
|
72797
|
-
return mergeObject(target, source, options);
|
|
72798
|
-
}
|
|
72799
|
-
}
|
|
72800
|
-
deepmerge.all = function deepmergeAll(array, options) {
|
|
72801
|
-
if (!Array.isArray(array)) {
|
|
72802
|
-
throw new Error("first argument should be an array");
|
|
72803
|
-
}
|
|
72804
|
-
return array.reduce(function(prev, next) {
|
|
72805
|
-
return deepmerge(prev, next, options);
|
|
72806
|
-
}, {});
|
|
72807
|
-
};
|
|
72808
|
-
var deepmerge_1 = deepmerge;
|
|
72809
|
-
module.exports = deepmerge_1;
|
|
72810
|
-
}
|
|
72811
|
-
});
|
|
72812
72711
|
var require_tslib = __commonJS2({
|
|
72813
72712
|
"../../node_modules/.pnpm/tslib@2.5.0/node_modules/tslib/tslib.js"(exports, module) {
|
|
72814
72713
|
var __extends;
|
|
@@ -75065,7 +74964,7 @@ var require_path_visitor = __commonJS2({
|
|
|
75065
74964
|
}
|
|
75066
74965
|
return target;
|
|
75067
74966
|
}
|
|
75068
|
-
PathVisitor.visit = function
|
|
74967
|
+
PathVisitor.visit = function visit2(node2, methods) {
|
|
75069
74968
|
return PathVisitor.fromMethodsObject(methods).visit(node2);
|
|
75070
74969
|
};
|
|
75071
74970
|
var PVp = PathVisitor.prototype;
|
|
@@ -75256,7 +75155,7 @@ var require_path_visitor = __commonJS2({
|
|
|
75256
75155
|
this.needToCallTraverse = false;
|
|
75257
75156
|
return visitChildren(path22, PathVisitor.fromMethodsObject(newVisitor || this.visitor));
|
|
75258
75157
|
};
|
|
75259
|
-
sharedContextProtoMethods.visit = function
|
|
75158
|
+
sharedContextProtoMethods.visit = function visit2(path22, newVisitor) {
|
|
75260
75159
|
if (!(this instanceof this.Context)) {
|
|
75261
75160
|
throw new Error("");
|
|
75262
75161
|
}
|
|
@@ -76599,7 +76498,7 @@ var require_main = __commonJS2({
|
|
|
76599
76498
|
var someField = _a.someField;
|
|
76600
76499
|
var Type = _a.Type;
|
|
76601
76500
|
var use = _a.use;
|
|
76602
|
-
var
|
|
76501
|
+
var visit2 = _a.visit;
|
|
76603
76502
|
exports.astNodesAreEquivalent = astNodesAreEquivalent;
|
|
76604
76503
|
exports.builders = builders;
|
|
76605
76504
|
exports.builtInTypes = builtInTypes;
|
|
@@ -76616,7 +76515,7 @@ var require_main = __commonJS2({
|
|
|
76616
76515
|
exports.someField = someField;
|
|
76617
76516
|
exports.Type = Type;
|
|
76618
76517
|
exports.use = use;
|
|
76619
|
-
exports.visit =
|
|
76518
|
+
exports.visit = visit2;
|
|
76620
76519
|
Object.assign(namedTypes_1.namedTypes, n);
|
|
76621
76520
|
}
|
|
76622
76521
|
});
|
|
@@ -78380,10 +78279,10 @@ var require_util2 = __commonJS2({
|
|
|
78380
78279
|
var result = {};
|
|
78381
78280
|
var argc = args.length;
|
|
78382
78281
|
for (var i22 = 0; i22 < argc; ++i22) {
|
|
78383
|
-
var
|
|
78384
|
-
var keyCount =
|
|
78282
|
+
var keys3 = Object.keys(args[i22]);
|
|
78283
|
+
var keyCount = keys3.length;
|
|
78385
78284
|
for (var j = 0; j < keyCount; ++j) {
|
|
78386
|
-
result[
|
|
78285
|
+
result[keys3[j]] = true;
|
|
78387
78286
|
}
|
|
78388
78287
|
}
|
|
78389
78288
|
return result;
|
|
@@ -86029,10 +85928,10 @@ var require_parser2 = __commonJS2({
|
|
|
86029
85928
|
loc.indent = newIndent;
|
|
86030
85929
|
this.findTokenRange(loc);
|
|
86031
85930
|
}
|
|
86032
|
-
var
|
|
86033
|
-
var keyCount =
|
|
85931
|
+
var keys3 = Object.keys(node2);
|
|
85932
|
+
var keyCount = keys3.length;
|
|
86034
85933
|
for (var i22 = 0; i22 < keyCount; ++i22) {
|
|
86035
|
-
var key =
|
|
85934
|
+
var key = keys3[i22];
|
|
86036
85935
|
if (key === "loc") {
|
|
86037
85936
|
copy[key] = node2[key];
|
|
86038
85937
|
} else if (key === "tokens" && node2.type === "File") {
|
|
@@ -86787,13 +86686,13 @@ var require_patcher = __commonJS2({
|
|
|
86787
86686
|
if (newPath.needsParens() && !oldPath.hasParens()) {
|
|
86788
86687
|
return false;
|
|
86789
86688
|
}
|
|
86790
|
-
var
|
|
86689
|
+
var keys3 = (0, util_110.getUnionOfKeys)(oldNode, newNode);
|
|
86791
86690
|
if (oldNode.type === "File" || newNode.type === "File") {
|
|
86792
|
-
delete
|
|
86691
|
+
delete keys3.tokens;
|
|
86793
86692
|
}
|
|
86794
|
-
delete
|
|
86693
|
+
delete keys3.loc;
|
|
86795
86694
|
var originalReprintCount = reprints.length;
|
|
86796
|
-
for (var k in
|
|
86695
|
+
for (var k in keys3) {
|
|
86797
86696
|
if (k.charAt(0) === "_") {
|
|
86798
86697
|
continue;
|
|
86799
86698
|
}
|
|
@@ -89031,6 +88930,107 @@ var require_main2 = __commonJS2({
|
|
|
89031
88930
|
}
|
|
89032
88931
|
}
|
|
89033
88932
|
});
|
|
88933
|
+
var require_cjs = __commonJS2({
|
|
88934
|
+
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
|
|
88935
|
+
"use strict";
|
|
88936
|
+
var isMergeableObject = function isMergeableObject2(value2) {
|
|
88937
|
+
return isNonNullObject(value2) && !isSpecial(value2);
|
|
88938
|
+
};
|
|
88939
|
+
function isNonNullObject(value2) {
|
|
88940
|
+
return !!value2 && typeof value2 === "object";
|
|
88941
|
+
}
|
|
88942
|
+
function isSpecial(value2) {
|
|
88943
|
+
var stringValue = Object.prototype.toString.call(value2);
|
|
88944
|
+
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
88945
|
+
}
|
|
88946
|
+
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
88947
|
+
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
88948
|
+
function isReactElement(value2) {
|
|
88949
|
+
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
88950
|
+
}
|
|
88951
|
+
function emptyTarget(val) {
|
|
88952
|
+
return Array.isArray(val) ? [] : {};
|
|
88953
|
+
}
|
|
88954
|
+
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
88955
|
+
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
88956
|
+
}
|
|
88957
|
+
function defaultArrayMerge(target, source, options) {
|
|
88958
|
+
return target.concat(source).map(function(element) {
|
|
88959
|
+
return cloneUnlessOtherwiseSpecified(element, options);
|
|
88960
|
+
});
|
|
88961
|
+
}
|
|
88962
|
+
function getMergeFunction(key, options) {
|
|
88963
|
+
if (!options.customMerge) {
|
|
88964
|
+
return deepmerge;
|
|
88965
|
+
}
|
|
88966
|
+
var customMerge = options.customMerge(key);
|
|
88967
|
+
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
88968
|
+
}
|
|
88969
|
+
function getEnumerableOwnPropertySymbols(target) {
|
|
88970
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
88971
|
+
return target.propertyIsEnumerable(symbol);
|
|
88972
|
+
}) : [];
|
|
88973
|
+
}
|
|
88974
|
+
function getKeys(target) {
|
|
88975
|
+
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
88976
|
+
}
|
|
88977
|
+
function propertyIsOnObject(object, property) {
|
|
88978
|
+
try {
|
|
88979
|
+
return property in object;
|
|
88980
|
+
} catch (_) {
|
|
88981
|
+
return false;
|
|
88982
|
+
}
|
|
88983
|
+
}
|
|
88984
|
+
function propertyIsUnsafe(target, key) {
|
|
88985
|
+
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
88986
|
+
}
|
|
88987
|
+
function mergeObject(target, source, options) {
|
|
88988
|
+
var destination = {};
|
|
88989
|
+
if (options.isMergeableObject(target)) {
|
|
88990
|
+
getKeys(target).forEach(function(key) {
|
|
88991
|
+
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
88992
|
+
});
|
|
88993
|
+
}
|
|
88994
|
+
getKeys(source).forEach(function(key) {
|
|
88995
|
+
if (propertyIsUnsafe(target, key)) {
|
|
88996
|
+
return;
|
|
88997
|
+
}
|
|
88998
|
+
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
88999
|
+
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
89000
|
+
} else {
|
|
89001
|
+
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
89002
|
+
}
|
|
89003
|
+
});
|
|
89004
|
+
return destination;
|
|
89005
|
+
}
|
|
89006
|
+
function deepmerge(target, source, options) {
|
|
89007
|
+
options = options || {};
|
|
89008
|
+
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
89009
|
+
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
89010
|
+
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
89011
|
+
var sourceIsArray = Array.isArray(source);
|
|
89012
|
+
var targetIsArray = Array.isArray(target);
|
|
89013
|
+
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
89014
|
+
if (!sourceAndTargetTypesMatch) {
|
|
89015
|
+
return cloneUnlessOtherwiseSpecified(source, options);
|
|
89016
|
+
} else if (sourceIsArray) {
|
|
89017
|
+
return options.arrayMerge(target, source, options);
|
|
89018
|
+
} else {
|
|
89019
|
+
return mergeObject(target, source, options);
|
|
89020
|
+
}
|
|
89021
|
+
}
|
|
89022
|
+
deepmerge.all = function deepmergeAll(array, options) {
|
|
89023
|
+
if (!Array.isArray(array)) {
|
|
89024
|
+
throw new Error("first argument should be an array");
|
|
89025
|
+
}
|
|
89026
|
+
return array.reduce(function(prev, next) {
|
|
89027
|
+
return deepmerge(prev, next, options);
|
|
89028
|
+
}, {});
|
|
89029
|
+
};
|
|
89030
|
+
var deepmerge_1 = deepmerge;
|
|
89031
|
+
module.exports = deepmerge_1;
|
|
89032
|
+
}
|
|
89033
|
+
});
|
|
89034
89034
|
async function runPipeline(config4, pipeline22, target) {
|
|
89035
89035
|
for (const transform of pipeline22) {
|
|
89036
89036
|
await transform?.(config4, target);
|
|
@@ -89109,14 +89109,14 @@ function hasMultilineItems(maybeArray) {
|
|
|
89109
89109
|
function addDescription(cb) {
|
|
89110
89110
|
return (node2, _key, _parent, path22, ancestors) => {
|
|
89111
89111
|
var _a;
|
|
89112
|
-
const
|
|
89112
|
+
const keys3 = [];
|
|
89113
89113
|
const parent = path22.reduce((prev, key2) => {
|
|
89114
89114
|
if (["fields", "arguments", "values"].includes(key2) && prev.name) {
|
|
89115
|
-
|
|
89115
|
+
keys3.push(prev.name.value);
|
|
89116
89116
|
}
|
|
89117
89117
|
return prev[key2];
|
|
89118
89118
|
}, ancestors[0]);
|
|
89119
|
-
const key = [...
|
|
89119
|
+
const key = [...keys3, (_a = parent === null || parent === void 0 ? void 0 : parent.name) === null || _a === void 0 ? void 0 : _a.value].filter(Boolean).join(".");
|
|
89120
89120
|
const items = [];
|
|
89121
89121
|
if (node2.kind.includes("Definition") && commentsRegistry[key]) {
|
|
89122
89122
|
items.push(...commentsRegistry[key]);
|
|
@@ -89468,9 +89468,9 @@ var DataSource = {
|
|
|
89468
89468
|
};
|
|
89469
89469
|
var fragmentKey = " $fragments";
|
|
89470
89470
|
var computeKey = ({ field, args }) => {
|
|
89471
|
-
const
|
|
89472
|
-
|
|
89473
|
-
return args &&
|
|
89471
|
+
const keys3 = Object.keys(args ?? {});
|
|
89472
|
+
keys3.sort();
|
|
89473
|
+
return args && keys3.length > 0 ? `${field}(${keys3.map((key) => `${key}: ${stringifyObjectWithNoQuotesOnKeys(args[key])}`).join(", ")})` : field;
|
|
89474
89474
|
};
|
|
89475
89475
|
var stringifyObjectWithNoQuotesOnKeys = (obj_from_json) => {
|
|
89476
89476
|
if (Array.isArray(obj_from_json)) {
|
|
@@ -92031,7 +92031,8 @@ var CacheInternal = class {
|
|
|
92031
92031
|
parent = rootID,
|
|
92032
92032
|
variables,
|
|
92033
92033
|
stepsFromConnection = null,
|
|
92034
|
-
ignoreMasking
|
|
92034
|
+
ignoreMasking,
|
|
92035
|
+
fullCheck = false
|
|
92035
92036
|
}) {
|
|
92036
92037
|
if (parent === null) {
|
|
92037
92038
|
return { data: null, partial: false, stale: false, hasData: true };
|
|
@@ -92056,11 +92057,28 @@ var CacheInternal = class {
|
|
|
92056
92057
|
let targetSelection = getFieldsForType(selection, typename);
|
|
92057
92058
|
for (const [
|
|
92058
92059
|
attributeName,
|
|
92059
|
-
{ type, keyRaw, selection: fieldSelection, nullable, list, visible }
|
|
92060
|
+
{ type, keyRaw, selection: fieldSelection, nullable, list, visible, directives }
|
|
92060
92061
|
] of Object.entries(targetSelection)) {
|
|
92061
|
-
if (!visible && !ignoreMasking) {
|
|
92062
|
+
if (!visible && !ignoreMasking && !fullCheck) {
|
|
92062
92063
|
continue;
|
|
92063
92064
|
}
|
|
92065
|
+
const includeDirective = directives?.find((d) => {
|
|
92066
|
+
return d.name === "include";
|
|
92067
|
+
});
|
|
92068
|
+
if (includeDirective) {
|
|
92069
|
+
if (!evaluateFragmentVariables(includeDirective.arguments, variables ?? {})["if"]) {
|
|
92070
|
+
continue;
|
|
92071
|
+
}
|
|
92072
|
+
}
|
|
92073
|
+
const skipDirective = directives?.find((d) => {
|
|
92074
|
+
return d.name === "skip";
|
|
92075
|
+
});
|
|
92076
|
+
if (skipDirective) {
|
|
92077
|
+
if (evaluateFragmentVariables(skipDirective.arguments, variables ?? {})["if"]) {
|
|
92078
|
+
continue;
|
|
92079
|
+
}
|
|
92080
|
+
}
|
|
92081
|
+
const fieldTarget = visible || ignoreMasking ? target : {};
|
|
92064
92082
|
const key = evaluateKey(keyRaw, variables);
|
|
92065
92083
|
const { value: value2 } = this.storage.get(parent, key);
|
|
92066
92084
|
const dt_field = this.staleManager.getFieldTime(parent, key);
|
|
@@ -92083,16 +92101,16 @@ var CacheInternal = class {
|
|
|
92083
92101
|
partial = true;
|
|
92084
92102
|
}
|
|
92085
92103
|
if (typeof value2 === "undefined" || value2 === null) {
|
|
92086
|
-
|
|
92104
|
+
fieldTarget[attributeName] = null;
|
|
92087
92105
|
if (typeof value2 !== "undefined") {
|
|
92088
92106
|
hasData = true;
|
|
92089
92107
|
}
|
|
92090
92108
|
} else if (!fieldSelection) {
|
|
92091
92109
|
const fnUnmarshal = this.config?.scalars?.[type]?.unmarshal;
|
|
92092
92110
|
if (fnUnmarshal) {
|
|
92093
|
-
|
|
92111
|
+
fieldTarget[attributeName] = fnUnmarshal(value2);
|
|
92094
92112
|
} else {
|
|
92095
|
-
|
|
92113
|
+
fieldTarget[attributeName] = value2;
|
|
92096
92114
|
}
|
|
92097
92115
|
hasData = true;
|
|
92098
92116
|
} else if (Array.isArray(value2)) {
|
|
@@ -92101,9 +92119,10 @@ var CacheInternal = class {
|
|
|
92101
92119
|
variables,
|
|
92102
92120
|
linkedList: value2,
|
|
92103
92121
|
stepsFromConnection: nextStep,
|
|
92104
|
-
ignoreMasking: !!ignoreMasking
|
|
92122
|
+
ignoreMasking: !!ignoreMasking,
|
|
92123
|
+
fullCheck
|
|
92105
92124
|
});
|
|
92106
|
-
|
|
92125
|
+
fieldTarget[attributeName] = listValue.data;
|
|
92107
92126
|
if (listValue.partial) {
|
|
92108
92127
|
partial = true;
|
|
92109
92128
|
}
|
|
@@ -92119,9 +92138,10 @@ var CacheInternal = class {
|
|
|
92119
92138
|
selection: fieldSelection,
|
|
92120
92139
|
variables,
|
|
92121
92140
|
stepsFromConnection: nextStep,
|
|
92122
|
-
ignoreMasking
|
|
92141
|
+
ignoreMasking,
|
|
92142
|
+
fullCheck
|
|
92123
92143
|
});
|
|
92124
|
-
|
|
92144
|
+
fieldTarget[attributeName] = objectFields.data;
|
|
92125
92145
|
if (objectFields.partial) {
|
|
92126
92146
|
partial = true;
|
|
92127
92147
|
}
|
|
@@ -92132,7 +92152,7 @@ var CacheInternal = class {
|
|
|
92132
92152
|
hasData = true;
|
|
92133
92153
|
}
|
|
92134
92154
|
}
|
|
92135
|
-
if (
|
|
92155
|
+
if (fieldTarget[attributeName] === null && !nullable && !embeddedCursor) {
|
|
92136
92156
|
cascadeNull = true;
|
|
92137
92157
|
}
|
|
92138
92158
|
}
|
|
@@ -92164,7 +92184,8 @@ var CacheInternal = class {
|
|
|
92164
92184
|
variables,
|
|
92165
92185
|
linkedList,
|
|
92166
92186
|
stepsFromConnection,
|
|
92167
|
-
ignoreMasking
|
|
92187
|
+
ignoreMasking,
|
|
92188
|
+
fullCheck
|
|
92168
92189
|
}) {
|
|
92169
92190
|
const result = [];
|
|
92170
92191
|
let partialData = false;
|
|
@@ -92177,7 +92198,8 @@ var CacheInternal = class {
|
|
|
92177
92198
|
variables,
|
|
92178
92199
|
linkedList: entry,
|
|
92179
92200
|
stepsFromConnection,
|
|
92180
|
-
ignoreMasking
|
|
92201
|
+
ignoreMasking,
|
|
92202
|
+
fullCheck
|
|
92181
92203
|
});
|
|
92182
92204
|
result.push(nestedValue.data);
|
|
92183
92205
|
if (nestedValue.partial) {
|
|
@@ -92199,7 +92221,8 @@ var CacheInternal = class {
|
|
|
92199
92221
|
selection: fields,
|
|
92200
92222
|
variables,
|
|
92201
92223
|
stepsFromConnection,
|
|
92202
|
-
ignoreMasking
|
|
92224
|
+
ignoreMasking,
|
|
92225
|
+
fullCheck
|
|
92203
92226
|
});
|
|
92204
92227
|
result.push(data2);
|
|
92205
92228
|
if (partial) {
|
|
@@ -92390,11 +92413,10 @@ var query = documentPlugin(ArtifactKind.Query, function() {
|
|
|
92390
92413
|
cache_default.unsubscribe(subscriptionSpec, subscriptionSpec.variables?.() || {});
|
|
92391
92414
|
}
|
|
92392
92415
|
lastVariables = { ...marshalVariables2(ctx) };
|
|
92393
|
-
const variables = lastVariables;
|
|
92394
92416
|
subscriptionSpec = {
|
|
92395
92417
|
rootType: ctx.artifact.rootType,
|
|
92396
92418
|
selection: ctx.artifact.selection,
|
|
92397
|
-
variables: () =>
|
|
92419
|
+
variables: () => lastVariables,
|
|
92398
92420
|
set: (newValue) => {
|
|
92399
92421
|
resolve22(ctx, {
|
|
92400
92422
|
data: newValue,
|
|
@@ -92421,17 +92443,12 @@ var query = documentPlugin(ArtifactKind.Query, function() {
|
|
|
92421
92443
|
});
|
|
92422
92444
|
var fragment = documentPlugin(ArtifactKind.Fragment, function() {
|
|
92423
92445
|
let subscriptionSpec = null;
|
|
92424
|
-
let lastReference = null;
|
|
92425
92446
|
return {
|
|
92426
92447
|
start(ctx, { next, resolve: resolve22, variablesChanged: variablesChanged2, marshalVariables: marshalVariables2 }) {
|
|
92427
92448
|
if (!ctx.stuff.parentID) {
|
|
92428
92449
|
return next(ctx);
|
|
92429
92450
|
}
|
|
92430
|
-
|
|
92431
|
-
parent: ctx.stuff.parentID,
|
|
92432
|
-
variables: marshalVariables2(ctx)
|
|
92433
|
-
};
|
|
92434
|
-
if (!ctx.cacheParams?.disableSubscriptions && (!deepEquals(lastReference, currentReference) || variablesChanged2(ctx))) {
|
|
92451
|
+
if (variablesChanged2(ctx) && !ctx.cacheParams?.disableSubscriptions) {
|
|
92435
92452
|
if (subscriptionSpec) {
|
|
92436
92453
|
cache_default.unsubscribe(subscriptionSpec, subscriptionSpec.variables?.() || {});
|
|
92437
92454
|
}
|
|
@@ -92454,7 +92471,6 @@ var fragment = documentPlugin(ArtifactKind.Fragment, function() {
|
|
|
92454
92471
|
}
|
|
92455
92472
|
};
|
|
92456
92473
|
cache_default.subscribe(subscriptionSpec, variables);
|
|
92457
|
-
lastReference = currentReference;
|
|
92458
92474
|
}
|
|
92459
92475
|
next(ctx);
|
|
92460
92476
|
},
|
|
@@ -92573,36 +92589,13 @@ var TypeWrapper = /* @__PURE__ */ ((TypeWrapper2) => {
|
|
|
92573
92589
|
return TypeWrapper2;
|
|
92574
92590
|
})(TypeWrapper || {});
|
|
92575
92591
|
var import_parser = __toESM2(require_lib3(), 1);
|
|
92576
|
-
|
|
92577
|
-
function deepMerge(filepath, ...targets) {
|
|
92578
|
-
try {
|
|
92579
|
-
if (targets.length === 1) {
|
|
92580
|
-
return targets[0];
|
|
92581
|
-
} else if (targets.length === 2) {
|
|
92582
|
-
return (0, import_deepmerge.default)(targets[0], targets[1], {
|
|
92583
|
-
arrayMerge: (source, update) => [...new Set(source.concat(update))]
|
|
92584
|
-
});
|
|
92585
|
-
}
|
|
92586
|
-
return deepMerge(filepath, targets[0], deepMerge(filepath, ...targets.slice(1)));
|
|
92587
|
-
} catch (e22) {
|
|
92588
|
-
throw new HoudiniError({
|
|
92589
|
-
filepath,
|
|
92590
|
-
message: "could not merge: " + JSON.stringify(targets, null, 4),
|
|
92591
|
-
description: e22.message
|
|
92592
|
-
});
|
|
92593
|
-
}
|
|
92594
|
-
}
|
|
92595
|
-
async function parseJS(str, config4) {
|
|
92596
|
-
const defaultConfig = {
|
|
92597
|
-
plugins: ["typescript"],
|
|
92598
|
-
sourceType: "module"
|
|
92599
|
-
};
|
|
92592
|
+
async function parseJS(str) {
|
|
92600
92593
|
return {
|
|
92601
92594
|
start: 0,
|
|
92602
|
-
script: (0, import_parser.parse)(
|
|
92603
|
-
|
|
92604
|
-
|
|
92605
|
-
).program,
|
|
92595
|
+
script: (0, import_parser.parse)(str || "", {
|
|
92596
|
+
plugins: ["typescript"],
|
|
92597
|
+
sourceType: "module"
|
|
92598
|
+
}).program,
|
|
92606
92599
|
end: str.length
|
|
92607
92600
|
};
|
|
92608
92601
|
}
|
|
@@ -92647,6 +92640,7 @@ async function cleanupFiles(pathFolder, listOfObj) {
|
|
|
92647
92640
|
);
|
|
92648
92641
|
return allFilesNotInList;
|
|
92649
92642
|
}
|
|
92643
|
+
var import_deepmerge = __toESM2(require_cjs(), 1);
|
|
92650
92644
|
async function detectFromPackageJSON(cwd) {
|
|
92651
92645
|
try {
|
|
92652
92646
|
const packageJSONFile = await fs_exports.readFile(path_exports.join(cwd, "package.json"));
|
|
@@ -94013,8 +94007,8 @@ ${originalIndentation}`;
|
|
|
94013
94007
|
stack.pop();
|
|
94014
94008
|
return `[${res}]`;
|
|
94015
94009
|
}
|
|
94016
|
-
let
|
|
94017
|
-
const keyLength =
|
|
94010
|
+
let keys22 = Object.keys(value2);
|
|
94011
|
+
const keyLength = keys22.length;
|
|
94018
94012
|
if (keyLength === 0) {
|
|
94019
94013
|
return "{}";
|
|
94020
94014
|
}
|
|
@@ -94032,16 +94026,16 @@ ${indentation}`;
|
|
|
94032
94026
|
let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth);
|
|
94033
94027
|
if (isTypedArrayWithEntries(value2)) {
|
|
94034
94028
|
res += stringifyTypedArray(value2, join32, maximumBreadth);
|
|
94035
|
-
|
|
94029
|
+
keys22 = keys22.slice(value2.length);
|
|
94036
94030
|
maximumPropertiesToStringify -= value2.length;
|
|
94037
94031
|
separator = join32;
|
|
94038
94032
|
}
|
|
94039
94033
|
if (deterministic) {
|
|
94040
|
-
|
|
94034
|
+
keys22 = insertSort(keys22);
|
|
94041
94035
|
}
|
|
94042
94036
|
stack.push(value2);
|
|
94043
94037
|
for (let i22 = 0; i22 < maximumPropertiesToStringify; i22++) {
|
|
94044
|
-
const key2 =
|
|
94038
|
+
const key2 = keys22[i22];
|
|
94045
94039
|
const tmp = stringifyFnReplacer(key2, value2, stack, replacer, spacer, indentation);
|
|
94046
94040
|
if (tmp !== void 0) {
|
|
94047
94041
|
res += `${separator}"${strEscape(key2)}":${whitespace}${tmp}`;
|
|
@@ -94220,8 +94214,8 @@ ${originalIndentation}`;
|
|
|
94220
94214
|
stack.pop();
|
|
94221
94215
|
return `[${res2}]`;
|
|
94222
94216
|
}
|
|
94223
|
-
let
|
|
94224
|
-
const keyLength =
|
|
94217
|
+
let keys22 = Object.keys(value2);
|
|
94218
|
+
const keyLength = keys22.length;
|
|
94225
94219
|
if (keyLength === 0) {
|
|
94226
94220
|
return "{}";
|
|
94227
94221
|
}
|
|
@@ -94236,16 +94230,16 @@ ${indentation}`;
|
|
|
94236
94230
|
let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth);
|
|
94237
94231
|
if (isTypedArrayWithEntries(value2)) {
|
|
94238
94232
|
res += stringifyTypedArray(value2, join32, maximumBreadth);
|
|
94239
|
-
|
|
94233
|
+
keys22 = keys22.slice(value2.length);
|
|
94240
94234
|
maximumPropertiesToStringify -= value2.length;
|
|
94241
94235
|
separator = join32;
|
|
94242
94236
|
}
|
|
94243
94237
|
if (deterministic) {
|
|
94244
|
-
|
|
94238
|
+
keys22 = insertSort(keys22);
|
|
94245
94239
|
}
|
|
94246
94240
|
stack.push(value2);
|
|
94247
94241
|
for (let i22 = 0; i22 < maximumPropertiesToStringify; i22++) {
|
|
94248
|
-
const key2 =
|
|
94242
|
+
const key2 = keys22[i22];
|
|
94249
94243
|
const tmp = stringifyIndent(key2, value2[key2], stack, spacer, indentation);
|
|
94250
94244
|
if (tmp !== void 0) {
|
|
94251
94245
|
res += `${separator}"${strEscape(key2)}": ${tmp}`;
|
|
@@ -94324,8 +94318,8 @@ ${originalIndentation}`;
|
|
|
94324
94318
|
stack.pop();
|
|
94325
94319
|
return `[${res}]`;
|
|
94326
94320
|
}
|
|
94327
|
-
let
|
|
94328
|
-
const keyLength =
|
|
94321
|
+
let keys22 = Object.keys(value2);
|
|
94322
|
+
const keyLength = keys22.length;
|
|
94329
94323
|
if (keyLength === 0) {
|
|
94330
94324
|
return "{}";
|
|
94331
94325
|
}
|
|
@@ -94336,16 +94330,16 @@ ${originalIndentation}`;
|
|
|
94336
94330
|
let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth);
|
|
94337
94331
|
if (isTypedArrayWithEntries(value2)) {
|
|
94338
94332
|
res += stringifyTypedArray(value2, ",", maximumBreadth);
|
|
94339
|
-
|
|
94333
|
+
keys22 = keys22.slice(value2.length);
|
|
94340
94334
|
maximumPropertiesToStringify -= value2.length;
|
|
94341
94335
|
separator = ",";
|
|
94342
94336
|
}
|
|
94343
94337
|
if (deterministic) {
|
|
94344
|
-
|
|
94338
|
+
keys22 = insertSort(keys22);
|
|
94345
94339
|
}
|
|
94346
94340
|
stack.push(value2);
|
|
94347
94341
|
for (let i22 = 0; i22 < maximumPropertiesToStringify; i22++) {
|
|
94348
|
-
const key2 =
|
|
94342
|
+
const key2 = keys22[i22];
|
|
94349
94343
|
const tmp = stringifySimple(key2, value2[key2], stack);
|
|
94350
94344
|
if (tmp !== void 0) {
|
|
94351
94345
|
res += `${separator}"${strEscape(key2)}":${tmp}`;
|
|
@@ -96963,9 +96957,9 @@ var require_micromatch = __commonJS3({
|
|
|
96963
96957
|
if (!utils.isObject(obj)) {
|
|
96964
96958
|
throw new TypeError("Expected the first argument to be an object");
|
|
96965
96959
|
}
|
|
96966
|
-
let
|
|
96960
|
+
let keys22 = micromatch2(Object.keys(obj), patterns, options);
|
|
96967
96961
|
let res = {};
|
|
96968
|
-
for (let key of
|
|
96962
|
+
for (let key of keys22)
|
|
96969
96963
|
res[key] = obj[key];
|
|
96970
96964
|
return res;
|
|
96971
96965
|
};
|
|
@@ -97215,16 +97209,16 @@ var require_GraphQLError3 = __commonJS3({
|
|
|
97215
97209
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
97216
97210
|
}
|
|
97217
97211
|
function ownKeys(object, enumerableOnly) {
|
|
97218
|
-
var
|
|
97212
|
+
var keys22 = Object.keys(object);
|
|
97219
97213
|
if (Object.getOwnPropertySymbols) {
|
|
97220
97214
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
97221
97215
|
if (enumerableOnly)
|
|
97222
97216
|
symbols = symbols.filter(function(sym) {
|
|
97223
97217
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
97224
97218
|
});
|
|
97225
|
-
|
|
97219
|
+
keys22.push.apply(keys22, symbols);
|
|
97226
97220
|
}
|
|
97227
|
-
return
|
|
97221
|
+
return keys22;
|
|
97228
97222
|
}
|
|
97229
97223
|
function _objectSpread(target) {
|
|
97230
97224
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -97461,7 +97455,7 @@ var require_GraphQLError3 = __commonJS3({
|
|
|
97461
97455
|
}
|
|
97462
97456
|
_createClass(GraphQLError5, [{
|
|
97463
97457
|
key: "toString",
|
|
97464
|
-
value: function
|
|
97458
|
+
value: function toString22() {
|
|
97465
97459
|
return printError(this);
|
|
97466
97460
|
}
|
|
97467
97461
|
}, {
|
|
@@ -97767,14 +97761,14 @@ var require_inspect3 = __commonJS3({
|
|
|
97767
97761
|
return formatObject2(value2, seenValues);
|
|
97768
97762
|
}
|
|
97769
97763
|
function formatObject2(object, seenValues) {
|
|
97770
|
-
var
|
|
97771
|
-
if (
|
|
97764
|
+
var keys22 = Object.keys(object);
|
|
97765
|
+
if (keys22.length === 0) {
|
|
97772
97766
|
return "{}";
|
|
97773
97767
|
}
|
|
97774
97768
|
if (seenValues.length > MAX_RECURSIVE_DEPTH2) {
|
|
97775
97769
|
return "[" + getObjectTag2(object) + "]";
|
|
97776
97770
|
}
|
|
97777
|
-
var properties =
|
|
97771
|
+
var properties = keys22.map(function(key) {
|
|
97778
97772
|
var value2 = formatValue2(object[key], seenValues);
|
|
97779
97773
|
return key + ": " + value2;
|
|
97780
97774
|
});
|
|
@@ -99356,7 +99350,7 @@ var require_visitor3 = __commonJS3({
|
|
|
99356
99350
|
Object.defineProperty(exports, "__esModule", {
|
|
99357
99351
|
value: true
|
|
99358
99352
|
});
|
|
99359
|
-
exports.visit =
|
|
99353
|
+
exports.visit = visit13;
|
|
99360
99354
|
exports.visitInParallel = visitInParallel;
|
|
99361
99355
|
exports.getVisitFn = getVisitFn;
|
|
99362
99356
|
exports.BREAK = exports.QueryDocumentKeys = void 0;
|
|
@@ -99419,11 +99413,11 @@ var require_visitor3 = __commonJS3({
|
|
|
99419
99413
|
exports.QueryDocumentKeys = QueryDocumentKeys;
|
|
99420
99414
|
var BREAK = Object.freeze({});
|
|
99421
99415
|
exports.BREAK = BREAK;
|
|
99422
|
-
function
|
|
99416
|
+
function visit13(root, visitor) {
|
|
99423
99417
|
var visitorKeys = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : QueryDocumentKeys;
|
|
99424
99418
|
var stack = void 0;
|
|
99425
99419
|
var inArray = Array.isArray(root);
|
|
99426
|
-
var
|
|
99420
|
+
var keys22 = [root];
|
|
99427
99421
|
var index = -1;
|
|
99428
99422
|
var edits = [];
|
|
99429
99423
|
var node2 = void 0;
|
|
@@ -99434,7 +99428,7 @@ var require_visitor3 = __commonJS3({
|
|
|
99434
99428
|
var newRoot = root;
|
|
99435
99429
|
do {
|
|
99436
99430
|
index++;
|
|
99437
|
-
var isLeaving = index ===
|
|
99431
|
+
var isLeaving = index === keys22.length;
|
|
99438
99432
|
var isEdited = isLeaving && edits.length !== 0;
|
|
99439
99433
|
if (isLeaving) {
|
|
99440
99434
|
key = ancestors.length === 0 ? void 0 : path22[path22.length - 1];
|
|
@@ -99467,12 +99461,12 @@ var require_visitor3 = __commonJS3({
|
|
|
99467
99461
|
}
|
|
99468
99462
|
}
|
|
99469
99463
|
index = stack.index;
|
|
99470
|
-
|
|
99464
|
+
keys22 = stack.keys;
|
|
99471
99465
|
edits = stack.edits;
|
|
99472
99466
|
inArray = stack.inArray;
|
|
99473
99467
|
stack = stack.prev;
|
|
99474
99468
|
} else {
|
|
99475
|
-
key = parent ? inArray ? index :
|
|
99469
|
+
key = parent ? inArray ? index : keys22[index] : void 0;
|
|
99476
99470
|
node2 = parent ? parent[key] : newRoot;
|
|
99477
99471
|
if (node2 === null || node2 === void 0) {
|
|
99478
99472
|
continue;
|
|
@@ -99520,12 +99514,12 @@ var require_visitor3 = __commonJS3({
|
|
|
99520
99514
|
stack = {
|
|
99521
99515
|
inArray,
|
|
99522
99516
|
index,
|
|
99523
|
-
keys:
|
|
99517
|
+
keys: keys22,
|
|
99524
99518
|
edits,
|
|
99525
99519
|
prev: stack
|
|
99526
99520
|
};
|
|
99527
99521
|
inArray = Array.isArray(node2);
|
|
99528
|
-
|
|
99522
|
+
keys22 = inArray ? node2 : (_visitorKeys$node$kin = visitorKeys[node2.kind]) !== null && _visitorKeys$node$kin !== void 0 ? _visitorKeys$node$kin : [];
|
|
99529
99523
|
index = -1;
|
|
99530
99524
|
edits = [];
|
|
99531
99525
|
if (parent) {
|
|
@@ -100476,7 +100470,7 @@ var require_definition3 = __commonJS3({
|
|
|
100476
100470
|
return new GraphQLList6(ofType);
|
|
100477
100471
|
}
|
|
100478
100472
|
}
|
|
100479
|
-
GraphQLList6.prototype.toString = function
|
|
100473
|
+
GraphQLList6.prototype.toString = function toString22() {
|
|
100480
100474
|
return "[" + String(this.ofType) + "]";
|
|
100481
100475
|
};
|
|
100482
100476
|
GraphQLList6.prototype.toJSON = function toJSON() {
|
|
@@ -100495,7 +100489,7 @@ var require_definition3 = __commonJS3({
|
|
|
100495
100489
|
return new GraphQLNonNull6(ofType);
|
|
100496
100490
|
}
|
|
100497
100491
|
}
|
|
100498
|
-
GraphQLNonNull6.prototype.toString = function
|
|
100492
|
+
GraphQLNonNull6.prototype.toString = function toString22() {
|
|
100499
100493
|
return String(this.ofType) + "!";
|
|
100500
100494
|
};
|
|
100501
100495
|
GraphQLNonNull6.prototype.toJSON = function toJSON() {
|
|
@@ -100591,7 +100585,7 @@ var require_definition3 = __commonJS3({
|
|
|
100591
100585
|
extensionASTNodes: (_this$extensionASTNod = this.extensionASTNodes) !== null && _this$extensionASTNod !== void 0 ? _this$extensionASTNod : []
|
|
100592
100586
|
};
|
|
100593
100587
|
};
|
|
100594
|
-
_proto.toString = function
|
|
100588
|
+
_proto.toString = function toString22() {
|
|
100595
100589
|
return this.name;
|
|
100596
100590
|
};
|
|
100597
100591
|
_proto.toJSON = function toJSON() {
|
|
@@ -100645,7 +100639,7 @@ var require_definition3 = __commonJS3({
|
|
|
100645
100639
|
extensionASTNodes: this.extensionASTNodes || []
|
|
100646
100640
|
};
|
|
100647
100641
|
};
|
|
100648
|
-
_proto2.toString = function
|
|
100642
|
+
_proto2.toString = function toString22() {
|
|
100649
100643
|
return this.name;
|
|
100650
100644
|
};
|
|
100651
100645
|
_proto2.toJSON = function toJSON() {
|
|
@@ -100776,7 +100770,7 @@ var require_definition3 = __commonJS3({
|
|
|
100776
100770
|
extensionASTNodes: (_this$extensionASTNod2 = this.extensionASTNodes) !== null && _this$extensionASTNod2 !== void 0 ? _this$extensionASTNod2 : []
|
|
100777
100771
|
};
|
|
100778
100772
|
};
|
|
100779
|
-
_proto3.toString = function
|
|
100773
|
+
_proto3.toString = function toString22() {
|
|
100780
100774
|
return this.name;
|
|
100781
100775
|
};
|
|
100782
100776
|
_proto3.toJSON = function toJSON() {
|
|
@@ -100823,7 +100817,7 @@ var require_definition3 = __commonJS3({
|
|
|
100823
100817
|
extensionASTNodes: (_this$extensionASTNod3 = this.extensionASTNodes) !== null && _this$extensionASTNod3 !== void 0 ? _this$extensionASTNod3 : []
|
|
100824
100818
|
};
|
|
100825
100819
|
};
|
|
100826
|
-
_proto4.toString = function
|
|
100820
|
+
_proto4.toString = function toString22() {
|
|
100827
100821
|
return this.name;
|
|
100828
100822
|
};
|
|
100829
100823
|
_proto4.toJSON = function toJSON() {
|
|
@@ -100867,7 +100861,7 @@ var require_definition3 = __commonJS3({
|
|
|
100867
100861
|
_proto5.getValue = function getValue(name) {
|
|
100868
100862
|
return this._nameLookup[name];
|
|
100869
100863
|
};
|
|
100870
|
-
_proto5.serialize = function
|
|
100864
|
+
_proto5.serialize = function serialize2(outputValue) {
|
|
100871
100865
|
var enumValue = this._valueLookup.get(outputValue);
|
|
100872
100866
|
if (enumValue === void 0) {
|
|
100873
100867
|
throw new _GraphQLError.GraphQLError('Enum "'.concat(this.name, '" cannot represent value: ').concat((0, _inspect.default)(outputValue)));
|
|
@@ -100919,7 +100913,7 @@ var require_definition3 = __commonJS3({
|
|
|
100919
100913
|
extensionASTNodes: (_this$extensionASTNod4 = this.extensionASTNodes) !== null && _this$extensionASTNod4 !== void 0 ? _this$extensionASTNod4 : []
|
|
100920
100914
|
};
|
|
100921
100915
|
};
|
|
100922
|
-
_proto5.toString = function
|
|
100916
|
+
_proto5.toString = function toString22() {
|
|
100923
100917
|
return this.name;
|
|
100924
100918
|
};
|
|
100925
100919
|
_proto5.toJSON = function toJSON() {
|
|
@@ -100997,7 +100991,7 @@ var require_definition3 = __commonJS3({
|
|
|
100997
100991
|
extensionASTNodes: (_this$extensionASTNod5 = this.extensionASTNodes) !== null && _this$extensionASTNod5 !== void 0 ? _this$extensionASTNod5 : []
|
|
100998
100992
|
};
|
|
100999
100993
|
};
|
|
101000
|
-
_proto6.toString = function
|
|
100994
|
+
_proto6.toString = function toString22() {
|
|
101001
100995
|
return this.name;
|
|
101002
100996
|
};
|
|
101003
100997
|
_proto6.toJSON = function toJSON() {
|
|
@@ -102233,7 +102227,7 @@ var require_directives3 = __commonJS3({
|
|
|
102233
102227
|
astNode: this.astNode
|
|
102234
102228
|
};
|
|
102235
102229
|
};
|
|
102236
|
-
_proto.toString = function
|
|
102230
|
+
_proto.toString = function toString22() {
|
|
102237
102231
|
return "@" + this.name;
|
|
102238
102232
|
};
|
|
102239
102233
|
_proto.toJSON = function toJSON() {
|
|
@@ -104120,16 +104114,16 @@ var require_KnownArgumentNamesRule3 = __commonJS3({
|
|
|
104120
104114
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
104121
104115
|
}
|
|
104122
104116
|
function ownKeys(object, enumerableOnly) {
|
|
104123
|
-
var
|
|
104117
|
+
var keys22 = Object.keys(object);
|
|
104124
104118
|
if (Object.getOwnPropertySymbols) {
|
|
104125
104119
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
104126
104120
|
if (enumerableOnly)
|
|
104127
104121
|
symbols = symbols.filter(function(sym) {
|
|
104128
104122
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
104129
104123
|
});
|
|
104130
|
-
|
|
104124
|
+
keys22.push.apply(keys22, symbols);
|
|
104131
104125
|
}
|
|
104132
|
-
return
|
|
104126
|
+
return keys22;
|
|
104133
104127
|
}
|
|
104134
104128
|
function _objectSpread(target) {
|
|
104135
104129
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -104370,16 +104364,16 @@ var require_ProvidedRequiredArgumentsRule3 = __commonJS3({
|
|
|
104370
104364
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
104371
104365
|
}
|
|
104372
104366
|
function ownKeys(object, enumerableOnly) {
|
|
104373
|
-
var
|
|
104367
|
+
var keys22 = Object.keys(object);
|
|
104374
104368
|
if (Object.getOwnPropertySymbols) {
|
|
104375
104369
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
104376
104370
|
if (enumerableOnly)
|
|
104377
104371
|
symbols = symbols.filter(function(sym) {
|
|
104378
104372
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
104379
104373
|
});
|
|
104380
|
-
|
|
104374
|
+
keys22.push.apply(keys22, symbols);
|
|
104381
104375
|
}
|
|
104382
|
-
return
|
|
104376
|
+
return keys22;
|
|
104383
104377
|
}
|
|
104384
104378
|
function _objectSpread(target) {
|
|
104385
104379
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -105605,13 +105599,13 @@ var require_promiseForObject3 = __commonJS3({
|
|
|
105605
105599
|
});
|
|
105606
105600
|
exports.default = promiseForObject;
|
|
105607
105601
|
function promiseForObject(object) {
|
|
105608
|
-
var
|
|
105609
|
-
var valuesAndPromises =
|
|
105602
|
+
var keys22 = Object.keys(object);
|
|
105603
|
+
var valuesAndPromises = keys22.map(function(name) {
|
|
105610
105604
|
return object[name];
|
|
105611
105605
|
});
|
|
105612
105606
|
return Promise.all(valuesAndPromises).then(function(values) {
|
|
105613
105607
|
return values.reduce(function(resolvedObject, value2, i22) {
|
|
105614
|
-
resolvedObject[
|
|
105608
|
+
resolvedObject[keys22[i22]] = value2;
|
|
105615
105609
|
return resolvedObject;
|
|
105616
105610
|
}, /* @__PURE__ */ Object.create(null));
|
|
105617
105611
|
});
|
|
@@ -108021,16 +108015,16 @@ var require_getIntrospectionQuery3 = __commonJS3({
|
|
|
108021
108015
|
});
|
|
108022
108016
|
exports.getIntrospectionQuery = getIntrospectionQuery2;
|
|
108023
108017
|
function ownKeys(object, enumerableOnly) {
|
|
108024
|
-
var
|
|
108018
|
+
var keys22 = Object.keys(object);
|
|
108025
108019
|
if (Object.getOwnPropertySymbols) {
|
|
108026
108020
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
108027
108021
|
if (enumerableOnly)
|
|
108028
108022
|
symbols = symbols.filter(function(sym) {
|
|
108029
108023
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
108030
108024
|
});
|
|
108031
|
-
|
|
108025
|
+
keys22.push.apply(keys22, symbols);
|
|
108032
108026
|
}
|
|
108033
|
-
return
|
|
108027
|
+
return keys22;
|
|
108034
108028
|
}
|
|
108035
108029
|
function _objectSpread(target) {
|
|
108036
108030
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -108119,16 +108113,16 @@ var require_introspectionFromSchema3 = __commonJS3({
|
|
|
108119
108113
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
108120
108114
|
}
|
|
108121
108115
|
function ownKeys(object, enumerableOnly) {
|
|
108122
|
-
var
|
|
108116
|
+
var keys22 = Object.keys(object);
|
|
108123
108117
|
if (Object.getOwnPropertySymbols) {
|
|
108124
108118
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
108125
108119
|
if (enumerableOnly)
|
|
108126
108120
|
symbols = symbols.filter(function(sym) {
|
|
108127
108121
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
108128
108122
|
});
|
|
108129
|
-
|
|
108123
|
+
keys22.push.apply(keys22, symbols);
|
|
108130
108124
|
}
|
|
108131
|
-
return
|
|
108125
|
+
return keys22;
|
|
108132
108126
|
}
|
|
108133
108127
|
function _objectSpread(target) {
|
|
108134
108128
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -108456,16 +108450,16 @@ var require_extendSchema3 = __commonJS3({
|
|
|
108456
108450
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
108457
108451
|
}
|
|
108458
108452
|
function ownKeys(object, enumerableOnly) {
|
|
108459
|
-
var
|
|
108453
|
+
var keys22 = Object.keys(object);
|
|
108460
108454
|
if (Object.getOwnPropertySymbols) {
|
|
108461
108455
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
108462
108456
|
if (enumerableOnly)
|
|
108463
108457
|
symbols = symbols.filter(function(sym) {
|
|
108464
108458
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
108465
108459
|
});
|
|
108466
|
-
|
|
108460
|
+
keys22.push.apply(keys22, symbols);
|
|
108467
108461
|
}
|
|
108468
|
-
return
|
|
108462
|
+
return keys22;
|
|
108469
108463
|
}
|
|
108470
108464
|
function _objectSpread(target) {
|
|
108471
108465
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -109052,16 +109046,16 @@ var require_lexicographicSortSchema3 = __commonJS3({
|
|
|
109052
109046
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
109053
109047
|
}
|
|
109054
109048
|
function ownKeys(object, enumerableOnly) {
|
|
109055
|
-
var
|
|
109049
|
+
var keys22 = Object.keys(object);
|
|
109056
109050
|
if (Object.getOwnPropertySymbols) {
|
|
109057
109051
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
109058
109052
|
if (enumerableOnly)
|
|
109059
109053
|
symbols = symbols.filter(function(sym) {
|
|
109060
109054
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
109061
109055
|
});
|
|
109062
|
-
|
|
109056
|
+
keys22.push.apply(keys22, symbols);
|
|
109063
109057
|
}
|
|
109064
|
-
return
|
|
109058
|
+
return keys22;
|
|
109065
109059
|
}
|
|
109066
109060
|
function _objectSpread(target) {
|
|
109067
109061
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -109592,16 +109586,16 @@ var require_findBreakingChanges3 = __commonJS3({
|
|
|
109592
109586
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
109593
109587
|
}
|
|
109594
109588
|
function ownKeys(object, enumerableOnly) {
|
|
109595
|
-
var
|
|
109589
|
+
var keys22 = Object.keys(object);
|
|
109596
109590
|
if (Object.getOwnPropertySymbols) {
|
|
109597
109591
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
109598
109592
|
if (enumerableOnly)
|
|
109599
109593
|
symbols = symbols.filter(function(sym) {
|
|
109600
109594
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
109601
109595
|
});
|
|
109602
|
-
|
|
109596
|
+
keys22.push.apply(keys22, symbols);
|
|
109603
109597
|
}
|
|
109604
|
-
return
|
|
109598
|
+
return keys22;
|
|
109605
109599
|
}
|
|
109606
109600
|
function _objectSpread(target) {
|
|
109607
109601
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -111823,9 +111817,9 @@ var require_legacy_streams2 = __commonJS3({
|
|
|
111823
111817
|
this.mode = 438;
|
|
111824
111818
|
this.bufferSize = 64 * 1024;
|
|
111825
111819
|
options = options || {};
|
|
111826
|
-
var
|
|
111827
|
-
for (var index = 0, length =
|
|
111828
|
-
var key =
|
|
111820
|
+
var keys22 = Object.keys(options);
|
|
111821
|
+
for (var index = 0, length = keys22.length; index < length; index++) {
|
|
111822
|
+
var key = keys22[index];
|
|
111829
111823
|
this[key] = options[key];
|
|
111830
111824
|
}
|
|
111831
111825
|
if (this.encoding)
|
|
@@ -111873,9 +111867,9 @@ var require_legacy_streams2 = __commonJS3({
|
|
|
111873
111867
|
this.mode = 438;
|
|
111874
111868
|
this.bytesWritten = 0;
|
|
111875
111869
|
options = options || {};
|
|
111876
|
-
var
|
|
111877
|
-
for (var index = 0, length =
|
|
111878
|
-
var key =
|
|
111870
|
+
var keys22 = Object.keys(options);
|
|
111871
|
+
for (var index = 0, length = keys22.length; index < length; index++) {
|
|
111872
|
+
var key = keys22[index];
|
|
111879
111873
|
this[key] = options[key];
|
|
111880
111874
|
}
|
|
111881
111875
|
if (this.start !== void 0) {
|
|
@@ -115008,10 +115002,10 @@ var require_glob2 = __commonJS3({
|
|
|
115008
115002
|
if (add === null || typeof add !== "object") {
|
|
115009
115003
|
return origin;
|
|
115010
115004
|
}
|
|
115011
|
-
var
|
|
115012
|
-
var i22 =
|
|
115005
|
+
var keys22 = Object.keys(add);
|
|
115006
|
+
var i22 = keys22.length;
|
|
115013
115007
|
while (i22--) {
|
|
115014
|
-
origin[
|
|
115008
|
+
origin[keys22[i22]] = add[keys22[i22]];
|
|
115015
115009
|
}
|
|
115016
115010
|
return origin;
|
|
115017
115011
|
}
|
|
@@ -123404,12 +123398,12 @@ var require_lib32 = __commonJS3({
|
|
|
123404
123398
|
SyntaxError: "BABEL_PARSER_SYNTAX_ERROR",
|
|
123405
123399
|
SourceTypeModuleError: "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"
|
|
123406
123400
|
};
|
|
123407
|
-
var reflect = (
|
|
123401
|
+
var reflect = (keys22, last = keys22.length - 1) => ({
|
|
123408
123402
|
get() {
|
|
123409
|
-
return
|
|
123403
|
+
return keys22.reduce((object, key) => object[key], this);
|
|
123410
123404
|
},
|
|
123411
123405
|
set(value2) {
|
|
123412
|
-
|
|
123406
|
+
keys22.reduce(
|
|
123413
123407
|
(item, key, i22) => i22 === last ? item[key] = value2 : item[key],
|
|
123414
123408
|
this
|
|
123415
123409
|
);
|
|
@@ -125342,9 +125336,9 @@ var require_lib32 = __commonJS3({
|
|
|
125342
125336
|
}
|
|
125343
125337
|
clone(skipArrays) {
|
|
125344
125338
|
const state = new State();
|
|
125345
|
-
const
|
|
125346
|
-
for (let i22 = 0, length =
|
|
125347
|
-
const key =
|
|
125339
|
+
const keys22 = Object.keys(this);
|
|
125340
|
+
for (let i22 = 0, length = keys22.length; i22 < length; i22++) {
|
|
125341
|
+
const key = keys22[i22];
|
|
125348
125342
|
let val = this[key];
|
|
125349
125343
|
if (!skipArrays && Array.isArray(val)) {
|
|
125350
125344
|
val = val.slice();
|
|
@@ -127249,9 +127243,9 @@ var require_lib32 = __commonJS3({
|
|
|
127249
127243
|
{
|
|
127250
127244
|
NodePrototype.__clone = function() {
|
|
127251
127245
|
const newNode = new Node3(void 0, this.start, this.loc.start);
|
|
127252
|
-
const
|
|
127253
|
-
for (let i22 = 0, length =
|
|
127254
|
-
const key =
|
|
127246
|
+
const keys22 = Object.keys(this);
|
|
127247
|
+
for (let i22 = 0, length = keys22.length; i22 < length; i22++) {
|
|
127248
|
+
const key = keys22[i22];
|
|
127255
127249
|
if (key !== "leadingComments" && key !== "trailingComments" && key !== "innerComments") {
|
|
127256
127250
|
newNode[key] = this[key];
|
|
127257
127251
|
}
|
|
@@ -137890,107 +137884,6 @@ var require_lib32 = __commonJS3({
|
|
|
137890
137884
|
exports.tokTypes = tokTypes;
|
|
137891
137885
|
}
|
|
137892
137886
|
});
|
|
137893
|
-
var require_cjs2 = __commonJS3({
|
|
137894
|
-
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
|
|
137895
|
-
"use strict";
|
|
137896
|
-
var isMergeableObject = function isMergeableObject2(value2) {
|
|
137897
|
-
return isNonNullObject(value2) && !isSpecial(value2);
|
|
137898
|
-
};
|
|
137899
|
-
function isNonNullObject(value2) {
|
|
137900
|
-
return !!value2 && typeof value2 === "object";
|
|
137901
|
-
}
|
|
137902
|
-
function isSpecial(value2) {
|
|
137903
|
-
var stringValue = Object.prototype.toString.call(value2);
|
|
137904
|
-
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
137905
|
-
}
|
|
137906
|
-
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
137907
|
-
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
137908
|
-
function isReactElement(value2) {
|
|
137909
|
-
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
137910
|
-
}
|
|
137911
|
-
function emptyTarget(val) {
|
|
137912
|
-
return Array.isArray(val) ? [] : {};
|
|
137913
|
-
}
|
|
137914
|
-
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
137915
|
-
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
137916
|
-
}
|
|
137917
|
-
function defaultArrayMerge(target, source, options) {
|
|
137918
|
-
return target.concat(source).map(function(element) {
|
|
137919
|
-
return cloneUnlessOtherwiseSpecified(element, options);
|
|
137920
|
-
});
|
|
137921
|
-
}
|
|
137922
|
-
function getMergeFunction(key, options) {
|
|
137923
|
-
if (!options.customMerge) {
|
|
137924
|
-
return deepmerge;
|
|
137925
|
-
}
|
|
137926
|
-
var customMerge = options.customMerge(key);
|
|
137927
|
-
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
137928
|
-
}
|
|
137929
|
-
function getEnumerableOwnPropertySymbols(target) {
|
|
137930
|
-
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
137931
|
-
return target.propertyIsEnumerable(symbol);
|
|
137932
|
-
}) : [];
|
|
137933
|
-
}
|
|
137934
|
-
function getKeys(target) {
|
|
137935
|
-
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
137936
|
-
}
|
|
137937
|
-
function propertyIsOnObject(object, property) {
|
|
137938
|
-
try {
|
|
137939
|
-
return property in object;
|
|
137940
|
-
} catch (_) {
|
|
137941
|
-
return false;
|
|
137942
|
-
}
|
|
137943
|
-
}
|
|
137944
|
-
function propertyIsUnsafe(target, key) {
|
|
137945
|
-
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
137946
|
-
}
|
|
137947
|
-
function mergeObject(target, source, options) {
|
|
137948
|
-
var destination = {};
|
|
137949
|
-
if (options.isMergeableObject(target)) {
|
|
137950
|
-
getKeys(target).forEach(function(key) {
|
|
137951
|
-
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
137952
|
-
});
|
|
137953
|
-
}
|
|
137954
|
-
getKeys(source).forEach(function(key) {
|
|
137955
|
-
if (propertyIsUnsafe(target, key)) {
|
|
137956
|
-
return;
|
|
137957
|
-
}
|
|
137958
|
-
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
137959
|
-
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
137960
|
-
} else {
|
|
137961
|
-
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
137962
|
-
}
|
|
137963
|
-
});
|
|
137964
|
-
return destination;
|
|
137965
|
-
}
|
|
137966
|
-
function deepmerge(target, source, options) {
|
|
137967
|
-
options = options || {};
|
|
137968
|
-
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
137969
|
-
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
137970
|
-
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
137971
|
-
var sourceIsArray = Array.isArray(source);
|
|
137972
|
-
var targetIsArray = Array.isArray(target);
|
|
137973
|
-
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
137974
|
-
if (!sourceAndTargetTypesMatch) {
|
|
137975
|
-
return cloneUnlessOtherwiseSpecified(source, options);
|
|
137976
|
-
} else if (sourceIsArray) {
|
|
137977
|
-
return options.arrayMerge(target, source, options);
|
|
137978
|
-
} else {
|
|
137979
|
-
return mergeObject(target, source, options);
|
|
137980
|
-
}
|
|
137981
|
-
}
|
|
137982
|
-
deepmerge.all = function deepmergeAll(array, options) {
|
|
137983
|
-
if (!Array.isArray(array)) {
|
|
137984
|
-
throw new Error("first argument should be an array");
|
|
137985
|
-
}
|
|
137986
|
-
return array.reduce(function(prev, next) {
|
|
137987
|
-
return deepmerge(prev, next, options);
|
|
137988
|
-
}, {});
|
|
137989
|
-
};
|
|
137990
|
-
var deepmerge_1 = deepmerge;
|
|
137991
|
-
module.exports = deepmerge_1;
|
|
137992
|
-
}
|
|
137993
|
-
});
|
|
137994
137887
|
var require_tslib2 = __commonJS3({
|
|
137995
137888
|
"../../node_modules/.pnpm/tslib@2.5.0/node_modules/tslib/tslib.js"(exports, module) {
|
|
137996
137889
|
var __extends;
|
|
@@ -140247,7 +140140,7 @@ var require_path_visitor2 = __commonJS3({
|
|
|
140247
140140
|
}
|
|
140248
140141
|
return target;
|
|
140249
140142
|
}
|
|
140250
|
-
PathVisitor.visit = function
|
|
140143
|
+
PathVisitor.visit = function visit13(node2, methods) {
|
|
140251
140144
|
return PathVisitor.fromMethodsObject(methods).visit(node2);
|
|
140252
140145
|
};
|
|
140253
140146
|
var PVp = PathVisitor.prototype;
|
|
@@ -140438,7 +140331,7 @@ var require_path_visitor2 = __commonJS3({
|
|
|
140438
140331
|
this.needToCallTraverse = false;
|
|
140439
140332
|
return visitChildren(path22, PathVisitor.fromMethodsObject(newVisitor || this.visitor));
|
|
140440
140333
|
};
|
|
140441
|
-
sharedContextProtoMethods.visit = function
|
|
140334
|
+
sharedContextProtoMethods.visit = function visit13(path22, newVisitor) {
|
|
140442
140335
|
if (!(this instanceof this.Context)) {
|
|
140443
140336
|
throw new Error("");
|
|
140444
140337
|
}
|
|
@@ -141781,7 +141674,7 @@ var require_main3 = __commonJS3({
|
|
|
141781
141674
|
var someField = _a.someField;
|
|
141782
141675
|
var Type = _a.Type;
|
|
141783
141676
|
var use = _a.use;
|
|
141784
|
-
var
|
|
141677
|
+
var visit13 = _a.visit;
|
|
141785
141678
|
exports.astNodesAreEquivalent = astNodesAreEquivalent;
|
|
141786
141679
|
exports.builders = builders;
|
|
141787
141680
|
exports.builtInTypes = builtInTypes;
|
|
@@ -141798,7 +141691,7 @@ var require_main3 = __commonJS3({
|
|
|
141798
141691
|
exports.someField = someField;
|
|
141799
141692
|
exports.Type = Type;
|
|
141800
141693
|
exports.use = use;
|
|
141801
|
-
exports.visit =
|
|
141694
|
+
exports.visit = visit13;
|
|
141802
141695
|
Object.assign(namedTypes_1.namedTypes, n);
|
|
141803
141696
|
}
|
|
141804
141697
|
});
|
|
@@ -143562,10 +143455,10 @@ var require_util22 = __commonJS3({
|
|
|
143562
143455
|
var result = {};
|
|
143563
143456
|
var argc = args.length;
|
|
143564
143457
|
for (var i22 = 0; i22 < argc; ++i22) {
|
|
143565
|
-
var
|
|
143566
|
-
var keyCount =
|
|
143458
|
+
var keys22 = Object.keys(args[i22]);
|
|
143459
|
+
var keyCount = keys22.length;
|
|
143567
143460
|
for (var j = 0; j < keyCount; ++j) {
|
|
143568
|
-
result[
|
|
143461
|
+
result[keys22[j]] = true;
|
|
143569
143462
|
}
|
|
143570
143463
|
}
|
|
143571
143464
|
return result;
|
|
@@ -151211,10 +151104,10 @@ var require_parser22 = __commonJS3({
|
|
|
151211
151104
|
loc.indent = newIndent;
|
|
151212
151105
|
this.findTokenRange(loc);
|
|
151213
151106
|
}
|
|
151214
|
-
var
|
|
151215
|
-
var keyCount =
|
|
151107
|
+
var keys22 = Object.keys(node2);
|
|
151108
|
+
var keyCount = keys22.length;
|
|
151216
151109
|
for (var i22 = 0; i22 < keyCount; ++i22) {
|
|
151217
|
-
var key =
|
|
151110
|
+
var key = keys22[i22];
|
|
151218
151111
|
if (key === "loc") {
|
|
151219
151112
|
copy[key] = node2[key];
|
|
151220
151113
|
} else if (key === "tokens" && node2.type === "File") {
|
|
@@ -151969,13 +151862,13 @@ var require_patcher2 = __commonJS3({
|
|
|
151969
151862
|
if (newPath.needsParens() && !oldPath.hasParens()) {
|
|
151970
151863
|
return false;
|
|
151971
151864
|
}
|
|
151972
|
-
var
|
|
151865
|
+
var keys22 = (0, util_110.getUnionOfKeys)(oldNode, newNode);
|
|
151973
151866
|
if (oldNode.type === "File" || newNode.type === "File") {
|
|
151974
|
-
delete
|
|
151867
|
+
delete keys22.tokens;
|
|
151975
151868
|
}
|
|
151976
|
-
delete
|
|
151869
|
+
delete keys22.loc;
|
|
151977
151870
|
var originalReprintCount = reprints.length;
|
|
151978
|
-
for (var k in
|
|
151871
|
+
for (var k in keys22) {
|
|
151979
151872
|
if (k.charAt(0) === "_") {
|
|
151980
151873
|
continue;
|
|
151981
151874
|
}
|
|
@@ -154213,6 +154106,107 @@ var require_main22 = __commonJS3({
|
|
|
154213
154106
|
}
|
|
154214
154107
|
}
|
|
154215
154108
|
});
|
|
154109
|
+
var require_cjs2 = __commonJS3({
|
|
154110
|
+
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
|
|
154111
|
+
"use strict";
|
|
154112
|
+
var isMergeableObject = function isMergeableObject2(value2) {
|
|
154113
|
+
return isNonNullObject(value2) && !isSpecial(value2);
|
|
154114
|
+
};
|
|
154115
|
+
function isNonNullObject(value2) {
|
|
154116
|
+
return !!value2 && typeof value2 === "object";
|
|
154117
|
+
}
|
|
154118
|
+
function isSpecial(value2) {
|
|
154119
|
+
var stringValue = Object.prototype.toString.call(value2);
|
|
154120
|
+
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
154121
|
+
}
|
|
154122
|
+
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
154123
|
+
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
154124
|
+
function isReactElement(value2) {
|
|
154125
|
+
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
154126
|
+
}
|
|
154127
|
+
function emptyTarget(val) {
|
|
154128
|
+
return Array.isArray(val) ? [] : {};
|
|
154129
|
+
}
|
|
154130
|
+
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
154131
|
+
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
154132
|
+
}
|
|
154133
|
+
function defaultArrayMerge(target, source, options) {
|
|
154134
|
+
return target.concat(source).map(function(element) {
|
|
154135
|
+
return cloneUnlessOtherwiseSpecified(element, options);
|
|
154136
|
+
});
|
|
154137
|
+
}
|
|
154138
|
+
function getMergeFunction(key, options) {
|
|
154139
|
+
if (!options.customMerge) {
|
|
154140
|
+
return deepmerge;
|
|
154141
|
+
}
|
|
154142
|
+
var customMerge = options.customMerge(key);
|
|
154143
|
+
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
154144
|
+
}
|
|
154145
|
+
function getEnumerableOwnPropertySymbols(target) {
|
|
154146
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
154147
|
+
return target.propertyIsEnumerable(symbol);
|
|
154148
|
+
}) : [];
|
|
154149
|
+
}
|
|
154150
|
+
function getKeys(target) {
|
|
154151
|
+
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
154152
|
+
}
|
|
154153
|
+
function propertyIsOnObject(object, property) {
|
|
154154
|
+
try {
|
|
154155
|
+
return property in object;
|
|
154156
|
+
} catch (_) {
|
|
154157
|
+
return false;
|
|
154158
|
+
}
|
|
154159
|
+
}
|
|
154160
|
+
function propertyIsUnsafe(target, key) {
|
|
154161
|
+
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
154162
|
+
}
|
|
154163
|
+
function mergeObject(target, source, options) {
|
|
154164
|
+
var destination = {};
|
|
154165
|
+
if (options.isMergeableObject(target)) {
|
|
154166
|
+
getKeys(target).forEach(function(key) {
|
|
154167
|
+
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
154168
|
+
});
|
|
154169
|
+
}
|
|
154170
|
+
getKeys(source).forEach(function(key) {
|
|
154171
|
+
if (propertyIsUnsafe(target, key)) {
|
|
154172
|
+
return;
|
|
154173
|
+
}
|
|
154174
|
+
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
154175
|
+
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
154176
|
+
} else {
|
|
154177
|
+
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
154178
|
+
}
|
|
154179
|
+
});
|
|
154180
|
+
return destination;
|
|
154181
|
+
}
|
|
154182
|
+
function deepmerge(target, source, options) {
|
|
154183
|
+
options = options || {};
|
|
154184
|
+
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
154185
|
+
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
154186
|
+
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
154187
|
+
var sourceIsArray = Array.isArray(source);
|
|
154188
|
+
var targetIsArray = Array.isArray(target);
|
|
154189
|
+
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
154190
|
+
if (!sourceAndTargetTypesMatch) {
|
|
154191
|
+
return cloneUnlessOtherwiseSpecified(source, options);
|
|
154192
|
+
} else if (sourceIsArray) {
|
|
154193
|
+
return options.arrayMerge(target, source, options);
|
|
154194
|
+
} else {
|
|
154195
|
+
return mergeObject(target, source, options);
|
|
154196
|
+
}
|
|
154197
|
+
}
|
|
154198
|
+
deepmerge.all = function deepmergeAll(array, options) {
|
|
154199
|
+
if (!Array.isArray(array)) {
|
|
154200
|
+
throw new Error("first argument should be an array");
|
|
154201
|
+
}
|
|
154202
|
+
return array.reduce(function(prev, next) {
|
|
154203
|
+
return deepmerge(prev, next, options);
|
|
154204
|
+
}, {});
|
|
154205
|
+
};
|
|
154206
|
+
var deepmerge_1 = deepmerge;
|
|
154207
|
+
module.exports = deepmerge_1;
|
|
154208
|
+
}
|
|
154209
|
+
});
|
|
154216
154210
|
var import_minimatch2 = __toESM3(require_minimatch2(), 1);
|
|
154217
154211
|
var config = {
|
|
154218
154212
|
reset: {
|
|
@@ -154415,14 +154409,14 @@ function hasMultilineItems2(maybeArray) {
|
|
|
154415
154409
|
function addDescription2(cb) {
|
|
154416
154410
|
return (node2, _key, _parent, path22, ancestors) => {
|
|
154417
154411
|
var _a;
|
|
154418
|
-
const
|
|
154412
|
+
const keys22 = [];
|
|
154419
154413
|
const parent = path22.reduce((prev, key2) => {
|
|
154420
154414
|
if (["fields", "arguments", "values"].includes(key2) && prev.name) {
|
|
154421
|
-
|
|
154415
|
+
keys22.push(prev.name.value);
|
|
154422
154416
|
}
|
|
154423
154417
|
return prev[key2];
|
|
154424
154418
|
}, ancestors[0]);
|
|
154425
|
-
const key = [...
|
|
154419
|
+
const key = [...keys22, (_a = parent === null || parent === void 0 ? void 0 : parent.name) === null || _a === void 0 ? void 0 : _a.value].filter(Boolean).join(".");
|
|
154426
154420
|
const items = [];
|
|
154427
154421
|
if (node2.kind.includes("Definition") && commentsRegistry2[key]) {
|
|
154428
154422
|
items.push(...commentsRegistry2[key]);
|
|
@@ -154774,9 +154768,9 @@ var DataSource2 = {
|
|
|
154774
154768
|
};
|
|
154775
154769
|
var fragmentKey2 = " $fragments";
|
|
154776
154770
|
var computeKey2 = ({ field, args }) => {
|
|
154777
|
-
const
|
|
154778
|
-
|
|
154779
|
-
return args &&
|
|
154771
|
+
const keys22 = Object.keys(args ?? {});
|
|
154772
|
+
keys22.sort();
|
|
154773
|
+
return args && keys22.length > 0 ? `${field}(${keys22.map((key) => `${key}: ${stringifyObjectWithNoQuotesOnKeys2(args[key])}`).join(", ")})` : field;
|
|
154780
154774
|
};
|
|
154781
154775
|
var stringifyObjectWithNoQuotesOnKeys2 = (obj_from_json) => {
|
|
154782
154776
|
if (Array.isArray(obj_from_json)) {
|
|
@@ -157307,7 +157301,8 @@ var CacheInternal2 = class {
|
|
|
157307
157301
|
parent = rootID2,
|
|
157308
157302
|
variables,
|
|
157309
157303
|
stepsFromConnection = null,
|
|
157310
|
-
ignoreMasking
|
|
157304
|
+
ignoreMasking,
|
|
157305
|
+
fullCheck = false
|
|
157311
157306
|
}) {
|
|
157312
157307
|
if (parent === null) {
|
|
157313
157308
|
return { data: null, partial: false, stale: false, hasData: true };
|
|
@@ -157332,11 +157327,28 @@ var CacheInternal2 = class {
|
|
|
157332
157327
|
let targetSelection = getFieldsForType2(selection, typename);
|
|
157333
157328
|
for (const [
|
|
157334
157329
|
attributeName,
|
|
157335
|
-
{ type, keyRaw, selection: fieldSelection, nullable, list, visible }
|
|
157330
|
+
{ type, keyRaw, selection: fieldSelection, nullable, list, visible, directives }
|
|
157336
157331
|
] of Object.entries(targetSelection)) {
|
|
157337
|
-
if (!visible && !ignoreMasking) {
|
|
157332
|
+
if (!visible && !ignoreMasking && !fullCheck) {
|
|
157338
157333
|
continue;
|
|
157339
157334
|
}
|
|
157335
|
+
const includeDirective = directives?.find((d) => {
|
|
157336
|
+
return d.name === "include";
|
|
157337
|
+
});
|
|
157338
|
+
if (includeDirective) {
|
|
157339
|
+
if (!evaluateFragmentVariables2(includeDirective.arguments, variables ?? {})["if"]) {
|
|
157340
|
+
continue;
|
|
157341
|
+
}
|
|
157342
|
+
}
|
|
157343
|
+
const skipDirective = directives?.find((d) => {
|
|
157344
|
+
return d.name === "skip";
|
|
157345
|
+
});
|
|
157346
|
+
if (skipDirective) {
|
|
157347
|
+
if (evaluateFragmentVariables2(skipDirective.arguments, variables ?? {})["if"]) {
|
|
157348
|
+
continue;
|
|
157349
|
+
}
|
|
157350
|
+
}
|
|
157351
|
+
const fieldTarget = visible || ignoreMasking ? target : {};
|
|
157340
157352
|
const key = evaluateKey2(keyRaw, variables);
|
|
157341
157353
|
const { value: value2 } = this.storage.get(parent, key);
|
|
157342
157354
|
const dt_field = this.staleManager.getFieldTime(parent, key);
|
|
@@ -157359,16 +157371,16 @@ var CacheInternal2 = class {
|
|
|
157359
157371
|
partial = true;
|
|
157360
157372
|
}
|
|
157361
157373
|
if (typeof value2 === "undefined" || value2 === null) {
|
|
157362
|
-
|
|
157374
|
+
fieldTarget[attributeName] = null;
|
|
157363
157375
|
if (typeof value2 !== "undefined") {
|
|
157364
157376
|
hasData = true;
|
|
157365
157377
|
}
|
|
157366
157378
|
} else if (!fieldSelection) {
|
|
157367
157379
|
const fnUnmarshal = this.config?.scalars?.[type]?.unmarshal;
|
|
157368
157380
|
if (fnUnmarshal) {
|
|
157369
|
-
|
|
157381
|
+
fieldTarget[attributeName] = fnUnmarshal(value2);
|
|
157370
157382
|
} else {
|
|
157371
|
-
|
|
157383
|
+
fieldTarget[attributeName] = value2;
|
|
157372
157384
|
}
|
|
157373
157385
|
hasData = true;
|
|
157374
157386
|
} else if (Array.isArray(value2)) {
|
|
@@ -157377,9 +157389,10 @@ var CacheInternal2 = class {
|
|
|
157377
157389
|
variables,
|
|
157378
157390
|
linkedList: value2,
|
|
157379
157391
|
stepsFromConnection: nextStep,
|
|
157380
|
-
ignoreMasking: !!ignoreMasking
|
|
157392
|
+
ignoreMasking: !!ignoreMasking,
|
|
157393
|
+
fullCheck
|
|
157381
157394
|
});
|
|
157382
|
-
|
|
157395
|
+
fieldTarget[attributeName] = listValue.data;
|
|
157383
157396
|
if (listValue.partial) {
|
|
157384
157397
|
partial = true;
|
|
157385
157398
|
}
|
|
@@ -157395,9 +157408,10 @@ var CacheInternal2 = class {
|
|
|
157395
157408
|
selection: fieldSelection,
|
|
157396
157409
|
variables,
|
|
157397
157410
|
stepsFromConnection: nextStep,
|
|
157398
|
-
ignoreMasking
|
|
157411
|
+
ignoreMasking,
|
|
157412
|
+
fullCheck
|
|
157399
157413
|
});
|
|
157400
|
-
|
|
157414
|
+
fieldTarget[attributeName] = objectFields.data;
|
|
157401
157415
|
if (objectFields.partial) {
|
|
157402
157416
|
partial = true;
|
|
157403
157417
|
}
|
|
@@ -157408,7 +157422,7 @@ var CacheInternal2 = class {
|
|
|
157408
157422
|
hasData = true;
|
|
157409
157423
|
}
|
|
157410
157424
|
}
|
|
157411
|
-
if (
|
|
157425
|
+
if (fieldTarget[attributeName] === null && !nullable && !embeddedCursor) {
|
|
157412
157426
|
cascadeNull = true;
|
|
157413
157427
|
}
|
|
157414
157428
|
}
|
|
@@ -157440,7 +157454,8 @@ var CacheInternal2 = class {
|
|
|
157440
157454
|
variables,
|
|
157441
157455
|
linkedList,
|
|
157442
157456
|
stepsFromConnection,
|
|
157443
|
-
ignoreMasking
|
|
157457
|
+
ignoreMasking,
|
|
157458
|
+
fullCheck
|
|
157444
157459
|
}) {
|
|
157445
157460
|
const result = [];
|
|
157446
157461
|
let partialData = false;
|
|
@@ -157453,7 +157468,8 @@ var CacheInternal2 = class {
|
|
|
157453
157468
|
variables,
|
|
157454
157469
|
linkedList: entry,
|
|
157455
157470
|
stepsFromConnection,
|
|
157456
|
-
ignoreMasking
|
|
157471
|
+
ignoreMasking,
|
|
157472
|
+
fullCheck
|
|
157457
157473
|
});
|
|
157458
157474
|
result.push(nestedValue.data);
|
|
157459
157475
|
if (nestedValue.partial) {
|
|
@@ -157475,7 +157491,8 @@ var CacheInternal2 = class {
|
|
|
157475
157491
|
selection: fields,
|
|
157476
157492
|
variables,
|
|
157477
157493
|
stepsFromConnection,
|
|
157478
|
-
ignoreMasking
|
|
157494
|
+
ignoreMasking,
|
|
157495
|
+
fullCheck
|
|
157479
157496
|
});
|
|
157480
157497
|
result.push(data2);
|
|
157481
157498
|
if (partial) {
|
|
@@ -157666,11 +157683,10 @@ var query2 = documentPlugin2(ArtifactKind2.Query, function() {
|
|
|
157666
157683
|
cache_default2.unsubscribe(subscriptionSpec, subscriptionSpec.variables?.() || {});
|
|
157667
157684
|
}
|
|
157668
157685
|
lastVariables = { ...marshalVariables(ctx) };
|
|
157669
|
-
const variables = lastVariables;
|
|
157670
157686
|
subscriptionSpec = {
|
|
157671
157687
|
rootType: ctx.artifact.rootType,
|
|
157672
157688
|
selection: ctx.artifact.selection,
|
|
157673
|
-
variables: () =>
|
|
157689
|
+
variables: () => lastVariables,
|
|
157674
157690
|
set: (newValue) => {
|
|
157675
157691
|
resolve22(ctx, {
|
|
157676
157692
|
data: newValue,
|
|
@@ -157697,17 +157713,12 @@ var query2 = documentPlugin2(ArtifactKind2.Query, function() {
|
|
|
157697
157713
|
});
|
|
157698
157714
|
var fragment2 = documentPlugin2(ArtifactKind2.Fragment, function() {
|
|
157699
157715
|
let subscriptionSpec = null;
|
|
157700
|
-
let lastReference = null;
|
|
157701
157716
|
return {
|
|
157702
157717
|
start(ctx, { next, resolve: resolve22, variablesChanged, marshalVariables }) {
|
|
157703
157718
|
if (!ctx.stuff.parentID) {
|
|
157704
157719
|
return next(ctx);
|
|
157705
157720
|
}
|
|
157706
|
-
|
|
157707
|
-
parent: ctx.stuff.parentID,
|
|
157708
|
-
variables: marshalVariables(ctx)
|
|
157709
|
-
};
|
|
157710
|
-
if (!ctx.cacheParams?.disableSubscriptions && (!deepEquals2(lastReference, currentReference) || variablesChanged(ctx))) {
|
|
157721
|
+
if (variablesChanged(ctx) && !ctx.cacheParams?.disableSubscriptions) {
|
|
157711
157722
|
if (subscriptionSpec) {
|
|
157712
157723
|
cache_default2.unsubscribe(subscriptionSpec, subscriptionSpec.variables?.() || {});
|
|
157713
157724
|
}
|
|
@@ -157730,7 +157741,6 @@ var fragment2 = documentPlugin2(ArtifactKind2.Fragment, function() {
|
|
|
157730
157741
|
}
|
|
157731
157742
|
};
|
|
157732
157743
|
cache_default2.subscribe(subscriptionSpec, variables);
|
|
157733
|
-
lastReference = currentReference;
|
|
157734
157744
|
}
|
|
157735
157745
|
next(ctx);
|
|
157736
157746
|
},
|
|
@@ -157796,14 +157806,16 @@ var emptySchema2 = graphql22.buildSchema("type Query { hello: String }");
|
|
|
157796
157806
|
var defaultDirectives2 = emptySchema2.getDirectives().map((dir) => dir.name);
|
|
157797
157807
|
var graphql32 = __toESM3(require_graphql22(), 1);
|
|
157798
157808
|
var import_parser2 = __toESM3(require_lib32(), 1);
|
|
157799
|
-
var import_deepmerge2 = __toESM3(require_cjs2(), 1);
|
|
157800
157809
|
var recast2 = __toESM3(require_main22(), 1);
|
|
157801
157810
|
var AST2 = recast2.types.builders;
|
|
157811
|
+
var import_deepmerge2 = __toESM3(require_cjs2(), 1);
|
|
157802
157812
|
var graphql42 = __toESM3(require_graphql22(), 1);
|
|
157803
157813
|
var graphql14 = __toESM3(require_graphql22(), 1);
|
|
157804
157814
|
var recast5 = __toESM3(require_main22(), 1);
|
|
157805
157815
|
var recast22 = __toESM3(require_main22(), 1);
|
|
157806
157816
|
var AST22 = recast22.types.builders;
|
|
157817
|
+
var { toString } = {};
|
|
157818
|
+
var { keys } = Object;
|
|
157807
157819
|
var graphql52 = __toESM3(require_graphql22(), 1);
|
|
157808
157820
|
var import_graphql302 = __toESM3(require_graphql22(), 1);
|
|
157809
157821
|
var GraphqlKinds2 = graphql52.Kind;
|
|
@@ -158270,12 +158282,12 @@ var nonASCIIwhitespace = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
|
|
|
158270
158282
|
var skipWhiteSpace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
|
|
158271
158283
|
var ref = Object.prototype;
|
|
158272
158284
|
var hasOwnProperty$1 = ref.hasOwnProperty;
|
|
158273
|
-
var
|
|
158285
|
+
var toString2 = ref.toString;
|
|
158274
158286
|
var hasOwn = Object.hasOwn || function(obj, propName) {
|
|
158275
158287
|
return hasOwnProperty$1.call(obj, propName);
|
|
158276
158288
|
};
|
|
158277
158289
|
var isArray = Array.isArray || function(obj) {
|
|
158278
|
-
return
|
|
158290
|
+
return toString2.call(obj) === "[object Array]";
|
|
158279
158291
|
};
|
|
158280
158292
|
function wordsRegexp(words) {
|
|
158281
158293
|
return new RegExp("^(?:" + words.replace(/ /g, "|") + ")$");
|
|
@@ -171917,7 +171929,7 @@ var ariaPropsMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
171917
171929
|
has: function has(key) {
|
|
171918
171930
|
return !!ariaPropsMap.get(key);
|
|
171919
171931
|
},
|
|
171920
|
-
keys: function
|
|
171932
|
+
keys: function keys3() {
|
|
171921
171933
|
return properties.map(function(_ref) {
|
|
171922
171934
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
171923
171935
|
return key;
|
|
@@ -172327,7 +172339,7 @@ var domMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
172327
172339
|
has: function has(key) {
|
|
172328
172340
|
return !!domMap.get(key);
|
|
172329
172341
|
},
|
|
172330
|
-
keys: function
|
|
172342
|
+
keys: function keys3() {
|
|
172331
172343
|
return dom.map(function(_ref) {
|
|
172332
172344
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
172333
172345
|
return key;
|
|
@@ -177518,7 +177530,7 @@ var rolesMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
177518
177530
|
has: function has(key) {
|
|
177519
177531
|
return !!rolesMap.get(key);
|
|
177520
177532
|
},
|
|
177521
|
-
keys: function
|
|
177533
|
+
keys: function keys3() {
|
|
177522
177534
|
return roles.map(function(_ref5) {
|
|
177523
177535
|
var _ref6 = _slicedToArray(_ref5, 1), key = _ref6[0];
|
|
177524
177536
|
return key;
|
|
@@ -177620,7 +177632,7 @@ if (!Object.keys) {
|
|
|
177620
177632
|
return false;
|
|
177621
177633
|
}
|
|
177622
177634
|
};
|
|
177623
|
-
keysShim = function
|
|
177635
|
+
keysShim = function keys3(object) {
|
|
177624
177636
|
var isObject = object !== null && typeof object === "object";
|
|
177625
177637
|
var isFunction2 = toStr$1.call(object) === "[object Function]";
|
|
177626
177638
|
var isArguments5 = isArgs(object);
|
|
@@ -177671,7 +177683,7 @@ var equalsConstructorPrototypeIfNotBuggy;
|
|
|
177671
177683
|
var implementation = keysShim;
|
|
177672
177684
|
var slice = Array.prototype.slice;
|
|
177673
177685
|
var origKeys = Object.keys;
|
|
177674
|
-
var keysShim$1 = origKeys ? function
|
|
177686
|
+
var keysShim$1 = origKeys ? function keys2(o) {
|
|
177675
177687
|
return origKeys(o);
|
|
177676
177688
|
} : implementation;
|
|
177677
177689
|
var originalKeys = Object.keys;
|
|
@@ -177682,7 +177694,7 @@ keysShim$1.shim = function shimObjectKeys() {
|
|
|
177682
177694
|
return args && args.length === arguments.length;
|
|
177683
177695
|
}(1, 2);
|
|
177684
177696
|
if (!keysWorksWithArguments) {
|
|
177685
|
-
Object.keys = function
|
|
177697
|
+
Object.keys = function keys3(object) {
|
|
177686
177698
|
if (isArguments(object)) {
|
|
177687
177699
|
return originalKeys(slice.call(object));
|
|
177688
177700
|
}
|
|
@@ -179355,10 +179367,10 @@ var inherits = createCommonjsModule(function(module) {
|
|
|
179355
179367
|
});
|
|
179356
179368
|
var util = createCommonjsModule(function(module, exports) {
|
|
179357
179369
|
var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors || function getOwnPropertyDescriptors2(obj) {
|
|
179358
|
-
var
|
|
179370
|
+
var keys3 = Object.keys(obj);
|
|
179359
179371
|
var descriptors = {};
|
|
179360
|
-
for (var i3 = 0; i3 <
|
|
179361
|
-
descriptors[
|
|
179372
|
+
for (var i3 = 0; i3 < keys3.length; i3++) {
|
|
179373
|
+
descriptors[keys3[i3]] = Object.getOwnPropertyDescriptor(obj, keys3[i3]);
|
|
179362
179374
|
}
|
|
179363
179375
|
return descriptors;
|
|
179364
179376
|
};
|
|
@@ -179528,15 +179540,15 @@ var util = createCommonjsModule(function(module, exports) {
|
|
|
179528
179540
|
if (primitive) {
|
|
179529
179541
|
return primitive;
|
|
179530
179542
|
}
|
|
179531
|
-
var
|
|
179532
|
-
var visibleKeys = arrayToHash(
|
|
179543
|
+
var keys3 = Object.keys(value2);
|
|
179544
|
+
var visibleKeys = arrayToHash(keys3);
|
|
179533
179545
|
if (ctx.showHidden) {
|
|
179534
|
-
|
|
179546
|
+
keys3 = Object.getOwnPropertyNames(value2);
|
|
179535
179547
|
}
|
|
179536
|
-
if (isError2(value2) && (
|
|
179548
|
+
if (isError2(value2) && (keys3.indexOf("message") >= 0 || keys3.indexOf("description") >= 0)) {
|
|
179537
179549
|
return formatError(value2);
|
|
179538
179550
|
}
|
|
179539
|
-
if (
|
|
179551
|
+
if (keys3.length === 0) {
|
|
179540
179552
|
if (isFunction2(value2)) {
|
|
179541
179553
|
var name = value2.name ? ": " + value2.name : "";
|
|
179542
179554
|
return ctx.stylize("[Function" + name + "]", "special");
|
|
@@ -179569,7 +179581,7 @@ var util = createCommonjsModule(function(module, exports) {
|
|
|
179569
179581
|
if (isError2(value2)) {
|
|
179570
179582
|
base = " " + formatError(value2);
|
|
179571
179583
|
}
|
|
179572
|
-
if (
|
|
179584
|
+
if (keys3.length === 0 && (!array || value2.length == 0)) {
|
|
179573
179585
|
return braces[0] + base + braces[1];
|
|
179574
179586
|
}
|
|
179575
179587
|
if (recurseTimes < 0) {
|
|
@@ -179582,9 +179594,9 @@ var util = createCommonjsModule(function(module, exports) {
|
|
|
179582
179594
|
ctx.seen.push(value2);
|
|
179583
179595
|
var output;
|
|
179584
179596
|
if (array) {
|
|
179585
|
-
output = formatArray(ctx, value2, recurseTimes, visibleKeys,
|
|
179597
|
+
output = formatArray(ctx, value2, recurseTimes, visibleKeys, keys3);
|
|
179586
179598
|
} else {
|
|
179587
|
-
output =
|
|
179599
|
+
output = keys3.map(function(key) {
|
|
179588
179600
|
return formatProperty(ctx, value2, recurseTimes, visibleKeys, key, array);
|
|
179589
179601
|
});
|
|
179590
179602
|
}
|
|
@@ -179608,7 +179620,7 @@ var util = createCommonjsModule(function(module, exports) {
|
|
|
179608
179620
|
function formatError(value2) {
|
|
179609
179621
|
return "[" + Error.prototype.toString.call(value2) + "]";
|
|
179610
179622
|
}
|
|
179611
|
-
function formatArray(ctx, value2, recurseTimes, visibleKeys,
|
|
179623
|
+
function formatArray(ctx, value2, recurseTimes, visibleKeys, keys3) {
|
|
179612
179624
|
var output = [];
|
|
179613
179625
|
for (var i3 = 0, l = value2.length; i3 < l; ++i3) {
|
|
179614
179626
|
if (hasOwnProperty2(value2, String(i3))) {
|
|
@@ -179624,7 +179636,7 @@ var util = createCommonjsModule(function(module, exports) {
|
|
|
179624
179636
|
output.push("");
|
|
179625
179637
|
}
|
|
179626
179638
|
}
|
|
179627
|
-
|
|
179639
|
+
keys3.forEach(function(key) {
|
|
179628
179640
|
if (!key.match(/^\d+$/)) {
|
|
179629
179641
|
output.push(formatProperty(
|
|
179630
179642
|
ctx,
|
|
@@ -179800,10 +179812,10 @@ var util = createCommonjsModule(function(module, exports) {
|
|
|
179800
179812
|
exports._extend = function(origin, add) {
|
|
179801
179813
|
if (!add || !isObject(add))
|
|
179802
179814
|
return origin;
|
|
179803
|
-
var
|
|
179804
|
-
var i3 =
|
|
179815
|
+
var keys3 = Object.keys(add);
|
|
179816
|
+
var i3 = keys3.length;
|
|
179805
179817
|
while (i3--) {
|
|
179806
|
-
origin[
|
|
179818
|
+
origin[keys3[i3]] = add[keys3[i3]];
|
|
179807
179819
|
}
|
|
179808
179820
|
return origin;
|
|
179809
179821
|
};
|
|
@@ -180060,8 +180072,8 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
|
180060
180072
|
}
|
|
180061
180073
|
if (typeof obj === "function" && !isRegExp(obj)) {
|
|
180062
180074
|
var name = nameOf(obj);
|
|
180063
|
-
var
|
|
180064
|
-
return "[Function" + (name ? ": " + name : " (anonymous)") + "]" + (
|
|
180075
|
+
var keys3 = arrObjKeys(obj, inspect);
|
|
180076
|
+
return "[Function" + (name ? ": " + name : " (anonymous)") + "]" + (keys3.length > 0 ? " { " + $join.call(keys3, ", ") + " }" : "");
|
|
180065
180077
|
}
|
|
180066
180078
|
if (isSymbol$1(obj)) {
|
|
180067
180079
|
var symString = hasShammedSymbols ? $replace$1.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, "$1") : symToString.call(obj);
|
|
@@ -180547,19 +180559,19 @@ var implementation$4 = function assign(target, source1) {
|
|
|
180547
180559
|
}
|
|
180548
180560
|
for (var s3 = 1; s3 < arguments.length; ++s3) {
|
|
180549
180561
|
var from = toObject(arguments[s3]);
|
|
180550
|
-
var
|
|
180562
|
+
var keys3 = objectKeys(from);
|
|
180551
180563
|
var getSymbols = hasSymbols$3 && (Object.getOwnPropertySymbols || originalGetSymbols);
|
|
180552
180564
|
if (getSymbols) {
|
|
180553
180565
|
var syms = getSymbols(from);
|
|
180554
180566
|
for (var j = 0; j < syms.length; ++j) {
|
|
180555
180567
|
var key = syms[j];
|
|
180556
180568
|
if ($propIsEnumerable(from, key)) {
|
|
180557
|
-
$push(
|
|
180569
|
+
$push(keys3, key);
|
|
180558
180570
|
}
|
|
180559
180571
|
}
|
|
180560
180572
|
}
|
|
180561
|
-
for (var i3 = 0; i3 <
|
|
180562
|
-
var nextKey =
|
|
180573
|
+
for (var i3 = 0; i3 < keys3.length; ++i3) {
|
|
180574
|
+
var nextKey = keys3[i3];
|
|
180563
180575
|
if ($propIsEnumerable(from, nextKey)) {
|
|
180564
180576
|
var propValue = from[nextKey];
|
|
180565
180577
|
to[nextKey] = propValue;
|
|
@@ -181053,9 +181065,9 @@ var elementRoleMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
181053
181065
|
return arr2;
|
|
181054
181066
|
}
|
|
181055
181067
|
var elementRoles = [];
|
|
181056
|
-
var
|
|
181057
|
-
for (var i3 = 0; i3 <
|
|
181058
|
-
var key =
|
|
181068
|
+
var keys3 = _rolesMap.default.keys();
|
|
181069
|
+
for (var i3 = 0; i3 < keys3.length; i3++) {
|
|
181070
|
+
var key = keys3[i3];
|
|
181059
181071
|
var role = _rolesMap.default.get(key);
|
|
181060
181072
|
if (role) {
|
|
181061
181073
|
var concepts = [].concat(role.baseConcepts, role.relatedConcepts);
|
|
@@ -181119,7 +181131,7 @@ var elementRoleMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
181119
181131
|
has: function has(key2) {
|
|
181120
181132
|
return !!elementRoleMap.get(key2);
|
|
181121
181133
|
},
|
|
181122
|
-
keys: function
|
|
181134
|
+
keys: function keys4() {
|
|
181123
181135
|
return elementRoles.map(function(_ref) {
|
|
181124
181136
|
var _ref2 = _slicedToArray(_ref, 1), key2 = _ref2[0];
|
|
181125
181137
|
return key2;
|
|
@@ -181245,9 +181257,9 @@ var roleElementMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
181245
181257
|
return arr2;
|
|
181246
181258
|
}
|
|
181247
181259
|
var roleElement = [];
|
|
181248
|
-
var
|
|
181260
|
+
var keys3 = _rolesMap.default.keys();
|
|
181249
181261
|
var _loop = function _loop2(i4) {
|
|
181250
|
-
var key =
|
|
181262
|
+
var key = keys3[i4];
|
|
181251
181263
|
var role = _rolesMap.default.get(key);
|
|
181252
181264
|
if (role) {
|
|
181253
181265
|
var concepts = [].concat(role.baseConcepts, role.relatedConcepts);
|
|
@@ -181272,7 +181284,7 @@ var roleElementMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
181272
181284
|
}
|
|
181273
181285
|
}
|
|
181274
181286
|
};
|
|
181275
|
-
for (var i3 = 0; i3 <
|
|
181287
|
+
for (var i3 = 0; i3 < keys3.length; i3++) {
|
|
181276
181288
|
_loop(i3);
|
|
181277
181289
|
}
|
|
181278
181290
|
var roleElementMap = {
|
|
@@ -181302,7 +181314,7 @@ var roleElementMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
181302
181314
|
has: function has(key) {
|
|
181303
181315
|
return !!roleElementMap.get(key);
|
|
181304
181316
|
},
|
|
181305
|
-
keys: function
|
|
181317
|
+
keys: function keys4() {
|
|
181306
181318
|
return roleElement.map(function(_ref) {
|
|
181307
181319
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
181308
181320
|
return key;
|
|
@@ -184035,7 +184047,7 @@ var AXObjectsMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
184035
184047
|
has: function has(key) {
|
|
184036
184048
|
return !!this.get(key);
|
|
184037
184049
|
},
|
|
184038
|
-
keys: function
|
|
184050
|
+
keys: function keys3() {
|
|
184039
184051
|
return AXObjects.map(function(_ref) {
|
|
184040
184052
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
184041
184053
|
return key;
|
|
@@ -184220,7 +184232,7 @@ var AXObjectElementMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
184220
184232
|
has: function has(key) {
|
|
184221
184233
|
return !!this.get(key);
|
|
184222
184234
|
},
|
|
184223
|
-
keys: function
|
|
184235
|
+
keys: function keys3() {
|
|
184224
184236
|
return AXObjectElements.map(function(_ref) {
|
|
184225
184237
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
184226
184238
|
return key;
|
|
@@ -184405,7 +184417,7 @@ var AXObjectRoleMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
184405
184417
|
has: function has(key) {
|
|
184406
184418
|
return !!this.get(key);
|
|
184407
184419
|
},
|
|
184408
|
-
keys: function
|
|
184420
|
+
keys: function keys3() {
|
|
184409
184421
|
return AXObjectRoleElements.map(function(_ref) {
|
|
184410
184422
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
184411
184423
|
return key;
|
|
@@ -184606,7 +184618,7 @@ var elementAXObjectMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
184606
184618
|
has: function has(key) {
|
|
184607
184619
|
return !!this.get(key);
|
|
184608
184620
|
},
|
|
184609
|
-
keys: function
|
|
184621
|
+
keys: function keys3() {
|
|
184610
184622
|
return elementAXObjects.map(function(_ref) {
|
|
184611
184623
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
184612
184624
|
return key;
|