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
|
@@ -225,16 +225,16 @@ var require_GraphQLError2 = __commonJS({
|
|
|
225
225
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
226
226
|
}
|
|
227
227
|
function ownKeys(object, enumerableOnly) {
|
|
228
|
-
var
|
|
228
|
+
var keys3 = Object.keys(object);
|
|
229
229
|
if (Object.getOwnPropertySymbols) {
|
|
230
230
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
231
231
|
if (enumerableOnly)
|
|
232
232
|
symbols = symbols.filter(function(sym) {
|
|
233
233
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
234
234
|
});
|
|
235
|
-
|
|
235
|
+
keys3.push.apply(keys3, symbols);
|
|
236
236
|
}
|
|
237
|
-
return
|
|
237
|
+
return keys3;
|
|
238
238
|
}
|
|
239
239
|
function _objectSpread(target) {
|
|
240
240
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -471,7 +471,7 @@ var require_GraphQLError2 = __commonJS({
|
|
|
471
471
|
}
|
|
472
472
|
_createClass(GraphQLError2, [{
|
|
473
473
|
key: "toString",
|
|
474
|
-
value: function
|
|
474
|
+
value: function toString3() {
|
|
475
475
|
return printError(this);
|
|
476
476
|
}
|
|
477
477
|
}, {
|
|
@@ -793,14 +793,14 @@ var require_inspect2 = __commonJS({
|
|
|
793
793
|
return formatObject(value2, seenValues);
|
|
794
794
|
}
|
|
795
795
|
function formatObject(object, seenValues) {
|
|
796
|
-
var
|
|
797
|
-
if (
|
|
796
|
+
var keys3 = Object.keys(object);
|
|
797
|
+
if (keys3.length === 0) {
|
|
798
798
|
return "{}";
|
|
799
799
|
}
|
|
800
800
|
if (seenValues.length > MAX_RECURSIVE_DEPTH) {
|
|
801
801
|
return "[" + getObjectTag(object) + "]";
|
|
802
802
|
}
|
|
803
|
-
var properties =
|
|
803
|
+
var properties = keys3.map(function(key) {
|
|
804
804
|
var value2 = formatValue(object[key], seenValues);
|
|
805
805
|
return key + ": " + value2;
|
|
806
806
|
});
|
|
@@ -2465,7 +2465,7 @@ var require_visitor2 = __commonJS({
|
|
|
2465
2465
|
var visitorKeys = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : QueryDocumentKeys;
|
|
2466
2466
|
var stack = void 0;
|
|
2467
2467
|
var inArray = Array.isArray(root);
|
|
2468
|
-
var
|
|
2468
|
+
var keys3 = [root];
|
|
2469
2469
|
var index = -1;
|
|
2470
2470
|
var edits = [];
|
|
2471
2471
|
var node2 = void 0;
|
|
@@ -2476,7 +2476,7 @@ var require_visitor2 = __commonJS({
|
|
|
2476
2476
|
var newRoot = root;
|
|
2477
2477
|
do {
|
|
2478
2478
|
index++;
|
|
2479
|
-
var isLeaving = index ===
|
|
2479
|
+
var isLeaving = index === keys3.length;
|
|
2480
2480
|
var isEdited = isLeaving && edits.length !== 0;
|
|
2481
2481
|
if (isLeaving) {
|
|
2482
2482
|
key = ancestors.length === 0 ? void 0 : path3[path3.length - 1];
|
|
@@ -2509,12 +2509,12 @@ var require_visitor2 = __commonJS({
|
|
|
2509
2509
|
}
|
|
2510
2510
|
}
|
|
2511
2511
|
index = stack.index;
|
|
2512
|
-
|
|
2512
|
+
keys3 = stack.keys;
|
|
2513
2513
|
edits = stack.edits;
|
|
2514
2514
|
inArray = stack.inArray;
|
|
2515
2515
|
stack = stack.prev;
|
|
2516
2516
|
} else {
|
|
2517
|
-
key = parent ? inArray ? index :
|
|
2517
|
+
key = parent ? inArray ? index : keys3[index] : void 0;
|
|
2518
2518
|
node2 = parent ? parent[key] : newRoot;
|
|
2519
2519
|
if (node2 === null || node2 === void 0) {
|
|
2520
2520
|
continue;
|
|
@@ -2562,12 +2562,12 @@ var require_visitor2 = __commonJS({
|
|
|
2562
2562
|
stack = {
|
|
2563
2563
|
inArray,
|
|
2564
2564
|
index,
|
|
2565
|
-
keys:
|
|
2565
|
+
keys: keys3,
|
|
2566
2566
|
edits,
|
|
2567
2567
|
prev: stack
|
|
2568
2568
|
};
|
|
2569
2569
|
inArray = Array.isArray(node2);
|
|
2570
|
-
|
|
2570
|
+
keys3 = inArray ? node2 : (_visitorKeys$node$kin = visitorKeys[node2.kind]) !== null && _visitorKeys$node$kin !== void 0 ? _visitorKeys$node$kin : [];
|
|
2571
2571
|
index = -1;
|
|
2572
2572
|
edits = [];
|
|
2573
2573
|
if (parent) {
|
|
@@ -3550,7 +3550,7 @@ var require_definition2 = __commonJS({
|
|
|
3550
3550
|
return new GraphQLList(ofType);
|
|
3551
3551
|
}
|
|
3552
3552
|
}
|
|
3553
|
-
GraphQLList.prototype.toString = function
|
|
3553
|
+
GraphQLList.prototype.toString = function toString3() {
|
|
3554
3554
|
return "[" + String(this.ofType) + "]";
|
|
3555
3555
|
};
|
|
3556
3556
|
GraphQLList.prototype.toJSON = function toJSON() {
|
|
@@ -3569,7 +3569,7 @@ var require_definition2 = __commonJS({
|
|
|
3569
3569
|
return new GraphQLNonNull(ofType);
|
|
3570
3570
|
}
|
|
3571
3571
|
}
|
|
3572
|
-
GraphQLNonNull.prototype.toString = function
|
|
3572
|
+
GraphQLNonNull.prototype.toString = function toString3() {
|
|
3573
3573
|
return String(this.ofType) + "!";
|
|
3574
3574
|
};
|
|
3575
3575
|
GraphQLNonNull.prototype.toJSON = function toJSON() {
|
|
@@ -3665,7 +3665,7 @@ var require_definition2 = __commonJS({
|
|
|
3665
3665
|
extensionASTNodes: (_this$extensionASTNod = this.extensionASTNodes) !== null && _this$extensionASTNod !== void 0 ? _this$extensionASTNod : []
|
|
3666
3666
|
};
|
|
3667
3667
|
};
|
|
3668
|
-
_proto.toString = function
|
|
3668
|
+
_proto.toString = function toString3() {
|
|
3669
3669
|
return this.name;
|
|
3670
3670
|
};
|
|
3671
3671
|
_proto.toJSON = function toJSON() {
|
|
@@ -3719,7 +3719,7 @@ var require_definition2 = __commonJS({
|
|
|
3719
3719
|
extensionASTNodes: this.extensionASTNodes || []
|
|
3720
3720
|
};
|
|
3721
3721
|
};
|
|
3722
|
-
_proto2.toString = function
|
|
3722
|
+
_proto2.toString = function toString3() {
|
|
3723
3723
|
return this.name;
|
|
3724
3724
|
};
|
|
3725
3725
|
_proto2.toJSON = function toJSON() {
|
|
@@ -3850,7 +3850,7 @@ var require_definition2 = __commonJS({
|
|
|
3850
3850
|
extensionASTNodes: (_this$extensionASTNod2 = this.extensionASTNodes) !== null && _this$extensionASTNod2 !== void 0 ? _this$extensionASTNod2 : []
|
|
3851
3851
|
};
|
|
3852
3852
|
};
|
|
3853
|
-
_proto3.toString = function
|
|
3853
|
+
_proto3.toString = function toString3() {
|
|
3854
3854
|
return this.name;
|
|
3855
3855
|
};
|
|
3856
3856
|
_proto3.toJSON = function toJSON() {
|
|
@@ -3897,7 +3897,7 @@ var require_definition2 = __commonJS({
|
|
|
3897
3897
|
extensionASTNodes: (_this$extensionASTNod3 = this.extensionASTNodes) !== null && _this$extensionASTNod3 !== void 0 ? _this$extensionASTNod3 : []
|
|
3898
3898
|
};
|
|
3899
3899
|
};
|
|
3900
|
-
_proto4.toString = function
|
|
3900
|
+
_proto4.toString = function toString3() {
|
|
3901
3901
|
return this.name;
|
|
3902
3902
|
};
|
|
3903
3903
|
_proto4.toJSON = function toJSON() {
|
|
@@ -3993,7 +3993,7 @@ var require_definition2 = __commonJS({
|
|
|
3993
3993
|
extensionASTNodes: (_this$extensionASTNod4 = this.extensionASTNodes) !== null && _this$extensionASTNod4 !== void 0 ? _this$extensionASTNod4 : []
|
|
3994
3994
|
};
|
|
3995
3995
|
};
|
|
3996
|
-
_proto5.toString = function
|
|
3996
|
+
_proto5.toString = function toString3() {
|
|
3997
3997
|
return this.name;
|
|
3998
3998
|
};
|
|
3999
3999
|
_proto5.toJSON = function toJSON() {
|
|
@@ -4071,7 +4071,7 @@ var require_definition2 = __commonJS({
|
|
|
4071
4071
|
extensionASTNodes: (_this$extensionASTNod5 = this.extensionASTNodes) !== null && _this$extensionASTNod5 !== void 0 ? _this$extensionASTNod5 : []
|
|
4072
4072
|
};
|
|
4073
4073
|
};
|
|
4074
|
-
_proto6.toString = function
|
|
4074
|
+
_proto6.toString = function toString3() {
|
|
4075
4075
|
return this.name;
|
|
4076
4076
|
};
|
|
4077
4077
|
_proto6.toJSON = function toJSON() {
|
|
@@ -5325,7 +5325,7 @@ var require_directives2 = __commonJS({
|
|
|
5325
5325
|
astNode: this.astNode
|
|
5326
5326
|
};
|
|
5327
5327
|
};
|
|
5328
|
-
_proto.toString = function
|
|
5328
|
+
_proto.toString = function toString3() {
|
|
5329
5329
|
return "@" + this.name;
|
|
5330
5330
|
};
|
|
5331
5331
|
_proto.toJSON = function toJSON() {
|
|
@@ -7262,16 +7262,16 @@ var require_KnownArgumentNamesRule2 = __commonJS({
|
|
|
7262
7262
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
7263
7263
|
}
|
|
7264
7264
|
function ownKeys(object, enumerableOnly) {
|
|
7265
|
-
var
|
|
7265
|
+
var keys3 = Object.keys(object);
|
|
7266
7266
|
if (Object.getOwnPropertySymbols) {
|
|
7267
7267
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
7268
7268
|
if (enumerableOnly)
|
|
7269
7269
|
symbols = symbols.filter(function(sym) {
|
|
7270
7270
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
7271
7271
|
});
|
|
7272
|
-
|
|
7272
|
+
keys3.push.apply(keys3, symbols);
|
|
7273
7273
|
}
|
|
7274
|
-
return
|
|
7274
|
+
return keys3;
|
|
7275
7275
|
}
|
|
7276
7276
|
function _objectSpread(target) {
|
|
7277
7277
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -7518,16 +7518,16 @@ var require_ProvidedRequiredArgumentsRule2 = __commonJS({
|
|
|
7518
7518
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
7519
7519
|
}
|
|
7520
7520
|
function ownKeys(object, enumerableOnly) {
|
|
7521
|
-
var
|
|
7521
|
+
var keys3 = Object.keys(object);
|
|
7522
7522
|
if (Object.getOwnPropertySymbols) {
|
|
7523
7523
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
7524
7524
|
if (enumerableOnly)
|
|
7525
7525
|
symbols = symbols.filter(function(sym) {
|
|
7526
7526
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
7527
7527
|
});
|
|
7528
|
-
|
|
7528
|
+
keys3.push.apply(keys3, symbols);
|
|
7529
7529
|
}
|
|
7530
|
-
return
|
|
7530
|
+
return keys3;
|
|
7531
7531
|
}
|
|
7532
7532
|
function _objectSpread(target) {
|
|
7533
7533
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -8785,13 +8785,13 @@ var require_promiseForObject2 = __commonJS({
|
|
|
8785
8785
|
});
|
|
8786
8786
|
exports.default = promiseForObject;
|
|
8787
8787
|
function promiseForObject(object) {
|
|
8788
|
-
var
|
|
8789
|
-
var valuesAndPromises =
|
|
8788
|
+
var keys3 = Object.keys(object);
|
|
8789
|
+
var valuesAndPromises = keys3.map(function(name) {
|
|
8790
8790
|
return object[name];
|
|
8791
8791
|
});
|
|
8792
8792
|
return Promise.all(valuesAndPromises).then(function(values) {
|
|
8793
8793
|
return values.reduce(function(resolvedObject, value2, i3) {
|
|
8794
|
-
resolvedObject[
|
|
8794
|
+
resolvedObject[keys3[i3]] = value2;
|
|
8795
8795
|
return resolvedObject;
|
|
8796
8796
|
}, /* @__PURE__ */ Object.create(null));
|
|
8797
8797
|
});
|
|
@@ -11243,16 +11243,16 @@ var require_getIntrospectionQuery2 = __commonJS({
|
|
|
11243
11243
|
});
|
|
11244
11244
|
exports.getIntrospectionQuery = getIntrospectionQuery;
|
|
11245
11245
|
function ownKeys(object, enumerableOnly) {
|
|
11246
|
-
var
|
|
11246
|
+
var keys3 = Object.keys(object);
|
|
11247
11247
|
if (Object.getOwnPropertySymbols) {
|
|
11248
11248
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
11249
11249
|
if (enumerableOnly)
|
|
11250
11250
|
symbols = symbols.filter(function(sym) {
|
|
11251
11251
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
11252
11252
|
});
|
|
11253
|
-
|
|
11253
|
+
keys3.push.apply(keys3, symbols);
|
|
11254
11254
|
}
|
|
11255
|
-
return
|
|
11255
|
+
return keys3;
|
|
11256
11256
|
}
|
|
11257
11257
|
function _objectSpread(target) {
|
|
11258
11258
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -11345,16 +11345,16 @@ var require_introspectionFromSchema2 = __commonJS({
|
|
|
11345
11345
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
11346
11346
|
}
|
|
11347
11347
|
function ownKeys(object, enumerableOnly) {
|
|
11348
|
-
var
|
|
11348
|
+
var keys3 = Object.keys(object);
|
|
11349
11349
|
if (Object.getOwnPropertySymbols) {
|
|
11350
11350
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
11351
11351
|
if (enumerableOnly)
|
|
11352
11352
|
symbols = symbols.filter(function(sym) {
|
|
11353
11353
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
11354
11354
|
});
|
|
11355
|
-
|
|
11355
|
+
keys3.push.apply(keys3, symbols);
|
|
11356
11356
|
}
|
|
11357
|
-
return
|
|
11357
|
+
return keys3;
|
|
11358
11358
|
}
|
|
11359
11359
|
function _objectSpread(target) {
|
|
11360
11360
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -11686,16 +11686,16 @@ var require_extendSchema2 = __commonJS({
|
|
|
11686
11686
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
11687
11687
|
}
|
|
11688
11688
|
function ownKeys(object, enumerableOnly) {
|
|
11689
|
-
var
|
|
11689
|
+
var keys3 = Object.keys(object);
|
|
11690
11690
|
if (Object.getOwnPropertySymbols) {
|
|
11691
11691
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
11692
11692
|
if (enumerableOnly)
|
|
11693
11693
|
symbols = symbols.filter(function(sym) {
|
|
11694
11694
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
11695
11695
|
});
|
|
11696
|
-
|
|
11696
|
+
keys3.push.apply(keys3, symbols);
|
|
11697
11697
|
}
|
|
11698
|
-
return
|
|
11698
|
+
return keys3;
|
|
11699
11699
|
}
|
|
11700
11700
|
function _objectSpread(target) {
|
|
11701
11701
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -12286,16 +12286,16 @@ var require_lexicographicSortSchema2 = __commonJS({
|
|
|
12286
12286
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
12287
12287
|
}
|
|
12288
12288
|
function ownKeys(object, enumerableOnly) {
|
|
12289
|
-
var
|
|
12289
|
+
var keys3 = Object.keys(object);
|
|
12290
12290
|
if (Object.getOwnPropertySymbols) {
|
|
12291
12291
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
12292
12292
|
if (enumerableOnly)
|
|
12293
12293
|
symbols = symbols.filter(function(sym) {
|
|
12294
12294
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
12295
12295
|
});
|
|
12296
|
-
|
|
12296
|
+
keys3.push.apply(keys3, symbols);
|
|
12297
12297
|
}
|
|
12298
|
-
return
|
|
12298
|
+
return keys3;
|
|
12299
12299
|
}
|
|
12300
12300
|
function _objectSpread(target) {
|
|
12301
12301
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -12836,16 +12836,16 @@ var require_findBreakingChanges2 = __commonJS({
|
|
|
12836
12836
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
12837
12837
|
}
|
|
12838
12838
|
function ownKeys(object, enumerableOnly) {
|
|
12839
|
-
var
|
|
12839
|
+
var keys3 = Object.keys(object);
|
|
12840
12840
|
if (Object.getOwnPropertySymbols) {
|
|
12841
12841
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
12842
12842
|
if (enumerableOnly)
|
|
12843
12843
|
symbols = symbols.filter(function(sym) {
|
|
12844
12844
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
12845
12845
|
});
|
|
12846
|
-
|
|
12846
|
+
keys3.push.apply(keys3, symbols);
|
|
12847
12847
|
}
|
|
12848
|
-
return
|
|
12848
|
+
return keys3;
|
|
12849
12849
|
}
|
|
12850
12850
|
function _objectSpread(target) {
|
|
12851
12851
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -20367,10 +20367,10 @@ var require_util5 = __commonJS({
|
|
|
20367
20367
|
var result = {};
|
|
20368
20368
|
var argc = args.length;
|
|
20369
20369
|
for (var i3 = 0; i3 < argc; ++i3) {
|
|
20370
|
-
var
|
|
20371
|
-
var keyCount =
|
|
20370
|
+
var keys3 = Object.keys(args[i3]);
|
|
20371
|
+
var keyCount = keys3.length;
|
|
20372
20372
|
for (var j = 0; j < keyCount; ++j) {
|
|
20373
|
-
result[
|
|
20373
|
+
result[keys3[j]] = true;
|
|
20374
20374
|
}
|
|
20375
20375
|
}
|
|
20376
20376
|
return result;
|
|
@@ -28030,10 +28030,10 @@ var require_parser5 = __commonJS({
|
|
|
28030
28030
|
loc.indent = newIndent;
|
|
28031
28031
|
this.findTokenRange(loc);
|
|
28032
28032
|
}
|
|
28033
|
-
var
|
|
28034
|
-
var keyCount =
|
|
28033
|
+
var keys3 = Object.keys(node2);
|
|
28034
|
+
var keyCount = keys3.length;
|
|
28035
28035
|
for (var i3 = 0; i3 < keyCount; ++i3) {
|
|
28036
|
-
var key =
|
|
28036
|
+
var key = keys3[i3];
|
|
28037
28037
|
if (key === "loc") {
|
|
28038
28038
|
copy[key] = node2[key];
|
|
28039
28039
|
} else if (key === "tokens" && node2.type === "File") {
|
|
@@ -28792,13 +28792,13 @@ var require_patcher3 = __commonJS({
|
|
|
28792
28792
|
if (newPath.needsParens() && !oldPath.hasParens()) {
|
|
28793
28793
|
return false;
|
|
28794
28794
|
}
|
|
28795
|
-
var
|
|
28795
|
+
var keys3 = (0, util_110.getUnionOfKeys)(oldNode, newNode);
|
|
28796
28796
|
if (oldNode.type === "File" || newNode.type === "File") {
|
|
28797
|
-
delete
|
|
28797
|
+
delete keys3.tokens;
|
|
28798
28798
|
}
|
|
28799
|
-
delete
|
|
28799
|
+
delete keys3.loc;
|
|
28800
28800
|
var originalReprintCount = reprints.length;
|
|
28801
|
-
for (var k in
|
|
28801
|
+
for (var k in keys3) {
|
|
28802
28802
|
if (k.charAt(0) === "_") {
|
|
28803
28803
|
continue;
|
|
28804
28804
|
}
|
|
@@ -31287,16 +31287,16 @@ var require_GraphQLError = __commonJS2({
|
|
|
31287
31287
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
31288
31288
|
}
|
|
31289
31289
|
function ownKeys(object, enumerableOnly) {
|
|
31290
|
-
var
|
|
31290
|
+
var keys3 = Object.keys(object);
|
|
31291
31291
|
if (Object.getOwnPropertySymbols) {
|
|
31292
31292
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
31293
31293
|
if (enumerableOnly)
|
|
31294
31294
|
symbols = symbols.filter(function(sym) {
|
|
31295
31295
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
31296
31296
|
});
|
|
31297
|
-
|
|
31297
|
+
keys3.push.apply(keys3, symbols);
|
|
31298
31298
|
}
|
|
31299
|
-
return
|
|
31299
|
+
return keys3;
|
|
31300
31300
|
}
|
|
31301
31301
|
function _objectSpread(target) {
|
|
31302
31302
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -31533,7 +31533,7 @@ var require_GraphQLError = __commonJS2({
|
|
|
31533
31533
|
}
|
|
31534
31534
|
_createClass(GraphQLError3, [{
|
|
31535
31535
|
key: "toString",
|
|
31536
|
-
value: function
|
|
31536
|
+
value: function toString3() {
|
|
31537
31537
|
return printError(this);
|
|
31538
31538
|
}
|
|
31539
31539
|
}, {
|
|
@@ -31839,14 +31839,14 @@ var require_inspect = __commonJS2({
|
|
|
31839
31839
|
return formatObject2(value2, seenValues);
|
|
31840
31840
|
}
|
|
31841
31841
|
function formatObject2(object, seenValues) {
|
|
31842
|
-
var
|
|
31843
|
-
if (
|
|
31842
|
+
var keys3 = Object.keys(object);
|
|
31843
|
+
if (keys3.length === 0) {
|
|
31844
31844
|
return "{}";
|
|
31845
31845
|
}
|
|
31846
31846
|
if (seenValues.length > MAX_RECURSIVE_DEPTH2) {
|
|
31847
31847
|
return "[" + getObjectTag2(object) + "]";
|
|
31848
31848
|
}
|
|
31849
|
-
var properties =
|
|
31849
|
+
var properties = keys3.map(function(key) {
|
|
31850
31850
|
var value2 = formatValue2(object[key], seenValues);
|
|
31851
31851
|
return key + ": " + value2;
|
|
31852
31852
|
});
|
|
@@ -33428,7 +33428,7 @@ var require_visitor = __commonJS2({
|
|
|
33428
33428
|
Object.defineProperty(exports, "__esModule", {
|
|
33429
33429
|
value: true
|
|
33430
33430
|
});
|
|
33431
|
-
exports.visit =
|
|
33431
|
+
exports.visit = visit2;
|
|
33432
33432
|
exports.visitInParallel = visitInParallel;
|
|
33433
33433
|
exports.getVisitFn = getVisitFn;
|
|
33434
33434
|
exports.BREAK = exports.QueryDocumentKeys = void 0;
|
|
@@ -33491,11 +33491,11 @@ var require_visitor = __commonJS2({
|
|
|
33491
33491
|
exports.QueryDocumentKeys = QueryDocumentKeys;
|
|
33492
33492
|
var BREAK = Object.freeze({});
|
|
33493
33493
|
exports.BREAK = BREAK;
|
|
33494
|
-
function
|
|
33494
|
+
function visit2(root, visitor) {
|
|
33495
33495
|
var visitorKeys = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : QueryDocumentKeys;
|
|
33496
33496
|
var stack = void 0;
|
|
33497
33497
|
var inArray = Array.isArray(root);
|
|
33498
|
-
var
|
|
33498
|
+
var keys3 = [root];
|
|
33499
33499
|
var index = -1;
|
|
33500
33500
|
var edits = [];
|
|
33501
33501
|
var node2 = void 0;
|
|
@@ -33506,7 +33506,7 @@ var require_visitor = __commonJS2({
|
|
|
33506
33506
|
var newRoot = root;
|
|
33507
33507
|
do {
|
|
33508
33508
|
index++;
|
|
33509
|
-
var isLeaving = index ===
|
|
33509
|
+
var isLeaving = index === keys3.length;
|
|
33510
33510
|
var isEdited = isLeaving && edits.length !== 0;
|
|
33511
33511
|
if (isLeaving) {
|
|
33512
33512
|
key = ancestors.length === 0 ? void 0 : path22[path22.length - 1];
|
|
@@ -33539,12 +33539,12 @@ var require_visitor = __commonJS2({
|
|
|
33539
33539
|
}
|
|
33540
33540
|
}
|
|
33541
33541
|
index = stack.index;
|
|
33542
|
-
|
|
33542
|
+
keys3 = stack.keys;
|
|
33543
33543
|
edits = stack.edits;
|
|
33544
33544
|
inArray = stack.inArray;
|
|
33545
33545
|
stack = stack.prev;
|
|
33546
33546
|
} else {
|
|
33547
|
-
key = parent ? inArray ? index :
|
|
33547
|
+
key = parent ? inArray ? index : keys3[index] : void 0;
|
|
33548
33548
|
node2 = parent ? parent[key] : newRoot;
|
|
33549
33549
|
if (node2 === null || node2 === void 0) {
|
|
33550
33550
|
continue;
|
|
@@ -33592,12 +33592,12 @@ var require_visitor = __commonJS2({
|
|
|
33592
33592
|
stack = {
|
|
33593
33593
|
inArray,
|
|
33594
33594
|
index,
|
|
33595
|
-
keys:
|
|
33595
|
+
keys: keys3,
|
|
33596
33596
|
edits,
|
|
33597
33597
|
prev: stack
|
|
33598
33598
|
};
|
|
33599
33599
|
inArray = Array.isArray(node2);
|
|
33600
|
-
|
|
33600
|
+
keys3 = inArray ? node2 : (_visitorKeys$node$kin = visitorKeys[node2.kind]) !== null && _visitorKeys$node$kin !== void 0 ? _visitorKeys$node$kin : [];
|
|
33601
33601
|
index = -1;
|
|
33602
33602
|
edits = [];
|
|
33603
33603
|
if (parent) {
|
|
@@ -34548,7 +34548,7 @@ var require_definition = __commonJS2({
|
|
|
34548
34548
|
return new GraphQLList6(ofType);
|
|
34549
34549
|
}
|
|
34550
34550
|
}
|
|
34551
|
-
GraphQLList6.prototype.toString = function
|
|
34551
|
+
GraphQLList6.prototype.toString = function toString3() {
|
|
34552
34552
|
return "[" + String(this.ofType) + "]";
|
|
34553
34553
|
};
|
|
34554
34554
|
GraphQLList6.prototype.toJSON = function toJSON() {
|
|
@@ -34567,7 +34567,7 @@ var require_definition = __commonJS2({
|
|
|
34567
34567
|
return new GraphQLNonNull6(ofType);
|
|
34568
34568
|
}
|
|
34569
34569
|
}
|
|
34570
|
-
GraphQLNonNull6.prototype.toString = function
|
|
34570
|
+
GraphQLNonNull6.prototype.toString = function toString3() {
|
|
34571
34571
|
return String(this.ofType) + "!";
|
|
34572
34572
|
};
|
|
34573
34573
|
GraphQLNonNull6.prototype.toJSON = function toJSON() {
|
|
@@ -34663,7 +34663,7 @@ var require_definition = __commonJS2({
|
|
|
34663
34663
|
extensionASTNodes: (_this$extensionASTNod = this.extensionASTNodes) !== null && _this$extensionASTNod !== void 0 ? _this$extensionASTNod : []
|
|
34664
34664
|
};
|
|
34665
34665
|
};
|
|
34666
|
-
_proto.toString = function
|
|
34666
|
+
_proto.toString = function toString3() {
|
|
34667
34667
|
return this.name;
|
|
34668
34668
|
};
|
|
34669
34669
|
_proto.toJSON = function toJSON() {
|
|
@@ -34717,7 +34717,7 @@ var require_definition = __commonJS2({
|
|
|
34717
34717
|
extensionASTNodes: this.extensionASTNodes || []
|
|
34718
34718
|
};
|
|
34719
34719
|
};
|
|
34720
|
-
_proto2.toString = function
|
|
34720
|
+
_proto2.toString = function toString3() {
|
|
34721
34721
|
return this.name;
|
|
34722
34722
|
};
|
|
34723
34723
|
_proto2.toJSON = function toJSON() {
|
|
@@ -34848,7 +34848,7 @@ var require_definition = __commonJS2({
|
|
|
34848
34848
|
extensionASTNodes: (_this$extensionASTNod2 = this.extensionASTNodes) !== null && _this$extensionASTNod2 !== void 0 ? _this$extensionASTNod2 : []
|
|
34849
34849
|
};
|
|
34850
34850
|
};
|
|
34851
|
-
_proto3.toString = function
|
|
34851
|
+
_proto3.toString = function toString3() {
|
|
34852
34852
|
return this.name;
|
|
34853
34853
|
};
|
|
34854
34854
|
_proto3.toJSON = function toJSON() {
|
|
@@ -34895,7 +34895,7 @@ var require_definition = __commonJS2({
|
|
|
34895
34895
|
extensionASTNodes: (_this$extensionASTNod3 = this.extensionASTNodes) !== null && _this$extensionASTNod3 !== void 0 ? _this$extensionASTNod3 : []
|
|
34896
34896
|
};
|
|
34897
34897
|
};
|
|
34898
|
-
_proto4.toString = function
|
|
34898
|
+
_proto4.toString = function toString3() {
|
|
34899
34899
|
return this.name;
|
|
34900
34900
|
};
|
|
34901
34901
|
_proto4.toJSON = function toJSON() {
|
|
@@ -34991,7 +34991,7 @@ var require_definition = __commonJS2({
|
|
|
34991
34991
|
extensionASTNodes: (_this$extensionASTNod4 = this.extensionASTNodes) !== null && _this$extensionASTNod4 !== void 0 ? _this$extensionASTNod4 : []
|
|
34992
34992
|
};
|
|
34993
34993
|
};
|
|
34994
|
-
_proto5.toString = function
|
|
34994
|
+
_proto5.toString = function toString3() {
|
|
34995
34995
|
return this.name;
|
|
34996
34996
|
};
|
|
34997
34997
|
_proto5.toJSON = function toJSON() {
|
|
@@ -35069,7 +35069,7 @@ var require_definition = __commonJS2({
|
|
|
35069
35069
|
extensionASTNodes: (_this$extensionASTNod5 = this.extensionASTNodes) !== null && _this$extensionASTNod5 !== void 0 ? _this$extensionASTNod5 : []
|
|
35070
35070
|
};
|
|
35071
35071
|
};
|
|
35072
|
-
_proto6.toString = function
|
|
35072
|
+
_proto6.toString = function toString3() {
|
|
35073
35073
|
return this.name;
|
|
35074
35074
|
};
|
|
35075
35075
|
_proto6.toJSON = function toJSON() {
|
|
@@ -36305,7 +36305,7 @@ var require_directives = __commonJS2({
|
|
|
36305
36305
|
astNode: this.astNode
|
|
36306
36306
|
};
|
|
36307
36307
|
};
|
|
36308
|
-
_proto.toString = function
|
|
36308
|
+
_proto.toString = function toString3() {
|
|
36309
36309
|
return "@" + this.name;
|
|
36310
36310
|
};
|
|
36311
36311
|
_proto.toJSON = function toJSON() {
|
|
@@ -38192,16 +38192,16 @@ var require_KnownArgumentNamesRule = __commonJS2({
|
|
|
38192
38192
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
38193
38193
|
}
|
|
38194
38194
|
function ownKeys(object, enumerableOnly) {
|
|
38195
|
-
var
|
|
38195
|
+
var keys3 = Object.keys(object);
|
|
38196
38196
|
if (Object.getOwnPropertySymbols) {
|
|
38197
38197
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
38198
38198
|
if (enumerableOnly)
|
|
38199
38199
|
symbols = symbols.filter(function(sym) {
|
|
38200
38200
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
38201
38201
|
});
|
|
38202
|
-
|
|
38202
|
+
keys3.push.apply(keys3, symbols);
|
|
38203
38203
|
}
|
|
38204
|
-
return
|
|
38204
|
+
return keys3;
|
|
38205
38205
|
}
|
|
38206
38206
|
function _objectSpread(target) {
|
|
38207
38207
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -38442,16 +38442,16 @@ var require_ProvidedRequiredArgumentsRule = __commonJS2({
|
|
|
38442
38442
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
38443
38443
|
}
|
|
38444
38444
|
function ownKeys(object, enumerableOnly) {
|
|
38445
|
-
var
|
|
38445
|
+
var keys3 = Object.keys(object);
|
|
38446
38446
|
if (Object.getOwnPropertySymbols) {
|
|
38447
38447
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
38448
38448
|
if (enumerableOnly)
|
|
38449
38449
|
symbols = symbols.filter(function(sym) {
|
|
38450
38450
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
38451
38451
|
});
|
|
38452
|
-
|
|
38452
|
+
keys3.push.apply(keys3, symbols);
|
|
38453
38453
|
}
|
|
38454
|
-
return
|
|
38454
|
+
return keys3;
|
|
38455
38455
|
}
|
|
38456
38456
|
function _objectSpread(target) {
|
|
38457
38457
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -39677,13 +39677,13 @@ var require_promiseForObject = __commonJS2({
|
|
|
39677
39677
|
});
|
|
39678
39678
|
exports.default = promiseForObject;
|
|
39679
39679
|
function promiseForObject(object) {
|
|
39680
|
-
var
|
|
39681
|
-
var valuesAndPromises =
|
|
39680
|
+
var keys3 = Object.keys(object);
|
|
39681
|
+
var valuesAndPromises = keys3.map(function(name) {
|
|
39682
39682
|
return object[name];
|
|
39683
39683
|
});
|
|
39684
39684
|
return Promise.all(valuesAndPromises).then(function(values) {
|
|
39685
39685
|
return values.reduce(function(resolvedObject, value2, i22) {
|
|
39686
|
-
resolvedObject[
|
|
39686
|
+
resolvedObject[keys3[i22]] = value2;
|
|
39687
39687
|
return resolvedObject;
|
|
39688
39688
|
}, /* @__PURE__ */ Object.create(null));
|
|
39689
39689
|
});
|
|
@@ -42093,16 +42093,16 @@ var require_getIntrospectionQuery = __commonJS2({
|
|
|
42093
42093
|
});
|
|
42094
42094
|
exports.getIntrospectionQuery = getIntrospectionQuery2;
|
|
42095
42095
|
function ownKeys(object, enumerableOnly) {
|
|
42096
|
-
var
|
|
42096
|
+
var keys3 = Object.keys(object);
|
|
42097
42097
|
if (Object.getOwnPropertySymbols) {
|
|
42098
42098
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
42099
42099
|
if (enumerableOnly)
|
|
42100
42100
|
symbols = symbols.filter(function(sym) {
|
|
42101
42101
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
42102
42102
|
});
|
|
42103
|
-
|
|
42103
|
+
keys3.push.apply(keys3, symbols);
|
|
42104
42104
|
}
|
|
42105
|
-
return
|
|
42105
|
+
return keys3;
|
|
42106
42106
|
}
|
|
42107
42107
|
function _objectSpread(target) {
|
|
42108
42108
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -42191,16 +42191,16 @@ var require_introspectionFromSchema = __commonJS2({
|
|
|
42191
42191
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
42192
42192
|
}
|
|
42193
42193
|
function ownKeys(object, enumerableOnly) {
|
|
42194
|
-
var
|
|
42194
|
+
var keys3 = Object.keys(object);
|
|
42195
42195
|
if (Object.getOwnPropertySymbols) {
|
|
42196
42196
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
42197
42197
|
if (enumerableOnly)
|
|
42198
42198
|
symbols = symbols.filter(function(sym) {
|
|
42199
42199
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
42200
42200
|
});
|
|
42201
|
-
|
|
42201
|
+
keys3.push.apply(keys3, symbols);
|
|
42202
42202
|
}
|
|
42203
|
-
return
|
|
42203
|
+
return keys3;
|
|
42204
42204
|
}
|
|
42205
42205
|
function _objectSpread(target) {
|
|
42206
42206
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -42528,16 +42528,16 @@ var require_extendSchema = __commonJS2({
|
|
|
42528
42528
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
42529
42529
|
}
|
|
42530
42530
|
function ownKeys(object, enumerableOnly) {
|
|
42531
|
-
var
|
|
42531
|
+
var keys3 = Object.keys(object);
|
|
42532
42532
|
if (Object.getOwnPropertySymbols) {
|
|
42533
42533
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
42534
42534
|
if (enumerableOnly)
|
|
42535
42535
|
symbols = symbols.filter(function(sym) {
|
|
42536
42536
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
42537
42537
|
});
|
|
42538
|
-
|
|
42538
|
+
keys3.push.apply(keys3, symbols);
|
|
42539
42539
|
}
|
|
42540
|
-
return
|
|
42540
|
+
return keys3;
|
|
42541
42541
|
}
|
|
42542
42542
|
function _objectSpread(target) {
|
|
42543
42543
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -43124,16 +43124,16 @@ var require_lexicographicSortSchema = __commonJS2({
|
|
|
43124
43124
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
43125
43125
|
}
|
|
43126
43126
|
function ownKeys(object, enumerableOnly) {
|
|
43127
|
-
var
|
|
43127
|
+
var keys3 = Object.keys(object);
|
|
43128
43128
|
if (Object.getOwnPropertySymbols) {
|
|
43129
43129
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
43130
43130
|
if (enumerableOnly)
|
|
43131
43131
|
symbols = symbols.filter(function(sym) {
|
|
43132
43132
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
43133
43133
|
});
|
|
43134
|
-
|
|
43134
|
+
keys3.push.apply(keys3, symbols);
|
|
43135
43135
|
}
|
|
43136
|
-
return
|
|
43136
|
+
return keys3;
|
|
43137
43137
|
}
|
|
43138
43138
|
function _objectSpread(target) {
|
|
43139
43139
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -43664,16 +43664,16 @@ var require_findBreakingChanges = __commonJS2({
|
|
|
43664
43664
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
43665
43665
|
}
|
|
43666
43666
|
function ownKeys(object, enumerableOnly) {
|
|
43667
|
-
var
|
|
43667
|
+
var keys3 = Object.keys(object);
|
|
43668
43668
|
if (Object.getOwnPropertySymbols) {
|
|
43669
43669
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
43670
43670
|
if (enumerableOnly)
|
|
43671
43671
|
symbols = symbols.filter(function(sym) {
|
|
43672
43672
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
43673
43673
|
});
|
|
43674
|
-
|
|
43674
|
+
keys3.push.apply(keys3, symbols);
|
|
43675
43675
|
}
|
|
43676
|
-
return
|
|
43676
|
+
return keys3;
|
|
43677
43677
|
}
|
|
43678
43678
|
function _objectSpread(target) {
|
|
43679
43679
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -46650,9 +46650,9 @@ var require_legacy_streams = __commonJS2({
|
|
|
46650
46650
|
this.mode = 438;
|
|
46651
46651
|
this.bufferSize = 64 * 1024;
|
|
46652
46652
|
options = options || {};
|
|
46653
|
-
var
|
|
46654
|
-
for (var index = 0, length =
|
|
46655
|
-
var key =
|
|
46653
|
+
var keys3 = Object.keys(options);
|
|
46654
|
+
for (var index = 0, length = keys3.length; index < length; index++) {
|
|
46655
|
+
var key = keys3[index];
|
|
46656
46656
|
this[key] = options[key];
|
|
46657
46657
|
}
|
|
46658
46658
|
if (this.encoding)
|
|
@@ -46700,9 +46700,9 @@ var require_legacy_streams = __commonJS2({
|
|
|
46700
46700
|
this.mode = 438;
|
|
46701
46701
|
this.bytesWritten = 0;
|
|
46702
46702
|
options = options || {};
|
|
46703
|
-
var
|
|
46704
|
-
for (var index = 0, length =
|
|
46705
|
-
var key =
|
|
46703
|
+
var keys3 = Object.keys(options);
|
|
46704
|
+
for (var index = 0, length = keys3.length; index < length; index++) {
|
|
46705
|
+
var key = keys3[index];
|
|
46706
46706
|
this[key] = options[key];
|
|
46707
46707
|
}
|
|
46708
46708
|
if (this.start !== void 0) {
|
|
@@ -49835,10 +49835,10 @@ var require_glob = __commonJS2({
|
|
|
49835
49835
|
if (add === null || typeof add !== "object") {
|
|
49836
49836
|
return origin;
|
|
49837
49837
|
}
|
|
49838
|
-
var
|
|
49839
|
-
var i22 =
|
|
49838
|
+
var keys3 = Object.keys(add);
|
|
49839
|
+
var i22 = keys3.length;
|
|
49840
49840
|
while (i22--) {
|
|
49841
|
-
origin[
|
|
49841
|
+
origin[keys3[i22]] = add[keys3[i22]];
|
|
49842
49842
|
}
|
|
49843
49843
|
return origin;
|
|
49844
49844
|
}
|
|
@@ -58231,12 +58231,12 @@ var require_lib3 = __commonJS2({
|
|
|
58231
58231
|
SyntaxError: "BABEL_PARSER_SYNTAX_ERROR",
|
|
58232
58232
|
SourceTypeModuleError: "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"
|
|
58233
58233
|
};
|
|
58234
|
-
var reflect = (
|
|
58234
|
+
var reflect = (keys3, last = keys3.length - 1) => ({
|
|
58235
58235
|
get() {
|
|
58236
|
-
return
|
|
58236
|
+
return keys3.reduce((object, key) => object[key], this);
|
|
58237
58237
|
},
|
|
58238
58238
|
set(value2) {
|
|
58239
|
-
|
|
58239
|
+
keys3.reduce(
|
|
58240
58240
|
(item, key, i22) => i22 === last ? item[key] = value2 : item[key],
|
|
58241
58241
|
this
|
|
58242
58242
|
);
|
|
@@ -60169,9 +60169,9 @@ var require_lib3 = __commonJS2({
|
|
|
60169
60169
|
}
|
|
60170
60170
|
clone(skipArrays) {
|
|
60171
60171
|
const state = new State();
|
|
60172
|
-
const
|
|
60173
|
-
for (let i22 = 0, length =
|
|
60174
|
-
const key =
|
|
60172
|
+
const keys3 = Object.keys(this);
|
|
60173
|
+
for (let i22 = 0, length = keys3.length; i22 < length; i22++) {
|
|
60174
|
+
const key = keys3[i22];
|
|
60175
60175
|
let val = this[key];
|
|
60176
60176
|
if (!skipArrays && Array.isArray(val)) {
|
|
60177
60177
|
val = val.slice();
|
|
@@ -62076,9 +62076,9 @@ var require_lib3 = __commonJS2({
|
|
|
62076
62076
|
{
|
|
62077
62077
|
NodePrototype.__clone = function() {
|
|
62078
62078
|
const newNode = new Node3(void 0, this.start, this.loc.start);
|
|
62079
|
-
const
|
|
62080
|
-
for (let i22 = 0, length =
|
|
62081
|
-
const key =
|
|
62079
|
+
const keys3 = Object.keys(this);
|
|
62080
|
+
for (let i22 = 0, length = keys3.length; i22 < length; i22++) {
|
|
62081
|
+
const key = keys3[i22];
|
|
62082
62082
|
if (key !== "leadingComments" && key !== "trailingComments" && key !== "innerComments") {
|
|
62083
62083
|
newNode[key] = this[key];
|
|
62084
62084
|
}
|
|
@@ -72717,107 +72717,6 @@ var require_lib3 = __commonJS2({
|
|
|
72717
72717
|
exports.tokTypes = tokTypes;
|
|
72718
72718
|
}
|
|
72719
72719
|
});
|
|
72720
|
-
var require_cjs = __commonJS2({
|
|
72721
|
-
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module2) {
|
|
72722
|
-
"use strict";
|
|
72723
|
-
var isMergeableObject = function isMergeableObject2(value2) {
|
|
72724
|
-
return isNonNullObject(value2) && !isSpecial(value2);
|
|
72725
|
-
};
|
|
72726
|
-
function isNonNullObject(value2) {
|
|
72727
|
-
return !!value2 && typeof value2 === "object";
|
|
72728
|
-
}
|
|
72729
|
-
function isSpecial(value2) {
|
|
72730
|
-
var stringValue = Object.prototype.toString.call(value2);
|
|
72731
|
-
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
72732
|
-
}
|
|
72733
|
-
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
72734
|
-
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
72735
|
-
function isReactElement(value2) {
|
|
72736
|
-
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
72737
|
-
}
|
|
72738
|
-
function emptyTarget(val) {
|
|
72739
|
-
return Array.isArray(val) ? [] : {};
|
|
72740
|
-
}
|
|
72741
|
-
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
72742
|
-
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
72743
|
-
}
|
|
72744
|
-
function defaultArrayMerge(target, source, options) {
|
|
72745
|
-
return target.concat(source).map(function(element) {
|
|
72746
|
-
return cloneUnlessOtherwiseSpecified(element, options);
|
|
72747
|
-
});
|
|
72748
|
-
}
|
|
72749
|
-
function getMergeFunction(key, options) {
|
|
72750
|
-
if (!options.customMerge) {
|
|
72751
|
-
return deepmerge;
|
|
72752
|
-
}
|
|
72753
|
-
var customMerge = options.customMerge(key);
|
|
72754
|
-
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
72755
|
-
}
|
|
72756
|
-
function getEnumerableOwnPropertySymbols(target) {
|
|
72757
|
-
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
72758
|
-
return target.propertyIsEnumerable(symbol);
|
|
72759
|
-
}) : [];
|
|
72760
|
-
}
|
|
72761
|
-
function getKeys(target) {
|
|
72762
|
-
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
72763
|
-
}
|
|
72764
|
-
function propertyIsOnObject(object, property) {
|
|
72765
|
-
try {
|
|
72766
|
-
return property in object;
|
|
72767
|
-
} catch (_) {
|
|
72768
|
-
return false;
|
|
72769
|
-
}
|
|
72770
|
-
}
|
|
72771
|
-
function propertyIsUnsafe(target, key) {
|
|
72772
|
-
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
72773
|
-
}
|
|
72774
|
-
function mergeObject(target, source, options) {
|
|
72775
|
-
var destination = {};
|
|
72776
|
-
if (options.isMergeableObject(target)) {
|
|
72777
|
-
getKeys(target).forEach(function(key) {
|
|
72778
|
-
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
72779
|
-
});
|
|
72780
|
-
}
|
|
72781
|
-
getKeys(source).forEach(function(key) {
|
|
72782
|
-
if (propertyIsUnsafe(target, key)) {
|
|
72783
|
-
return;
|
|
72784
|
-
}
|
|
72785
|
-
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
72786
|
-
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
72787
|
-
} else {
|
|
72788
|
-
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
72789
|
-
}
|
|
72790
|
-
});
|
|
72791
|
-
return destination;
|
|
72792
|
-
}
|
|
72793
|
-
function deepmerge(target, source, options) {
|
|
72794
|
-
options = options || {};
|
|
72795
|
-
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
72796
|
-
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
72797
|
-
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
72798
|
-
var sourceIsArray = Array.isArray(source);
|
|
72799
|
-
var targetIsArray = Array.isArray(target);
|
|
72800
|
-
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
72801
|
-
if (!sourceAndTargetTypesMatch) {
|
|
72802
|
-
return cloneUnlessOtherwiseSpecified(source, options);
|
|
72803
|
-
} else if (sourceIsArray) {
|
|
72804
|
-
return options.arrayMerge(target, source, options);
|
|
72805
|
-
} else {
|
|
72806
|
-
return mergeObject(target, source, options);
|
|
72807
|
-
}
|
|
72808
|
-
}
|
|
72809
|
-
deepmerge.all = function deepmergeAll(array, options) {
|
|
72810
|
-
if (!Array.isArray(array)) {
|
|
72811
|
-
throw new Error("first argument should be an array");
|
|
72812
|
-
}
|
|
72813
|
-
return array.reduce(function(prev, next) {
|
|
72814
|
-
return deepmerge(prev, next, options);
|
|
72815
|
-
}, {});
|
|
72816
|
-
};
|
|
72817
|
-
var deepmerge_1 = deepmerge;
|
|
72818
|
-
module2.exports = deepmerge_1;
|
|
72819
|
-
}
|
|
72820
|
-
});
|
|
72821
72720
|
var require_tslib = __commonJS2({
|
|
72822
72721
|
"../../node_modules/.pnpm/tslib@2.5.0/node_modules/tslib/tslib.js"(exports, module2) {
|
|
72823
72722
|
var __extends;
|
|
@@ -75074,7 +74973,7 @@ var require_path_visitor = __commonJS2({
|
|
|
75074
74973
|
}
|
|
75075
74974
|
return target;
|
|
75076
74975
|
}
|
|
75077
|
-
PathVisitor.visit = function
|
|
74976
|
+
PathVisitor.visit = function visit2(node2, methods) {
|
|
75078
74977
|
return PathVisitor.fromMethodsObject(methods).visit(node2);
|
|
75079
74978
|
};
|
|
75080
74979
|
var PVp = PathVisitor.prototype;
|
|
@@ -75265,7 +75164,7 @@ var require_path_visitor = __commonJS2({
|
|
|
75265
75164
|
this.needToCallTraverse = false;
|
|
75266
75165
|
return visitChildren(path22, PathVisitor.fromMethodsObject(newVisitor || this.visitor));
|
|
75267
75166
|
};
|
|
75268
|
-
sharedContextProtoMethods.visit = function
|
|
75167
|
+
sharedContextProtoMethods.visit = function visit2(path22, newVisitor) {
|
|
75269
75168
|
if (!(this instanceof this.Context)) {
|
|
75270
75169
|
throw new Error("");
|
|
75271
75170
|
}
|
|
@@ -76608,7 +76507,7 @@ var require_main = __commonJS2({
|
|
|
76608
76507
|
var someField = _a.someField;
|
|
76609
76508
|
var Type = _a.Type;
|
|
76610
76509
|
var use = _a.use;
|
|
76611
|
-
var
|
|
76510
|
+
var visit2 = _a.visit;
|
|
76612
76511
|
exports.astNodesAreEquivalent = astNodesAreEquivalent;
|
|
76613
76512
|
exports.builders = builders;
|
|
76614
76513
|
exports.builtInTypes = builtInTypes;
|
|
@@ -76625,7 +76524,7 @@ var require_main = __commonJS2({
|
|
|
76625
76524
|
exports.someField = someField;
|
|
76626
76525
|
exports.Type = Type;
|
|
76627
76526
|
exports.use = use;
|
|
76628
|
-
exports.visit =
|
|
76527
|
+
exports.visit = visit2;
|
|
76629
76528
|
Object.assign(namedTypes_1.namedTypes, n);
|
|
76630
76529
|
}
|
|
76631
76530
|
});
|
|
@@ -78389,10 +78288,10 @@ var require_util2 = __commonJS2({
|
|
|
78389
78288
|
var result = {};
|
|
78390
78289
|
var argc = args.length;
|
|
78391
78290
|
for (var i22 = 0; i22 < argc; ++i22) {
|
|
78392
|
-
var
|
|
78393
|
-
var keyCount =
|
|
78291
|
+
var keys3 = Object.keys(args[i22]);
|
|
78292
|
+
var keyCount = keys3.length;
|
|
78394
78293
|
for (var j = 0; j < keyCount; ++j) {
|
|
78395
|
-
result[
|
|
78294
|
+
result[keys3[j]] = true;
|
|
78396
78295
|
}
|
|
78397
78296
|
}
|
|
78398
78297
|
return result;
|
|
@@ -86038,10 +85937,10 @@ var require_parser2 = __commonJS2({
|
|
|
86038
85937
|
loc.indent = newIndent;
|
|
86039
85938
|
this.findTokenRange(loc);
|
|
86040
85939
|
}
|
|
86041
|
-
var
|
|
86042
|
-
var keyCount =
|
|
85940
|
+
var keys3 = Object.keys(node2);
|
|
85941
|
+
var keyCount = keys3.length;
|
|
86043
85942
|
for (var i22 = 0; i22 < keyCount; ++i22) {
|
|
86044
|
-
var key =
|
|
85943
|
+
var key = keys3[i22];
|
|
86045
85944
|
if (key === "loc") {
|
|
86046
85945
|
copy[key] = node2[key];
|
|
86047
85946
|
} else if (key === "tokens" && node2.type === "File") {
|
|
@@ -86796,13 +86695,13 @@ var require_patcher = __commonJS2({
|
|
|
86796
86695
|
if (newPath.needsParens() && !oldPath.hasParens()) {
|
|
86797
86696
|
return false;
|
|
86798
86697
|
}
|
|
86799
|
-
var
|
|
86698
|
+
var keys3 = (0, util_110.getUnionOfKeys)(oldNode, newNode);
|
|
86800
86699
|
if (oldNode.type === "File" || newNode.type === "File") {
|
|
86801
|
-
delete
|
|
86700
|
+
delete keys3.tokens;
|
|
86802
86701
|
}
|
|
86803
|
-
delete
|
|
86702
|
+
delete keys3.loc;
|
|
86804
86703
|
var originalReprintCount = reprints.length;
|
|
86805
|
-
for (var k in
|
|
86704
|
+
for (var k in keys3) {
|
|
86806
86705
|
if (k.charAt(0) === "_") {
|
|
86807
86706
|
continue;
|
|
86808
86707
|
}
|
|
@@ -89040,6 +88939,107 @@ var require_main2 = __commonJS2({
|
|
|
89040
88939
|
}
|
|
89041
88940
|
}
|
|
89042
88941
|
});
|
|
88942
|
+
var require_cjs = __commonJS2({
|
|
88943
|
+
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module2) {
|
|
88944
|
+
"use strict";
|
|
88945
|
+
var isMergeableObject = function isMergeableObject2(value2) {
|
|
88946
|
+
return isNonNullObject(value2) && !isSpecial(value2);
|
|
88947
|
+
};
|
|
88948
|
+
function isNonNullObject(value2) {
|
|
88949
|
+
return !!value2 && typeof value2 === "object";
|
|
88950
|
+
}
|
|
88951
|
+
function isSpecial(value2) {
|
|
88952
|
+
var stringValue = Object.prototype.toString.call(value2);
|
|
88953
|
+
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
88954
|
+
}
|
|
88955
|
+
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
88956
|
+
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
88957
|
+
function isReactElement(value2) {
|
|
88958
|
+
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
88959
|
+
}
|
|
88960
|
+
function emptyTarget(val) {
|
|
88961
|
+
return Array.isArray(val) ? [] : {};
|
|
88962
|
+
}
|
|
88963
|
+
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
88964
|
+
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
88965
|
+
}
|
|
88966
|
+
function defaultArrayMerge(target, source, options) {
|
|
88967
|
+
return target.concat(source).map(function(element) {
|
|
88968
|
+
return cloneUnlessOtherwiseSpecified(element, options);
|
|
88969
|
+
});
|
|
88970
|
+
}
|
|
88971
|
+
function getMergeFunction(key, options) {
|
|
88972
|
+
if (!options.customMerge) {
|
|
88973
|
+
return deepmerge;
|
|
88974
|
+
}
|
|
88975
|
+
var customMerge = options.customMerge(key);
|
|
88976
|
+
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
88977
|
+
}
|
|
88978
|
+
function getEnumerableOwnPropertySymbols(target) {
|
|
88979
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
88980
|
+
return target.propertyIsEnumerable(symbol);
|
|
88981
|
+
}) : [];
|
|
88982
|
+
}
|
|
88983
|
+
function getKeys(target) {
|
|
88984
|
+
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
88985
|
+
}
|
|
88986
|
+
function propertyIsOnObject(object, property) {
|
|
88987
|
+
try {
|
|
88988
|
+
return property in object;
|
|
88989
|
+
} catch (_) {
|
|
88990
|
+
return false;
|
|
88991
|
+
}
|
|
88992
|
+
}
|
|
88993
|
+
function propertyIsUnsafe(target, key) {
|
|
88994
|
+
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
88995
|
+
}
|
|
88996
|
+
function mergeObject(target, source, options) {
|
|
88997
|
+
var destination = {};
|
|
88998
|
+
if (options.isMergeableObject(target)) {
|
|
88999
|
+
getKeys(target).forEach(function(key) {
|
|
89000
|
+
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
89001
|
+
});
|
|
89002
|
+
}
|
|
89003
|
+
getKeys(source).forEach(function(key) {
|
|
89004
|
+
if (propertyIsUnsafe(target, key)) {
|
|
89005
|
+
return;
|
|
89006
|
+
}
|
|
89007
|
+
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
89008
|
+
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
89009
|
+
} else {
|
|
89010
|
+
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
89011
|
+
}
|
|
89012
|
+
});
|
|
89013
|
+
return destination;
|
|
89014
|
+
}
|
|
89015
|
+
function deepmerge(target, source, options) {
|
|
89016
|
+
options = options || {};
|
|
89017
|
+
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
89018
|
+
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
89019
|
+
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
89020
|
+
var sourceIsArray = Array.isArray(source);
|
|
89021
|
+
var targetIsArray = Array.isArray(target);
|
|
89022
|
+
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
89023
|
+
if (!sourceAndTargetTypesMatch) {
|
|
89024
|
+
return cloneUnlessOtherwiseSpecified(source, options);
|
|
89025
|
+
} else if (sourceIsArray) {
|
|
89026
|
+
return options.arrayMerge(target, source, options);
|
|
89027
|
+
} else {
|
|
89028
|
+
return mergeObject(target, source, options);
|
|
89029
|
+
}
|
|
89030
|
+
}
|
|
89031
|
+
deepmerge.all = function deepmergeAll(array, options) {
|
|
89032
|
+
if (!Array.isArray(array)) {
|
|
89033
|
+
throw new Error("first argument should be an array");
|
|
89034
|
+
}
|
|
89035
|
+
return array.reduce(function(prev, next) {
|
|
89036
|
+
return deepmerge(prev, next, options);
|
|
89037
|
+
}, {});
|
|
89038
|
+
};
|
|
89039
|
+
var deepmerge_1 = deepmerge;
|
|
89040
|
+
module2.exports = deepmerge_1;
|
|
89041
|
+
}
|
|
89042
|
+
});
|
|
89043
89043
|
async function runPipeline(config4, pipeline22, target) {
|
|
89044
89044
|
for (const transform of pipeline22) {
|
|
89045
89045
|
await transform?.(config4, target);
|
|
@@ -89118,14 +89118,14 @@ function hasMultilineItems(maybeArray) {
|
|
|
89118
89118
|
function addDescription(cb) {
|
|
89119
89119
|
return (node2, _key, _parent, path22, ancestors) => {
|
|
89120
89120
|
var _a;
|
|
89121
|
-
const
|
|
89121
|
+
const keys3 = [];
|
|
89122
89122
|
const parent = path22.reduce((prev, key2) => {
|
|
89123
89123
|
if (["fields", "arguments", "values"].includes(key2) && prev.name) {
|
|
89124
|
-
|
|
89124
|
+
keys3.push(prev.name.value);
|
|
89125
89125
|
}
|
|
89126
89126
|
return prev[key2];
|
|
89127
89127
|
}, ancestors[0]);
|
|
89128
|
-
const key = [...
|
|
89128
|
+
const key = [...keys3, (_a = parent === null || parent === void 0 ? void 0 : parent.name) === null || _a === void 0 ? void 0 : _a.value].filter(Boolean).join(".");
|
|
89129
89129
|
const items = [];
|
|
89130
89130
|
if (node2.kind.includes("Definition") && commentsRegistry[key]) {
|
|
89131
89131
|
items.push(...commentsRegistry[key]);
|
|
@@ -89477,9 +89477,9 @@ var DataSource = {
|
|
|
89477
89477
|
};
|
|
89478
89478
|
var fragmentKey = " $fragments";
|
|
89479
89479
|
var computeKey = ({ field, args }) => {
|
|
89480
|
-
const
|
|
89481
|
-
|
|
89482
|
-
return args &&
|
|
89480
|
+
const keys3 = Object.keys(args ?? {});
|
|
89481
|
+
keys3.sort();
|
|
89482
|
+
return args && keys3.length > 0 ? `${field}(${keys3.map((key) => `${key}: ${stringifyObjectWithNoQuotesOnKeys(args[key])}`).join(", ")})` : field;
|
|
89483
89483
|
};
|
|
89484
89484
|
var stringifyObjectWithNoQuotesOnKeys = (obj_from_json) => {
|
|
89485
89485
|
if (Array.isArray(obj_from_json)) {
|
|
@@ -92040,7 +92040,8 @@ var CacheInternal = class {
|
|
|
92040
92040
|
parent = rootID,
|
|
92041
92041
|
variables,
|
|
92042
92042
|
stepsFromConnection = null,
|
|
92043
|
-
ignoreMasking
|
|
92043
|
+
ignoreMasking,
|
|
92044
|
+
fullCheck = false
|
|
92044
92045
|
}) {
|
|
92045
92046
|
if (parent === null) {
|
|
92046
92047
|
return { data: null, partial: false, stale: false, hasData: true };
|
|
@@ -92065,11 +92066,28 @@ var CacheInternal = class {
|
|
|
92065
92066
|
let targetSelection = getFieldsForType(selection, typename);
|
|
92066
92067
|
for (const [
|
|
92067
92068
|
attributeName,
|
|
92068
|
-
{ type, keyRaw, selection: fieldSelection, nullable, list, visible }
|
|
92069
|
+
{ type, keyRaw, selection: fieldSelection, nullable, list, visible, directives }
|
|
92069
92070
|
] of Object.entries(targetSelection)) {
|
|
92070
|
-
if (!visible && !ignoreMasking) {
|
|
92071
|
+
if (!visible && !ignoreMasking && !fullCheck) {
|
|
92071
92072
|
continue;
|
|
92072
92073
|
}
|
|
92074
|
+
const includeDirective = directives?.find((d) => {
|
|
92075
|
+
return d.name === "include";
|
|
92076
|
+
});
|
|
92077
|
+
if (includeDirective) {
|
|
92078
|
+
if (!evaluateFragmentVariables(includeDirective.arguments, variables ?? {})["if"]) {
|
|
92079
|
+
continue;
|
|
92080
|
+
}
|
|
92081
|
+
}
|
|
92082
|
+
const skipDirective = directives?.find((d) => {
|
|
92083
|
+
return d.name === "skip";
|
|
92084
|
+
});
|
|
92085
|
+
if (skipDirective) {
|
|
92086
|
+
if (evaluateFragmentVariables(skipDirective.arguments, variables ?? {})["if"]) {
|
|
92087
|
+
continue;
|
|
92088
|
+
}
|
|
92089
|
+
}
|
|
92090
|
+
const fieldTarget = visible || ignoreMasking ? target : {};
|
|
92073
92091
|
const key = evaluateKey(keyRaw, variables);
|
|
92074
92092
|
const { value: value2 } = this.storage.get(parent, key);
|
|
92075
92093
|
const dt_field = this.staleManager.getFieldTime(parent, key);
|
|
@@ -92092,16 +92110,16 @@ var CacheInternal = class {
|
|
|
92092
92110
|
partial = true;
|
|
92093
92111
|
}
|
|
92094
92112
|
if (typeof value2 === "undefined" || value2 === null) {
|
|
92095
|
-
|
|
92113
|
+
fieldTarget[attributeName] = null;
|
|
92096
92114
|
if (typeof value2 !== "undefined") {
|
|
92097
92115
|
hasData = true;
|
|
92098
92116
|
}
|
|
92099
92117
|
} else if (!fieldSelection) {
|
|
92100
92118
|
const fnUnmarshal = this.config?.scalars?.[type]?.unmarshal;
|
|
92101
92119
|
if (fnUnmarshal) {
|
|
92102
|
-
|
|
92120
|
+
fieldTarget[attributeName] = fnUnmarshal(value2);
|
|
92103
92121
|
} else {
|
|
92104
|
-
|
|
92122
|
+
fieldTarget[attributeName] = value2;
|
|
92105
92123
|
}
|
|
92106
92124
|
hasData = true;
|
|
92107
92125
|
} else if (Array.isArray(value2)) {
|
|
@@ -92110,9 +92128,10 @@ var CacheInternal = class {
|
|
|
92110
92128
|
variables,
|
|
92111
92129
|
linkedList: value2,
|
|
92112
92130
|
stepsFromConnection: nextStep,
|
|
92113
|
-
ignoreMasking: !!ignoreMasking
|
|
92131
|
+
ignoreMasking: !!ignoreMasking,
|
|
92132
|
+
fullCheck
|
|
92114
92133
|
});
|
|
92115
|
-
|
|
92134
|
+
fieldTarget[attributeName] = listValue.data;
|
|
92116
92135
|
if (listValue.partial) {
|
|
92117
92136
|
partial = true;
|
|
92118
92137
|
}
|
|
@@ -92128,9 +92147,10 @@ var CacheInternal = class {
|
|
|
92128
92147
|
selection: fieldSelection,
|
|
92129
92148
|
variables,
|
|
92130
92149
|
stepsFromConnection: nextStep,
|
|
92131
|
-
ignoreMasking
|
|
92150
|
+
ignoreMasking,
|
|
92151
|
+
fullCheck
|
|
92132
92152
|
});
|
|
92133
|
-
|
|
92153
|
+
fieldTarget[attributeName] = objectFields.data;
|
|
92134
92154
|
if (objectFields.partial) {
|
|
92135
92155
|
partial = true;
|
|
92136
92156
|
}
|
|
@@ -92141,7 +92161,7 @@ var CacheInternal = class {
|
|
|
92141
92161
|
hasData = true;
|
|
92142
92162
|
}
|
|
92143
92163
|
}
|
|
92144
|
-
if (
|
|
92164
|
+
if (fieldTarget[attributeName] === null && !nullable && !embeddedCursor) {
|
|
92145
92165
|
cascadeNull = true;
|
|
92146
92166
|
}
|
|
92147
92167
|
}
|
|
@@ -92173,7 +92193,8 @@ var CacheInternal = class {
|
|
|
92173
92193
|
variables,
|
|
92174
92194
|
linkedList,
|
|
92175
92195
|
stepsFromConnection,
|
|
92176
|
-
ignoreMasking
|
|
92196
|
+
ignoreMasking,
|
|
92197
|
+
fullCheck
|
|
92177
92198
|
}) {
|
|
92178
92199
|
const result = [];
|
|
92179
92200
|
let partialData = false;
|
|
@@ -92186,7 +92207,8 @@ var CacheInternal = class {
|
|
|
92186
92207
|
variables,
|
|
92187
92208
|
linkedList: entry,
|
|
92188
92209
|
stepsFromConnection,
|
|
92189
|
-
ignoreMasking
|
|
92210
|
+
ignoreMasking,
|
|
92211
|
+
fullCheck
|
|
92190
92212
|
});
|
|
92191
92213
|
result.push(nestedValue.data);
|
|
92192
92214
|
if (nestedValue.partial) {
|
|
@@ -92208,7 +92230,8 @@ var CacheInternal = class {
|
|
|
92208
92230
|
selection: fields,
|
|
92209
92231
|
variables,
|
|
92210
92232
|
stepsFromConnection,
|
|
92211
|
-
ignoreMasking
|
|
92233
|
+
ignoreMasking,
|
|
92234
|
+
fullCheck
|
|
92212
92235
|
});
|
|
92213
92236
|
result.push(data2);
|
|
92214
92237
|
if (partial) {
|
|
@@ -92399,11 +92422,10 @@ var query = documentPlugin(ArtifactKind.Query, function() {
|
|
|
92399
92422
|
cache_default.unsubscribe(subscriptionSpec, subscriptionSpec.variables?.() || {});
|
|
92400
92423
|
}
|
|
92401
92424
|
lastVariables = { ...marshalVariables2(ctx) };
|
|
92402
|
-
const variables = lastVariables;
|
|
92403
92425
|
subscriptionSpec = {
|
|
92404
92426
|
rootType: ctx.artifact.rootType,
|
|
92405
92427
|
selection: ctx.artifact.selection,
|
|
92406
|
-
variables: () =>
|
|
92428
|
+
variables: () => lastVariables,
|
|
92407
92429
|
set: (newValue) => {
|
|
92408
92430
|
resolve22(ctx, {
|
|
92409
92431
|
data: newValue,
|
|
@@ -92430,17 +92452,12 @@ var query = documentPlugin(ArtifactKind.Query, function() {
|
|
|
92430
92452
|
});
|
|
92431
92453
|
var fragment = documentPlugin(ArtifactKind.Fragment, function() {
|
|
92432
92454
|
let subscriptionSpec = null;
|
|
92433
|
-
let lastReference = null;
|
|
92434
92455
|
return {
|
|
92435
92456
|
start(ctx, { next, resolve: resolve22, variablesChanged: variablesChanged2, marshalVariables: marshalVariables2 }) {
|
|
92436
92457
|
if (!ctx.stuff.parentID) {
|
|
92437
92458
|
return next(ctx);
|
|
92438
92459
|
}
|
|
92439
|
-
|
|
92440
|
-
parent: ctx.stuff.parentID,
|
|
92441
|
-
variables: marshalVariables2(ctx)
|
|
92442
|
-
};
|
|
92443
|
-
if (!ctx.cacheParams?.disableSubscriptions && (!deepEquals(lastReference, currentReference) || variablesChanged2(ctx))) {
|
|
92460
|
+
if (variablesChanged2(ctx) && !ctx.cacheParams?.disableSubscriptions) {
|
|
92444
92461
|
if (subscriptionSpec) {
|
|
92445
92462
|
cache_default.unsubscribe(subscriptionSpec, subscriptionSpec.variables?.() || {});
|
|
92446
92463
|
}
|
|
@@ -92463,7 +92480,6 @@ var fragment = documentPlugin(ArtifactKind.Fragment, function() {
|
|
|
92463
92480
|
}
|
|
92464
92481
|
};
|
|
92465
92482
|
cache_default.subscribe(subscriptionSpec, variables);
|
|
92466
|
-
lastReference = currentReference;
|
|
92467
92483
|
}
|
|
92468
92484
|
next(ctx);
|
|
92469
92485
|
},
|
|
@@ -92582,36 +92598,13 @@ var TypeWrapper = /* @__PURE__ */ ((TypeWrapper2) => {
|
|
|
92582
92598
|
return TypeWrapper2;
|
|
92583
92599
|
})(TypeWrapper || {});
|
|
92584
92600
|
var import_parser = __toESM2(require_lib3(), 1);
|
|
92585
|
-
|
|
92586
|
-
function deepMerge(filepath, ...targets) {
|
|
92587
|
-
try {
|
|
92588
|
-
if (targets.length === 1) {
|
|
92589
|
-
return targets[0];
|
|
92590
|
-
} else if (targets.length === 2) {
|
|
92591
|
-
return (0, import_deepmerge.default)(targets[0], targets[1], {
|
|
92592
|
-
arrayMerge: (source, update) => [...new Set(source.concat(update))]
|
|
92593
|
-
});
|
|
92594
|
-
}
|
|
92595
|
-
return deepMerge(filepath, targets[0], deepMerge(filepath, ...targets.slice(1)));
|
|
92596
|
-
} catch (e22) {
|
|
92597
|
-
throw new HoudiniError({
|
|
92598
|
-
filepath,
|
|
92599
|
-
message: "could not merge: " + JSON.stringify(targets, null, 4),
|
|
92600
|
-
description: e22.message
|
|
92601
|
-
});
|
|
92602
|
-
}
|
|
92603
|
-
}
|
|
92604
|
-
async function parseJS(str, config4) {
|
|
92605
|
-
const defaultConfig = {
|
|
92606
|
-
plugins: ["typescript"],
|
|
92607
|
-
sourceType: "module"
|
|
92608
|
-
};
|
|
92601
|
+
async function parseJS(str) {
|
|
92609
92602
|
return {
|
|
92610
92603
|
start: 0,
|
|
92611
|
-
script: (0, import_parser.parse)(
|
|
92612
|
-
|
|
92613
|
-
|
|
92614
|
-
).program,
|
|
92604
|
+
script: (0, import_parser.parse)(str || "", {
|
|
92605
|
+
plugins: ["typescript"],
|
|
92606
|
+
sourceType: "module"
|
|
92607
|
+
}).program,
|
|
92615
92608
|
end: str.length
|
|
92616
92609
|
};
|
|
92617
92610
|
}
|
|
@@ -92656,6 +92649,7 @@ async function cleanupFiles(pathFolder, listOfObj) {
|
|
|
92656
92649
|
);
|
|
92657
92650
|
return allFilesNotInList;
|
|
92658
92651
|
}
|
|
92652
|
+
var import_deepmerge = __toESM2(require_cjs(), 1);
|
|
92659
92653
|
async function detectFromPackageJSON(cwd) {
|
|
92660
92654
|
try {
|
|
92661
92655
|
const packageJSONFile = await fs_exports.readFile(path_exports.join(cwd, "package.json"));
|
|
@@ -94023,8 +94017,8 @@ ${originalIndentation}`;
|
|
|
94023
94017
|
stack.pop();
|
|
94024
94018
|
return `[${res}]`;
|
|
94025
94019
|
}
|
|
94026
|
-
let
|
|
94027
|
-
const keyLength =
|
|
94020
|
+
let keys22 = Object.keys(value2);
|
|
94021
|
+
const keyLength = keys22.length;
|
|
94028
94022
|
if (keyLength === 0) {
|
|
94029
94023
|
return "{}";
|
|
94030
94024
|
}
|
|
@@ -94042,16 +94036,16 @@ ${indentation}`;
|
|
|
94042
94036
|
let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth);
|
|
94043
94037
|
if (isTypedArrayWithEntries(value2)) {
|
|
94044
94038
|
res += stringifyTypedArray(value2, join32, maximumBreadth);
|
|
94045
|
-
|
|
94039
|
+
keys22 = keys22.slice(value2.length);
|
|
94046
94040
|
maximumPropertiesToStringify -= value2.length;
|
|
94047
94041
|
separator = join32;
|
|
94048
94042
|
}
|
|
94049
94043
|
if (deterministic) {
|
|
94050
|
-
|
|
94044
|
+
keys22 = insertSort(keys22);
|
|
94051
94045
|
}
|
|
94052
94046
|
stack.push(value2);
|
|
94053
94047
|
for (let i22 = 0; i22 < maximumPropertiesToStringify; i22++) {
|
|
94054
|
-
const key2 =
|
|
94048
|
+
const key2 = keys22[i22];
|
|
94055
94049
|
const tmp = stringifyFnReplacer(key2, value2, stack, replacer, spacer, indentation);
|
|
94056
94050
|
if (tmp !== void 0) {
|
|
94057
94051
|
res += `${separator}"${strEscape(key2)}":${whitespace}${tmp}`;
|
|
@@ -94230,8 +94224,8 @@ ${originalIndentation}`;
|
|
|
94230
94224
|
stack.pop();
|
|
94231
94225
|
return `[${res2}]`;
|
|
94232
94226
|
}
|
|
94233
|
-
let
|
|
94234
|
-
const keyLength =
|
|
94227
|
+
let keys22 = Object.keys(value2);
|
|
94228
|
+
const keyLength = keys22.length;
|
|
94235
94229
|
if (keyLength === 0) {
|
|
94236
94230
|
return "{}";
|
|
94237
94231
|
}
|
|
@@ -94246,16 +94240,16 @@ ${indentation}`;
|
|
|
94246
94240
|
let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth);
|
|
94247
94241
|
if (isTypedArrayWithEntries(value2)) {
|
|
94248
94242
|
res += stringifyTypedArray(value2, join32, maximumBreadth);
|
|
94249
|
-
|
|
94243
|
+
keys22 = keys22.slice(value2.length);
|
|
94250
94244
|
maximumPropertiesToStringify -= value2.length;
|
|
94251
94245
|
separator = join32;
|
|
94252
94246
|
}
|
|
94253
94247
|
if (deterministic) {
|
|
94254
|
-
|
|
94248
|
+
keys22 = insertSort(keys22);
|
|
94255
94249
|
}
|
|
94256
94250
|
stack.push(value2);
|
|
94257
94251
|
for (let i22 = 0; i22 < maximumPropertiesToStringify; i22++) {
|
|
94258
|
-
const key2 =
|
|
94252
|
+
const key2 = keys22[i22];
|
|
94259
94253
|
const tmp = stringifyIndent(key2, value2[key2], stack, spacer, indentation);
|
|
94260
94254
|
if (tmp !== void 0) {
|
|
94261
94255
|
res += `${separator}"${strEscape(key2)}": ${tmp}`;
|
|
@@ -94334,8 +94328,8 @@ ${originalIndentation}`;
|
|
|
94334
94328
|
stack.pop();
|
|
94335
94329
|
return `[${res}]`;
|
|
94336
94330
|
}
|
|
94337
|
-
let
|
|
94338
|
-
const keyLength =
|
|
94331
|
+
let keys22 = Object.keys(value2);
|
|
94332
|
+
const keyLength = keys22.length;
|
|
94339
94333
|
if (keyLength === 0) {
|
|
94340
94334
|
return "{}";
|
|
94341
94335
|
}
|
|
@@ -94346,16 +94340,16 @@ ${originalIndentation}`;
|
|
|
94346
94340
|
let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth);
|
|
94347
94341
|
if (isTypedArrayWithEntries(value2)) {
|
|
94348
94342
|
res += stringifyTypedArray(value2, ",", maximumBreadth);
|
|
94349
|
-
|
|
94343
|
+
keys22 = keys22.slice(value2.length);
|
|
94350
94344
|
maximumPropertiesToStringify -= value2.length;
|
|
94351
94345
|
separator = ",";
|
|
94352
94346
|
}
|
|
94353
94347
|
if (deterministic) {
|
|
94354
|
-
|
|
94348
|
+
keys22 = insertSort(keys22);
|
|
94355
94349
|
}
|
|
94356
94350
|
stack.push(value2);
|
|
94357
94351
|
for (let i22 = 0; i22 < maximumPropertiesToStringify; i22++) {
|
|
94358
|
-
const key2 =
|
|
94352
|
+
const key2 = keys22[i22];
|
|
94359
94353
|
const tmp = stringifySimple(key2, value2[key2], stack);
|
|
94360
94354
|
if (tmp !== void 0) {
|
|
94361
94355
|
res += `${separator}"${strEscape(key2)}":${tmp}`;
|
|
@@ -96973,9 +96967,9 @@ var require_micromatch = __commonJS3({
|
|
|
96973
96967
|
if (!utils.isObject(obj)) {
|
|
96974
96968
|
throw new TypeError("Expected the first argument to be an object");
|
|
96975
96969
|
}
|
|
96976
|
-
let
|
|
96970
|
+
let keys22 = micromatch2(Object.keys(obj), patterns, options);
|
|
96977
96971
|
let res = {};
|
|
96978
|
-
for (let key of
|
|
96972
|
+
for (let key of keys22)
|
|
96979
96973
|
res[key] = obj[key];
|
|
96980
96974
|
return res;
|
|
96981
96975
|
};
|
|
@@ -97225,16 +97219,16 @@ var require_GraphQLError3 = __commonJS3({
|
|
|
97225
97219
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
97226
97220
|
}
|
|
97227
97221
|
function ownKeys(object, enumerableOnly) {
|
|
97228
|
-
var
|
|
97222
|
+
var keys22 = Object.keys(object);
|
|
97229
97223
|
if (Object.getOwnPropertySymbols) {
|
|
97230
97224
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
97231
97225
|
if (enumerableOnly)
|
|
97232
97226
|
symbols = symbols.filter(function(sym) {
|
|
97233
97227
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
97234
97228
|
});
|
|
97235
|
-
|
|
97229
|
+
keys22.push.apply(keys22, symbols);
|
|
97236
97230
|
}
|
|
97237
|
-
return
|
|
97231
|
+
return keys22;
|
|
97238
97232
|
}
|
|
97239
97233
|
function _objectSpread(target) {
|
|
97240
97234
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -97471,7 +97465,7 @@ var require_GraphQLError3 = __commonJS3({
|
|
|
97471
97465
|
}
|
|
97472
97466
|
_createClass(GraphQLError5, [{
|
|
97473
97467
|
key: "toString",
|
|
97474
|
-
value: function
|
|
97468
|
+
value: function toString22() {
|
|
97475
97469
|
return printError(this);
|
|
97476
97470
|
}
|
|
97477
97471
|
}, {
|
|
@@ -97777,14 +97771,14 @@ var require_inspect3 = __commonJS3({
|
|
|
97777
97771
|
return formatObject2(value2, seenValues);
|
|
97778
97772
|
}
|
|
97779
97773
|
function formatObject2(object, seenValues) {
|
|
97780
|
-
var
|
|
97781
|
-
if (
|
|
97774
|
+
var keys22 = Object.keys(object);
|
|
97775
|
+
if (keys22.length === 0) {
|
|
97782
97776
|
return "{}";
|
|
97783
97777
|
}
|
|
97784
97778
|
if (seenValues.length > MAX_RECURSIVE_DEPTH2) {
|
|
97785
97779
|
return "[" + getObjectTag2(object) + "]";
|
|
97786
97780
|
}
|
|
97787
|
-
var properties =
|
|
97781
|
+
var properties = keys22.map(function(key) {
|
|
97788
97782
|
var value2 = formatValue2(object[key], seenValues);
|
|
97789
97783
|
return key + ": " + value2;
|
|
97790
97784
|
});
|
|
@@ -99366,7 +99360,7 @@ var require_visitor3 = __commonJS3({
|
|
|
99366
99360
|
Object.defineProperty(exports, "__esModule", {
|
|
99367
99361
|
value: true
|
|
99368
99362
|
});
|
|
99369
|
-
exports.visit =
|
|
99363
|
+
exports.visit = visit13;
|
|
99370
99364
|
exports.visitInParallel = visitInParallel;
|
|
99371
99365
|
exports.getVisitFn = getVisitFn;
|
|
99372
99366
|
exports.BREAK = exports.QueryDocumentKeys = void 0;
|
|
@@ -99429,11 +99423,11 @@ var require_visitor3 = __commonJS3({
|
|
|
99429
99423
|
exports.QueryDocumentKeys = QueryDocumentKeys;
|
|
99430
99424
|
var BREAK = Object.freeze({});
|
|
99431
99425
|
exports.BREAK = BREAK;
|
|
99432
|
-
function
|
|
99426
|
+
function visit13(root, visitor) {
|
|
99433
99427
|
var visitorKeys = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : QueryDocumentKeys;
|
|
99434
99428
|
var stack = void 0;
|
|
99435
99429
|
var inArray = Array.isArray(root);
|
|
99436
|
-
var
|
|
99430
|
+
var keys22 = [root];
|
|
99437
99431
|
var index = -1;
|
|
99438
99432
|
var edits = [];
|
|
99439
99433
|
var node2 = void 0;
|
|
@@ -99444,7 +99438,7 @@ var require_visitor3 = __commonJS3({
|
|
|
99444
99438
|
var newRoot = root;
|
|
99445
99439
|
do {
|
|
99446
99440
|
index++;
|
|
99447
|
-
var isLeaving = index ===
|
|
99441
|
+
var isLeaving = index === keys22.length;
|
|
99448
99442
|
var isEdited = isLeaving && edits.length !== 0;
|
|
99449
99443
|
if (isLeaving) {
|
|
99450
99444
|
key = ancestors.length === 0 ? void 0 : path22[path22.length - 1];
|
|
@@ -99477,12 +99471,12 @@ var require_visitor3 = __commonJS3({
|
|
|
99477
99471
|
}
|
|
99478
99472
|
}
|
|
99479
99473
|
index = stack.index;
|
|
99480
|
-
|
|
99474
|
+
keys22 = stack.keys;
|
|
99481
99475
|
edits = stack.edits;
|
|
99482
99476
|
inArray = stack.inArray;
|
|
99483
99477
|
stack = stack.prev;
|
|
99484
99478
|
} else {
|
|
99485
|
-
key = parent ? inArray ? index :
|
|
99479
|
+
key = parent ? inArray ? index : keys22[index] : void 0;
|
|
99486
99480
|
node2 = parent ? parent[key] : newRoot;
|
|
99487
99481
|
if (node2 === null || node2 === void 0) {
|
|
99488
99482
|
continue;
|
|
@@ -99530,12 +99524,12 @@ var require_visitor3 = __commonJS3({
|
|
|
99530
99524
|
stack = {
|
|
99531
99525
|
inArray,
|
|
99532
99526
|
index,
|
|
99533
|
-
keys:
|
|
99527
|
+
keys: keys22,
|
|
99534
99528
|
edits,
|
|
99535
99529
|
prev: stack
|
|
99536
99530
|
};
|
|
99537
99531
|
inArray = Array.isArray(node2);
|
|
99538
|
-
|
|
99532
|
+
keys22 = inArray ? node2 : (_visitorKeys$node$kin = visitorKeys[node2.kind]) !== null && _visitorKeys$node$kin !== void 0 ? _visitorKeys$node$kin : [];
|
|
99539
99533
|
index = -1;
|
|
99540
99534
|
edits = [];
|
|
99541
99535
|
if (parent) {
|
|
@@ -100486,7 +100480,7 @@ var require_definition3 = __commonJS3({
|
|
|
100486
100480
|
return new GraphQLList6(ofType);
|
|
100487
100481
|
}
|
|
100488
100482
|
}
|
|
100489
|
-
GraphQLList6.prototype.toString = function
|
|
100483
|
+
GraphQLList6.prototype.toString = function toString22() {
|
|
100490
100484
|
return "[" + String(this.ofType) + "]";
|
|
100491
100485
|
};
|
|
100492
100486
|
GraphQLList6.prototype.toJSON = function toJSON() {
|
|
@@ -100505,7 +100499,7 @@ var require_definition3 = __commonJS3({
|
|
|
100505
100499
|
return new GraphQLNonNull6(ofType);
|
|
100506
100500
|
}
|
|
100507
100501
|
}
|
|
100508
|
-
GraphQLNonNull6.prototype.toString = function
|
|
100502
|
+
GraphQLNonNull6.prototype.toString = function toString22() {
|
|
100509
100503
|
return String(this.ofType) + "!";
|
|
100510
100504
|
};
|
|
100511
100505
|
GraphQLNonNull6.prototype.toJSON = function toJSON() {
|
|
@@ -100601,7 +100595,7 @@ var require_definition3 = __commonJS3({
|
|
|
100601
100595
|
extensionASTNodes: (_this$extensionASTNod = this.extensionASTNodes) !== null && _this$extensionASTNod !== void 0 ? _this$extensionASTNod : []
|
|
100602
100596
|
};
|
|
100603
100597
|
};
|
|
100604
|
-
_proto.toString = function
|
|
100598
|
+
_proto.toString = function toString22() {
|
|
100605
100599
|
return this.name;
|
|
100606
100600
|
};
|
|
100607
100601
|
_proto.toJSON = function toJSON() {
|
|
@@ -100655,7 +100649,7 @@ var require_definition3 = __commonJS3({
|
|
|
100655
100649
|
extensionASTNodes: this.extensionASTNodes || []
|
|
100656
100650
|
};
|
|
100657
100651
|
};
|
|
100658
|
-
_proto2.toString = function
|
|
100652
|
+
_proto2.toString = function toString22() {
|
|
100659
100653
|
return this.name;
|
|
100660
100654
|
};
|
|
100661
100655
|
_proto2.toJSON = function toJSON() {
|
|
@@ -100786,7 +100780,7 @@ var require_definition3 = __commonJS3({
|
|
|
100786
100780
|
extensionASTNodes: (_this$extensionASTNod2 = this.extensionASTNodes) !== null && _this$extensionASTNod2 !== void 0 ? _this$extensionASTNod2 : []
|
|
100787
100781
|
};
|
|
100788
100782
|
};
|
|
100789
|
-
_proto3.toString = function
|
|
100783
|
+
_proto3.toString = function toString22() {
|
|
100790
100784
|
return this.name;
|
|
100791
100785
|
};
|
|
100792
100786
|
_proto3.toJSON = function toJSON() {
|
|
@@ -100833,7 +100827,7 @@ var require_definition3 = __commonJS3({
|
|
|
100833
100827
|
extensionASTNodes: (_this$extensionASTNod3 = this.extensionASTNodes) !== null && _this$extensionASTNod3 !== void 0 ? _this$extensionASTNod3 : []
|
|
100834
100828
|
};
|
|
100835
100829
|
};
|
|
100836
|
-
_proto4.toString = function
|
|
100830
|
+
_proto4.toString = function toString22() {
|
|
100837
100831
|
return this.name;
|
|
100838
100832
|
};
|
|
100839
100833
|
_proto4.toJSON = function toJSON() {
|
|
@@ -100877,7 +100871,7 @@ var require_definition3 = __commonJS3({
|
|
|
100877
100871
|
_proto5.getValue = function getValue(name) {
|
|
100878
100872
|
return this._nameLookup[name];
|
|
100879
100873
|
};
|
|
100880
|
-
_proto5.serialize = function
|
|
100874
|
+
_proto5.serialize = function serialize2(outputValue) {
|
|
100881
100875
|
var enumValue = this._valueLookup.get(outputValue);
|
|
100882
100876
|
if (enumValue === void 0) {
|
|
100883
100877
|
throw new _GraphQLError.GraphQLError('Enum "'.concat(this.name, '" cannot represent value: ').concat((0, _inspect.default)(outputValue)));
|
|
@@ -100929,7 +100923,7 @@ var require_definition3 = __commonJS3({
|
|
|
100929
100923
|
extensionASTNodes: (_this$extensionASTNod4 = this.extensionASTNodes) !== null && _this$extensionASTNod4 !== void 0 ? _this$extensionASTNod4 : []
|
|
100930
100924
|
};
|
|
100931
100925
|
};
|
|
100932
|
-
_proto5.toString = function
|
|
100926
|
+
_proto5.toString = function toString22() {
|
|
100933
100927
|
return this.name;
|
|
100934
100928
|
};
|
|
100935
100929
|
_proto5.toJSON = function toJSON() {
|
|
@@ -101007,7 +101001,7 @@ var require_definition3 = __commonJS3({
|
|
|
101007
101001
|
extensionASTNodes: (_this$extensionASTNod5 = this.extensionASTNodes) !== null && _this$extensionASTNod5 !== void 0 ? _this$extensionASTNod5 : []
|
|
101008
101002
|
};
|
|
101009
101003
|
};
|
|
101010
|
-
_proto6.toString = function
|
|
101004
|
+
_proto6.toString = function toString22() {
|
|
101011
101005
|
return this.name;
|
|
101012
101006
|
};
|
|
101013
101007
|
_proto6.toJSON = function toJSON() {
|
|
@@ -102243,7 +102237,7 @@ var require_directives3 = __commonJS3({
|
|
|
102243
102237
|
astNode: this.astNode
|
|
102244
102238
|
};
|
|
102245
102239
|
};
|
|
102246
|
-
_proto.toString = function
|
|
102240
|
+
_proto.toString = function toString22() {
|
|
102247
102241
|
return "@" + this.name;
|
|
102248
102242
|
};
|
|
102249
102243
|
_proto.toJSON = function toJSON() {
|
|
@@ -104130,16 +104124,16 @@ var require_KnownArgumentNamesRule3 = __commonJS3({
|
|
|
104130
104124
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
104131
104125
|
}
|
|
104132
104126
|
function ownKeys(object, enumerableOnly) {
|
|
104133
|
-
var
|
|
104127
|
+
var keys22 = Object.keys(object);
|
|
104134
104128
|
if (Object.getOwnPropertySymbols) {
|
|
104135
104129
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
104136
104130
|
if (enumerableOnly)
|
|
104137
104131
|
symbols = symbols.filter(function(sym) {
|
|
104138
104132
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
104139
104133
|
});
|
|
104140
|
-
|
|
104134
|
+
keys22.push.apply(keys22, symbols);
|
|
104141
104135
|
}
|
|
104142
|
-
return
|
|
104136
|
+
return keys22;
|
|
104143
104137
|
}
|
|
104144
104138
|
function _objectSpread(target) {
|
|
104145
104139
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -104380,16 +104374,16 @@ var require_ProvidedRequiredArgumentsRule3 = __commonJS3({
|
|
|
104380
104374
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
104381
104375
|
}
|
|
104382
104376
|
function ownKeys(object, enumerableOnly) {
|
|
104383
|
-
var
|
|
104377
|
+
var keys22 = Object.keys(object);
|
|
104384
104378
|
if (Object.getOwnPropertySymbols) {
|
|
104385
104379
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
104386
104380
|
if (enumerableOnly)
|
|
104387
104381
|
symbols = symbols.filter(function(sym) {
|
|
104388
104382
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
104389
104383
|
});
|
|
104390
|
-
|
|
104384
|
+
keys22.push.apply(keys22, symbols);
|
|
104391
104385
|
}
|
|
104392
|
-
return
|
|
104386
|
+
return keys22;
|
|
104393
104387
|
}
|
|
104394
104388
|
function _objectSpread(target) {
|
|
104395
104389
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -105615,13 +105609,13 @@ var require_promiseForObject3 = __commonJS3({
|
|
|
105615
105609
|
});
|
|
105616
105610
|
exports.default = promiseForObject;
|
|
105617
105611
|
function promiseForObject(object) {
|
|
105618
|
-
var
|
|
105619
|
-
var valuesAndPromises =
|
|
105612
|
+
var keys22 = Object.keys(object);
|
|
105613
|
+
var valuesAndPromises = keys22.map(function(name) {
|
|
105620
105614
|
return object[name];
|
|
105621
105615
|
});
|
|
105622
105616
|
return Promise.all(valuesAndPromises).then(function(values) {
|
|
105623
105617
|
return values.reduce(function(resolvedObject, value2, i22) {
|
|
105624
|
-
resolvedObject[
|
|
105618
|
+
resolvedObject[keys22[i22]] = value2;
|
|
105625
105619
|
return resolvedObject;
|
|
105626
105620
|
}, /* @__PURE__ */ Object.create(null));
|
|
105627
105621
|
});
|
|
@@ -108031,16 +108025,16 @@ var require_getIntrospectionQuery3 = __commonJS3({
|
|
|
108031
108025
|
});
|
|
108032
108026
|
exports.getIntrospectionQuery = getIntrospectionQuery2;
|
|
108033
108027
|
function ownKeys(object, enumerableOnly) {
|
|
108034
|
-
var
|
|
108028
|
+
var keys22 = Object.keys(object);
|
|
108035
108029
|
if (Object.getOwnPropertySymbols) {
|
|
108036
108030
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
108037
108031
|
if (enumerableOnly)
|
|
108038
108032
|
symbols = symbols.filter(function(sym) {
|
|
108039
108033
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
108040
108034
|
});
|
|
108041
|
-
|
|
108035
|
+
keys22.push.apply(keys22, symbols);
|
|
108042
108036
|
}
|
|
108043
|
-
return
|
|
108037
|
+
return keys22;
|
|
108044
108038
|
}
|
|
108045
108039
|
function _objectSpread(target) {
|
|
108046
108040
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -108129,16 +108123,16 @@ var require_introspectionFromSchema3 = __commonJS3({
|
|
|
108129
108123
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
108130
108124
|
}
|
|
108131
108125
|
function ownKeys(object, enumerableOnly) {
|
|
108132
|
-
var
|
|
108126
|
+
var keys22 = Object.keys(object);
|
|
108133
108127
|
if (Object.getOwnPropertySymbols) {
|
|
108134
108128
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
108135
108129
|
if (enumerableOnly)
|
|
108136
108130
|
symbols = symbols.filter(function(sym) {
|
|
108137
108131
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
108138
108132
|
});
|
|
108139
|
-
|
|
108133
|
+
keys22.push.apply(keys22, symbols);
|
|
108140
108134
|
}
|
|
108141
|
-
return
|
|
108135
|
+
return keys22;
|
|
108142
108136
|
}
|
|
108143
108137
|
function _objectSpread(target) {
|
|
108144
108138
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -108466,16 +108460,16 @@ var require_extendSchema3 = __commonJS3({
|
|
|
108466
108460
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
108467
108461
|
}
|
|
108468
108462
|
function ownKeys(object, enumerableOnly) {
|
|
108469
|
-
var
|
|
108463
|
+
var keys22 = Object.keys(object);
|
|
108470
108464
|
if (Object.getOwnPropertySymbols) {
|
|
108471
108465
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
108472
108466
|
if (enumerableOnly)
|
|
108473
108467
|
symbols = symbols.filter(function(sym) {
|
|
108474
108468
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
108475
108469
|
});
|
|
108476
|
-
|
|
108470
|
+
keys22.push.apply(keys22, symbols);
|
|
108477
108471
|
}
|
|
108478
|
-
return
|
|
108472
|
+
return keys22;
|
|
108479
108473
|
}
|
|
108480
108474
|
function _objectSpread(target) {
|
|
108481
108475
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -109062,16 +109056,16 @@ var require_lexicographicSortSchema3 = __commonJS3({
|
|
|
109062
109056
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
109063
109057
|
}
|
|
109064
109058
|
function ownKeys(object, enumerableOnly) {
|
|
109065
|
-
var
|
|
109059
|
+
var keys22 = Object.keys(object);
|
|
109066
109060
|
if (Object.getOwnPropertySymbols) {
|
|
109067
109061
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
109068
109062
|
if (enumerableOnly)
|
|
109069
109063
|
symbols = symbols.filter(function(sym) {
|
|
109070
109064
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
109071
109065
|
});
|
|
109072
|
-
|
|
109066
|
+
keys22.push.apply(keys22, symbols);
|
|
109073
109067
|
}
|
|
109074
|
-
return
|
|
109068
|
+
return keys22;
|
|
109075
109069
|
}
|
|
109076
109070
|
function _objectSpread(target) {
|
|
109077
109071
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -109602,16 +109596,16 @@ var require_findBreakingChanges3 = __commonJS3({
|
|
|
109602
109596
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
109603
109597
|
}
|
|
109604
109598
|
function ownKeys(object, enumerableOnly) {
|
|
109605
|
-
var
|
|
109599
|
+
var keys22 = Object.keys(object);
|
|
109606
109600
|
if (Object.getOwnPropertySymbols) {
|
|
109607
109601
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
109608
109602
|
if (enumerableOnly)
|
|
109609
109603
|
symbols = symbols.filter(function(sym) {
|
|
109610
109604
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
109611
109605
|
});
|
|
109612
|
-
|
|
109606
|
+
keys22.push.apply(keys22, symbols);
|
|
109613
109607
|
}
|
|
109614
|
-
return
|
|
109608
|
+
return keys22;
|
|
109615
109609
|
}
|
|
109616
109610
|
function _objectSpread(target) {
|
|
109617
109611
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -111833,9 +111827,9 @@ var require_legacy_streams2 = __commonJS3({
|
|
|
111833
111827
|
this.mode = 438;
|
|
111834
111828
|
this.bufferSize = 64 * 1024;
|
|
111835
111829
|
options = options || {};
|
|
111836
|
-
var
|
|
111837
|
-
for (var index = 0, length =
|
|
111838
|
-
var key =
|
|
111830
|
+
var keys22 = Object.keys(options);
|
|
111831
|
+
for (var index = 0, length = keys22.length; index < length; index++) {
|
|
111832
|
+
var key = keys22[index];
|
|
111839
111833
|
this[key] = options[key];
|
|
111840
111834
|
}
|
|
111841
111835
|
if (this.encoding)
|
|
@@ -111883,9 +111877,9 @@ var require_legacy_streams2 = __commonJS3({
|
|
|
111883
111877
|
this.mode = 438;
|
|
111884
111878
|
this.bytesWritten = 0;
|
|
111885
111879
|
options = options || {};
|
|
111886
|
-
var
|
|
111887
|
-
for (var index = 0, length =
|
|
111888
|
-
var key =
|
|
111880
|
+
var keys22 = Object.keys(options);
|
|
111881
|
+
for (var index = 0, length = keys22.length; index < length; index++) {
|
|
111882
|
+
var key = keys22[index];
|
|
111889
111883
|
this[key] = options[key];
|
|
111890
111884
|
}
|
|
111891
111885
|
if (this.start !== void 0) {
|
|
@@ -115018,10 +115012,10 @@ var require_glob2 = __commonJS3({
|
|
|
115018
115012
|
if (add === null || typeof add !== "object") {
|
|
115019
115013
|
return origin;
|
|
115020
115014
|
}
|
|
115021
|
-
var
|
|
115022
|
-
var i22 =
|
|
115015
|
+
var keys22 = Object.keys(add);
|
|
115016
|
+
var i22 = keys22.length;
|
|
115023
115017
|
while (i22--) {
|
|
115024
|
-
origin[
|
|
115018
|
+
origin[keys22[i22]] = add[keys22[i22]];
|
|
115025
115019
|
}
|
|
115026
115020
|
return origin;
|
|
115027
115021
|
}
|
|
@@ -123414,12 +123408,12 @@ var require_lib32 = __commonJS3({
|
|
|
123414
123408
|
SyntaxError: "BABEL_PARSER_SYNTAX_ERROR",
|
|
123415
123409
|
SourceTypeModuleError: "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"
|
|
123416
123410
|
};
|
|
123417
|
-
var reflect = (
|
|
123411
|
+
var reflect = (keys22, last = keys22.length - 1) => ({
|
|
123418
123412
|
get() {
|
|
123419
|
-
return
|
|
123413
|
+
return keys22.reduce((object, key) => object[key], this);
|
|
123420
123414
|
},
|
|
123421
123415
|
set(value2) {
|
|
123422
|
-
|
|
123416
|
+
keys22.reduce(
|
|
123423
123417
|
(item, key, i22) => i22 === last ? item[key] = value2 : item[key],
|
|
123424
123418
|
this
|
|
123425
123419
|
);
|
|
@@ -125352,9 +125346,9 @@ var require_lib32 = __commonJS3({
|
|
|
125352
125346
|
}
|
|
125353
125347
|
clone(skipArrays) {
|
|
125354
125348
|
const state = new State();
|
|
125355
|
-
const
|
|
125356
|
-
for (let i22 = 0, length =
|
|
125357
|
-
const key =
|
|
125349
|
+
const keys22 = Object.keys(this);
|
|
125350
|
+
for (let i22 = 0, length = keys22.length; i22 < length; i22++) {
|
|
125351
|
+
const key = keys22[i22];
|
|
125358
125352
|
let val = this[key];
|
|
125359
125353
|
if (!skipArrays && Array.isArray(val)) {
|
|
125360
125354
|
val = val.slice();
|
|
@@ -127259,9 +127253,9 @@ var require_lib32 = __commonJS3({
|
|
|
127259
127253
|
{
|
|
127260
127254
|
NodePrototype.__clone = function() {
|
|
127261
127255
|
const newNode = new Node3(void 0, this.start, this.loc.start);
|
|
127262
|
-
const
|
|
127263
|
-
for (let i22 = 0, length =
|
|
127264
|
-
const key =
|
|
127256
|
+
const keys22 = Object.keys(this);
|
|
127257
|
+
for (let i22 = 0, length = keys22.length; i22 < length; i22++) {
|
|
127258
|
+
const key = keys22[i22];
|
|
127265
127259
|
if (key !== "leadingComments" && key !== "trailingComments" && key !== "innerComments") {
|
|
127266
127260
|
newNode[key] = this[key];
|
|
127267
127261
|
}
|
|
@@ -137900,107 +137894,6 @@ var require_lib32 = __commonJS3({
|
|
|
137900
137894
|
exports.tokTypes = tokTypes;
|
|
137901
137895
|
}
|
|
137902
137896
|
});
|
|
137903
|
-
var require_cjs2 = __commonJS3({
|
|
137904
|
-
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module2) {
|
|
137905
|
-
"use strict";
|
|
137906
|
-
var isMergeableObject = function isMergeableObject2(value2) {
|
|
137907
|
-
return isNonNullObject(value2) && !isSpecial(value2);
|
|
137908
|
-
};
|
|
137909
|
-
function isNonNullObject(value2) {
|
|
137910
|
-
return !!value2 && typeof value2 === "object";
|
|
137911
|
-
}
|
|
137912
|
-
function isSpecial(value2) {
|
|
137913
|
-
var stringValue = Object.prototype.toString.call(value2);
|
|
137914
|
-
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
137915
|
-
}
|
|
137916
|
-
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
137917
|
-
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
137918
|
-
function isReactElement(value2) {
|
|
137919
|
-
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
137920
|
-
}
|
|
137921
|
-
function emptyTarget(val) {
|
|
137922
|
-
return Array.isArray(val) ? [] : {};
|
|
137923
|
-
}
|
|
137924
|
-
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
137925
|
-
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
137926
|
-
}
|
|
137927
|
-
function defaultArrayMerge(target, source, options) {
|
|
137928
|
-
return target.concat(source).map(function(element) {
|
|
137929
|
-
return cloneUnlessOtherwiseSpecified(element, options);
|
|
137930
|
-
});
|
|
137931
|
-
}
|
|
137932
|
-
function getMergeFunction(key, options) {
|
|
137933
|
-
if (!options.customMerge) {
|
|
137934
|
-
return deepmerge;
|
|
137935
|
-
}
|
|
137936
|
-
var customMerge = options.customMerge(key);
|
|
137937
|
-
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
137938
|
-
}
|
|
137939
|
-
function getEnumerableOwnPropertySymbols(target) {
|
|
137940
|
-
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
137941
|
-
return target.propertyIsEnumerable(symbol);
|
|
137942
|
-
}) : [];
|
|
137943
|
-
}
|
|
137944
|
-
function getKeys(target) {
|
|
137945
|
-
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
137946
|
-
}
|
|
137947
|
-
function propertyIsOnObject(object, property) {
|
|
137948
|
-
try {
|
|
137949
|
-
return property in object;
|
|
137950
|
-
} catch (_) {
|
|
137951
|
-
return false;
|
|
137952
|
-
}
|
|
137953
|
-
}
|
|
137954
|
-
function propertyIsUnsafe(target, key) {
|
|
137955
|
-
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
137956
|
-
}
|
|
137957
|
-
function mergeObject(target, source, options) {
|
|
137958
|
-
var destination = {};
|
|
137959
|
-
if (options.isMergeableObject(target)) {
|
|
137960
|
-
getKeys(target).forEach(function(key) {
|
|
137961
|
-
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
137962
|
-
});
|
|
137963
|
-
}
|
|
137964
|
-
getKeys(source).forEach(function(key) {
|
|
137965
|
-
if (propertyIsUnsafe(target, key)) {
|
|
137966
|
-
return;
|
|
137967
|
-
}
|
|
137968
|
-
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
137969
|
-
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
137970
|
-
} else {
|
|
137971
|
-
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
137972
|
-
}
|
|
137973
|
-
});
|
|
137974
|
-
return destination;
|
|
137975
|
-
}
|
|
137976
|
-
function deepmerge(target, source, options) {
|
|
137977
|
-
options = options || {};
|
|
137978
|
-
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
137979
|
-
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
137980
|
-
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
137981
|
-
var sourceIsArray = Array.isArray(source);
|
|
137982
|
-
var targetIsArray = Array.isArray(target);
|
|
137983
|
-
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
137984
|
-
if (!sourceAndTargetTypesMatch) {
|
|
137985
|
-
return cloneUnlessOtherwiseSpecified(source, options);
|
|
137986
|
-
} else if (sourceIsArray) {
|
|
137987
|
-
return options.arrayMerge(target, source, options);
|
|
137988
|
-
} else {
|
|
137989
|
-
return mergeObject(target, source, options);
|
|
137990
|
-
}
|
|
137991
|
-
}
|
|
137992
|
-
deepmerge.all = function deepmergeAll(array, options) {
|
|
137993
|
-
if (!Array.isArray(array)) {
|
|
137994
|
-
throw new Error("first argument should be an array");
|
|
137995
|
-
}
|
|
137996
|
-
return array.reduce(function(prev, next) {
|
|
137997
|
-
return deepmerge(prev, next, options);
|
|
137998
|
-
}, {});
|
|
137999
|
-
};
|
|
138000
|
-
var deepmerge_1 = deepmerge;
|
|
138001
|
-
module2.exports = deepmerge_1;
|
|
138002
|
-
}
|
|
138003
|
-
});
|
|
138004
137897
|
var require_tslib2 = __commonJS3({
|
|
138005
137898
|
"../../node_modules/.pnpm/tslib@2.5.0/node_modules/tslib/tslib.js"(exports, module2) {
|
|
138006
137899
|
var __extends;
|
|
@@ -140257,7 +140150,7 @@ var require_path_visitor2 = __commonJS3({
|
|
|
140257
140150
|
}
|
|
140258
140151
|
return target;
|
|
140259
140152
|
}
|
|
140260
|
-
PathVisitor.visit = function
|
|
140153
|
+
PathVisitor.visit = function visit13(node2, methods) {
|
|
140261
140154
|
return PathVisitor.fromMethodsObject(methods).visit(node2);
|
|
140262
140155
|
};
|
|
140263
140156
|
var PVp = PathVisitor.prototype;
|
|
@@ -140448,7 +140341,7 @@ var require_path_visitor2 = __commonJS3({
|
|
|
140448
140341
|
this.needToCallTraverse = false;
|
|
140449
140342
|
return visitChildren(path22, PathVisitor.fromMethodsObject(newVisitor || this.visitor));
|
|
140450
140343
|
};
|
|
140451
|
-
sharedContextProtoMethods.visit = function
|
|
140344
|
+
sharedContextProtoMethods.visit = function visit13(path22, newVisitor) {
|
|
140452
140345
|
if (!(this instanceof this.Context)) {
|
|
140453
140346
|
throw new Error("");
|
|
140454
140347
|
}
|
|
@@ -141791,7 +141684,7 @@ var require_main3 = __commonJS3({
|
|
|
141791
141684
|
var someField = _a.someField;
|
|
141792
141685
|
var Type = _a.Type;
|
|
141793
141686
|
var use = _a.use;
|
|
141794
|
-
var
|
|
141687
|
+
var visit13 = _a.visit;
|
|
141795
141688
|
exports.astNodesAreEquivalent = astNodesAreEquivalent;
|
|
141796
141689
|
exports.builders = builders;
|
|
141797
141690
|
exports.builtInTypes = builtInTypes;
|
|
@@ -141808,7 +141701,7 @@ var require_main3 = __commonJS3({
|
|
|
141808
141701
|
exports.someField = someField;
|
|
141809
141702
|
exports.Type = Type;
|
|
141810
141703
|
exports.use = use;
|
|
141811
|
-
exports.visit =
|
|
141704
|
+
exports.visit = visit13;
|
|
141812
141705
|
Object.assign(namedTypes_1.namedTypes, n);
|
|
141813
141706
|
}
|
|
141814
141707
|
});
|
|
@@ -143572,10 +143465,10 @@ var require_util22 = __commonJS3({
|
|
|
143572
143465
|
var result = {};
|
|
143573
143466
|
var argc = args.length;
|
|
143574
143467
|
for (var i22 = 0; i22 < argc; ++i22) {
|
|
143575
|
-
var
|
|
143576
|
-
var keyCount =
|
|
143468
|
+
var keys22 = Object.keys(args[i22]);
|
|
143469
|
+
var keyCount = keys22.length;
|
|
143577
143470
|
for (var j = 0; j < keyCount; ++j) {
|
|
143578
|
-
result[
|
|
143471
|
+
result[keys22[j]] = true;
|
|
143579
143472
|
}
|
|
143580
143473
|
}
|
|
143581
143474
|
return result;
|
|
@@ -151221,10 +151114,10 @@ var require_parser22 = __commonJS3({
|
|
|
151221
151114
|
loc.indent = newIndent;
|
|
151222
151115
|
this.findTokenRange(loc);
|
|
151223
151116
|
}
|
|
151224
|
-
var
|
|
151225
|
-
var keyCount =
|
|
151117
|
+
var keys22 = Object.keys(node2);
|
|
151118
|
+
var keyCount = keys22.length;
|
|
151226
151119
|
for (var i22 = 0; i22 < keyCount; ++i22) {
|
|
151227
|
-
var key =
|
|
151120
|
+
var key = keys22[i22];
|
|
151228
151121
|
if (key === "loc") {
|
|
151229
151122
|
copy[key] = node2[key];
|
|
151230
151123
|
} else if (key === "tokens" && node2.type === "File") {
|
|
@@ -151979,13 +151872,13 @@ var require_patcher2 = __commonJS3({
|
|
|
151979
151872
|
if (newPath.needsParens() && !oldPath.hasParens()) {
|
|
151980
151873
|
return false;
|
|
151981
151874
|
}
|
|
151982
|
-
var
|
|
151875
|
+
var keys22 = (0, util_110.getUnionOfKeys)(oldNode, newNode);
|
|
151983
151876
|
if (oldNode.type === "File" || newNode.type === "File") {
|
|
151984
|
-
delete
|
|
151877
|
+
delete keys22.tokens;
|
|
151985
151878
|
}
|
|
151986
|
-
delete
|
|
151879
|
+
delete keys22.loc;
|
|
151987
151880
|
var originalReprintCount = reprints.length;
|
|
151988
|
-
for (var k in
|
|
151881
|
+
for (var k in keys22) {
|
|
151989
151882
|
if (k.charAt(0) === "_") {
|
|
151990
151883
|
continue;
|
|
151991
151884
|
}
|
|
@@ -154223,6 +154116,107 @@ var require_main22 = __commonJS3({
|
|
|
154223
154116
|
}
|
|
154224
154117
|
}
|
|
154225
154118
|
});
|
|
154119
|
+
var require_cjs2 = __commonJS3({
|
|
154120
|
+
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module2) {
|
|
154121
|
+
"use strict";
|
|
154122
|
+
var isMergeableObject = function isMergeableObject2(value2) {
|
|
154123
|
+
return isNonNullObject(value2) && !isSpecial(value2);
|
|
154124
|
+
};
|
|
154125
|
+
function isNonNullObject(value2) {
|
|
154126
|
+
return !!value2 && typeof value2 === "object";
|
|
154127
|
+
}
|
|
154128
|
+
function isSpecial(value2) {
|
|
154129
|
+
var stringValue = Object.prototype.toString.call(value2);
|
|
154130
|
+
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
154131
|
+
}
|
|
154132
|
+
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
154133
|
+
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
154134
|
+
function isReactElement(value2) {
|
|
154135
|
+
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
154136
|
+
}
|
|
154137
|
+
function emptyTarget(val) {
|
|
154138
|
+
return Array.isArray(val) ? [] : {};
|
|
154139
|
+
}
|
|
154140
|
+
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
154141
|
+
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
154142
|
+
}
|
|
154143
|
+
function defaultArrayMerge(target, source, options) {
|
|
154144
|
+
return target.concat(source).map(function(element) {
|
|
154145
|
+
return cloneUnlessOtherwiseSpecified(element, options);
|
|
154146
|
+
});
|
|
154147
|
+
}
|
|
154148
|
+
function getMergeFunction(key, options) {
|
|
154149
|
+
if (!options.customMerge) {
|
|
154150
|
+
return deepmerge;
|
|
154151
|
+
}
|
|
154152
|
+
var customMerge = options.customMerge(key);
|
|
154153
|
+
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
154154
|
+
}
|
|
154155
|
+
function getEnumerableOwnPropertySymbols(target) {
|
|
154156
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
154157
|
+
return target.propertyIsEnumerable(symbol);
|
|
154158
|
+
}) : [];
|
|
154159
|
+
}
|
|
154160
|
+
function getKeys(target) {
|
|
154161
|
+
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
154162
|
+
}
|
|
154163
|
+
function propertyIsOnObject(object, property) {
|
|
154164
|
+
try {
|
|
154165
|
+
return property in object;
|
|
154166
|
+
} catch (_) {
|
|
154167
|
+
return false;
|
|
154168
|
+
}
|
|
154169
|
+
}
|
|
154170
|
+
function propertyIsUnsafe(target, key) {
|
|
154171
|
+
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
154172
|
+
}
|
|
154173
|
+
function mergeObject(target, source, options) {
|
|
154174
|
+
var destination = {};
|
|
154175
|
+
if (options.isMergeableObject(target)) {
|
|
154176
|
+
getKeys(target).forEach(function(key) {
|
|
154177
|
+
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
154178
|
+
});
|
|
154179
|
+
}
|
|
154180
|
+
getKeys(source).forEach(function(key) {
|
|
154181
|
+
if (propertyIsUnsafe(target, key)) {
|
|
154182
|
+
return;
|
|
154183
|
+
}
|
|
154184
|
+
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
154185
|
+
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
154186
|
+
} else {
|
|
154187
|
+
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
154188
|
+
}
|
|
154189
|
+
});
|
|
154190
|
+
return destination;
|
|
154191
|
+
}
|
|
154192
|
+
function deepmerge(target, source, options) {
|
|
154193
|
+
options = options || {};
|
|
154194
|
+
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
154195
|
+
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
154196
|
+
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
154197
|
+
var sourceIsArray = Array.isArray(source);
|
|
154198
|
+
var targetIsArray = Array.isArray(target);
|
|
154199
|
+
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
154200
|
+
if (!sourceAndTargetTypesMatch) {
|
|
154201
|
+
return cloneUnlessOtherwiseSpecified(source, options);
|
|
154202
|
+
} else if (sourceIsArray) {
|
|
154203
|
+
return options.arrayMerge(target, source, options);
|
|
154204
|
+
} else {
|
|
154205
|
+
return mergeObject(target, source, options);
|
|
154206
|
+
}
|
|
154207
|
+
}
|
|
154208
|
+
deepmerge.all = function deepmergeAll(array, options) {
|
|
154209
|
+
if (!Array.isArray(array)) {
|
|
154210
|
+
throw new Error("first argument should be an array");
|
|
154211
|
+
}
|
|
154212
|
+
return array.reduce(function(prev, next) {
|
|
154213
|
+
return deepmerge(prev, next, options);
|
|
154214
|
+
}, {});
|
|
154215
|
+
};
|
|
154216
|
+
var deepmerge_1 = deepmerge;
|
|
154217
|
+
module2.exports = deepmerge_1;
|
|
154218
|
+
}
|
|
154219
|
+
});
|
|
154226
154220
|
var import_minimatch2 = __toESM3(require_minimatch2(), 1);
|
|
154227
154221
|
var config = {
|
|
154228
154222
|
reset: {
|
|
@@ -154425,14 +154419,14 @@ function hasMultilineItems2(maybeArray) {
|
|
|
154425
154419
|
function addDescription2(cb) {
|
|
154426
154420
|
return (node2, _key, _parent, path22, ancestors) => {
|
|
154427
154421
|
var _a;
|
|
154428
|
-
const
|
|
154422
|
+
const keys22 = [];
|
|
154429
154423
|
const parent = path22.reduce((prev, key2) => {
|
|
154430
154424
|
if (["fields", "arguments", "values"].includes(key2) && prev.name) {
|
|
154431
|
-
|
|
154425
|
+
keys22.push(prev.name.value);
|
|
154432
154426
|
}
|
|
154433
154427
|
return prev[key2];
|
|
154434
154428
|
}, ancestors[0]);
|
|
154435
|
-
const key = [...
|
|
154429
|
+
const key = [...keys22, (_a = parent === null || parent === void 0 ? void 0 : parent.name) === null || _a === void 0 ? void 0 : _a.value].filter(Boolean).join(".");
|
|
154436
154430
|
const items = [];
|
|
154437
154431
|
if (node2.kind.includes("Definition") && commentsRegistry2[key]) {
|
|
154438
154432
|
items.push(...commentsRegistry2[key]);
|
|
@@ -154784,9 +154778,9 @@ var DataSource2 = {
|
|
|
154784
154778
|
};
|
|
154785
154779
|
var fragmentKey2 = " $fragments";
|
|
154786
154780
|
var computeKey2 = ({ field, args }) => {
|
|
154787
|
-
const
|
|
154788
|
-
|
|
154789
|
-
return args &&
|
|
154781
|
+
const keys22 = Object.keys(args ?? {});
|
|
154782
|
+
keys22.sort();
|
|
154783
|
+
return args && keys22.length > 0 ? `${field}(${keys22.map((key) => `${key}: ${stringifyObjectWithNoQuotesOnKeys2(args[key])}`).join(", ")})` : field;
|
|
154790
154784
|
};
|
|
154791
154785
|
var stringifyObjectWithNoQuotesOnKeys2 = (obj_from_json) => {
|
|
154792
154786
|
if (Array.isArray(obj_from_json)) {
|
|
@@ -157317,7 +157311,8 @@ var CacheInternal2 = class {
|
|
|
157317
157311
|
parent = rootID2,
|
|
157318
157312
|
variables,
|
|
157319
157313
|
stepsFromConnection = null,
|
|
157320
|
-
ignoreMasking
|
|
157314
|
+
ignoreMasking,
|
|
157315
|
+
fullCheck = false
|
|
157321
157316
|
}) {
|
|
157322
157317
|
if (parent === null) {
|
|
157323
157318
|
return { data: null, partial: false, stale: false, hasData: true };
|
|
@@ -157342,11 +157337,28 @@ var CacheInternal2 = class {
|
|
|
157342
157337
|
let targetSelection = getFieldsForType2(selection, typename);
|
|
157343
157338
|
for (const [
|
|
157344
157339
|
attributeName,
|
|
157345
|
-
{ type, keyRaw, selection: fieldSelection, nullable, list, visible }
|
|
157340
|
+
{ type, keyRaw, selection: fieldSelection, nullable, list, visible, directives }
|
|
157346
157341
|
] of Object.entries(targetSelection)) {
|
|
157347
|
-
if (!visible && !ignoreMasking) {
|
|
157342
|
+
if (!visible && !ignoreMasking && !fullCheck) {
|
|
157348
157343
|
continue;
|
|
157349
157344
|
}
|
|
157345
|
+
const includeDirective = directives?.find((d) => {
|
|
157346
|
+
return d.name === "include";
|
|
157347
|
+
});
|
|
157348
|
+
if (includeDirective) {
|
|
157349
|
+
if (!evaluateFragmentVariables2(includeDirective.arguments, variables ?? {})["if"]) {
|
|
157350
|
+
continue;
|
|
157351
|
+
}
|
|
157352
|
+
}
|
|
157353
|
+
const skipDirective = directives?.find((d) => {
|
|
157354
|
+
return d.name === "skip";
|
|
157355
|
+
});
|
|
157356
|
+
if (skipDirective) {
|
|
157357
|
+
if (evaluateFragmentVariables2(skipDirective.arguments, variables ?? {})["if"]) {
|
|
157358
|
+
continue;
|
|
157359
|
+
}
|
|
157360
|
+
}
|
|
157361
|
+
const fieldTarget = visible || ignoreMasking ? target : {};
|
|
157350
157362
|
const key = evaluateKey2(keyRaw, variables);
|
|
157351
157363
|
const { value: value2 } = this.storage.get(parent, key);
|
|
157352
157364
|
const dt_field = this.staleManager.getFieldTime(parent, key);
|
|
@@ -157369,16 +157381,16 @@ var CacheInternal2 = class {
|
|
|
157369
157381
|
partial = true;
|
|
157370
157382
|
}
|
|
157371
157383
|
if (typeof value2 === "undefined" || value2 === null) {
|
|
157372
|
-
|
|
157384
|
+
fieldTarget[attributeName] = null;
|
|
157373
157385
|
if (typeof value2 !== "undefined") {
|
|
157374
157386
|
hasData = true;
|
|
157375
157387
|
}
|
|
157376
157388
|
} else if (!fieldSelection) {
|
|
157377
157389
|
const fnUnmarshal = this.config?.scalars?.[type]?.unmarshal;
|
|
157378
157390
|
if (fnUnmarshal) {
|
|
157379
|
-
|
|
157391
|
+
fieldTarget[attributeName] = fnUnmarshal(value2);
|
|
157380
157392
|
} else {
|
|
157381
|
-
|
|
157393
|
+
fieldTarget[attributeName] = value2;
|
|
157382
157394
|
}
|
|
157383
157395
|
hasData = true;
|
|
157384
157396
|
} else if (Array.isArray(value2)) {
|
|
@@ -157387,9 +157399,10 @@ var CacheInternal2 = class {
|
|
|
157387
157399
|
variables,
|
|
157388
157400
|
linkedList: value2,
|
|
157389
157401
|
stepsFromConnection: nextStep,
|
|
157390
|
-
ignoreMasking: !!ignoreMasking
|
|
157402
|
+
ignoreMasking: !!ignoreMasking,
|
|
157403
|
+
fullCheck
|
|
157391
157404
|
});
|
|
157392
|
-
|
|
157405
|
+
fieldTarget[attributeName] = listValue.data;
|
|
157393
157406
|
if (listValue.partial) {
|
|
157394
157407
|
partial = true;
|
|
157395
157408
|
}
|
|
@@ -157405,9 +157418,10 @@ var CacheInternal2 = class {
|
|
|
157405
157418
|
selection: fieldSelection,
|
|
157406
157419
|
variables,
|
|
157407
157420
|
stepsFromConnection: nextStep,
|
|
157408
|
-
ignoreMasking
|
|
157421
|
+
ignoreMasking,
|
|
157422
|
+
fullCheck
|
|
157409
157423
|
});
|
|
157410
|
-
|
|
157424
|
+
fieldTarget[attributeName] = objectFields.data;
|
|
157411
157425
|
if (objectFields.partial) {
|
|
157412
157426
|
partial = true;
|
|
157413
157427
|
}
|
|
@@ -157418,7 +157432,7 @@ var CacheInternal2 = class {
|
|
|
157418
157432
|
hasData = true;
|
|
157419
157433
|
}
|
|
157420
157434
|
}
|
|
157421
|
-
if (
|
|
157435
|
+
if (fieldTarget[attributeName] === null && !nullable && !embeddedCursor) {
|
|
157422
157436
|
cascadeNull = true;
|
|
157423
157437
|
}
|
|
157424
157438
|
}
|
|
@@ -157450,7 +157464,8 @@ var CacheInternal2 = class {
|
|
|
157450
157464
|
variables,
|
|
157451
157465
|
linkedList,
|
|
157452
157466
|
stepsFromConnection,
|
|
157453
|
-
ignoreMasking
|
|
157467
|
+
ignoreMasking,
|
|
157468
|
+
fullCheck
|
|
157454
157469
|
}) {
|
|
157455
157470
|
const result = [];
|
|
157456
157471
|
let partialData = false;
|
|
@@ -157463,7 +157478,8 @@ var CacheInternal2 = class {
|
|
|
157463
157478
|
variables,
|
|
157464
157479
|
linkedList: entry,
|
|
157465
157480
|
stepsFromConnection,
|
|
157466
|
-
ignoreMasking
|
|
157481
|
+
ignoreMasking,
|
|
157482
|
+
fullCheck
|
|
157467
157483
|
});
|
|
157468
157484
|
result.push(nestedValue.data);
|
|
157469
157485
|
if (nestedValue.partial) {
|
|
@@ -157485,7 +157501,8 @@ var CacheInternal2 = class {
|
|
|
157485
157501
|
selection: fields,
|
|
157486
157502
|
variables,
|
|
157487
157503
|
stepsFromConnection,
|
|
157488
|
-
ignoreMasking
|
|
157504
|
+
ignoreMasking,
|
|
157505
|
+
fullCheck
|
|
157489
157506
|
});
|
|
157490
157507
|
result.push(data2);
|
|
157491
157508
|
if (partial) {
|
|
@@ -157676,11 +157693,10 @@ var query2 = documentPlugin2(ArtifactKind2.Query, function() {
|
|
|
157676
157693
|
cache_default2.unsubscribe(subscriptionSpec, subscriptionSpec.variables?.() || {});
|
|
157677
157694
|
}
|
|
157678
157695
|
lastVariables = { ...marshalVariables(ctx) };
|
|
157679
|
-
const variables = lastVariables;
|
|
157680
157696
|
subscriptionSpec = {
|
|
157681
157697
|
rootType: ctx.artifact.rootType,
|
|
157682
157698
|
selection: ctx.artifact.selection,
|
|
157683
|
-
variables: () =>
|
|
157699
|
+
variables: () => lastVariables,
|
|
157684
157700
|
set: (newValue) => {
|
|
157685
157701
|
resolve22(ctx, {
|
|
157686
157702
|
data: newValue,
|
|
@@ -157707,17 +157723,12 @@ var query2 = documentPlugin2(ArtifactKind2.Query, function() {
|
|
|
157707
157723
|
});
|
|
157708
157724
|
var fragment2 = documentPlugin2(ArtifactKind2.Fragment, function() {
|
|
157709
157725
|
let subscriptionSpec = null;
|
|
157710
|
-
let lastReference = null;
|
|
157711
157726
|
return {
|
|
157712
157727
|
start(ctx, { next, resolve: resolve22, variablesChanged, marshalVariables }) {
|
|
157713
157728
|
if (!ctx.stuff.parentID) {
|
|
157714
157729
|
return next(ctx);
|
|
157715
157730
|
}
|
|
157716
|
-
|
|
157717
|
-
parent: ctx.stuff.parentID,
|
|
157718
|
-
variables: marshalVariables(ctx)
|
|
157719
|
-
};
|
|
157720
|
-
if (!ctx.cacheParams?.disableSubscriptions && (!deepEquals2(lastReference, currentReference) || variablesChanged(ctx))) {
|
|
157731
|
+
if (variablesChanged(ctx) && !ctx.cacheParams?.disableSubscriptions) {
|
|
157721
157732
|
if (subscriptionSpec) {
|
|
157722
157733
|
cache_default2.unsubscribe(subscriptionSpec, subscriptionSpec.variables?.() || {});
|
|
157723
157734
|
}
|
|
@@ -157740,7 +157751,6 @@ var fragment2 = documentPlugin2(ArtifactKind2.Fragment, function() {
|
|
|
157740
157751
|
}
|
|
157741
157752
|
};
|
|
157742
157753
|
cache_default2.subscribe(subscriptionSpec, variables);
|
|
157743
|
-
lastReference = currentReference;
|
|
157744
157754
|
}
|
|
157745
157755
|
next(ctx);
|
|
157746
157756
|
},
|
|
@@ -157806,14 +157816,16 @@ var emptySchema2 = graphql22.buildSchema("type Query { hello: String }");
|
|
|
157806
157816
|
var defaultDirectives2 = emptySchema2.getDirectives().map((dir) => dir.name);
|
|
157807
157817
|
var graphql32 = __toESM3(require_graphql22(), 1);
|
|
157808
157818
|
var import_parser2 = __toESM3(require_lib32(), 1);
|
|
157809
|
-
var import_deepmerge2 = __toESM3(require_cjs2(), 1);
|
|
157810
157819
|
var recast2 = __toESM3(require_main22(), 1);
|
|
157811
157820
|
var AST2 = recast2.types.builders;
|
|
157821
|
+
var import_deepmerge2 = __toESM3(require_cjs2(), 1);
|
|
157812
157822
|
var graphql42 = __toESM3(require_graphql22(), 1);
|
|
157813
157823
|
var graphql14 = __toESM3(require_graphql22(), 1);
|
|
157814
157824
|
var recast5 = __toESM3(require_main22(), 1);
|
|
157815
157825
|
var recast22 = __toESM3(require_main22(), 1);
|
|
157816
157826
|
var AST22 = recast22.types.builders;
|
|
157827
|
+
var { toString } = {};
|
|
157828
|
+
var { keys } = Object;
|
|
157817
157829
|
var graphql52 = __toESM3(require_graphql22(), 1);
|
|
157818
157830
|
var import_graphql302 = __toESM3(require_graphql22(), 1);
|
|
157819
157831
|
var GraphqlKinds2 = graphql52.Kind;
|
|
@@ -158280,12 +158292,12 @@ var nonASCIIwhitespace = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;
|
|
|
158280
158292
|
var skipWhiteSpace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
|
|
158281
158293
|
var ref = Object.prototype;
|
|
158282
158294
|
var hasOwnProperty$1 = ref.hasOwnProperty;
|
|
158283
|
-
var
|
|
158295
|
+
var toString2 = ref.toString;
|
|
158284
158296
|
var hasOwn = Object.hasOwn || function(obj, propName) {
|
|
158285
158297
|
return hasOwnProperty$1.call(obj, propName);
|
|
158286
158298
|
};
|
|
158287
158299
|
var isArray = Array.isArray || function(obj) {
|
|
158288
|
-
return
|
|
158300
|
+
return toString2.call(obj) === "[object Array]";
|
|
158289
158301
|
};
|
|
158290
158302
|
function wordsRegexp(words) {
|
|
158291
158303
|
return new RegExp("^(?:" + words.replace(/ /g, "|") + ")$");
|
|
@@ -171927,7 +171939,7 @@ var ariaPropsMap_1 = createCommonjsModule(function(module2, exports) {
|
|
|
171927
171939
|
has: function has(key) {
|
|
171928
171940
|
return !!ariaPropsMap.get(key);
|
|
171929
171941
|
},
|
|
171930
|
-
keys: function
|
|
171942
|
+
keys: function keys3() {
|
|
171931
171943
|
return properties.map(function(_ref) {
|
|
171932
171944
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
171933
171945
|
return key;
|
|
@@ -172337,7 +172349,7 @@ var domMap_1 = createCommonjsModule(function(module2, exports) {
|
|
|
172337
172349
|
has: function has(key) {
|
|
172338
172350
|
return !!domMap.get(key);
|
|
172339
172351
|
},
|
|
172340
|
-
keys: function
|
|
172352
|
+
keys: function keys3() {
|
|
172341
172353
|
return dom.map(function(_ref) {
|
|
172342
172354
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
172343
172355
|
return key;
|
|
@@ -177528,7 +177540,7 @@ var rolesMap_1 = createCommonjsModule(function(module2, exports) {
|
|
|
177528
177540
|
has: function has(key) {
|
|
177529
177541
|
return !!rolesMap.get(key);
|
|
177530
177542
|
},
|
|
177531
|
-
keys: function
|
|
177543
|
+
keys: function keys3() {
|
|
177532
177544
|
return roles.map(function(_ref5) {
|
|
177533
177545
|
var _ref6 = _slicedToArray(_ref5, 1), key = _ref6[0];
|
|
177534
177546
|
return key;
|
|
@@ -177630,7 +177642,7 @@ if (!Object.keys) {
|
|
|
177630
177642
|
return false;
|
|
177631
177643
|
}
|
|
177632
177644
|
};
|
|
177633
|
-
keysShim = function
|
|
177645
|
+
keysShim = function keys3(object) {
|
|
177634
177646
|
var isObject = object !== null && typeof object === "object";
|
|
177635
177647
|
var isFunction2 = toStr$1.call(object) === "[object Function]";
|
|
177636
177648
|
var isArguments5 = isArgs(object);
|
|
@@ -177681,7 +177693,7 @@ var equalsConstructorPrototypeIfNotBuggy;
|
|
|
177681
177693
|
var implementation = keysShim;
|
|
177682
177694
|
var slice = Array.prototype.slice;
|
|
177683
177695
|
var origKeys = Object.keys;
|
|
177684
|
-
var keysShim$1 = origKeys ? function
|
|
177696
|
+
var keysShim$1 = origKeys ? function keys2(o) {
|
|
177685
177697
|
return origKeys(o);
|
|
177686
177698
|
} : implementation;
|
|
177687
177699
|
var originalKeys = Object.keys;
|
|
@@ -177692,7 +177704,7 @@ keysShim$1.shim = function shimObjectKeys() {
|
|
|
177692
177704
|
return args && args.length === arguments.length;
|
|
177693
177705
|
}(1, 2);
|
|
177694
177706
|
if (!keysWorksWithArguments) {
|
|
177695
|
-
Object.keys = function
|
|
177707
|
+
Object.keys = function keys3(object) {
|
|
177696
177708
|
if (isArguments(object)) {
|
|
177697
177709
|
return originalKeys(slice.call(object));
|
|
177698
177710
|
}
|
|
@@ -179365,10 +179377,10 @@ var inherits = createCommonjsModule(function(module2) {
|
|
|
179365
179377
|
});
|
|
179366
179378
|
var util = createCommonjsModule(function(module2, exports) {
|
|
179367
179379
|
var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors || function getOwnPropertyDescriptors2(obj) {
|
|
179368
|
-
var
|
|
179380
|
+
var keys3 = Object.keys(obj);
|
|
179369
179381
|
var descriptors = {};
|
|
179370
|
-
for (var i3 = 0; i3 <
|
|
179371
|
-
descriptors[
|
|
179382
|
+
for (var i3 = 0; i3 < keys3.length; i3++) {
|
|
179383
|
+
descriptors[keys3[i3]] = Object.getOwnPropertyDescriptor(obj, keys3[i3]);
|
|
179372
179384
|
}
|
|
179373
179385
|
return descriptors;
|
|
179374
179386
|
};
|
|
@@ -179538,15 +179550,15 @@ var util = createCommonjsModule(function(module2, exports) {
|
|
|
179538
179550
|
if (primitive) {
|
|
179539
179551
|
return primitive;
|
|
179540
179552
|
}
|
|
179541
|
-
var
|
|
179542
|
-
var visibleKeys = arrayToHash(
|
|
179553
|
+
var keys3 = Object.keys(value2);
|
|
179554
|
+
var visibleKeys = arrayToHash(keys3);
|
|
179543
179555
|
if (ctx.showHidden) {
|
|
179544
|
-
|
|
179556
|
+
keys3 = Object.getOwnPropertyNames(value2);
|
|
179545
179557
|
}
|
|
179546
|
-
if (isError2(value2) && (
|
|
179558
|
+
if (isError2(value2) && (keys3.indexOf("message") >= 0 || keys3.indexOf("description") >= 0)) {
|
|
179547
179559
|
return formatError(value2);
|
|
179548
179560
|
}
|
|
179549
|
-
if (
|
|
179561
|
+
if (keys3.length === 0) {
|
|
179550
179562
|
if (isFunction2(value2)) {
|
|
179551
179563
|
var name = value2.name ? ": " + value2.name : "";
|
|
179552
179564
|
return ctx.stylize("[Function" + name + "]", "special");
|
|
@@ -179579,7 +179591,7 @@ var util = createCommonjsModule(function(module2, exports) {
|
|
|
179579
179591
|
if (isError2(value2)) {
|
|
179580
179592
|
base = " " + formatError(value2);
|
|
179581
179593
|
}
|
|
179582
|
-
if (
|
|
179594
|
+
if (keys3.length === 0 && (!array || value2.length == 0)) {
|
|
179583
179595
|
return braces[0] + base + braces[1];
|
|
179584
179596
|
}
|
|
179585
179597
|
if (recurseTimes < 0) {
|
|
@@ -179592,9 +179604,9 @@ var util = createCommonjsModule(function(module2, exports) {
|
|
|
179592
179604
|
ctx.seen.push(value2);
|
|
179593
179605
|
var output;
|
|
179594
179606
|
if (array) {
|
|
179595
|
-
output = formatArray(ctx, value2, recurseTimes, visibleKeys,
|
|
179607
|
+
output = formatArray(ctx, value2, recurseTimes, visibleKeys, keys3);
|
|
179596
179608
|
} else {
|
|
179597
|
-
output =
|
|
179609
|
+
output = keys3.map(function(key) {
|
|
179598
179610
|
return formatProperty(ctx, value2, recurseTimes, visibleKeys, key, array);
|
|
179599
179611
|
});
|
|
179600
179612
|
}
|
|
@@ -179618,7 +179630,7 @@ var util = createCommonjsModule(function(module2, exports) {
|
|
|
179618
179630
|
function formatError(value2) {
|
|
179619
179631
|
return "[" + Error.prototype.toString.call(value2) + "]";
|
|
179620
179632
|
}
|
|
179621
|
-
function formatArray(ctx, value2, recurseTimes, visibleKeys,
|
|
179633
|
+
function formatArray(ctx, value2, recurseTimes, visibleKeys, keys3) {
|
|
179622
179634
|
var output = [];
|
|
179623
179635
|
for (var i3 = 0, l = value2.length; i3 < l; ++i3) {
|
|
179624
179636
|
if (hasOwnProperty2(value2, String(i3))) {
|
|
@@ -179634,7 +179646,7 @@ var util = createCommonjsModule(function(module2, exports) {
|
|
|
179634
179646
|
output.push("");
|
|
179635
179647
|
}
|
|
179636
179648
|
}
|
|
179637
|
-
|
|
179649
|
+
keys3.forEach(function(key) {
|
|
179638
179650
|
if (!key.match(/^\d+$/)) {
|
|
179639
179651
|
output.push(formatProperty(
|
|
179640
179652
|
ctx,
|
|
@@ -179810,10 +179822,10 @@ var util = createCommonjsModule(function(module2, exports) {
|
|
|
179810
179822
|
exports._extend = function(origin, add) {
|
|
179811
179823
|
if (!add || !isObject(add))
|
|
179812
179824
|
return origin;
|
|
179813
|
-
var
|
|
179814
|
-
var i3 =
|
|
179825
|
+
var keys3 = Object.keys(add);
|
|
179826
|
+
var i3 = keys3.length;
|
|
179815
179827
|
while (i3--) {
|
|
179816
|
-
origin[
|
|
179828
|
+
origin[keys3[i3]] = add[keys3[i3]];
|
|
179817
179829
|
}
|
|
179818
179830
|
return origin;
|
|
179819
179831
|
};
|
|
@@ -180070,8 +180082,8 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
|
180070
180082
|
}
|
|
180071
180083
|
if (typeof obj === "function" && !isRegExp(obj)) {
|
|
180072
180084
|
var name = nameOf(obj);
|
|
180073
|
-
var
|
|
180074
|
-
return "[Function" + (name ? ": " + name : " (anonymous)") + "]" + (
|
|
180085
|
+
var keys3 = arrObjKeys(obj, inspect);
|
|
180086
|
+
return "[Function" + (name ? ": " + name : " (anonymous)") + "]" + (keys3.length > 0 ? " { " + $join.call(keys3, ", ") + " }" : "");
|
|
180075
180087
|
}
|
|
180076
180088
|
if (isSymbol$1(obj)) {
|
|
180077
180089
|
var symString = hasShammedSymbols ? $replace$1.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, "$1") : symToString.call(obj);
|
|
@@ -180557,19 +180569,19 @@ var implementation$4 = function assign(target, source1) {
|
|
|
180557
180569
|
}
|
|
180558
180570
|
for (var s3 = 1; s3 < arguments.length; ++s3) {
|
|
180559
180571
|
var from = toObject(arguments[s3]);
|
|
180560
|
-
var
|
|
180572
|
+
var keys3 = objectKeys(from);
|
|
180561
180573
|
var getSymbols = hasSymbols$3 && (Object.getOwnPropertySymbols || originalGetSymbols);
|
|
180562
180574
|
if (getSymbols) {
|
|
180563
180575
|
var syms = getSymbols(from);
|
|
180564
180576
|
for (var j = 0; j < syms.length; ++j) {
|
|
180565
180577
|
var key = syms[j];
|
|
180566
180578
|
if ($propIsEnumerable(from, key)) {
|
|
180567
|
-
$push(
|
|
180579
|
+
$push(keys3, key);
|
|
180568
180580
|
}
|
|
180569
180581
|
}
|
|
180570
180582
|
}
|
|
180571
|
-
for (var i3 = 0; i3 <
|
|
180572
|
-
var nextKey =
|
|
180583
|
+
for (var i3 = 0; i3 < keys3.length; ++i3) {
|
|
180584
|
+
var nextKey = keys3[i3];
|
|
180573
180585
|
if ($propIsEnumerable(from, nextKey)) {
|
|
180574
180586
|
var propValue = from[nextKey];
|
|
180575
180587
|
to[nextKey] = propValue;
|
|
@@ -181063,9 +181075,9 @@ var elementRoleMap_1 = createCommonjsModule(function(module2, exports) {
|
|
|
181063
181075
|
return arr2;
|
|
181064
181076
|
}
|
|
181065
181077
|
var elementRoles = [];
|
|
181066
|
-
var
|
|
181067
|
-
for (var i3 = 0; i3 <
|
|
181068
|
-
var key =
|
|
181078
|
+
var keys3 = _rolesMap.default.keys();
|
|
181079
|
+
for (var i3 = 0; i3 < keys3.length; i3++) {
|
|
181080
|
+
var key = keys3[i3];
|
|
181069
181081
|
var role = _rolesMap.default.get(key);
|
|
181070
181082
|
if (role) {
|
|
181071
181083
|
var concepts = [].concat(role.baseConcepts, role.relatedConcepts);
|
|
@@ -181129,7 +181141,7 @@ var elementRoleMap_1 = createCommonjsModule(function(module2, exports) {
|
|
|
181129
181141
|
has: function has(key2) {
|
|
181130
181142
|
return !!elementRoleMap.get(key2);
|
|
181131
181143
|
},
|
|
181132
|
-
keys: function
|
|
181144
|
+
keys: function keys4() {
|
|
181133
181145
|
return elementRoles.map(function(_ref) {
|
|
181134
181146
|
var _ref2 = _slicedToArray(_ref, 1), key2 = _ref2[0];
|
|
181135
181147
|
return key2;
|
|
@@ -181255,9 +181267,9 @@ var roleElementMap_1 = createCommonjsModule(function(module2, exports) {
|
|
|
181255
181267
|
return arr2;
|
|
181256
181268
|
}
|
|
181257
181269
|
var roleElement = [];
|
|
181258
|
-
var
|
|
181270
|
+
var keys3 = _rolesMap.default.keys();
|
|
181259
181271
|
var _loop = function _loop2(i4) {
|
|
181260
|
-
var key =
|
|
181272
|
+
var key = keys3[i4];
|
|
181261
181273
|
var role = _rolesMap.default.get(key);
|
|
181262
181274
|
if (role) {
|
|
181263
181275
|
var concepts = [].concat(role.baseConcepts, role.relatedConcepts);
|
|
@@ -181282,7 +181294,7 @@ var roleElementMap_1 = createCommonjsModule(function(module2, exports) {
|
|
|
181282
181294
|
}
|
|
181283
181295
|
}
|
|
181284
181296
|
};
|
|
181285
|
-
for (var i3 = 0; i3 <
|
|
181297
|
+
for (var i3 = 0; i3 < keys3.length; i3++) {
|
|
181286
181298
|
_loop(i3);
|
|
181287
181299
|
}
|
|
181288
181300
|
var roleElementMap = {
|
|
@@ -181312,7 +181324,7 @@ var roleElementMap_1 = createCommonjsModule(function(module2, exports) {
|
|
|
181312
181324
|
has: function has(key) {
|
|
181313
181325
|
return !!roleElementMap.get(key);
|
|
181314
181326
|
},
|
|
181315
|
-
keys: function
|
|
181327
|
+
keys: function keys4() {
|
|
181316
181328
|
return roleElement.map(function(_ref) {
|
|
181317
181329
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
181318
181330
|
return key;
|
|
@@ -184045,7 +184057,7 @@ var AXObjectsMap_1 = createCommonjsModule(function(module2, exports) {
|
|
|
184045
184057
|
has: function has(key) {
|
|
184046
184058
|
return !!this.get(key);
|
|
184047
184059
|
},
|
|
184048
|
-
keys: function
|
|
184060
|
+
keys: function keys3() {
|
|
184049
184061
|
return AXObjects.map(function(_ref) {
|
|
184050
184062
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
184051
184063
|
return key;
|
|
@@ -184230,7 +184242,7 @@ var AXObjectElementMap_1 = createCommonjsModule(function(module2, exports) {
|
|
|
184230
184242
|
has: function has(key) {
|
|
184231
184243
|
return !!this.get(key);
|
|
184232
184244
|
},
|
|
184233
|
-
keys: function
|
|
184245
|
+
keys: function keys3() {
|
|
184234
184246
|
return AXObjectElements.map(function(_ref) {
|
|
184235
184247
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
184236
184248
|
return key;
|
|
@@ -184415,7 +184427,7 @@ var AXObjectRoleMap_1 = createCommonjsModule(function(module2, exports) {
|
|
|
184415
184427
|
has: function has(key) {
|
|
184416
184428
|
return !!this.get(key);
|
|
184417
184429
|
},
|
|
184418
|
-
keys: function
|
|
184430
|
+
keys: function keys3() {
|
|
184419
184431
|
return AXObjectRoleElements.map(function(_ref) {
|
|
184420
184432
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
184421
184433
|
return key;
|
|
@@ -184616,7 +184628,7 @@ var elementAXObjectMap_1 = createCommonjsModule(function(module2, exports) {
|
|
|
184616
184628
|
has: function has(key) {
|
|
184617
184629
|
return !!this.get(key);
|
|
184618
184630
|
},
|
|
184619
|
-
keys: function
|
|
184631
|
+
keys: function keys3() {
|
|
184620
184632
|
return elementAXObjects.map(function(_ref) {
|
|
184621
184633
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
184622
184634
|
return key;
|