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
|
@@ -5686,10 +5686,10 @@ var require_util4 = __commonJS({
|
|
|
5686
5686
|
var result = {};
|
|
5687
5687
|
var argc = args.length;
|
|
5688
5688
|
for (var i3 = 0; i3 < argc; ++i3) {
|
|
5689
|
-
var
|
|
5690
|
-
var keyCount =
|
|
5689
|
+
var keys3 = Object.keys(args[i3]);
|
|
5690
|
+
var keyCount = keys3.length;
|
|
5691
5691
|
for (var j = 0; j < keyCount; ++j) {
|
|
5692
|
-
result[
|
|
5692
|
+
result[keys3[j]] = true;
|
|
5693
5693
|
}
|
|
5694
5694
|
}
|
|
5695
5695
|
return result;
|
|
@@ -13349,10 +13349,10 @@ var require_parser3 = __commonJS({
|
|
|
13349
13349
|
loc.indent = newIndent;
|
|
13350
13350
|
this.findTokenRange(loc);
|
|
13351
13351
|
}
|
|
13352
|
-
var
|
|
13353
|
-
var keyCount =
|
|
13352
|
+
var keys3 = Object.keys(node2);
|
|
13353
|
+
var keyCount = keys3.length;
|
|
13354
13354
|
for (var i3 = 0; i3 < keyCount; ++i3) {
|
|
13355
|
-
var key =
|
|
13355
|
+
var key = keys3[i3];
|
|
13356
13356
|
if (key === "loc") {
|
|
13357
13357
|
copy[key] = node2[key];
|
|
13358
13358
|
} else if (key === "tokens" && node2.type === "File") {
|
|
@@ -14111,13 +14111,13 @@ var require_patcher2 = __commonJS({
|
|
|
14111
14111
|
if (newPath.needsParens() && !oldPath.hasParens()) {
|
|
14112
14112
|
return false;
|
|
14113
14113
|
}
|
|
14114
|
-
var
|
|
14114
|
+
var keys3 = (0, util_110.getUnionOfKeys)(oldNode, newNode);
|
|
14115
14115
|
if (oldNode.type === "File" || newNode.type === "File") {
|
|
14116
|
-
delete
|
|
14116
|
+
delete keys3.tokens;
|
|
14117
14117
|
}
|
|
14118
|
-
delete
|
|
14118
|
+
delete keys3.loc;
|
|
14119
14119
|
var originalReprintCount = reprints.length;
|
|
14120
|
-
for (var k in
|
|
14120
|
+
for (var k in keys3) {
|
|
14121
14121
|
if (k.charAt(0) === "_") {
|
|
14122
14122
|
continue;
|
|
14123
14123
|
}
|
|
@@ -16558,16 +16558,16 @@ var require_GraphQLError3 = __commonJS({
|
|
|
16558
16558
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
16559
16559
|
}
|
|
16560
16560
|
function ownKeys(object, enumerableOnly) {
|
|
16561
|
-
var
|
|
16561
|
+
var keys3 = Object.keys(object);
|
|
16562
16562
|
if (Object.getOwnPropertySymbols) {
|
|
16563
16563
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
16564
16564
|
if (enumerableOnly)
|
|
16565
16565
|
symbols = symbols.filter(function(sym) {
|
|
16566
16566
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
16567
16567
|
});
|
|
16568
|
-
|
|
16568
|
+
keys3.push.apply(keys3, symbols);
|
|
16569
16569
|
}
|
|
16570
|
-
return
|
|
16570
|
+
return keys3;
|
|
16571
16571
|
}
|
|
16572
16572
|
function _objectSpread(target) {
|
|
16573
16573
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -16804,7 +16804,7 @@ var require_GraphQLError3 = __commonJS({
|
|
|
16804
16804
|
}
|
|
16805
16805
|
_createClass(GraphQLError2, [{
|
|
16806
16806
|
key: "toString",
|
|
16807
|
-
value: function
|
|
16807
|
+
value: function toString3() {
|
|
16808
16808
|
return printError(this);
|
|
16809
16809
|
}
|
|
16810
16810
|
}, {
|
|
@@ -17126,14 +17126,14 @@ var require_inspect3 = __commonJS({
|
|
|
17126
17126
|
return formatObject2(value2, seenValues);
|
|
17127
17127
|
}
|
|
17128
17128
|
function formatObject2(object, seenValues) {
|
|
17129
|
-
var
|
|
17130
|
-
if (
|
|
17129
|
+
var keys3 = Object.keys(object);
|
|
17130
|
+
if (keys3.length === 0) {
|
|
17131
17131
|
return "{}";
|
|
17132
17132
|
}
|
|
17133
17133
|
if (seenValues.length > MAX_RECURSIVE_DEPTH2) {
|
|
17134
17134
|
return "[" + getObjectTag2(object) + "]";
|
|
17135
17135
|
}
|
|
17136
|
-
var properties =
|
|
17136
|
+
var properties = keys3.map(function(key) {
|
|
17137
17137
|
var value2 = formatValue2(object[key], seenValues);
|
|
17138
17138
|
return key + ": " + value2;
|
|
17139
17139
|
});
|
|
@@ -18798,7 +18798,7 @@ var require_visitor3 = __commonJS({
|
|
|
18798
18798
|
var visitorKeys = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : QueryDocumentKeys;
|
|
18799
18799
|
var stack = void 0;
|
|
18800
18800
|
var inArray = Array.isArray(root);
|
|
18801
|
-
var
|
|
18801
|
+
var keys3 = [root];
|
|
18802
18802
|
var index = -1;
|
|
18803
18803
|
var edits = [];
|
|
18804
18804
|
var node2 = void 0;
|
|
@@ -18809,7 +18809,7 @@ var require_visitor3 = __commonJS({
|
|
|
18809
18809
|
var newRoot = root;
|
|
18810
18810
|
do {
|
|
18811
18811
|
index++;
|
|
18812
|
-
var isLeaving = index ===
|
|
18812
|
+
var isLeaving = index === keys3.length;
|
|
18813
18813
|
var isEdited = isLeaving && edits.length !== 0;
|
|
18814
18814
|
if (isLeaving) {
|
|
18815
18815
|
key = ancestors.length === 0 ? void 0 : path3[path3.length - 1];
|
|
@@ -18842,12 +18842,12 @@ var require_visitor3 = __commonJS({
|
|
|
18842
18842
|
}
|
|
18843
18843
|
}
|
|
18844
18844
|
index = stack.index;
|
|
18845
|
-
|
|
18845
|
+
keys3 = stack.keys;
|
|
18846
18846
|
edits = stack.edits;
|
|
18847
18847
|
inArray = stack.inArray;
|
|
18848
18848
|
stack = stack.prev;
|
|
18849
18849
|
} else {
|
|
18850
|
-
key = parent ? inArray ? index :
|
|
18850
|
+
key = parent ? inArray ? index : keys3[index] : void 0;
|
|
18851
18851
|
node2 = parent ? parent[key] : newRoot;
|
|
18852
18852
|
if (node2 === null || node2 === void 0) {
|
|
18853
18853
|
continue;
|
|
@@ -18895,12 +18895,12 @@ var require_visitor3 = __commonJS({
|
|
|
18895
18895
|
stack = {
|
|
18896
18896
|
inArray,
|
|
18897
18897
|
index,
|
|
18898
|
-
keys:
|
|
18898
|
+
keys: keys3,
|
|
18899
18899
|
edits,
|
|
18900
18900
|
prev: stack
|
|
18901
18901
|
};
|
|
18902
18902
|
inArray = Array.isArray(node2);
|
|
18903
|
-
|
|
18903
|
+
keys3 = inArray ? node2 : (_visitorKeys$node$kin = visitorKeys[node2.kind]) !== null && _visitorKeys$node$kin !== void 0 ? _visitorKeys$node$kin : [];
|
|
18904
18904
|
index = -1;
|
|
18905
18905
|
edits = [];
|
|
18906
18906
|
if (parent) {
|
|
@@ -19883,7 +19883,7 @@ var require_definition3 = __commonJS({
|
|
|
19883
19883
|
return new GraphQLList(ofType);
|
|
19884
19884
|
}
|
|
19885
19885
|
}
|
|
19886
|
-
GraphQLList.prototype.toString = function
|
|
19886
|
+
GraphQLList.prototype.toString = function toString3() {
|
|
19887
19887
|
return "[" + String(this.ofType) + "]";
|
|
19888
19888
|
};
|
|
19889
19889
|
GraphQLList.prototype.toJSON = function toJSON() {
|
|
@@ -19902,7 +19902,7 @@ var require_definition3 = __commonJS({
|
|
|
19902
19902
|
return new GraphQLNonNull(ofType);
|
|
19903
19903
|
}
|
|
19904
19904
|
}
|
|
19905
|
-
GraphQLNonNull.prototype.toString = function
|
|
19905
|
+
GraphQLNonNull.prototype.toString = function toString3() {
|
|
19906
19906
|
return String(this.ofType) + "!";
|
|
19907
19907
|
};
|
|
19908
19908
|
GraphQLNonNull.prototype.toJSON = function toJSON() {
|
|
@@ -19998,7 +19998,7 @@ var require_definition3 = __commonJS({
|
|
|
19998
19998
|
extensionASTNodes: (_this$extensionASTNod = this.extensionASTNodes) !== null && _this$extensionASTNod !== void 0 ? _this$extensionASTNod : []
|
|
19999
19999
|
};
|
|
20000
20000
|
};
|
|
20001
|
-
_proto.toString = function
|
|
20001
|
+
_proto.toString = function toString3() {
|
|
20002
20002
|
return this.name;
|
|
20003
20003
|
};
|
|
20004
20004
|
_proto.toJSON = function toJSON() {
|
|
@@ -20052,7 +20052,7 @@ var require_definition3 = __commonJS({
|
|
|
20052
20052
|
extensionASTNodes: this.extensionASTNodes || []
|
|
20053
20053
|
};
|
|
20054
20054
|
};
|
|
20055
|
-
_proto2.toString = function
|
|
20055
|
+
_proto2.toString = function toString3() {
|
|
20056
20056
|
return this.name;
|
|
20057
20057
|
};
|
|
20058
20058
|
_proto2.toJSON = function toJSON() {
|
|
@@ -20183,7 +20183,7 @@ var require_definition3 = __commonJS({
|
|
|
20183
20183
|
extensionASTNodes: (_this$extensionASTNod2 = this.extensionASTNodes) !== null && _this$extensionASTNod2 !== void 0 ? _this$extensionASTNod2 : []
|
|
20184
20184
|
};
|
|
20185
20185
|
};
|
|
20186
|
-
_proto3.toString = function
|
|
20186
|
+
_proto3.toString = function toString3() {
|
|
20187
20187
|
return this.name;
|
|
20188
20188
|
};
|
|
20189
20189
|
_proto3.toJSON = function toJSON() {
|
|
@@ -20230,7 +20230,7 @@ var require_definition3 = __commonJS({
|
|
|
20230
20230
|
extensionASTNodes: (_this$extensionASTNod3 = this.extensionASTNodes) !== null && _this$extensionASTNod3 !== void 0 ? _this$extensionASTNod3 : []
|
|
20231
20231
|
};
|
|
20232
20232
|
};
|
|
20233
|
-
_proto4.toString = function
|
|
20233
|
+
_proto4.toString = function toString3() {
|
|
20234
20234
|
return this.name;
|
|
20235
20235
|
};
|
|
20236
20236
|
_proto4.toJSON = function toJSON() {
|
|
@@ -20326,7 +20326,7 @@ var require_definition3 = __commonJS({
|
|
|
20326
20326
|
extensionASTNodes: (_this$extensionASTNod4 = this.extensionASTNodes) !== null && _this$extensionASTNod4 !== void 0 ? _this$extensionASTNod4 : []
|
|
20327
20327
|
};
|
|
20328
20328
|
};
|
|
20329
|
-
_proto5.toString = function
|
|
20329
|
+
_proto5.toString = function toString3() {
|
|
20330
20330
|
return this.name;
|
|
20331
20331
|
};
|
|
20332
20332
|
_proto5.toJSON = function toJSON() {
|
|
@@ -20404,7 +20404,7 @@ var require_definition3 = __commonJS({
|
|
|
20404
20404
|
extensionASTNodes: (_this$extensionASTNod5 = this.extensionASTNodes) !== null && _this$extensionASTNod5 !== void 0 ? _this$extensionASTNod5 : []
|
|
20405
20405
|
};
|
|
20406
20406
|
};
|
|
20407
|
-
_proto6.toString = function
|
|
20407
|
+
_proto6.toString = function toString3() {
|
|
20408
20408
|
return this.name;
|
|
20409
20409
|
};
|
|
20410
20410
|
_proto6.toJSON = function toJSON() {
|
|
@@ -21658,7 +21658,7 @@ var require_directives3 = __commonJS({
|
|
|
21658
21658
|
astNode: this.astNode
|
|
21659
21659
|
};
|
|
21660
21660
|
};
|
|
21661
|
-
_proto.toString = function
|
|
21661
|
+
_proto.toString = function toString3() {
|
|
21662
21662
|
return "@" + this.name;
|
|
21663
21663
|
};
|
|
21664
21664
|
_proto.toJSON = function toJSON() {
|
|
@@ -23595,16 +23595,16 @@ var require_KnownArgumentNamesRule3 = __commonJS({
|
|
|
23595
23595
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
23596
23596
|
}
|
|
23597
23597
|
function ownKeys(object, enumerableOnly) {
|
|
23598
|
-
var
|
|
23598
|
+
var keys3 = Object.keys(object);
|
|
23599
23599
|
if (Object.getOwnPropertySymbols) {
|
|
23600
23600
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
23601
23601
|
if (enumerableOnly)
|
|
23602
23602
|
symbols = symbols.filter(function(sym) {
|
|
23603
23603
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
23604
23604
|
});
|
|
23605
|
-
|
|
23605
|
+
keys3.push.apply(keys3, symbols);
|
|
23606
23606
|
}
|
|
23607
|
-
return
|
|
23607
|
+
return keys3;
|
|
23608
23608
|
}
|
|
23609
23609
|
function _objectSpread(target) {
|
|
23610
23610
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -23851,16 +23851,16 @@ var require_ProvidedRequiredArgumentsRule3 = __commonJS({
|
|
|
23851
23851
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
23852
23852
|
}
|
|
23853
23853
|
function ownKeys(object, enumerableOnly) {
|
|
23854
|
-
var
|
|
23854
|
+
var keys3 = Object.keys(object);
|
|
23855
23855
|
if (Object.getOwnPropertySymbols) {
|
|
23856
23856
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
23857
23857
|
if (enumerableOnly)
|
|
23858
23858
|
symbols = symbols.filter(function(sym) {
|
|
23859
23859
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
23860
23860
|
});
|
|
23861
|
-
|
|
23861
|
+
keys3.push.apply(keys3, symbols);
|
|
23862
23862
|
}
|
|
23863
|
-
return
|
|
23863
|
+
return keys3;
|
|
23864
23864
|
}
|
|
23865
23865
|
function _objectSpread(target) {
|
|
23866
23866
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -25118,13 +25118,13 @@ var require_promiseForObject3 = __commonJS({
|
|
|
25118
25118
|
});
|
|
25119
25119
|
exports.default = promiseForObject;
|
|
25120
25120
|
function promiseForObject(object) {
|
|
25121
|
-
var
|
|
25122
|
-
var valuesAndPromises =
|
|
25121
|
+
var keys3 = Object.keys(object);
|
|
25122
|
+
var valuesAndPromises = keys3.map(function(name) {
|
|
25123
25123
|
return object[name];
|
|
25124
25124
|
});
|
|
25125
25125
|
return Promise.all(valuesAndPromises).then(function(values) {
|
|
25126
25126
|
return values.reduce(function(resolvedObject, value2, i3) {
|
|
25127
|
-
resolvedObject[
|
|
25127
|
+
resolvedObject[keys3[i3]] = value2;
|
|
25128
25128
|
return resolvedObject;
|
|
25129
25129
|
}, /* @__PURE__ */ Object.create(null));
|
|
25130
25130
|
});
|
|
@@ -27576,16 +27576,16 @@ var require_getIntrospectionQuery3 = __commonJS({
|
|
|
27576
27576
|
});
|
|
27577
27577
|
exports.getIntrospectionQuery = getIntrospectionQuery;
|
|
27578
27578
|
function ownKeys(object, enumerableOnly) {
|
|
27579
|
-
var
|
|
27579
|
+
var keys3 = Object.keys(object);
|
|
27580
27580
|
if (Object.getOwnPropertySymbols) {
|
|
27581
27581
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
27582
27582
|
if (enumerableOnly)
|
|
27583
27583
|
symbols = symbols.filter(function(sym) {
|
|
27584
27584
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
27585
27585
|
});
|
|
27586
|
-
|
|
27586
|
+
keys3.push.apply(keys3, symbols);
|
|
27587
27587
|
}
|
|
27588
|
-
return
|
|
27588
|
+
return keys3;
|
|
27589
27589
|
}
|
|
27590
27590
|
function _objectSpread(target) {
|
|
27591
27591
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -27678,16 +27678,16 @@ var require_introspectionFromSchema3 = __commonJS({
|
|
|
27678
27678
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
27679
27679
|
}
|
|
27680
27680
|
function ownKeys(object, enumerableOnly) {
|
|
27681
|
-
var
|
|
27681
|
+
var keys3 = Object.keys(object);
|
|
27682
27682
|
if (Object.getOwnPropertySymbols) {
|
|
27683
27683
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
27684
27684
|
if (enumerableOnly)
|
|
27685
27685
|
symbols = symbols.filter(function(sym) {
|
|
27686
27686
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
27687
27687
|
});
|
|
27688
|
-
|
|
27688
|
+
keys3.push.apply(keys3, symbols);
|
|
27689
27689
|
}
|
|
27690
|
-
return
|
|
27690
|
+
return keys3;
|
|
27691
27691
|
}
|
|
27692
27692
|
function _objectSpread(target) {
|
|
27693
27693
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -28019,16 +28019,16 @@ var require_extendSchema3 = __commonJS({
|
|
|
28019
28019
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
28020
28020
|
}
|
|
28021
28021
|
function ownKeys(object, enumerableOnly) {
|
|
28022
|
-
var
|
|
28022
|
+
var keys3 = Object.keys(object);
|
|
28023
28023
|
if (Object.getOwnPropertySymbols) {
|
|
28024
28024
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
28025
28025
|
if (enumerableOnly)
|
|
28026
28026
|
symbols = symbols.filter(function(sym) {
|
|
28027
28027
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
28028
28028
|
});
|
|
28029
|
-
|
|
28029
|
+
keys3.push.apply(keys3, symbols);
|
|
28030
28030
|
}
|
|
28031
|
-
return
|
|
28031
|
+
return keys3;
|
|
28032
28032
|
}
|
|
28033
28033
|
function _objectSpread(target) {
|
|
28034
28034
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -28619,16 +28619,16 @@ var require_lexicographicSortSchema3 = __commonJS({
|
|
|
28619
28619
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
28620
28620
|
}
|
|
28621
28621
|
function ownKeys(object, enumerableOnly) {
|
|
28622
|
-
var
|
|
28622
|
+
var keys3 = Object.keys(object);
|
|
28623
28623
|
if (Object.getOwnPropertySymbols) {
|
|
28624
28624
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
28625
28625
|
if (enumerableOnly)
|
|
28626
28626
|
symbols = symbols.filter(function(sym) {
|
|
28627
28627
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
28628
28628
|
});
|
|
28629
|
-
|
|
28629
|
+
keys3.push.apply(keys3, symbols);
|
|
28630
28630
|
}
|
|
28631
|
-
return
|
|
28631
|
+
return keys3;
|
|
28632
28632
|
}
|
|
28633
28633
|
function _objectSpread(target) {
|
|
28634
28634
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -29169,16 +29169,16 @@ var require_findBreakingChanges3 = __commonJS({
|
|
|
29169
29169
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
29170
29170
|
}
|
|
29171
29171
|
function ownKeys(object, enumerableOnly) {
|
|
29172
|
-
var
|
|
29172
|
+
var keys3 = Object.keys(object);
|
|
29173
29173
|
if (Object.getOwnPropertySymbols) {
|
|
29174
29174
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
29175
29175
|
if (enumerableOnly)
|
|
29176
29176
|
symbols = symbols.filter(function(sym) {
|
|
29177
29177
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
29178
29178
|
});
|
|
29179
|
-
|
|
29179
|
+
keys3.push.apply(keys3, symbols);
|
|
29180
29180
|
}
|
|
29181
|
-
return
|
|
29181
|
+
return keys3;
|
|
29182
29182
|
}
|
|
29183
29183
|
function _objectSpread(target) {
|
|
29184
29184
|
for (var i3 = 1; i3 < arguments.length; i3++) {
|
|
@@ -31284,16 +31284,16 @@ var require_GraphQLError = __commonJS2({
|
|
|
31284
31284
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
31285
31285
|
}
|
|
31286
31286
|
function ownKeys(object, enumerableOnly) {
|
|
31287
|
-
var
|
|
31287
|
+
var keys3 = Object.keys(object);
|
|
31288
31288
|
if (Object.getOwnPropertySymbols) {
|
|
31289
31289
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
31290
31290
|
if (enumerableOnly)
|
|
31291
31291
|
symbols = symbols.filter(function(sym) {
|
|
31292
31292
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
31293
31293
|
});
|
|
31294
|
-
|
|
31294
|
+
keys3.push.apply(keys3, symbols);
|
|
31295
31295
|
}
|
|
31296
|
-
return
|
|
31296
|
+
return keys3;
|
|
31297
31297
|
}
|
|
31298
31298
|
function _objectSpread(target) {
|
|
31299
31299
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -31530,7 +31530,7 @@ var require_GraphQLError = __commonJS2({
|
|
|
31530
31530
|
}
|
|
31531
31531
|
_createClass(GraphQLError3, [{
|
|
31532
31532
|
key: "toString",
|
|
31533
|
-
value: function
|
|
31533
|
+
value: function toString3() {
|
|
31534
31534
|
return printError(this);
|
|
31535
31535
|
}
|
|
31536
31536
|
}, {
|
|
@@ -31836,14 +31836,14 @@ var require_inspect = __commonJS2({
|
|
|
31836
31836
|
return formatObject2(value2, seenValues);
|
|
31837
31837
|
}
|
|
31838
31838
|
function formatObject2(object, seenValues) {
|
|
31839
|
-
var
|
|
31840
|
-
if (
|
|
31839
|
+
var keys3 = Object.keys(object);
|
|
31840
|
+
if (keys3.length === 0) {
|
|
31841
31841
|
return "{}";
|
|
31842
31842
|
}
|
|
31843
31843
|
if (seenValues.length > MAX_RECURSIVE_DEPTH2) {
|
|
31844
31844
|
return "[" + getObjectTag2(object) + "]";
|
|
31845
31845
|
}
|
|
31846
|
-
var properties =
|
|
31846
|
+
var properties = keys3.map(function(key) {
|
|
31847
31847
|
var value2 = formatValue2(object[key], seenValues);
|
|
31848
31848
|
return key + ": " + value2;
|
|
31849
31849
|
});
|
|
@@ -33425,7 +33425,7 @@ var require_visitor = __commonJS2({
|
|
|
33425
33425
|
Object.defineProperty(exports, "__esModule", {
|
|
33426
33426
|
value: true
|
|
33427
33427
|
});
|
|
33428
|
-
exports.visit =
|
|
33428
|
+
exports.visit = visit2;
|
|
33429
33429
|
exports.visitInParallel = visitInParallel;
|
|
33430
33430
|
exports.getVisitFn = getVisitFn;
|
|
33431
33431
|
exports.BREAK = exports.QueryDocumentKeys = void 0;
|
|
@@ -33488,11 +33488,11 @@ var require_visitor = __commonJS2({
|
|
|
33488
33488
|
exports.QueryDocumentKeys = QueryDocumentKeys;
|
|
33489
33489
|
var BREAK = Object.freeze({});
|
|
33490
33490
|
exports.BREAK = BREAK;
|
|
33491
|
-
function
|
|
33491
|
+
function visit2(root, visitor) {
|
|
33492
33492
|
var visitorKeys = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : QueryDocumentKeys;
|
|
33493
33493
|
var stack = void 0;
|
|
33494
33494
|
var inArray = Array.isArray(root);
|
|
33495
|
-
var
|
|
33495
|
+
var keys3 = [root];
|
|
33496
33496
|
var index = -1;
|
|
33497
33497
|
var edits = [];
|
|
33498
33498
|
var node2 = void 0;
|
|
@@ -33503,7 +33503,7 @@ var require_visitor = __commonJS2({
|
|
|
33503
33503
|
var newRoot = root;
|
|
33504
33504
|
do {
|
|
33505
33505
|
index++;
|
|
33506
|
-
var isLeaving = index ===
|
|
33506
|
+
var isLeaving = index === keys3.length;
|
|
33507
33507
|
var isEdited = isLeaving && edits.length !== 0;
|
|
33508
33508
|
if (isLeaving) {
|
|
33509
33509
|
key = ancestors.length === 0 ? void 0 : path22[path22.length - 1];
|
|
@@ -33536,12 +33536,12 @@ var require_visitor = __commonJS2({
|
|
|
33536
33536
|
}
|
|
33537
33537
|
}
|
|
33538
33538
|
index = stack.index;
|
|
33539
|
-
|
|
33539
|
+
keys3 = stack.keys;
|
|
33540
33540
|
edits = stack.edits;
|
|
33541
33541
|
inArray = stack.inArray;
|
|
33542
33542
|
stack = stack.prev;
|
|
33543
33543
|
} else {
|
|
33544
|
-
key = parent ? inArray ? index :
|
|
33544
|
+
key = parent ? inArray ? index : keys3[index] : void 0;
|
|
33545
33545
|
node2 = parent ? parent[key] : newRoot;
|
|
33546
33546
|
if (node2 === null || node2 === void 0) {
|
|
33547
33547
|
continue;
|
|
@@ -33589,12 +33589,12 @@ var require_visitor = __commonJS2({
|
|
|
33589
33589
|
stack = {
|
|
33590
33590
|
inArray,
|
|
33591
33591
|
index,
|
|
33592
|
-
keys:
|
|
33592
|
+
keys: keys3,
|
|
33593
33593
|
edits,
|
|
33594
33594
|
prev: stack
|
|
33595
33595
|
};
|
|
33596
33596
|
inArray = Array.isArray(node2);
|
|
33597
|
-
|
|
33597
|
+
keys3 = inArray ? node2 : (_visitorKeys$node$kin = visitorKeys[node2.kind]) !== null && _visitorKeys$node$kin !== void 0 ? _visitorKeys$node$kin : [];
|
|
33598
33598
|
index = -1;
|
|
33599
33599
|
edits = [];
|
|
33600
33600
|
if (parent) {
|
|
@@ -34545,7 +34545,7 @@ var require_definition = __commonJS2({
|
|
|
34545
34545
|
return new GraphQLList6(ofType);
|
|
34546
34546
|
}
|
|
34547
34547
|
}
|
|
34548
|
-
GraphQLList6.prototype.toString = function
|
|
34548
|
+
GraphQLList6.prototype.toString = function toString3() {
|
|
34549
34549
|
return "[" + String(this.ofType) + "]";
|
|
34550
34550
|
};
|
|
34551
34551
|
GraphQLList6.prototype.toJSON = function toJSON() {
|
|
@@ -34564,7 +34564,7 @@ var require_definition = __commonJS2({
|
|
|
34564
34564
|
return new GraphQLNonNull6(ofType);
|
|
34565
34565
|
}
|
|
34566
34566
|
}
|
|
34567
|
-
GraphQLNonNull6.prototype.toString = function
|
|
34567
|
+
GraphQLNonNull6.prototype.toString = function toString3() {
|
|
34568
34568
|
return String(this.ofType) + "!";
|
|
34569
34569
|
};
|
|
34570
34570
|
GraphQLNonNull6.prototype.toJSON = function toJSON() {
|
|
@@ -34660,7 +34660,7 @@ var require_definition = __commonJS2({
|
|
|
34660
34660
|
extensionASTNodes: (_this$extensionASTNod = this.extensionASTNodes) !== null && _this$extensionASTNod !== void 0 ? _this$extensionASTNod : []
|
|
34661
34661
|
};
|
|
34662
34662
|
};
|
|
34663
|
-
_proto.toString = function
|
|
34663
|
+
_proto.toString = function toString3() {
|
|
34664
34664
|
return this.name;
|
|
34665
34665
|
};
|
|
34666
34666
|
_proto.toJSON = function toJSON() {
|
|
@@ -34714,7 +34714,7 @@ var require_definition = __commonJS2({
|
|
|
34714
34714
|
extensionASTNodes: this.extensionASTNodes || []
|
|
34715
34715
|
};
|
|
34716
34716
|
};
|
|
34717
|
-
_proto2.toString = function
|
|
34717
|
+
_proto2.toString = function toString3() {
|
|
34718
34718
|
return this.name;
|
|
34719
34719
|
};
|
|
34720
34720
|
_proto2.toJSON = function toJSON() {
|
|
@@ -34845,7 +34845,7 @@ var require_definition = __commonJS2({
|
|
|
34845
34845
|
extensionASTNodes: (_this$extensionASTNod2 = this.extensionASTNodes) !== null && _this$extensionASTNod2 !== void 0 ? _this$extensionASTNod2 : []
|
|
34846
34846
|
};
|
|
34847
34847
|
};
|
|
34848
|
-
_proto3.toString = function
|
|
34848
|
+
_proto3.toString = function toString3() {
|
|
34849
34849
|
return this.name;
|
|
34850
34850
|
};
|
|
34851
34851
|
_proto3.toJSON = function toJSON() {
|
|
@@ -34892,7 +34892,7 @@ var require_definition = __commonJS2({
|
|
|
34892
34892
|
extensionASTNodes: (_this$extensionASTNod3 = this.extensionASTNodes) !== null && _this$extensionASTNod3 !== void 0 ? _this$extensionASTNod3 : []
|
|
34893
34893
|
};
|
|
34894
34894
|
};
|
|
34895
|
-
_proto4.toString = function
|
|
34895
|
+
_proto4.toString = function toString3() {
|
|
34896
34896
|
return this.name;
|
|
34897
34897
|
};
|
|
34898
34898
|
_proto4.toJSON = function toJSON() {
|
|
@@ -34988,7 +34988,7 @@ var require_definition = __commonJS2({
|
|
|
34988
34988
|
extensionASTNodes: (_this$extensionASTNod4 = this.extensionASTNodes) !== null && _this$extensionASTNod4 !== void 0 ? _this$extensionASTNod4 : []
|
|
34989
34989
|
};
|
|
34990
34990
|
};
|
|
34991
|
-
_proto5.toString = function
|
|
34991
|
+
_proto5.toString = function toString3() {
|
|
34992
34992
|
return this.name;
|
|
34993
34993
|
};
|
|
34994
34994
|
_proto5.toJSON = function toJSON() {
|
|
@@ -35066,7 +35066,7 @@ var require_definition = __commonJS2({
|
|
|
35066
35066
|
extensionASTNodes: (_this$extensionASTNod5 = this.extensionASTNodes) !== null && _this$extensionASTNod5 !== void 0 ? _this$extensionASTNod5 : []
|
|
35067
35067
|
};
|
|
35068
35068
|
};
|
|
35069
|
-
_proto6.toString = function
|
|
35069
|
+
_proto6.toString = function toString3() {
|
|
35070
35070
|
return this.name;
|
|
35071
35071
|
};
|
|
35072
35072
|
_proto6.toJSON = function toJSON() {
|
|
@@ -36302,7 +36302,7 @@ var require_directives = __commonJS2({
|
|
|
36302
36302
|
astNode: this.astNode
|
|
36303
36303
|
};
|
|
36304
36304
|
};
|
|
36305
|
-
_proto.toString = function
|
|
36305
|
+
_proto.toString = function toString3() {
|
|
36306
36306
|
return "@" + this.name;
|
|
36307
36307
|
};
|
|
36308
36308
|
_proto.toJSON = function toJSON() {
|
|
@@ -38189,16 +38189,16 @@ var require_KnownArgumentNamesRule = __commonJS2({
|
|
|
38189
38189
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
38190
38190
|
}
|
|
38191
38191
|
function ownKeys(object, enumerableOnly) {
|
|
38192
|
-
var
|
|
38192
|
+
var keys3 = Object.keys(object);
|
|
38193
38193
|
if (Object.getOwnPropertySymbols) {
|
|
38194
38194
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
38195
38195
|
if (enumerableOnly)
|
|
38196
38196
|
symbols = symbols.filter(function(sym) {
|
|
38197
38197
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
38198
38198
|
});
|
|
38199
|
-
|
|
38199
|
+
keys3.push.apply(keys3, symbols);
|
|
38200
38200
|
}
|
|
38201
|
-
return
|
|
38201
|
+
return keys3;
|
|
38202
38202
|
}
|
|
38203
38203
|
function _objectSpread(target) {
|
|
38204
38204
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -38439,16 +38439,16 @@ var require_ProvidedRequiredArgumentsRule = __commonJS2({
|
|
|
38439
38439
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
38440
38440
|
}
|
|
38441
38441
|
function ownKeys(object, enumerableOnly) {
|
|
38442
|
-
var
|
|
38442
|
+
var keys3 = Object.keys(object);
|
|
38443
38443
|
if (Object.getOwnPropertySymbols) {
|
|
38444
38444
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
38445
38445
|
if (enumerableOnly)
|
|
38446
38446
|
symbols = symbols.filter(function(sym) {
|
|
38447
38447
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
38448
38448
|
});
|
|
38449
|
-
|
|
38449
|
+
keys3.push.apply(keys3, symbols);
|
|
38450
38450
|
}
|
|
38451
|
-
return
|
|
38451
|
+
return keys3;
|
|
38452
38452
|
}
|
|
38453
38453
|
function _objectSpread(target) {
|
|
38454
38454
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -39674,13 +39674,13 @@ var require_promiseForObject = __commonJS2({
|
|
|
39674
39674
|
});
|
|
39675
39675
|
exports.default = promiseForObject;
|
|
39676
39676
|
function promiseForObject(object) {
|
|
39677
|
-
var
|
|
39678
|
-
var valuesAndPromises =
|
|
39677
|
+
var keys3 = Object.keys(object);
|
|
39678
|
+
var valuesAndPromises = keys3.map(function(name) {
|
|
39679
39679
|
return object[name];
|
|
39680
39680
|
});
|
|
39681
39681
|
return Promise.all(valuesAndPromises).then(function(values) {
|
|
39682
39682
|
return values.reduce(function(resolvedObject, value2, i22) {
|
|
39683
|
-
resolvedObject[
|
|
39683
|
+
resolvedObject[keys3[i22]] = value2;
|
|
39684
39684
|
return resolvedObject;
|
|
39685
39685
|
}, /* @__PURE__ */ Object.create(null));
|
|
39686
39686
|
});
|
|
@@ -42090,16 +42090,16 @@ var require_getIntrospectionQuery = __commonJS2({
|
|
|
42090
42090
|
});
|
|
42091
42091
|
exports.getIntrospectionQuery = getIntrospectionQuery2;
|
|
42092
42092
|
function ownKeys(object, enumerableOnly) {
|
|
42093
|
-
var
|
|
42093
|
+
var keys3 = Object.keys(object);
|
|
42094
42094
|
if (Object.getOwnPropertySymbols) {
|
|
42095
42095
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
42096
42096
|
if (enumerableOnly)
|
|
42097
42097
|
symbols = symbols.filter(function(sym) {
|
|
42098
42098
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
42099
42099
|
});
|
|
42100
|
-
|
|
42100
|
+
keys3.push.apply(keys3, symbols);
|
|
42101
42101
|
}
|
|
42102
|
-
return
|
|
42102
|
+
return keys3;
|
|
42103
42103
|
}
|
|
42104
42104
|
function _objectSpread(target) {
|
|
42105
42105
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -42188,16 +42188,16 @@ var require_introspectionFromSchema = __commonJS2({
|
|
|
42188
42188
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
42189
42189
|
}
|
|
42190
42190
|
function ownKeys(object, enumerableOnly) {
|
|
42191
|
-
var
|
|
42191
|
+
var keys3 = Object.keys(object);
|
|
42192
42192
|
if (Object.getOwnPropertySymbols) {
|
|
42193
42193
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
42194
42194
|
if (enumerableOnly)
|
|
42195
42195
|
symbols = symbols.filter(function(sym) {
|
|
42196
42196
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
42197
42197
|
});
|
|
42198
|
-
|
|
42198
|
+
keys3.push.apply(keys3, symbols);
|
|
42199
42199
|
}
|
|
42200
|
-
return
|
|
42200
|
+
return keys3;
|
|
42201
42201
|
}
|
|
42202
42202
|
function _objectSpread(target) {
|
|
42203
42203
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -42525,16 +42525,16 @@ var require_extendSchema = __commonJS2({
|
|
|
42525
42525
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
42526
42526
|
}
|
|
42527
42527
|
function ownKeys(object, enumerableOnly) {
|
|
42528
|
-
var
|
|
42528
|
+
var keys3 = Object.keys(object);
|
|
42529
42529
|
if (Object.getOwnPropertySymbols) {
|
|
42530
42530
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
42531
42531
|
if (enumerableOnly)
|
|
42532
42532
|
symbols = symbols.filter(function(sym) {
|
|
42533
42533
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
42534
42534
|
});
|
|
42535
|
-
|
|
42535
|
+
keys3.push.apply(keys3, symbols);
|
|
42536
42536
|
}
|
|
42537
|
-
return
|
|
42537
|
+
return keys3;
|
|
42538
42538
|
}
|
|
42539
42539
|
function _objectSpread(target) {
|
|
42540
42540
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -43121,16 +43121,16 @@ var require_lexicographicSortSchema = __commonJS2({
|
|
|
43121
43121
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
43122
43122
|
}
|
|
43123
43123
|
function ownKeys(object, enumerableOnly) {
|
|
43124
|
-
var
|
|
43124
|
+
var keys3 = Object.keys(object);
|
|
43125
43125
|
if (Object.getOwnPropertySymbols) {
|
|
43126
43126
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
43127
43127
|
if (enumerableOnly)
|
|
43128
43128
|
symbols = symbols.filter(function(sym) {
|
|
43129
43129
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
43130
43130
|
});
|
|
43131
|
-
|
|
43131
|
+
keys3.push.apply(keys3, symbols);
|
|
43132
43132
|
}
|
|
43133
|
-
return
|
|
43133
|
+
return keys3;
|
|
43134
43134
|
}
|
|
43135
43135
|
function _objectSpread(target) {
|
|
43136
43136
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -43661,16 +43661,16 @@ var require_findBreakingChanges = __commonJS2({
|
|
|
43661
43661
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
43662
43662
|
}
|
|
43663
43663
|
function ownKeys(object, enumerableOnly) {
|
|
43664
|
-
var
|
|
43664
|
+
var keys3 = Object.keys(object);
|
|
43665
43665
|
if (Object.getOwnPropertySymbols) {
|
|
43666
43666
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
43667
43667
|
if (enumerableOnly)
|
|
43668
43668
|
symbols = symbols.filter(function(sym) {
|
|
43669
43669
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
43670
43670
|
});
|
|
43671
|
-
|
|
43671
|
+
keys3.push.apply(keys3, symbols);
|
|
43672
43672
|
}
|
|
43673
|
-
return
|
|
43673
|
+
return keys3;
|
|
43674
43674
|
}
|
|
43675
43675
|
function _objectSpread(target) {
|
|
43676
43676
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -46647,9 +46647,9 @@ var require_legacy_streams = __commonJS2({
|
|
|
46647
46647
|
this.mode = 438;
|
|
46648
46648
|
this.bufferSize = 64 * 1024;
|
|
46649
46649
|
options = options || {};
|
|
46650
|
-
var
|
|
46651
|
-
for (var index = 0, length =
|
|
46652
|
-
var key =
|
|
46650
|
+
var keys3 = Object.keys(options);
|
|
46651
|
+
for (var index = 0, length = keys3.length; index < length; index++) {
|
|
46652
|
+
var key = keys3[index];
|
|
46653
46653
|
this[key] = options[key];
|
|
46654
46654
|
}
|
|
46655
46655
|
if (this.encoding)
|
|
@@ -46697,9 +46697,9 @@ var require_legacy_streams = __commonJS2({
|
|
|
46697
46697
|
this.mode = 438;
|
|
46698
46698
|
this.bytesWritten = 0;
|
|
46699
46699
|
options = options || {};
|
|
46700
|
-
var
|
|
46701
|
-
for (var index = 0, length =
|
|
46702
|
-
var key =
|
|
46700
|
+
var keys3 = Object.keys(options);
|
|
46701
|
+
for (var index = 0, length = keys3.length; index < length; index++) {
|
|
46702
|
+
var key = keys3[index];
|
|
46703
46703
|
this[key] = options[key];
|
|
46704
46704
|
}
|
|
46705
46705
|
if (this.start !== void 0) {
|
|
@@ -49832,10 +49832,10 @@ var require_glob = __commonJS2({
|
|
|
49832
49832
|
if (add === null || typeof add !== "object") {
|
|
49833
49833
|
return origin;
|
|
49834
49834
|
}
|
|
49835
|
-
var
|
|
49836
|
-
var i22 =
|
|
49835
|
+
var keys3 = Object.keys(add);
|
|
49836
|
+
var i22 = keys3.length;
|
|
49837
49837
|
while (i22--) {
|
|
49838
|
-
origin[
|
|
49838
|
+
origin[keys3[i22]] = add[keys3[i22]];
|
|
49839
49839
|
}
|
|
49840
49840
|
return origin;
|
|
49841
49841
|
}
|
|
@@ -58228,12 +58228,12 @@ var require_lib3 = __commonJS2({
|
|
|
58228
58228
|
SyntaxError: "BABEL_PARSER_SYNTAX_ERROR",
|
|
58229
58229
|
SourceTypeModuleError: "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"
|
|
58230
58230
|
};
|
|
58231
|
-
var reflect = (
|
|
58231
|
+
var reflect = (keys3, last = keys3.length - 1) => ({
|
|
58232
58232
|
get() {
|
|
58233
|
-
return
|
|
58233
|
+
return keys3.reduce((object, key) => object[key], this);
|
|
58234
58234
|
},
|
|
58235
58235
|
set(value2) {
|
|
58236
|
-
|
|
58236
|
+
keys3.reduce(
|
|
58237
58237
|
(item, key, i22) => i22 === last ? item[key] = value2 : item[key],
|
|
58238
58238
|
this
|
|
58239
58239
|
);
|
|
@@ -60166,9 +60166,9 @@ var require_lib3 = __commonJS2({
|
|
|
60166
60166
|
}
|
|
60167
60167
|
clone(skipArrays) {
|
|
60168
60168
|
const state = new State();
|
|
60169
|
-
const
|
|
60170
|
-
for (let i22 = 0, length =
|
|
60171
|
-
const key =
|
|
60169
|
+
const keys3 = Object.keys(this);
|
|
60170
|
+
for (let i22 = 0, length = keys3.length; i22 < length; i22++) {
|
|
60171
|
+
const key = keys3[i22];
|
|
60172
60172
|
let val = this[key];
|
|
60173
60173
|
if (!skipArrays && Array.isArray(val)) {
|
|
60174
60174
|
val = val.slice();
|
|
@@ -62073,9 +62073,9 @@ var require_lib3 = __commonJS2({
|
|
|
62073
62073
|
{
|
|
62074
62074
|
NodePrototype.__clone = function() {
|
|
62075
62075
|
const newNode = new Node3(void 0, this.start, this.loc.start);
|
|
62076
|
-
const
|
|
62077
|
-
for (let i22 = 0, length =
|
|
62078
|
-
const key =
|
|
62076
|
+
const keys3 = Object.keys(this);
|
|
62077
|
+
for (let i22 = 0, length = keys3.length; i22 < length; i22++) {
|
|
62078
|
+
const key = keys3[i22];
|
|
62079
62079
|
if (key !== "leadingComments" && key !== "trailingComments" && key !== "innerComments") {
|
|
62080
62080
|
newNode[key] = this[key];
|
|
62081
62081
|
}
|
|
@@ -72714,107 +72714,6 @@ var require_lib3 = __commonJS2({
|
|
|
72714
72714
|
exports.tokTypes = tokTypes;
|
|
72715
72715
|
}
|
|
72716
72716
|
});
|
|
72717
|
-
var require_cjs = __commonJS2({
|
|
72718
|
-
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
|
|
72719
|
-
"use strict";
|
|
72720
|
-
var isMergeableObject = function isMergeableObject2(value2) {
|
|
72721
|
-
return isNonNullObject(value2) && !isSpecial(value2);
|
|
72722
|
-
};
|
|
72723
|
-
function isNonNullObject(value2) {
|
|
72724
|
-
return !!value2 && typeof value2 === "object";
|
|
72725
|
-
}
|
|
72726
|
-
function isSpecial(value2) {
|
|
72727
|
-
var stringValue = Object.prototype.toString.call(value2);
|
|
72728
|
-
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
72729
|
-
}
|
|
72730
|
-
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
72731
|
-
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
72732
|
-
function isReactElement(value2) {
|
|
72733
|
-
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
72734
|
-
}
|
|
72735
|
-
function emptyTarget(val) {
|
|
72736
|
-
return Array.isArray(val) ? [] : {};
|
|
72737
|
-
}
|
|
72738
|
-
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
72739
|
-
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
72740
|
-
}
|
|
72741
|
-
function defaultArrayMerge(target, source, options) {
|
|
72742
|
-
return target.concat(source).map(function(element) {
|
|
72743
|
-
return cloneUnlessOtherwiseSpecified(element, options);
|
|
72744
|
-
});
|
|
72745
|
-
}
|
|
72746
|
-
function getMergeFunction(key, options) {
|
|
72747
|
-
if (!options.customMerge) {
|
|
72748
|
-
return deepmerge;
|
|
72749
|
-
}
|
|
72750
|
-
var customMerge = options.customMerge(key);
|
|
72751
|
-
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
72752
|
-
}
|
|
72753
|
-
function getEnumerableOwnPropertySymbols(target) {
|
|
72754
|
-
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
72755
|
-
return target.propertyIsEnumerable(symbol);
|
|
72756
|
-
}) : [];
|
|
72757
|
-
}
|
|
72758
|
-
function getKeys(target) {
|
|
72759
|
-
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
72760
|
-
}
|
|
72761
|
-
function propertyIsOnObject(object, property) {
|
|
72762
|
-
try {
|
|
72763
|
-
return property in object;
|
|
72764
|
-
} catch (_) {
|
|
72765
|
-
return false;
|
|
72766
|
-
}
|
|
72767
|
-
}
|
|
72768
|
-
function propertyIsUnsafe(target, key) {
|
|
72769
|
-
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
72770
|
-
}
|
|
72771
|
-
function mergeObject(target, source, options) {
|
|
72772
|
-
var destination = {};
|
|
72773
|
-
if (options.isMergeableObject(target)) {
|
|
72774
|
-
getKeys(target).forEach(function(key) {
|
|
72775
|
-
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
72776
|
-
});
|
|
72777
|
-
}
|
|
72778
|
-
getKeys(source).forEach(function(key) {
|
|
72779
|
-
if (propertyIsUnsafe(target, key)) {
|
|
72780
|
-
return;
|
|
72781
|
-
}
|
|
72782
|
-
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
72783
|
-
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
72784
|
-
} else {
|
|
72785
|
-
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
72786
|
-
}
|
|
72787
|
-
});
|
|
72788
|
-
return destination;
|
|
72789
|
-
}
|
|
72790
|
-
function deepmerge(target, source, options) {
|
|
72791
|
-
options = options || {};
|
|
72792
|
-
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
72793
|
-
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
72794
|
-
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
72795
|
-
var sourceIsArray = Array.isArray(source);
|
|
72796
|
-
var targetIsArray = Array.isArray(target);
|
|
72797
|
-
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
72798
|
-
if (!sourceAndTargetTypesMatch) {
|
|
72799
|
-
return cloneUnlessOtherwiseSpecified(source, options);
|
|
72800
|
-
} else if (sourceIsArray) {
|
|
72801
|
-
return options.arrayMerge(target, source, options);
|
|
72802
|
-
} else {
|
|
72803
|
-
return mergeObject(target, source, options);
|
|
72804
|
-
}
|
|
72805
|
-
}
|
|
72806
|
-
deepmerge.all = function deepmergeAll(array, options) {
|
|
72807
|
-
if (!Array.isArray(array)) {
|
|
72808
|
-
throw new Error("first argument should be an array");
|
|
72809
|
-
}
|
|
72810
|
-
return array.reduce(function(prev, next) {
|
|
72811
|
-
return deepmerge(prev, next, options);
|
|
72812
|
-
}, {});
|
|
72813
|
-
};
|
|
72814
|
-
var deepmerge_1 = deepmerge;
|
|
72815
|
-
module.exports = deepmerge_1;
|
|
72816
|
-
}
|
|
72817
|
-
});
|
|
72818
72717
|
var require_tslib = __commonJS2({
|
|
72819
72718
|
"../../node_modules/.pnpm/tslib@2.5.0/node_modules/tslib/tslib.js"(exports, module) {
|
|
72820
72719
|
var __extends;
|
|
@@ -75071,7 +74970,7 @@ var require_path_visitor = __commonJS2({
|
|
|
75071
74970
|
}
|
|
75072
74971
|
return target;
|
|
75073
74972
|
}
|
|
75074
|
-
PathVisitor.visit = function
|
|
74973
|
+
PathVisitor.visit = function visit2(node2, methods) {
|
|
75075
74974
|
return PathVisitor.fromMethodsObject(methods).visit(node2);
|
|
75076
74975
|
};
|
|
75077
74976
|
var PVp = PathVisitor.prototype;
|
|
@@ -75262,7 +75161,7 @@ var require_path_visitor = __commonJS2({
|
|
|
75262
75161
|
this.needToCallTraverse = false;
|
|
75263
75162
|
return visitChildren(path22, PathVisitor.fromMethodsObject(newVisitor || this.visitor));
|
|
75264
75163
|
};
|
|
75265
|
-
sharedContextProtoMethods.visit = function
|
|
75164
|
+
sharedContextProtoMethods.visit = function visit2(path22, newVisitor) {
|
|
75266
75165
|
if (!(this instanceof this.Context)) {
|
|
75267
75166
|
throw new Error("");
|
|
75268
75167
|
}
|
|
@@ -76605,7 +76504,7 @@ var require_main = __commonJS2({
|
|
|
76605
76504
|
var someField = _a.someField;
|
|
76606
76505
|
var Type = _a.Type;
|
|
76607
76506
|
var use = _a.use;
|
|
76608
|
-
var
|
|
76507
|
+
var visit2 = _a.visit;
|
|
76609
76508
|
exports.astNodesAreEquivalent = astNodesAreEquivalent;
|
|
76610
76509
|
exports.builders = builders;
|
|
76611
76510
|
exports.builtInTypes = builtInTypes;
|
|
@@ -76622,7 +76521,7 @@ var require_main = __commonJS2({
|
|
|
76622
76521
|
exports.someField = someField;
|
|
76623
76522
|
exports.Type = Type;
|
|
76624
76523
|
exports.use = use;
|
|
76625
|
-
exports.visit =
|
|
76524
|
+
exports.visit = visit2;
|
|
76626
76525
|
Object.assign(namedTypes_1.namedTypes, n);
|
|
76627
76526
|
}
|
|
76628
76527
|
});
|
|
@@ -78386,10 +78285,10 @@ var require_util2 = __commonJS2({
|
|
|
78386
78285
|
var result = {};
|
|
78387
78286
|
var argc = args.length;
|
|
78388
78287
|
for (var i22 = 0; i22 < argc; ++i22) {
|
|
78389
|
-
var
|
|
78390
|
-
var keyCount =
|
|
78288
|
+
var keys3 = Object.keys(args[i22]);
|
|
78289
|
+
var keyCount = keys3.length;
|
|
78391
78290
|
for (var j = 0; j < keyCount; ++j) {
|
|
78392
|
-
result[
|
|
78291
|
+
result[keys3[j]] = true;
|
|
78393
78292
|
}
|
|
78394
78293
|
}
|
|
78395
78294
|
return result;
|
|
@@ -86035,10 +85934,10 @@ var require_parser2 = __commonJS2({
|
|
|
86035
85934
|
loc.indent = newIndent;
|
|
86036
85935
|
this.findTokenRange(loc);
|
|
86037
85936
|
}
|
|
86038
|
-
var
|
|
86039
|
-
var keyCount =
|
|
85937
|
+
var keys3 = Object.keys(node2);
|
|
85938
|
+
var keyCount = keys3.length;
|
|
86040
85939
|
for (var i22 = 0; i22 < keyCount; ++i22) {
|
|
86041
|
-
var key =
|
|
85940
|
+
var key = keys3[i22];
|
|
86042
85941
|
if (key === "loc") {
|
|
86043
85942
|
copy[key] = node2[key];
|
|
86044
85943
|
} else if (key === "tokens" && node2.type === "File") {
|
|
@@ -86793,13 +86692,13 @@ var require_patcher = __commonJS2({
|
|
|
86793
86692
|
if (newPath.needsParens() && !oldPath.hasParens()) {
|
|
86794
86693
|
return false;
|
|
86795
86694
|
}
|
|
86796
|
-
var
|
|
86695
|
+
var keys3 = (0, util_110.getUnionOfKeys)(oldNode, newNode);
|
|
86797
86696
|
if (oldNode.type === "File" || newNode.type === "File") {
|
|
86798
|
-
delete
|
|
86697
|
+
delete keys3.tokens;
|
|
86799
86698
|
}
|
|
86800
|
-
delete
|
|
86699
|
+
delete keys3.loc;
|
|
86801
86700
|
var originalReprintCount = reprints.length;
|
|
86802
|
-
for (var k in
|
|
86701
|
+
for (var k in keys3) {
|
|
86803
86702
|
if (k.charAt(0) === "_") {
|
|
86804
86703
|
continue;
|
|
86805
86704
|
}
|
|
@@ -89037,6 +88936,107 @@ var require_main2 = __commonJS2({
|
|
|
89037
88936
|
}
|
|
89038
88937
|
}
|
|
89039
88938
|
});
|
|
88939
|
+
var require_cjs = __commonJS2({
|
|
88940
|
+
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
|
|
88941
|
+
"use strict";
|
|
88942
|
+
var isMergeableObject = function isMergeableObject2(value2) {
|
|
88943
|
+
return isNonNullObject(value2) && !isSpecial(value2);
|
|
88944
|
+
};
|
|
88945
|
+
function isNonNullObject(value2) {
|
|
88946
|
+
return !!value2 && typeof value2 === "object";
|
|
88947
|
+
}
|
|
88948
|
+
function isSpecial(value2) {
|
|
88949
|
+
var stringValue = Object.prototype.toString.call(value2);
|
|
88950
|
+
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
88951
|
+
}
|
|
88952
|
+
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
88953
|
+
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
88954
|
+
function isReactElement(value2) {
|
|
88955
|
+
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
88956
|
+
}
|
|
88957
|
+
function emptyTarget(val) {
|
|
88958
|
+
return Array.isArray(val) ? [] : {};
|
|
88959
|
+
}
|
|
88960
|
+
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
88961
|
+
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
88962
|
+
}
|
|
88963
|
+
function defaultArrayMerge(target, source, options) {
|
|
88964
|
+
return target.concat(source).map(function(element) {
|
|
88965
|
+
return cloneUnlessOtherwiseSpecified(element, options);
|
|
88966
|
+
});
|
|
88967
|
+
}
|
|
88968
|
+
function getMergeFunction(key, options) {
|
|
88969
|
+
if (!options.customMerge) {
|
|
88970
|
+
return deepmerge;
|
|
88971
|
+
}
|
|
88972
|
+
var customMerge = options.customMerge(key);
|
|
88973
|
+
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
88974
|
+
}
|
|
88975
|
+
function getEnumerableOwnPropertySymbols(target) {
|
|
88976
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
88977
|
+
return target.propertyIsEnumerable(symbol);
|
|
88978
|
+
}) : [];
|
|
88979
|
+
}
|
|
88980
|
+
function getKeys(target) {
|
|
88981
|
+
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
88982
|
+
}
|
|
88983
|
+
function propertyIsOnObject(object, property) {
|
|
88984
|
+
try {
|
|
88985
|
+
return property in object;
|
|
88986
|
+
} catch (_) {
|
|
88987
|
+
return false;
|
|
88988
|
+
}
|
|
88989
|
+
}
|
|
88990
|
+
function propertyIsUnsafe(target, key) {
|
|
88991
|
+
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
88992
|
+
}
|
|
88993
|
+
function mergeObject(target, source, options) {
|
|
88994
|
+
var destination = {};
|
|
88995
|
+
if (options.isMergeableObject(target)) {
|
|
88996
|
+
getKeys(target).forEach(function(key) {
|
|
88997
|
+
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
88998
|
+
});
|
|
88999
|
+
}
|
|
89000
|
+
getKeys(source).forEach(function(key) {
|
|
89001
|
+
if (propertyIsUnsafe(target, key)) {
|
|
89002
|
+
return;
|
|
89003
|
+
}
|
|
89004
|
+
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
89005
|
+
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
89006
|
+
} else {
|
|
89007
|
+
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
89008
|
+
}
|
|
89009
|
+
});
|
|
89010
|
+
return destination;
|
|
89011
|
+
}
|
|
89012
|
+
function deepmerge(target, source, options) {
|
|
89013
|
+
options = options || {};
|
|
89014
|
+
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
89015
|
+
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
89016
|
+
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
89017
|
+
var sourceIsArray = Array.isArray(source);
|
|
89018
|
+
var targetIsArray = Array.isArray(target);
|
|
89019
|
+
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
89020
|
+
if (!sourceAndTargetTypesMatch) {
|
|
89021
|
+
return cloneUnlessOtherwiseSpecified(source, options);
|
|
89022
|
+
} else if (sourceIsArray) {
|
|
89023
|
+
return options.arrayMerge(target, source, options);
|
|
89024
|
+
} else {
|
|
89025
|
+
return mergeObject(target, source, options);
|
|
89026
|
+
}
|
|
89027
|
+
}
|
|
89028
|
+
deepmerge.all = function deepmergeAll(array, options) {
|
|
89029
|
+
if (!Array.isArray(array)) {
|
|
89030
|
+
throw new Error("first argument should be an array");
|
|
89031
|
+
}
|
|
89032
|
+
return array.reduce(function(prev, next) {
|
|
89033
|
+
return deepmerge(prev, next, options);
|
|
89034
|
+
}, {});
|
|
89035
|
+
};
|
|
89036
|
+
var deepmerge_1 = deepmerge;
|
|
89037
|
+
module.exports = deepmerge_1;
|
|
89038
|
+
}
|
|
89039
|
+
});
|
|
89040
89040
|
async function runPipeline(config4, pipeline22, target) {
|
|
89041
89041
|
for (const transform of pipeline22) {
|
|
89042
89042
|
await transform?.(config4, target);
|
|
@@ -89744,14 +89744,14 @@ function pushComment(node2, entity, field, argument) {
|
|
|
89744
89744
|
if (typeof comment !== "string" || comment.length === 0) {
|
|
89745
89745
|
return;
|
|
89746
89746
|
}
|
|
89747
|
-
const
|
|
89747
|
+
const keys3 = [entity];
|
|
89748
89748
|
if (field) {
|
|
89749
|
-
|
|
89749
|
+
keys3.push(field);
|
|
89750
89750
|
if (argument) {
|
|
89751
|
-
|
|
89751
|
+
keys3.push(argument);
|
|
89752
89752
|
}
|
|
89753
89753
|
}
|
|
89754
|
-
const path22 =
|
|
89754
|
+
const path22 = keys3.join(".");
|
|
89755
89755
|
if (!commentsRegistry[path22]) {
|
|
89756
89756
|
commentsRegistry[path22] = [];
|
|
89757
89757
|
}
|
|
@@ -89770,14 +89770,14 @@ function hasMultilineItems(maybeArray) {
|
|
|
89770
89770
|
function addDescription(cb) {
|
|
89771
89771
|
return (node2, _key, _parent, path22, ancestors) => {
|
|
89772
89772
|
var _a;
|
|
89773
|
-
const
|
|
89773
|
+
const keys3 = [];
|
|
89774
89774
|
const parent = path22.reduce((prev, key2) => {
|
|
89775
89775
|
if (["fields", "arguments", "values"].includes(key2) && prev.name) {
|
|
89776
|
-
|
|
89776
|
+
keys3.push(prev.name.value);
|
|
89777
89777
|
}
|
|
89778
89778
|
return prev[key2];
|
|
89779
89779
|
}, ancestors[0]);
|
|
89780
|
-
const key = [...
|
|
89780
|
+
const key = [...keys3, (_a = parent === null || parent === void 0 ? void 0 : parent.name) === null || _a === void 0 ? void 0 : _a.value].filter(Boolean).join(".");
|
|
89781
89781
|
const items = [];
|
|
89782
89782
|
if (node2.kind.includes("Definition") && commentsRegistry[key]) {
|
|
89783
89783
|
items.push(...commentsRegistry[key]);
|
|
@@ -92207,9 +92207,9 @@ var DataSource = {
|
|
|
92207
92207
|
};
|
|
92208
92208
|
var fragmentKey = " $fragments";
|
|
92209
92209
|
var computeKey = ({ field, args }) => {
|
|
92210
|
-
const
|
|
92211
|
-
|
|
92212
|
-
return args &&
|
|
92210
|
+
const keys3 = Object.keys(args ?? {});
|
|
92211
|
+
keys3.sort();
|
|
92212
|
+
return args && keys3.length > 0 ? `${field}(${keys3.map((key) => `${key}: ${stringifyObjectWithNoQuotesOnKeys(args[key])}`).join(", ")})` : field;
|
|
92213
92213
|
};
|
|
92214
92214
|
var stringifyObjectWithNoQuotesOnKeys = (obj_from_json) => {
|
|
92215
92215
|
if (Array.isArray(obj_from_json)) {
|
|
@@ -95333,7 +95333,8 @@ var CacheInternal = class {
|
|
|
95333
95333
|
parent = rootID,
|
|
95334
95334
|
variables,
|
|
95335
95335
|
stepsFromConnection = null,
|
|
95336
|
-
ignoreMasking
|
|
95336
|
+
ignoreMasking,
|
|
95337
|
+
fullCheck = false
|
|
95337
95338
|
}) {
|
|
95338
95339
|
if (parent === null) {
|
|
95339
95340
|
return { data: null, partial: false, stale: false, hasData: true };
|
|
@@ -95358,11 +95359,28 @@ var CacheInternal = class {
|
|
|
95358
95359
|
let targetSelection = getFieldsForType(selection, typename);
|
|
95359
95360
|
for (const [
|
|
95360
95361
|
attributeName,
|
|
95361
|
-
{ type, keyRaw, selection: fieldSelection, nullable, list, visible }
|
|
95362
|
+
{ type, keyRaw, selection: fieldSelection, nullable, list, visible, directives }
|
|
95362
95363
|
] of Object.entries(targetSelection)) {
|
|
95363
|
-
if (!visible && !ignoreMasking) {
|
|
95364
|
+
if (!visible && !ignoreMasking && !fullCheck) {
|
|
95364
95365
|
continue;
|
|
95365
95366
|
}
|
|
95367
|
+
const includeDirective = directives?.find((d) => {
|
|
95368
|
+
return d.name === "include";
|
|
95369
|
+
});
|
|
95370
|
+
if (includeDirective) {
|
|
95371
|
+
if (!evaluateFragmentVariables(includeDirective.arguments, variables ?? {})["if"]) {
|
|
95372
|
+
continue;
|
|
95373
|
+
}
|
|
95374
|
+
}
|
|
95375
|
+
const skipDirective = directives?.find((d) => {
|
|
95376
|
+
return d.name === "skip";
|
|
95377
|
+
});
|
|
95378
|
+
if (skipDirective) {
|
|
95379
|
+
if (evaluateFragmentVariables(skipDirective.arguments, variables ?? {})["if"]) {
|
|
95380
|
+
continue;
|
|
95381
|
+
}
|
|
95382
|
+
}
|
|
95383
|
+
const fieldTarget = visible || ignoreMasking ? target : {};
|
|
95366
95384
|
const key = evaluateKey(keyRaw, variables);
|
|
95367
95385
|
const { value: value2 } = this.storage.get(parent, key);
|
|
95368
95386
|
const dt_field = this.staleManager.getFieldTime(parent, key);
|
|
@@ -95385,16 +95403,16 @@ var CacheInternal = class {
|
|
|
95385
95403
|
partial = true;
|
|
95386
95404
|
}
|
|
95387
95405
|
if (typeof value2 === "undefined" || value2 === null) {
|
|
95388
|
-
|
|
95406
|
+
fieldTarget[attributeName] = null;
|
|
95389
95407
|
if (typeof value2 !== "undefined") {
|
|
95390
95408
|
hasData = true;
|
|
95391
95409
|
}
|
|
95392
95410
|
} else if (!fieldSelection) {
|
|
95393
95411
|
const fnUnmarshal = this.config?.scalars?.[type]?.unmarshal;
|
|
95394
95412
|
if (fnUnmarshal) {
|
|
95395
|
-
|
|
95413
|
+
fieldTarget[attributeName] = fnUnmarshal(value2);
|
|
95396
95414
|
} else {
|
|
95397
|
-
|
|
95415
|
+
fieldTarget[attributeName] = value2;
|
|
95398
95416
|
}
|
|
95399
95417
|
hasData = true;
|
|
95400
95418
|
} else if (Array.isArray(value2)) {
|
|
@@ -95403,9 +95421,10 @@ var CacheInternal = class {
|
|
|
95403
95421
|
variables,
|
|
95404
95422
|
linkedList: value2,
|
|
95405
95423
|
stepsFromConnection: nextStep,
|
|
95406
|
-
ignoreMasking: !!ignoreMasking
|
|
95424
|
+
ignoreMasking: !!ignoreMasking,
|
|
95425
|
+
fullCheck
|
|
95407
95426
|
});
|
|
95408
|
-
|
|
95427
|
+
fieldTarget[attributeName] = listValue.data;
|
|
95409
95428
|
if (listValue.partial) {
|
|
95410
95429
|
partial = true;
|
|
95411
95430
|
}
|
|
@@ -95421,9 +95440,10 @@ var CacheInternal = class {
|
|
|
95421
95440
|
selection: fieldSelection,
|
|
95422
95441
|
variables,
|
|
95423
95442
|
stepsFromConnection: nextStep,
|
|
95424
|
-
ignoreMasking
|
|
95443
|
+
ignoreMasking,
|
|
95444
|
+
fullCheck
|
|
95425
95445
|
});
|
|
95426
|
-
|
|
95446
|
+
fieldTarget[attributeName] = objectFields.data;
|
|
95427
95447
|
if (objectFields.partial) {
|
|
95428
95448
|
partial = true;
|
|
95429
95449
|
}
|
|
@@ -95434,7 +95454,7 @@ var CacheInternal = class {
|
|
|
95434
95454
|
hasData = true;
|
|
95435
95455
|
}
|
|
95436
95456
|
}
|
|
95437
|
-
if (
|
|
95457
|
+
if (fieldTarget[attributeName] === null && !nullable && !embeddedCursor) {
|
|
95438
95458
|
cascadeNull = true;
|
|
95439
95459
|
}
|
|
95440
95460
|
}
|
|
@@ -95466,7 +95486,8 @@ var CacheInternal = class {
|
|
|
95466
95486
|
variables,
|
|
95467
95487
|
linkedList,
|
|
95468
95488
|
stepsFromConnection,
|
|
95469
|
-
ignoreMasking
|
|
95489
|
+
ignoreMasking,
|
|
95490
|
+
fullCheck
|
|
95470
95491
|
}) {
|
|
95471
95492
|
const result = [];
|
|
95472
95493
|
let partialData = false;
|
|
@@ -95479,7 +95500,8 @@ var CacheInternal = class {
|
|
|
95479
95500
|
variables,
|
|
95480
95501
|
linkedList: entry,
|
|
95481
95502
|
stepsFromConnection,
|
|
95482
|
-
ignoreMasking
|
|
95503
|
+
ignoreMasking,
|
|
95504
|
+
fullCheck
|
|
95483
95505
|
});
|
|
95484
95506
|
result.push(nestedValue.data);
|
|
95485
95507
|
if (nestedValue.partial) {
|
|
@@ -95501,7 +95523,8 @@ var CacheInternal = class {
|
|
|
95501
95523
|
selection: fields,
|
|
95502
95524
|
variables,
|
|
95503
95525
|
stepsFromConnection,
|
|
95504
|
-
ignoreMasking
|
|
95526
|
+
ignoreMasking,
|
|
95527
|
+
fullCheck
|
|
95505
95528
|
});
|
|
95506
95529
|
result.push(data2);
|
|
95507
95530
|
if (partial) {
|
|
@@ -95692,11 +95715,10 @@ var query = documentPlugin(ArtifactKind.Query, function() {
|
|
|
95692
95715
|
cache_default.unsubscribe(subscriptionSpec, subscriptionSpec.variables?.() || {});
|
|
95693
95716
|
}
|
|
95694
95717
|
lastVariables = { ...marshalVariables2(ctx) };
|
|
95695
|
-
const variables = lastVariables;
|
|
95696
95718
|
subscriptionSpec = {
|
|
95697
95719
|
rootType: ctx.artifact.rootType,
|
|
95698
95720
|
selection: ctx.artifact.selection,
|
|
95699
|
-
variables: () =>
|
|
95721
|
+
variables: () => lastVariables,
|
|
95700
95722
|
set: (newValue) => {
|
|
95701
95723
|
resolve22(ctx, {
|
|
95702
95724
|
data: newValue,
|
|
@@ -95723,17 +95745,12 @@ var query = documentPlugin(ArtifactKind.Query, function() {
|
|
|
95723
95745
|
});
|
|
95724
95746
|
var fragment = documentPlugin(ArtifactKind.Fragment, function() {
|
|
95725
95747
|
let subscriptionSpec = null;
|
|
95726
|
-
let lastReference = null;
|
|
95727
95748
|
return {
|
|
95728
95749
|
start(ctx, { next, resolve: resolve22, variablesChanged: variablesChanged2, marshalVariables: marshalVariables2 }) {
|
|
95729
95750
|
if (!ctx.stuff.parentID) {
|
|
95730
95751
|
return next(ctx);
|
|
95731
95752
|
}
|
|
95732
|
-
|
|
95733
|
-
parent: ctx.stuff.parentID,
|
|
95734
|
-
variables: marshalVariables2(ctx)
|
|
95735
|
-
};
|
|
95736
|
-
if (!ctx.cacheParams?.disableSubscriptions && (!deepEquals(lastReference, currentReference) || variablesChanged2(ctx))) {
|
|
95753
|
+
if (variablesChanged2(ctx) && !ctx.cacheParams?.disableSubscriptions) {
|
|
95737
95754
|
if (subscriptionSpec) {
|
|
95738
95755
|
cache_default.unsubscribe(subscriptionSpec, subscriptionSpec.variables?.() || {});
|
|
95739
95756
|
}
|
|
@@ -95756,7 +95773,6 @@ var fragment = documentPlugin(ArtifactKind.Fragment, function() {
|
|
|
95756
95773
|
}
|
|
95757
95774
|
};
|
|
95758
95775
|
cache_default.subscribe(subscriptionSpec, variables);
|
|
95759
|
-
lastReference = currentReference;
|
|
95760
95776
|
}
|
|
95761
95777
|
next(ctx);
|
|
95762
95778
|
},
|
|
@@ -95914,7 +95930,7 @@ var Config = class {
|
|
|
95914
95930
|
this.logLevel = (logLevel || LogLevel.Summary).toLowerCase();
|
|
95915
95931
|
this.defaultFragmentMasking = defaultFragmentMasking;
|
|
95916
95932
|
this.routesDir = join2(this.projectRoot, "src", "routes");
|
|
95917
|
-
this.schemaPollInterval = watchSchema?.interval
|
|
95933
|
+
this.schemaPollInterval = watchSchema?.interval === void 0 ? 2e3 : watchSchema.interval;
|
|
95918
95934
|
this.schemaPollHeaders = watchSchema?.headers ?? {};
|
|
95919
95935
|
this.rootDir = join2(this.projectRoot, "$houdini");
|
|
95920
95936
|
this.#fragmentVariableMaps = {};
|
|
@@ -96258,17 +96274,6 @@ var Config = class {
|
|
|
96258
96274
|
}, []) ?? [];
|
|
96259
96275
|
return !defaultDirectives.includes(name) && (internalDirectives.includes(name) || this.isDeleteDirective(name));
|
|
96260
96276
|
}
|
|
96261
|
-
needsRefetchArtifact(document2) {
|
|
96262
|
-
let needsArtifact = false;
|
|
96263
|
-
graphql2.visit(document2, {
|
|
96264
|
-
Directive: (node2) => {
|
|
96265
|
-
if ([this.paginateDirective].includes(node2.name.value)) {
|
|
96266
|
-
needsArtifact = true;
|
|
96267
|
-
}
|
|
96268
|
-
}
|
|
96269
|
-
});
|
|
96270
|
-
return needsArtifact;
|
|
96271
|
-
}
|
|
96272
96277
|
#fragmentVariableMaps;
|
|
96273
96278
|
registerFragmentVariablesHash({
|
|
96274
96279
|
hash,
|
|
@@ -96276,7 +96281,7 @@ var Config = class {
|
|
|
96276
96281
|
fragment: fragment22
|
|
96277
96282
|
}) {
|
|
96278
96283
|
this.#fragmentVariableMaps[hash] = {
|
|
96279
|
-
args: this
|
|
96284
|
+
args: this.serializeValueMap(args),
|
|
96280
96285
|
fragment: fragment22
|
|
96281
96286
|
};
|
|
96282
96287
|
}
|
|
@@ -96287,7 +96292,7 @@ var Config = class {
|
|
|
96287
96292
|
hash
|
|
96288
96293
|
};
|
|
96289
96294
|
}
|
|
96290
|
-
|
|
96295
|
+
serializeValueMap(map) {
|
|
96291
96296
|
if (!map) {
|
|
96292
96297
|
return null;
|
|
96293
96298
|
}
|
|
@@ -96302,7 +96307,7 @@ var Config = class {
|
|
|
96302
96307
|
}
|
|
96303
96308
|
if ("values" in input) {
|
|
96304
96309
|
result.values = input.values.map(
|
|
96305
|
-
(value2) => this
|
|
96310
|
+
(value2) => this.serializeValueMap({ foo: value2 }).foo
|
|
96306
96311
|
);
|
|
96307
96312
|
}
|
|
96308
96313
|
if ("name" in input) {
|
|
@@ -96311,7 +96316,7 @@ var Config = class {
|
|
|
96311
96316
|
if ("fields" in input) {
|
|
96312
96317
|
result.fields = input.fields.map((field) => ({
|
|
96313
96318
|
name: field.name,
|
|
96314
|
-
value: this
|
|
96319
|
+
value: this.serializeValueMap({ foo: field.value }).foo
|
|
96315
96320
|
}));
|
|
96316
96321
|
}
|
|
96317
96322
|
}
|
|
@@ -96639,41 +96644,19 @@ var TypeWrapper = /* @__PURE__ */ ((TypeWrapper2) => {
|
|
|
96639
96644
|
return TypeWrapper2;
|
|
96640
96645
|
})(TypeWrapper || {});
|
|
96641
96646
|
var import_parser = __toESM2(require_lib3(), 1);
|
|
96642
|
-
|
|
96643
|
-
function deepMerge(filepath, ...targets) {
|
|
96644
|
-
try {
|
|
96645
|
-
if (targets.length === 1) {
|
|
96646
|
-
return targets[0];
|
|
96647
|
-
} else if (targets.length === 2) {
|
|
96648
|
-
return (0, import_deepmerge.default)(targets[0], targets[1], {
|
|
96649
|
-
arrayMerge: (source, update) => [...new Set(source.concat(update))]
|
|
96650
|
-
});
|
|
96651
|
-
}
|
|
96652
|
-
return deepMerge(filepath, targets[0], deepMerge(filepath, ...targets.slice(1)));
|
|
96653
|
-
} catch (e22) {
|
|
96654
|
-
throw new HoudiniError({
|
|
96655
|
-
filepath,
|
|
96656
|
-
message: "could not merge: " + JSON.stringify(targets, null, 4),
|
|
96657
|
-
description: e22.message
|
|
96658
|
-
});
|
|
96659
|
-
}
|
|
96660
|
-
}
|
|
96661
|
-
async function parseJS(str, config4) {
|
|
96662
|
-
const defaultConfig = {
|
|
96663
|
-
plugins: ["typescript"],
|
|
96664
|
-
sourceType: "module"
|
|
96665
|
-
};
|
|
96647
|
+
async function parseJS(str) {
|
|
96666
96648
|
return {
|
|
96667
96649
|
start: 0,
|
|
96668
|
-
script: (0, import_parser.parse)(
|
|
96669
|
-
|
|
96670
|
-
|
|
96671
|
-
).program,
|
|
96650
|
+
script: (0, import_parser.parse)(str || "", {
|
|
96651
|
+
plugins: ["typescript"],
|
|
96652
|
+
sourceType: "module"
|
|
96653
|
+
}).program,
|
|
96672
96654
|
end: str.length
|
|
96673
96655
|
};
|
|
96674
96656
|
}
|
|
96675
96657
|
var recast = __toESM2(require_main2(), 1);
|
|
96676
96658
|
var AST = recast.types.builders;
|
|
96659
|
+
var import_deepmerge = __toESM2(require_cjs(), 1);
|
|
96677
96660
|
var WalkerBase = class {
|
|
96678
96661
|
constructor() {
|
|
96679
96662
|
this.should_skip = false;
|
|
@@ -110713,7 +110696,7 @@ var ariaPropsMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
110713
110696
|
has: function has(key) {
|
|
110714
110697
|
return !!ariaPropsMap.get(key);
|
|
110715
110698
|
},
|
|
110716
|
-
keys: function
|
|
110699
|
+
keys: function keys3() {
|
|
110717
110700
|
return properties.map(function(_ref) {
|
|
110718
110701
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
110719
110702
|
return key;
|
|
@@ -111123,7 +111106,7 @@ var domMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
111123
111106
|
has: function has(key) {
|
|
111124
111107
|
return !!domMap.get(key);
|
|
111125
111108
|
},
|
|
111126
|
-
keys: function
|
|
111109
|
+
keys: function keys3() {
|
|
111127
111110
|
return dom.map(function(_ref) {
|
|
111128
111111
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
111129
111112
|
return key;
|
|
@@ -116314,7 +116297,7 @@ var rolesMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
116314
116297
|
has: function has(key) {
|
|
116315
116298
|
return !!rolesMap.get(key);
|
|
116316
116299
|
},
|
|
116317
|
-
keys: function
|
|
116300
|
+
keys: function keys3() {
|
|
116318
116301
|
return roles.map(function(_ref5) {
|
|
116319
116302
|
var _ref6 = _slicedToArray(_ref5, 1), key = _ref6[0];
|
|
116320
116303
|
return key;
|
|
@@ -116416,7 +116399,7 @@ if (!Object.keys) {
|
|
|
116416
116399
|
return false;
|
|
116417
116400
|
}
|
|
116418
116401
|
};
|
|
116419
|
-
keysShim = function
|
|
116402
|
+
keysShim = function keys3(object) {
|
|
116420
116403
|
var isObject2 = object !== null && typeof object === "object";
|
|
116421
116404
|
var isFunction2 = toStr$1.call(object) === "[object Function]";
|
|
116422
116405
|
var isArguments5 = isArgs(object);
|
|
@@ -116478,7 +116461,7 @@ keysShim$1.shim = function shimObjectKeys() {
|
|
|
116478
116461
|
return args && args.length === arguments.length;
|
|
116479
116462
|
}(1, 2);
|
|
116480
116463
|
if (!keysWorksWithArguments) {
|
|
116481
|
-
Object.keys = function
|
|
116464
|
+
Object.keys = function keys3(object) {
|
|
116482
116465
|
if (isArguments(object)) {
|
|
116483
116466
|
return originalKeys(slice.call(object));
|
|
116484
116467
|
}
|
|
@@ -118151,10 +118134,10 @@ var inherits = createCommonjsModule(function(module) {
|
|
|
118151
118134
|
});
|
|
118152
118135
|
var util = createCommonjsModule(function(module, exports) {
|
|
118153
118136
|
var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors || function getOwnPropertyDescriptors2(obj) {
|
|
118154
|
-
var
|
|
118137
|
+
var keys3 = Object.keys(obj);
|
|
118155
118138
|
var descriptors = {};
|
|
118156
|
-
for (var i3 = 0; i3 <
|
|
118157
|
-
descriptors[
|
|
118139
|
+
for (var i3 = 0; i3 < keys3.length; i3++) {
|
|
118140
|
+
descriptors[keys3[i3]] = Object.getOwnPropertyDescriptor(obj, keys3[i3]);
|
|
118158
118141
|
}
|
|
118159
118142
|
return descriptors;
|
|
118160
118143
|
};
|
|
@@ -118324,15 +118307,15 @@ var util = createCommonjsModule(function(module, exports) {
|
|
|
118324
118307
|
if (primitive) {
|
|
118325
118308
|
return primitive;
|
|
118326
118309
|
}
|
|
118327
|
-
var
|
|
118328
|
-
var visibleKeys = arrayToHash(
|
|
118310
|
+
var keys3 = Object.keys(value2);
|
|
118311
|
+
var visibleKeys = arrayToHash(keys3);
|
|
118329
118312
|
if (ctx.showHidden) {
|
|
118330
|
-
|
|
118313
|
+
keys3 = Object.getOwnPropertyNames(value2);
|
|
118331
118314
|
}
|
|
118332
|
-
if (isError2(value2) && (
|
|
118315
|
+
if (isError2(value2) && (keys3.indexOf("message") >= 0 || keys3.indexOf("description") >= 0)) {
|
|
118333
118316
|
return formatError2(value2);
|
|
118334
118317
|
}
|
|
118335
|
-
if (
|
|
118318
|
+
if (keys3.length === 0) {
|
|
118336
118319
|
if (isFunction2(value2)) {
|
|
118337
118320
|
var name = value2.name ? ": " + value2.name : "";
|
|
118338
118321
|
return ctx.stylize("[Function" + name + "]", "special");
|
|
@@ -118365,7 +118348,7 @@ var util = createCommonjsModule(function(module, exports) {
|
|
|
118365
118348
|
if (isError2(value2)) {
|
|
118366
118349
|
base = " " + formatError2(value2);
|
|
118367
118350
|
}
|
|
118368
|
-
if (
|
|
118351
|
+
if (keys3.length === 0 && (!array || value2.length == 0)) {
|
|
118369
118352
|
return braces[0] + base + braces[1];
|
|
118370
118353
|
}
|
|
118371
118354
|
if (recurseTimes < 0) {
|
|
@@ -118378,9 +118361,9 @@ var util = createCommonjsModule(function(module, exports) {
|
|
|
118378
118361
|
ctx.seen.push(value2);
|
|
118379
118362
|
var output;
|
|
118380
118363
|
if (array) {
|
|
118381
|
-
output = formatArray2(ctx, value2, recurseTimes, visibleKeys,
|
|
118364
|
+
output = formatArray2(ctx, value2, recurseTimes, visibleKeys, keys3);
|
|
118382
118365
|
} else {
|
|
118383
|
-
output =
|
|
118366
|
+
output = keys3.map(function(key) {
|
|
118384
118367
|
return formatProperty(ctx, value2, recurseTimes, visibleKeys, key, array);
|
|
118385
118368
|
});
|
|
118386
118369
|
}
|
|
@@ -118404,7 +118387,7 @@ var util = createCommonjsModule(function(module, exports) {
|
|
|
118404
118387
|
function formatError2(value2) {
|
|
118405
118388
|
return "[" + Error.prototype.toString.call(value2) + "]";
|
|
118406
118389
|
}
|
|
118407
|
-
function formatArray2(ctx, value2, recurseTimes, visibleKeys,
|
|
118390
|
+
function formatArray2(ctx, value2, recurseTimes, visibleKeys, keys3) {
|
|
118408
118391
|
var output = [];
|
|
118409
118392
|
for (var i3 = 0, l = value2.length; i3 < l; ++i3) {
|
|
118410
118393
|
if (hasOwnProperty2(value2, String(i3))) {
|
|
@@ -118420,7 +118403,7 @@ var util = createCommonjsModule(function(module, exports) {
|
|
|
118420
118403
|
output.push("");
|
|
118421
118404
|
}
|
|
118422
118405
|
}
|
|
118423
|
-
|
|
118406
|
+
keys3.forEach(function(key) {
|
|
118424
118407
|
if (!key.match(/^\d+$/)) {
|
|
118425
118408
|
output.push(formatProperty(
|
|
118426
118409
|
ctx,
|
|
@@ -118596,10 +118579,10 @@ var util = createCommonjsModule(function(module, exports) {
|
|
|
118596
118579
|
exports._extend = function(origin, add) {
|
|
118597
118580
|
if (!add || !isObject2(add))
|
|
118598
118581
|
return origin;
|
|
118599
|
-
var
|
|
118600
|
-
var i3 =
|
|
118582
|
+
var keys3 = Object.keys(add);
|
|
118583
|
+
var i3 = keys3.length;
|
|
118601
118584
|
while (i3--) {
|
|
118602
|
-
origin[
|
|
118585
|
+
origin[keys3[i3]] = add[keys3[i3]];
|
|
118603
118586
|
}
|
|
118604
118587
|
return origin;
|
|
118605
118588
|
};
|
|
@@ -118856,8 +118839,8 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
|
118856
118839
|
}
|
|
118857
118840
|
if (typeof obj === "function" && !isRegExp(obj)) {
|
|
118858
118841
|
var name = nameOf(obj);
|
|
118859
|
-
var
|
|
118860
|
-
return "[Function" + (name ? ": " + name : " (anonymous)") + "]" + (
|
|
118842
|
+
var keys3 = arrObjKeys(obj, inspect2);
|
|
118843
|
+
return "[Function" + (name ? ": " + name : " (anonymous)") + "]" + (keys3.length > 0 ? " { " + $join.call(keys3, ", ") + " }" : "");
|
|
118861
118844
|
}
|
|
118862
118845
|
if (isSymbol$1(obj)) {
|
|
118863
118846
|
var symString = hasShammedSymbols ? $replace$1.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, "$1") : symToString.call(obj);
|
|
@@ -119343,19 +119326,19 @@ var implementation$4 = function assign(target, source1) {
|
|
|
119343
119326
|
}
|
|
119344
119327
|
for (var s3 = 1; s3 < arguments.length; ++s3) {
|
|
119345
119328
|
var from = toObject(arguments[s3]);
|
|
119346
|
-
var
|
|
119329
|
+
var keys3 = objectKeys(from);
|
|
119347
119330
|
var getSymbols = hasSymbols$3 && (Object.getOwnPropertySymbols || originalGetSymbols);
|
|
119348
119331
|
if (getSymbols) {
|
|
119349
119332
|
var syms = getSymbols(from);
|
|
119350
119333
|
for (var j = 0; j < syms.length; ++j) {
|
|
119351
119334
|
var key = syms[j];
|
|
119352
119335
|
if ($propIsEnumerable(from, key)) {
|
|
119353
|
-
$push(
|
|
119336
|
+
$push(keys3, key);
|
|
119354
119337
|
}
|
|
119355
119338
|
}
|
|
119356
119339
|
}
|
|
119357
|
-
for (var i3 = 0; i3 <
|
|
119358
|
-
var nextKey =
|
|
119340
|
+
for (var i3 = 0; i3 < keys3.length; ++i3) {
|
|
119341
|
+
var nextKey = keys3[i3];
|
|
119359
119342
|
if ($propIsEnumerable(from, nextKey)) {
|
|
119360
119343
|
var propValue = from[nextKey];
|
|
119361
119344
|
to[nextKey] = propValue;
|
|
@@ -119849,9 +119832,9 @@ var elementRoleMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
119849
119832
|
return arr2;
|
|
119850
119833
|
}
|
|
119851
119834
|
var elementRoles = [];
|
|
119852
|
-
var
|
|
119853
|
-
for (var i3 = 0; i3 <
|
|
119854
|
-
var key =
|
|
119835
|
+
var keys3 = _rolesMap.default.keys();
|
|
119836
|
+
for (var i3 = 0; i3 < keys3.length; i3++) {
|
|
119837
|
+
var key = keys3[i3];
|
|
119855
119838
|
var role = _rolesMap.default.get(key);
|
|
119856
119839
|
if (role) {
|
|
119857
119840
|
var concepts = [].concat(role.baseConcepts, role.relatedConcepts);
|
|
@@ -119915,7 +119898,7 @@ var elementRoleMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
119915
119898
|
has: function has(key2) {
|
|
119916
119899
|
return !!elementRoleMap.get(key2);
|
|
119917
119900
|
},
|
|
119918
|
-
keys: function
|
|
119901
|
+
keys: function keys4() {
|
|
119919
119902
|
return elementRoles.map(function(_ref) {
|
|
119920
119903
|
var _ref2 = _slicedToArray(_ref, 1), key2 = _ref2[0];
|
|
119921
119904
|
return key2;
|
|
@@ -120041,9 +120024,9 @@ var roleElementMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
120041
120024
|
return arr2;
|
|
120042
120025
|
}
|
|
120043
120026
|
var roleElement = [];
|
|
120044
|
-
var
|
|
120027
|
+
var keys3 = _rolesMap.default.keys();
|
|
120045
120028
|
var _loop = function _loop2(i4) {
|
|
120046
|
-
var key =
|
|
120029
|
+
var key = keys3[i4];
|
|
120047
120030
|
var role = _rolesMap.default.get(key);
|
|
120048
120031
|
if (role) {
|
|
120049
120032
|
var concepts = [].concat(role.baseConcepts, role.relatedConcepts);
|
|
@@ -120068,7 +120051,7 @@ var roleElementMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
120068
120051
|
}
|
|
120069
120052
|
}
|
|
120070
120053
|
};
|
|
120071
|
-
for (var i3 = 0; i3 <
|
|
120054
|
+
for (var i3 = 0; i3 < keys3.length; i3++) {
|
|
120072
120055
|
_loop(i3);
|
|
120073
120056
|
}
|
|
120074
120057
|
var roleElementMap = {
|
|
@@ -120098,7 +120081,7 @@ var roleElementMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
120098
120081
|
has: function has(key) {
|
|
120099
120082
|
return !!roleElementMap.get(key);
|
|
120100
120083
|
},
|
|
120101
|
-
keys: function
|
|
120084
|
+
keys: function keys4() {
|
|
120102
120085
|
return roleElement.map(function(_ref) {
|
|
120103
120086
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
120104
120087
|
return key;
|
|
@@ -122831,7 +122814,7 @@ var AXObjectsMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
122831
122814
|
has: function has(key) {
|
|
122832
122815
|
return !!this.get(key);
|
|
122833
122816
|
},
|
|
122834
|
-
keys: function
|
|
122817
|
+
keys: function keys3() {
|
|
122835
122818
|
return AXObjects.map(function(_ref) {
|
|
122836
122819
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
122837
122820
|
return key;
|
|
@@ -123016,7 +122999,7 @@ var AXObjectElementMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
123016
122999
|
has: function has(key) {
|
|
123017
123000
|
return !!this.get(key);
|
|
123018
123001
|
},
|
|
123019
|
-
keys: function
|
|
123002
|
+
keys: function keys3() {
|
|
123020
123003
|
return AXObjectElements.map(function(_ref) {
|
|
123021
123004
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
123022
123005
|
return key;
|
|
@@ -123201,7 +123184,7 @@ var AXObjectRoleMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
123201
123184
|
has: function has(key) {
|
|
123202
123185
|
return !!this.get(key);
|
|
123203
123186
|
},
|
|
123204
|
-
keys: function
|
|
123187
|
+
keys: function keys3() {
|
|
123205
123188
|
return AXObjectRoleElements.map(function(_ref) {
|
|
123206
123189
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
123207
123190
|
return key;
|
|
@@ -123402,7 +123385,7 @@ var elementAXObjectMap_1 = createCommonjsModule(function(module, exports) {
|
|
|
123402
123385
|
has: function has(key) {
|
|
123403
123386
|
return !!this.get(key);
|
|
123404
123387
|
},
|
|
123405
|
-
keys: function
|
|
123388
|
+
keys: function keys3() {
|
|
123406
123389
|
return elementAXObjects.map(function(_ref) {
|
|
123407
123390
|
var _ref2 = _slicedToArray(_ref, 1), key = _ref2[0];
|
|
123408
123391
|
return key;
|
|
@@ -125633,8 +125616,8 @@ ${originalIndentation}`;
|
|
|
125633
125616
|
stack.pop();
|
|
125634
125617
|
return `[${res}]`;
|
|
125635
125618
|
}
|
|
125636
|
-
let
|
|
125637
|
-
const keyLength =
|
|
125619
|
+
let keys22 = Object.keys(value2);
|
|
125620
|
+
const keyLength = keys22.length;
|
|
125638
125621
|
if (keyLength === 0) {
|
|
125639
125622
|
return "{}";
|
|
125640
125623
|
}
|
|
@@ -125652,16 +125635,16 @@ ${indentation}`;
|
|
|
125652
125635
|
let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth);
|
|
125653
125636
|
if (isTypedArrayWithEntries(value2)) {
|
|
125654
125637
|
res += stringifyTypedArray(value2, join32, maximumBreadth);
|
|
125655
|
-
|
|
125638
|
+
keys22 = keys22.slice(value2.length);
|
|
125656
125639
|
maximumPropertiesToStringify -= value2.length;
|
|
125657
125640
|
separator = join32;
|
|
125658
125641
|
}
|
|
125659
125642
|
if (deterministic) {
|
|
125660
|
-
|
|
125643
|
+
keys22 = insertSort(keys22);
|
|
125661
125644
|
}
|
|
125662
125645
|
stack.push(value2);
|
|
125663
125646
|
for (let i22 = 0; i22 < maximumPropertiesToStringify; i22++) {
|
|
125664
|
-
const key2 =
|
|
125647
|
+
const key2 = keys22[i22];
|
|
125665
125648
|
const tmp = stringifyFnReplacer(key2, value2, stack, replacer, spacer, indentation);
|
|
125666
125649
|
if (tmp !== void 0) {
|
|
125667
125650
|
res += `${separator}"${strEscape(key2)}":${whitespace}${tmp}`;
|
|
@@ -125840,8 +125823,8 @@ ${originalIndentation}`;
|
|
|
125840
125823
|
stack.pop();
|
|
125841
125824
|
return `[${res2}]`;
|
|
125842
125825
|
}
|
|
125843
|
-
let
|
|
125844
|
-
const keyLength =
|
|
125826
|
+
let keys22 = Object.keys(value2);
|
|
125827
|
+
const keyLength = keys22.length;
|
|
125845
125828
|
if (keyLength === 0) {
|
|
125846
125829
|
return "{}";
|
|
125847
125830
|
}
|
|
@@ -125856,16 +125839,16 @@ ${indentation}`;
|
|
|
125856
125839
|
let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth);
|
|
125857
125840
|
if (isTypedArrayWithEntries(value2)) {
|
|
125858
125841
|
res += stringifyTypedArray(value2, join32, maximumBreadth);
|
|
125859
|
-
|
|
125842
|
+
keys22 = keys22.slice(value2.length);
|
|
125860
125843
|
maximumPropertiesToStringify -= value2.length;
|
|
125861
125844
|
separator = join32;
|
|
125862
125845
|
}
|
|
125863
125846
|
if (deterministic) {
|
|
125864
|
-
|
|
125847
|
+
keys22 = insertSort(keys22);
|
|
125865
125848
|
}
|
|
125866
125849
|
stack.push(value2);
|
|
125867
125850
|
for (let i22 = 0; i22 < maximumPropertiesToStringify; i22++) {
|
|
125868
|
-
const key2 =
|
|
125851
|
+
const key2 = keys22[i22];
|
|
125869
125852
|
const tmp = stringifyIndent(key2, value2[key2], stack, spacer, indentation);
|
|
125870
125853
|
if (tmp !== void 0) {
|
|
125871
125854
|
res += `${separator}"${strEscape(key2)}": ${tmp}`;
|
|
@@ -125944,8 +125927,8 @@ ${originalIndentation}`;
|
|
|
125944
125927
|
stack.pop();
|
|
125945
125928
|
return `[${res}]`;
|
|
125946
125929
|
}
|
|
125947
|
-
let
|
|
125948
|
-
const keyLength =
|
|
125930
|
+
let keys22 = Object.keys(value2);
|
|
125931
|
+
const keyLength = keys22.length;
|
|
125949
125932
|
if (keyLength === 0) {
|
|
125950
125933
|
return "{}";
|
|
125951
125934
|
}
|
|
@@ -125956,16 +125939,16 @@ ${originalIndentation}`;
|
|
|
125956
125939
|
let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth);
|
|
125957
125940
|
if (isTypedArrayWithEntries(value2)) {
|
|
125958
125941
|
res += stringifyTypedArray(value2, ",", maximumBreadth);
|
|
125959
|
-
|
|
125942
|
+
keys22 = keys22.slice(value2.length);
|
|
125960
125943
|
maximumPropertiesToStringify -= value2.length;
|
|
125961
125944
|
separator = ",";
|
|
125962
125945
|
}
|
|
125963
125946
|
if (deterministic) {
|
|
125964
|
-
|
|
125947
|
+
keys22 = insertSort(keys22);
|
|
125965
125948
|
}
|
|
125966
125949
|
stack.push(value2);
|
|
125967
125950
|
for (let i22 = 0; i22 < maximumPropertiesToStringify; i22++) {
|
|
125968
|
-
const key2 =
|
|
125951
|
+
const key2 = keys22[i22];
|
|
125969
125952
|
const tmp = stringifySimple(key2, value2[key2], stack);
|
|
125970
125953
|
if (tmp !== void 0) {
|
|
125971
125954
|
res += `${separator}"${strEscape(key2)}":${tmp}`;
|
|
@@ -128583,9 +128566,9 @@ var require_micromatch = __commonJS3({
|
|
|
128583
128566
|
if (!utils.isObject(obj)) {
|
|
128584
128567
|
throw new TypeError("Expected the first argument to be an object");
|
|
128585
128568
|
}
|
|
128586
|
-
let
|
|
128569
|
+
let keys22 = micromatch2(Object.keys(obj), patterns, options);
|
|
128587
128570
|
let res = {};
|
|
128588
|
-
for (let key of
|
|
128571
|
+
for (let key of keys22)
|
|
128589
128572
|
res[key] = obj[key];
|
|
128590
128573
|
return res;
|
|
128591
128574
|
};
|
|
@@ -128835,16 +128818,16 @@ var require_GraphQLError2 = __commonJS3({
|
|
|
128835
128818
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
128836
128819
|
}
|
|
128837
128820
|
function ownKeys(object, enumerableOnly) {
|
|
128838
|
-
var
|
|
128821
|
+
var keys22 = Object.keys(object);
|
|
128839
128822
|
if (Object.getOwnPropertySymbols) {
|
|
128840
128823
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
128841
128824
|
if (enumerableOnly)
|
|
128842
128825
|
symbols = symbols.filter(function(sym) {
|
|
128843
128826
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
128844
128827
|
});
|
|
128845
|
-
|
|
128828
|
+
keys22.push.apply(keys22, symbols);
|
|
128846
128829
|
}
|
|
128847
|
-
return
|
|
128830
|
+
return keys22;
|
|
128848
128831
|
}
|
|
128849
128832
|
function _objectSpread(target) {
|
|
128850
128833
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -129081,7 +129064,7 @@ var require_GraphQLError2 = __commonJS3({
|
|
|
129081
129064
|
}
|
|
129082
129065
|
_createClass(GraphQLError5, [{
|
|
129083
129066
|
key: "toString",
|
|
129084
|
-
value: function
|
|
129067
|
+
value: function toString22() {
|
|
129085
129068
|
return printError(this);
|
|
129086
129069
|
}
|
|
129087
129070
|
}, {
|
|
@@ -129387,14 +129370,14 @@ var require_inspect2 = __commonJS3({
|
|
|
129387
129370
|
return formatObject2(value2, seenValues);
|
|
129388
129371
|
}
|
|
129389
129372
|
function formatObject2(object, seenValues) {
|
|
129390
|
-
var
|
|
129391
|
-
if (
|
|
129373
|
+
var keys22 = Object.keys(object);
|
|
129374
|
+
if (keys22.length === 0) {
|
|
129392
129375
|
return "{}";
|
|
129393
129376
|
}
|
|
129394
129377
|
if (seenValues.length > MAX_RECURSIVE_DEPTH2) {
|
|
129395
129378
|
return "[" + getObjectTag2(object) + "]";
|
|
129396
129379
|
}
|
|
129397
|
-
var properties =
|
|
129380
|
+
var properties = keys22.map(function(key) {
|
|
129398
129381
|
var value2 = formatValue2(object[key], seenValues);
|
|
129399
129382
|
return key + ": " + value2;
|
|
129400
129383
|
});
|
|
@@ -130976,7 +130959,7 @@ var require_visitor2 = __commonJS3({
|
|
|
130976
130959
|
Object.defineProperty(exports, "__esModule", {
|
|
130977
130960
|
value: true
|
|
130978
130961
|
});
|
|
130979
|
-
exports.visit =
|
|
130962
|
+
exports.visit = visit13;
|
|
130980
130963
|
exports.visitInParallel = visitInParallel;
|
|
130981
130964
|
exports.getVisitFn = getVisitFn;
|
|
130982
130965
|
exports.BREAK = exports.QueryDocumentKeys = void 0;
|
|
@@ -131039,11 +131022,11 @@ var require_visitor2 = __commonJS3({
|
|
|
131039
131022
|
exports.QueryDocumentKeys = QueryDocumentKeys;
|
|
131040
131023
|
var BREAK = Object.freeze({});
|
|
131041
131024
|
exports.BREAK = BREAK;
|
|
131042
|
-
function
|
|
131025
|
+
function visit13(root, visitor) {
|
|
131043
131026
|
var visitorKeys = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : QueryDocumentKeys;
|
|
131044
131027
|
var stack = void 0;
|
|
131045
131028
|
var inArray = Array.isArray(root);
|
|
131046
|
-
var
|
|
131029
|
+
var keys22 = [root];
|
|
131047
131030
|
var index = -1;
|
|
131048
131031
|
var edits = [];
|
|
131049
131032
|
var node2 = void 0;
|
|
@@ -131054,7 +131037,7 @@ var require_visitor2 = __commonJS3({
|
|
|
131054
131037
|
var newRoot = root;
|
|
131055
131038
|
do {
|
|
131056
131039
|
index++;
|
|
131057
|
-
var isLeaving = index ===
|
|
131040
|
+
var isLeaving = index === keys22.length;
|
|
131058
131041
|
var isEdited = isLeaving && edits.length !== 0;
|
|
131059
131042
|
if (isLeaving) {
|
|
131060
131043
|
key = ancestors.length === 0 ? void 0 : path22[path22.length - 1];
|
|
@@ -131087,12 +131070,12 @@ var require_visitor2 = __commonJS3({
|
|
|
131087
131070
|
}
|
|
131088
131071
|
}
|
|
131089
131072
|
index = stack.index;
|
|
131090
|
-
|
|
131073
|
+
keys22 = stack.keys;
|
|
131091
131074
|
edits = stack.edits;
|
|
131092
131075
|
inArray = stack.inArray;
|
|
131093
131076
|
stack = stack.prev;
|
|
131094
131077
|
} else {
|
|
131095
|
-
key = parent ? inArray ? index :
|
|
131078
|
+
key = parent ? inArray ? index : keys22[index] : void 0;
|
|
131096
131079
|
node2 = parent ? parent[key] : newRoot;
|
|
131097
131080
|
if (node2 === null || node2 === void 0) {
|
|
131098
131081
|
continue;
|
|
@@ -131140,12 +131123,12 @@ var require_visitor2 = __commonJS3({
|
|
|
131140
131123
|
stack = {
|
|
131141
131124
|
inArray,
|
|
131142
131125
|
index,
|
|
131143
|
-
keys:
|
|
131126
|
+
keys: keys22,
|
|
131144
131127
|
edits,
|
|
131145
131128
|
prev: stack
|
|
131146
131129
|
};
|
|
131147
131130
|
inArray = Array.isArray(node2);
|
|
131148
|
-
|
|
131131
|
+
keys22 = inArray ? node2 : (_visitorKeys$node$kin = visitorKeys[node2.kind]) !== null && _visitorKeys$node$kin !== void 0 ? _visitorKeys$node$kin : [];
|
|
131149
131132
|
index = -1;
|
|
131150
131133
|
edits = [];
|
|
131151
131134
|
if (parent) {
|
|
@@ -132096,7 +132079,7 @@ var require_definition2 = __commonJS3({
|
|
|
132096
132079
|
return new GraphQLList6(ofType);
|
|
132097
132080
|
}
|
|
132098
132081
|
}
|
|
132099
|
-
GraphQLList6.prototype.toString = function
|
|
132082
|
+
GraphQLList6.prototype.toString = function toString22() {
|
|
132100
132083
|
return "[" + String(this.ofType) + "]";
|
|
132101
132084
|
};
|
|
132102
132085
|
GraphQLList6.prototype.toJSON = function toJSON() {
|
|
@@ -132115,7 +132098,7 @@ var require_definition2 = __commonJS3({
|
|
|
132115
132098
|
return new GraphQLNonNull6(ofType);
|
|
132116
132099
|
}
|
|
132117
132100
|
}
|
|
132118
|
-
GraphQLNonNull6.prototype.toString = function
|
|
132101
|
+
GraphQLNonNull6.prototype.toString = function toString22() {
|
|
132119
132102
|
return String(this.ofType) + "!";
|
|
132120
132103
|
};
|
|
132121
132104
|
GraphQLNonNull6.prototype.toJSON = function toJSON() {
|
|
@@ -132211,7 +132194,7 @@ var require_definition2 = __commonJS3({
|
|
|
132211
132194
|
extensionASTNodes: (_this$extensionASTNod = this.extensionASTNodes) !== null && _this$extensionASTNod !== void 0 ? _this$extensionASTNod : []
|
|
132212
132195
|
};
|
|
132213
132196
|
};
|
|
132214
|
-
_proto.toString = function
|
|
132197
|
+
_proto.toString = function toString22() {
|
|
132215
132198
|
return this.name;
|
|
132216
132199
|
};
|
|
132217
132200
|
_proto.toJSON = function toJSON() {
|
|
@@ -132265,7 +132248,7 @@ var require_definition2 = __commonJS3({
|
|
|
132265
132248
|
extensionASTNodes: this.extensionASTNodes || []
|
|
132266
132249
|
};
|
|
132267
132250
|
};
|
|
132268
|
-
_proto2.toString = function
|
|
132251
|
+
_proto2.toString = function toString22() {
|
|
132269
132252
|
return this.name;
|
|
132270
132253
|
};
|
|
132271
132254
|
_proto2.toJSON = function toJSON() {
|
|
@@ -132396,7 +132379,7 @@ var require_definition2 = __commonJS3({
|
|
|
132396
132379
|
extensionASTNodes: (_this$extensionASTNod2 = this.extensionASTNodes) !== null && _this$extensionASTNod2 !== void 0 ? _this$extensionASTNod2 : []
|
|
132397
132380
|
};
|
|
132398
132381
|
};
|
|
132399
|
-
_proto3.toString = function
|
|
132382
|
+
_proto3.toString = function toString22() {
|
|
132400
132383
|
return this.name;
|
|
132401
132384
|
};
|
|
132402
132385
|
_proto3.toJSON = function toJSON() {
|
|
@@ -132443,7 +132426,7 @@ var require_definition2 = __commonJS3({
|
|
|
132443
132426
|
extensionASTNodes: (_this$extensionASTNod3 = this.extensionASTNodes) !== null && _this$extensionASTNod3 !== void 0 ? _this$extensionASTNod3 : []
|
|
132444
132427
|
};
|
|
132445
132428
|
};
|
|
132446
|
-
_proto4.toString = function
|
|
132429
|
+
_proto4.toString = function toString22() {
|
|
132447
132430
|
return this.name;
|
|
132448
132431
|
};
|
|
132449
132432
|
_proto4.toJSON = function toJSON() {
|
|
@@ -132487,7 +132470,7 @@ var require_definition2 = __commonJS3({
|
|
|
132487
132470
|
_proto5.getValue = function getValue(name) {
|
|
132488
132471
|
return this._nameLookup[name];
|
|
132489
132472
|
};
|
|
132490
|
-
_proto5.serialize = function
|
|
132473
|
+
_proto5.serialize = function serialize2(outputValue) {
|
|
132491
132474
|
var enumValue = this._valueLookup.get(outputValue);
|
|
132492
132475
|
if (enumValue === void 0) {
|
|
132493
132476
|
throw new _GraphQLError.GraphQLError('Enum "'.concat(this.name, '" cannot represent value: ').concat((0, _inspect.default)(outputValue)));
|
|
@@ -132539,7 +132522,7 @@ var require_definition2 = __commonJS3({
|
|
|
132539
132522
|
extensionASTNodes: (_this$extensionASTNod4 = this.extensionASTNodes) !== null && _this$extensionASTNod4 !== void 0 ? _this$extensionASTNod4 : []
|
|
132540
132523
|
};
|
|
132541
132524
|
};
|
|
132542
|
-
_proto5.toString = function
|
|
132525
|
+
_proto5.toString = function toString22() {
|
|
132543
132526
|
return this.name;
|
|
132544
132527
|
};
|
|
132545
132528
|
_proto5.toJSON = function toJSON() {
|
|
@@ -132617,7 +132600,7 @@ var require_definition2 = __commonJS3({
|
|
|
132617
132600
|
extensionASTNodes: (_this$extensionASTNod5 = this.extensionASTNodes) !== null && _this$extensionASTNod5 !== void 0 ? _this$extensionASTNod5 : []
|
|
132618
132601
|
};
|
|
132619
132602
|
};
|
|
132620
|
-
_proto6.toString = function
|
|
132603
|
+
_proto6.toString = function toString22() {
|
|
132621
132604
|
return this.name;
|
|
132622
132605
|
};
|
|
132623
132606
|
_proto6.toJSON = function toJSON() {
|
|
@@ -133853,7 +133836,7 @@ var require_directives2 = __commonJS3({
|
|
|
133853
133836
|
astNode: this.astNode
|
|
133854
133837
|
};
|
|
133855
133838
|
};
|
|
133856
|
-
_proto.toString = function
|
|
133839
|
+
_proto.toString = function toString22() {
|
|
133857
133840
|
return "@" + this.name;
|
|
133858
133841
|
};
|
|
133859
133842
|
_proto.toJSON = function toJSON() {
|
|
@@ -135740,16 +135723,16 @@ var require_KnownArgumentNamesRule2 = __commonJS3({
|
|
|
135740
135723
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
135741
135724
|
}
|
|
135742
135725
|
function ownKeys(object, enumerableOnly) {
|
|
135743
|
-
var
|
|
135726
|
+
var keys22 = Object.keys(object);
|
|
135744
135727
|
if (Object.getOwnPropertySymbols) {
|
|
135745
135728
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
135746
135729
|
if (enumerableOnly)
|
|
135747
135730
|
symbols = symbols.filter(function(sym) {
|
|
135748
135731
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
135749
135732
|
});
|
|
135750
|
-
|
|
135733
|
+
keys22.push.apply(keys22, symbols);
|
|
135751
135734
|
}
|
|
135752
|
-
return
|
|
135735
|
+
return keys22;
|
|
135753
135736
|
}
|
|
135754
135737
|
function _objectSpread(target) {
|
|
135755
135738
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -135990,16 +135973,16 @@ var require_ProvidedRequiredArgumentsRule2 = __commonJS3({
|
|
|
135990
135973
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
135991
135974
|
}
|
|
135992
135975
|
function ownKeys(object, enumerableOnly) {
|
|
135993
|
-
var
|
|
135976
|
+
var keys22 = Object.keys(object);
|
|
135994
135977
|
if (Object.getOwnPropertySymbols) {
|
|
135995
135978
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
135996
135979
|
if (enumerableOnly)
|
|
135997
135980
|
symbols = symbols.filter(function(sym) {
|
|
135998
135981
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
135999
135982
|
});
|
|
136000
|
-
|
|
135983
|
+
keys22.push.apply(keys22, symbols);
|
|
136001
135984
|
}
|
|
136002
|
-
return
|
|
135985
|
+
return keys22;
|
|
136003
135986
|
}
|
|
136004
135987
|
function _objectSpread(target) {
|
|
136005
135988
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -137225,13 +137208,13 @@ var require_promiseForObject2 = __commonJS3({
|
|
|
137225
137208
|
});
|
|
137226
137209
|
exports.default = promiseForObject;
|
|
137227
137210
|
function promiseForObject(object) {
|
|
137228
|
-
var
|
|
137229
|
-
var valuesAndPromises =
|
|
137211
|
+
var keys22 = Object.keys(object);
|
|
137212
|
+
var valuesAndPromises = keys22.map(function(name) {
|
|
137230
137213
|
return object[name];
|
|
137231
137214
|
});
|
|
137232
137215
|
return Promise.all(valuesAndPromises).then(function(values) {
|
|
137233
137216
|
return values.reduce(function(resolvedObject, value2, i22) {
|
|
137234
|
-
resolvedObject[
|
|
137217
|
+
resolvedObject[keys22[i22]] = value2;
|
|
137235
137218
|
return resolvedObject;
|
|
137236
137219
|
}, /* @__PURE__ */ Object.create(null));
|
|
137237
137220
|
});
|
|
@@ -139641,16 +139624,16 @@ var require_getIntrospectionQuery2 = __commonJS3({
|
|
|
139641
139624
|
});
|
|
139642
139625
|
exports.getIntrospectionQuery = getIntrospectionQuery2;
|
|
139643
139626
|
function ownKeys(object, enumerableOnly) {
|
|
139644
|
-
var
|
|
139627
|
+
var keys22 = Object.keys(object);
|
|
139645
139628
|
if (Object.getOwnPropertySymbols) {
|
|
139646
139629
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
139647
139630
|
if (enumerableOnly)
|
|
139648
139631
|
symbols = symbols.filter(function(sym) {
|
|
139649
139632
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
139650
139633
|
});
|
|
139651
|
-
|
|
139634
|
+
keys22.push.apply(keys22, symbols);
|
|
139652
139635
|
}
|
|
139653
|
-
return
|
|
139636
|
+
return keys22;
|
|
139654
139637
|
}
|
|
139655
139638
|
function _objectSpread(target) {
|
|
139656
139639
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -139739,16 +139722,16 @@ var require_introspectionFromSchema2 = __commonJS3({
|
|
|
139739
139722
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
139740
139723
|
}
|
|
139741
139724
|
function ownKeys(object, enumerableOnly) {
|
|
139742
|
-
var
|
|
139725
|
+
var keys22 = Object.keys(object);
|
|
139743
139726
|
if (Object.getOwnPropertySymbols) {
|
|
139744
139727
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
139745
139728
|
if (enumerableOnly)
|
|
139746
139729
|
symbols = symbols.filter(function(sym) {
|
|
139747
139730
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
139748
139731
|
});
|
|
139749
|
-
|
|
139732
|
+
keys22.push.apply(keys22, symbols);
|
|
139750
139733
|
}
|
|
139751
|
-
return
|
|
139734
|
+
return keys22;
|
|
139752
139735
|
}
|
|
139753
139736
|
function _objectSpread(target) {
|
|
139754
139737
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -140076,16 +140059,16 @@ var require_extendSchema2 = __commonJS3({
|
|
|
140076
140059
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
140077
140060
|
}
|
|
140078
140061
|
function ownKeys(object, enumerableOnly) {
|
|
140079
|
-
var
|
|
140062
|
+
var keys22 = Object.keys(object);
|
|
140080
140063
|
if (Object.getOwnPropertySymbols) {
|
|
140081
140064
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
140082
140065
|
if (enumerableOnly)
|
|
140083
140066
|
symbols = symbols.filter(function(sym) {
|
|
140084
140067
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
140085
140068
|
});
|
|
140086
|
-
|
|
140069
|
+
keys22.push.apply(keys22, symbols);
|
|
140087
140070
|
}
|
|
140088
|
-
return
|
|
140071
|
+
return keys22;
|
|
140089
140072
|
}
|
|
140090
140073
|
function _objectSpread(target) {
|
|
140091
140074
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -140672,16 +140655,16 @@ var require_lexicographicSortSchema2 = __commonJS3({
|
|
|
140672
140655
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
140673
140656
|
}
|
|
140674
140657
|
function ownKeys(object, enumerableOnly) {
|
|
140675
|
-
var
|
|
140658
|
+
var keys22 = Object.keys(object);
|
|
140676
140659
|
if (Object.getOwnPropertySymbols) {
|
|
140677
140660
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
140678
140661
|
if (enumerableOnly)
|
|
140679
140662
|
symbols = symbols.filter(function(sym) {
|
|
140680
140663
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
140681
140664
|
});
|
|
140682
|
-
|
|
140665
|
+
keys22.push.apply(keys22, symbols);
|
|
140683
140666
|
}
|
|
140684
|
-
return
|
|
140667
|
+
return keys22;
|
|
140685
140668
|
}
|
|
140686
140669
|
function _objectSpread(target) {
|
|
140687
140670
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -141212,16 +141195,16 @@ var require_findBreakingChanges2 = __commonJS3({
|
|
|
141212
141195
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
141213
141196
|
}
|
|
141214
141197
|
function ownKeys(object, enumerableOnly) {
|
|
141215
|
-
var
|
|
141198
|
+
var keys22 = Object.keys(object);
|
|
141216
141199
|
if (Object.getOwnPropertySymbols) {
|
|
141217
141200
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
141218
141201
|
if (enumerableOnly)
|
|
141219
141202
|
symbols = symbols.filter(function(sym) {
|
|
141220
141203
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
141221
141204
|
});
|
|
141222
|
-
|
|
141205
|
+
keys22.push.apply(keys22, symbols);
|
|
141223
141206
|
}
|
|
141224
|
-
return
|
|
141207
|
+
return keys22;
|
|
141225
141208
|
}
|
|
141226
141209
|
function _objectSpread(target) {
|
|
141227
141210
|
for (var i22 = 1; i22 < arguments.length; i22++) {
|
|
@@ -143443,9 +143426,9 @@ var require_legacy_streams2 = __commonJS3({
|
|
|
143443
143426
|
this.mode = 438;
|
|
143444
143427
|
this.bufferSize = 64 * 1024;
|
|
143445
143428
|
options = options || {};
|
|
143446
|
-
var
|
|
143447
|
-
for (var index = 0, length =
|
|
143448
|
-
var key =
|
|
143429
|
+
var keys22 = Object.keys(options);
|
|
143430
|
+
for (var index = 0, length = keys22.length; index < length; index++) {
|
|
143431
|
+
var key = keys22[index];
|
|
143449
143432
|
this[key] = options[key];
|
|
143450
143433
|
}
|
|
143451
143434
|
if (this.encoding)
|
|
@@ -143493,9 +143476,9 @@ var require_legacy_streams2 = __commonJS3({
|
|
|
143493
143476
|
this.mode = 438;
|
|
143494
143477
|
this.bytesWritten = 0;
|
|
143495
143478
|
options = options || {};
|
|
143496
|
-
var
|
|
143497
|
-
for (var index = 0, length =
|
|
143498
|
-
var key =
|
|
143479
|
+
var keys22 = Object.keys(options);
|
|
143480
|
+
for (var index = 0, length = keys22.length; index < length; index++) {
|
|
143481
|
+
var key = keys22[index];
|
|
143499
143482
|
this[key] = options[key];
|
|
143500
143483
|
}
|
|
143501
143484
|
if (this.start !== void 0) {
|
|
@@ -146628,10 +146611,10 @@ var require_glob2 = __commonJS3({
|
|
|
146628
146611
|
if (add === null || typeof add !== "object") {
|
|
146629
146612
|
return origin;
|
|
146630
146613
|
}
|
|
146631
|
-
var
|
|
146632
|
-
var i22 =
|
|
146614
|
+
var keys22 = Object.keys(add);
|
|
146615
|
+
var i22 = keys22.length;
|
|
146633
146616
|
while (i22--) {
|
|
146634
|
-
origin[
|
|
146617
|
+
origin[keys22[i22]] = add[keys22[i22]];
|
|
146635
146618
|
}
|
|
146636
146619
|
return origin;
|
|
146637
146620
|
}
|
|
@@ -155024,12 +155007,12 @@ var require_lib32 = __commonJS3({
|
|
|
155024
155007
|
SyntaxError: "BABEL_PARSER_SYNTAX_ERROR",
|
|
155025
155008
|
SourceTypeModuleError: "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"
|
|
155026
155009
|
};
|
|
155027
|
-
var reflect = (
|
|
155010
|
+
var reflect = (keys22, last = keys22.length - 1) => ({
|
|
155028
155011
|
get() {
|
|
155029
|
-
return
|
|
155012
|
+
return keys22.reduce((object, key) => object[key], this);
|
|
155030
155013
|
},
|
|
155031
155014
|
set(value2) {
|
|
155032
|
-
|
|
155015
|
+
keys22.reduce(
|
|
155033
155016
|
(item, key, i22) => i22 === last ? item[key] = value2 : item[key],
|
|
155034
155017
|
this
|
|
155035
155018
|
);
|
|
@@ -156962,9 +156945,9 @@ var require_lib32 = __commonJS3({
|
|
|
156962
156945
|
}
|
|
156963
156946
|
clone(skipArrays) {
|
|
156964
156947
|
const state = new State();
|
|
156965
|
-
const
|
|
156966
|
-
for (let i22 = 0, length =
|
|
156967
|
-
const key =
|
|
156948
|
+
const keys22 = Object.keys(this);
|
|
156949
|
+
for (let i22 = 0, length = keys22.length; i22 < length; i22++) {
|
|
156950
|
+
const key = keys22[i22];
|
|
156968
156951
|
let val = this[key];
|
|
156969
156952
|
if (!skipArrays && Array.isArray(val)) {
|
|
156970
156953
|
val = val.slice();
|
|
@@ -158869,9 +158852,9 @@ var require_lib32 = __commonJS3({
|
|
|
158869
158852
|
{
|
|
158870
158853
|
NodePrototype.__clone = function() {
|
|
158871
158854
|
const newNode = new Node3(void 0, this.start, this.loc.start);
|
|
158872
|
-
const
|
|
158873
|
-
for (let i22 = 0, length =
|
|
158874
|
-
const key =
|
|
158855
|
+
const keys22 = Object.keys(this);
|
|
158856
|
+
for (let i22 = 0, length = keys22.length; i22 < length; i22++) {
|
|
158857
|
+
const key = keys22[i22];
|
|
158875
158858
|
if (key !== "leadingComments" && key !== "trailingComments" && key !== "innerComments") {
|
|
158876
158859
|
newNode[key] = this[key];
|
|
158877
158860
|
}
|
|
@@ -169510,107 +169493,6 @@ var require_lib32 = __commonJS3({
|
|
|
169510
169493
|
exports.tokTypes = tokTypes;
|
|
169511
169494
|
}
|
|
169512
169495
|
});
|
|
169513
|
-
var require_cjs2 = __commonJS3({
|
|
169514
|
-
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
|
|
169515
|
-
"use strict";
|
|
169516
|
-
var isMergeableObject = function isMergeableObject2(value2) {
|
|
169517
|
-
return isNonNullObject(value2) && !isSpecial(value2);
|
|
169518
|
-
};
|
|
169519
|
-
function isNonNullObject(value2) {
|
|
169520
|
-
return !!value2 && typeof value2 === "object";
|
|
169521
|
-
}
|
|
169522
|
-
function isSpecial(value2) {
|
|
169523
|
-
var stringValue = Object.prototype.toString.call(value2);
|
|
169524
|
-
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
169525
|
-
}
|
|
169526
|
-
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
169527
|
-
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
169528
|
-
function isReactElement(value2) {
|
|
169529
|
-
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
169530
|
-
}
|
|
169531
|
-
function emptyTarget(val) {
|
|
169532
|
-
return Array.isArray(val) ? [] : {};
|
|
169533
|
-
}
|
|
169534
|
-
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
169535
|
-
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
169536
|
-
}
|
|
169537
|
-
function defaultArrayMerge(target, source, options) {
|
|
169538
|
-
return target.concat(source).map(function(element) {
|
|
169539
|
-
return cloneUnlessOtherwiseSpecified(element, options);
|
|
169540
|
-
});
|
|
169541
|
-
}
|
|
169542
|
-
function getMergeFunction(key, options) {
|
|
169543
|
-
if (!options.customMerge) {
|
|
169544
|
-
return deepmerge;
|
|
169545
|
-
}
|
|
169546
|
-
var customMerge = options.customMerge(key);
|
|
169547
|
-
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
169548
|
-
}
|
|
169549
|
-
function getEnumerableOwnPropertySymbols(target) {
|
|
169550
|
-
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
169551
|
-
return target.propertyIsEnumerable(symbol);
|
|
169552
|
-
}) : [];
|
|
169553
|
-
}
|
|
169554
|
-
function getKeys(target) {
|
|
169555
|
-
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
169556
|
-
}
|
|
169557
|
-
function propertyIsOnObject(object, property) {
|
|
169558
|
-
try {
|
|
169559
|
-
return property in object;
|
|
169560
|
-
} catch (_) {
|
|
169561
|
-
return false;
|
|
169562
|
-
}
|
|
169563
|
-
}
|
|
169564
|
-
function propertyIsUnsafe(target, key) {
|
|
169565
|
-
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
169566
|
-
}
|
|
169567
|
-
function mergeObject(target, source, options) {
|
|
169568
|
-
var destination = {};
|
|
169569
|
-
if (options.isMergeableObject(target)) {
|
|
169570
|
-
getKeys(target).forEach(function(key) {
|
|
169571
|
-
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
169572
|
-
});
|
|
169573
|
-
}
|
|
169574
|
-
getKeys(source).forEach(function(key) {
|
|
169575
|
-
if (propertyIsUnsafe(target, key)) {
|
|
169576
|
-
return;
|
|
169577
|
-
}
|
|
169578
|
-
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
169579
|
-
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
169580
|
-
} else {
|
|
169581
|
-
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
169582
|
-
}
|
|
169583
|
-
});
|
|
169584
|
-
return destination;
|
|
169585
|
-
}
|
|
169586
|
-
function deepmerge(target, source, options) {
|
|
169587
|
-
options = options || {};
|
|
169588
|
-
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
169589
|
-
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
169590
|
-
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
169591
|
-
var sourceIsArray = Array.isArray(source);
|
|
169592
|
-
var targetIsArray = Array.isArray(target);
|
|
169593
|
-
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
169594
|
-
if (!sourceAndTargetTypesMatch) {
|
|
169595
|
-
return cloneUnlessOtherwiseSpecified(source, options);
|
|
169596
|
-
} else if (sourceIsArray) {
|
|
169597
|
-
return options.arrayMerge(target, source, options);
|
|
169598
|
-
} else {
|
|
169599
|
-
return mergeObject(target, source, options);
|
|
169600
|
-
}
|
|
169601
|
-
}
|
|
169602
|
-
deepmerge.all = function deepmergeAll(array, options) {
|
|
169603
|
-
if (!Array.isArray(array)) {
|
|
169604
|
-
throw new Error("first argument should be an array");
|
|
169605
|
-
}
|
|
169606
|
-
return array.reduce(function(prev, next) {
|
|
169607
|
-
return deepmerge(prev, next, options);
|
|
169608
|
-
}, {});
|
|
169609
|
-
};
|
|
169610
|
-
var deepmerge_1 = deepmerge;
|
|
169611
|
-
module.exports = deepmerge_1;
|
|
169612
|
-
}
|
|
169613
|
-
});
|
|
169614
169496
|
var require_tslib3 = __commonJS3({
|
|
169615
169497
|
"../../node_modules/.pnpm/tslib@2.5.0/node_modules/tslib/tslib.js"(exports, module) {
|
|
169616
169498
|
var __extends;
|
|
@@ -171867,7 +171749,7 @@ var require_path_visitor3 = __commonJS3({
|
|
|
171867
171749
|
}
|
|
171868
171750
|
return target;
|
|
171869
171751
|
}
|
|
171870
|
-
PathVisitor.visit = function
|
|
171752
|
+
PathVisitor.visit = function visit13(node2, methods) {
|
|
171871
171753
|
return PathVisitor.fromMethodsObject(methods).visit(node2);
|
|
171872
171754
|
};
|
|
171873
171755
|
var PVp = PathVisitor.prototype;
|
|
@@ -172058,7 +171940,7 @@ var require_path_visitor3 = __commonJS3({
|
|
|
172058
171940
|
this.needToCallTraverse = false;
|
|
172059
171941
|
return visitChildren(path22, PathVisitor.fromMethodsObject(newVisitor || this.visitor));
|
|
172060
171942
|
};
|
|
172061
|
-
sharedContextProtoMethods.visit = function
|
|
171943
|
+
sharedContextProtoMethods.visit = function visit13(path22, newVisitor) {
|
|
172062
171944
|
if (!(this instanceof this.Context)) {
|
|
172063
171945
|
throw new Error("");
|
|
172064
171946
|
}
|
|
@@ -173401,7 +173283,7 @@ var require_main5 = __commonJS3({
|
|
|
173401
173283
|
var someField = _a.someField;
|
|
173402
173284
|
var Type = _a.Type;
|
|
173403
173285
|
var use = _a.use;
|
|
173404
|
-
var
|
|
173286
|
+
var visit13 = _a.visit;
|
|
173405
173287
|
exports.astNodesAreEquivalent = astNodesAreEquivalent;
|
|
173406
173288
|
exports.builders = builders;
|
|
173407
173289
|
exports.builtInTypes = builtInTypes;
|
|
@@ -173418,7 +173300,7 @@ var require_main5 = __commonJS3({
|
|
|
173418
173300
|
exports.someField = someField;
|
|
173419
173301
|
exports.Type = Type;
|
|
173420
173302
|
exports.use = use;
|
|
173421
|
-
exports.visit =
|
|
173303
|
+
exports.visit = visit13;
|
|
173422
173304
|
Object.assign(namedTypes_1.namedTypes, n);
|
|
173423
173305
|
}
|
|
173424
173306
|
});
|
|
@@ -175182,10 +175064,10 @@ var require_util22 = __commonJS3({
|
|
|
175182
175064
|
var result = {};
|
|
175183
175065
|
var argc = args.length;
|
|
175184
175066
|
for (var i22 = 0; i22 < argc; ++i22) {
|
|
175185
|
-
var
|
|
175186
|
-
var keyCount =
|
|
175067
|
+
var keys22 = Object.keys(args[i22]);
|
|
175068
|
+
var keyCount = keys22.length;
|
|
175187
175069
|
for (var j = 0; j < keyCount; ++j) {
|
|
175188
|
-
result[
|
|
175070
|
+
result[keys22[j]] = true;
|
|
175189
175071
|
}
|
|
175190
175072
|
}
|
|
175191
175073
|
return result;
|
|
@@ -182831,10 +182713,10 @@ var require_parser22 = __commonJS3({
|
|
|
182831
182713
|
loc.indent = newIndent;
|
|
182832
182714
|
this.findTokenRange(loc);
|
|
182833
182715
|
}
|
|
182834
|
-
var
|
|
182835
|
-
var keyCount =
|
|
182716
|
+
var keys22 = Object.keys(node2);
|
|
182717
|
+
var keyCount = keys22.length;
|
|
182836
182718
|
for (var i22 = 0; i22 < keyCount; ++i22) {
|
|
182837
|
-
var key =
|
|
182719
|
+
var key = keys22[i22];
|
|
182838
182720
|
if (key === "loc") {
|
|
182839
182721
|
copy[key] = node2[key];
|
|
182840
182722
|
} else if (key === "tokens" && node2.type === "File") {
|
|
@@ -183589,13 +183471,13 @@ var require_patcher3 = __commonJS3({
|
|
|
183589
183471
|
if (newPath.needsParens() && !oldPath.hasParens()) {
|
|
183590
183472
|
return false;
|
|
183591
183473
|
}
|
|
183592
|
-
var
|
|
183474
|
+
var keys22 = (0, util_110.getUnionOfKeys)(oldNode, newNode);
|
|
183593
183475
|
if (oldNode.type === "File" || newNode.type === "File") {
|
|
183594
|
-
delete
|
|
183476
|
+
delete keys22.tokens;
|
|
183595
183477
|
}
|
|
183596
|
-
delete
|
|
183478
|
+
delete keys22.loc;
|
|
183597
183479
|
var originalReprintCount = reprints.length;
|
|
183598
|
-
for (var k in
|
|
183480
|
+
for (var k in keys22) {
|
|
183599
183481
|
if (k.charAt(0) === "_") {
|
|
183600
183482
|
continue;
|
|
183601
183483
|
}
|
|
@@ -185833,6 +185715,107 @@ var require_main22 = __commonJS3({
|
|
|
185833
185715
|
}
|
|
185834
185716
|
}
|
|
185835
185717
|
});
|
|
185718
|
+
var require_cjs2 = __commonJS3({
|
|
185719
|
+
"../../node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge/dist/cjs.js"(exports, module) {
|
|
185720
|
+
"use strict";
|
|
185721
|
+
var isMergeableObject = function isMergeableObject2(value2) {
|
|
185722
|
+
return isNonNullObject(value2) && !isSpecial(value2);
|
|
185723
|
+
};
|
|
185724
|
+
function isNonNullObject(value2) {
|
|
185725
|
+
return !!value2 && typeof value2 === "object";
|
|
185726
|
+
}
|
|
185727
|
+
function isSpecial(value2) {
|
|
185728
|
+
var stringValue = Object.prototype.toString.call(value2);
|
|
185729
|
+
return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value2);
|
|
185730
|
+
}
|
|
185731
|
+
var canUseSymbol = typeof Symbol === "function" && Symbol.for;
|
|
185732
|
+
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
|
|
185733
|
+
function isReactElement(value2) {
|
|
185734
|
+
return value2.$$typeof === REACT_ELEMENT_TYPE;
|
|
185735
|
+
}
|
|
185736
|
+
function emptyTarget(val) {
|
|
185737
|
+
return Array.isArray(val) ? [] : {};
|
|
185738
|
+
}
|
|
185739
|
+
function cloneUnlessOtherwiseSpecified(value2, options) {
|
|
185740
|
+
return options.clone !== false && options.isMergeableObject(value2) ? deepmerge(emptyTarget(value2), value2, options) : value2;
|
|
185741
|
+
}
|
|
185742
|
+
function defaultArrayMerge(target, source, options) {
|
|
185743
|
+
return target.concat(source).map(function(element) {
|
|
185744
|
+
return cloneUnlessOtherwiseSpecified(element, options);
|
|
185745
|
+
});
|
|
185746
|
+
}
|
|
185747
|
+
function getMergeFunction(key, options) {
|
|
185748
|
+
if (!options.customMerge) {
|
|
185749
|
+
return deepmerge;
|
|
185750
|
+
}
|
|
185751
|
+
var customMerge = options.customMerge(key);
|
|
185752
|
+
return typeof customMerge === "function" ? customMerge : deepmerge;
|
|
185753
|
+
}
|
|
185754
|
+
function getEnumerableOwnPropertySymbols(target) {
|
|
185755
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
|
|
185756
|
+
return target.propertyIsEnumerable(symbol);
|
|
185757
|
+
}) : [];
|
|
185758
|
+
}
|
|
185759
|
+
function getKeys(target) {
|
|
185760
|
+
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
185761
|
+
}
|
|
185762
|
+
function propertyIsOnObject(object, property) {
|
|
185763
|
+
try {
|
|
185764
|
+
return property in object;
|
|
185765
|
+
} catch (_) {
|
|
185766
|
+
return false;
|
|
185767
|
+
}
|
|
185768
|
+
}
|
|
185769
|
+
function propertyIsUnsafe(target, key) {
|
|
185770
|
+
return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
|
|
185771
|
+
}
|
|
185772
|
+
function mergeObject(target, source, options) {
|
|
185773
|
+
var destination = {};
|
|
185774
|
+
if (options.isMergeableObject(target)) {
|
|
185775
|
+
getKeys(target).forEach(function(key) {
|
|
185776
|
+
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
185777
|
+
});
|
|
185778
|
+
}
|
|
185779
|
+
getKeys(source).forEach(function(key) {
|
|
185780
|
+
if (propertyIsUnsafe(target, key)) {
|
|
185781
|
+
return;
|
|
185782
|
+
}
|
|
185783
|
+
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
185784
|
+
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
185785
|
+
} else {
|
|
185786
|
+
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
185787
|
+
}
|
|
185788
|
+
});
|
|
185789
|
+
return destination;
|
|
185790
|
+
}
|
|
185791
|
+
function deepmerge(target, source, options) {
|
|
185792
|
+
options = options || {};
|
|
185793
|
+
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
185794
|
+
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
185795
|
+
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
185796
|
+
var sourceIsArray = Array.isArray(source);
|
|
185797
|
+
var targetIsArray = Array.isArray(target);
|
|
185798
|
+
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
185799
|
+
if (!sourceAndTargetTypesMatch) {
|
|
185800
|
+
return cloneUnlessOtherwiseSpecified(source, options);
|
|
185801
|
+
} else if (sourceIsArray) {
|
|
185802
|
+
return options.arrayMerge(target, source, options);
|
|
185803
|
+
} else {
|
|
185804
|
+
return mergeObject(target, source, options);
|
|
185805
|
+
}
|
|
185806
|
+
}
|
|
185807
|
+
deepmerge.all = function deepmergeAll(array, options) {
|
|
185808
|
+
if (!Array.isArray(array)) {
|
|
185809
|
+
throw new Error("first argument should be an array");
|
|
185810
|
+
}
|
|
185811
|
+
return array.reduce(function(prev, next) {
|
|
185812
|
+
return deepmerge(prev, next, options);
|
|
185813
|
+
}, {});
|
|
185814
|
+
};
|
|
185815
|
+
var deepmerge_1 = deepmerge;
|
|
185816
|
+
module.exports = deepmerge_1;
|
|
185817
|
+
}
|
|
185818
|
+
});
|
|
185836
185819
|
var import_minimatch2 = __toESM3(require_minimatch2(), 1);
|
|
185837
185820
|
var config3 = {
|
|
185838
185821
|
reset: {
|
|
@@ -186035,14 +186018,14 @@ function hasMultilineItems2(maybeArray) {
|
|
|
186035
186018
|
function addDescription2(cb) {
|
|
186036
186019
|
return (node2, _key, _parent, path22, ancestors) => {
|
|
186037
186020
|
var _a;
|
|
186038
|
-
const
|
|
186021
|
+
const keys22 = [];
|
|
186039
186022
|
const parent = path22.reduce((prev, key2) => {
|
|
186040
186023
|
if (["fields", "arguments", "values"].includes(key2) && prev.name) {
|
|
186041
|
-
|
|
186024
|
+
keys22.push(prev.name.value);
|
|
186042
186025
|
}
|
|
186043
186026
|
return prev[key2];
|
|
186044
186027
|
}, ancestors[0]);
|
|
186045
|
-
const key = [...
|
|
186028
|
+
const key = [...keys22, (_a = parent === null || parent === void 0 ? void 0 : parent.name) === null || _a === void 0 ? void 0 : _a.value].filter(Boolean).join(".");
|
|
186046
186029
|
const items = [];
|
|
186047
186030
|
if (node2.kind.includes("Definition") && commentsRegistry2[key]) {
|
|
186048
186031
|
items.push(...commentsRegistry2[key]);
|
|
@@ -186394,9 +186377,9 @@ var DataSource2 = {
|
|
|
186394
186377
|
};
|
|
186395
186378
|
var fragmentKey2 = " $fragments";
|
|
186396
186379
|
var computeKey2 = ({ field, args }) => {
|
|
186397
|
-
const
|
|
186398
|
-
|
|
186399
|
-
return args &&
|
|
186380
|
+
const keys22 = Object.keys(args ?? {});
|
|
186381
|
+
keys22.sort();
|
|
186382
|
+
return args && keys22.length > 0 ? `${field}(${keys22.map((key) => `${key}: ${stringifyObjectWithNoQuotesOnKeys2(args[key])}`).join(", ")})` : field;
|
|
186400
186383
|
};
|
|
186401
186384
|
var stringifyObjectWithNoQuotesOnKeys2 = (obj_from_json) => {
|
|
186402
186385
|
if (Array.isArray(obj_from_json)) {
|
|
@@ -188927,7 +188910,8 @@ var CacheInternal2 = class {
|
|
|
188927
188910
|
parent = rootID2,
|
|
188928
188911
|
variables,
|
|
188929
188912
|
stepsFromConnection = null,
|
|
188930
|
-
ignoreMasking
|
|
188913
|
+
ignoreMasking,
|
|
188914
|
+
fullCheck = false
|
|
188931
188915
|
}) {
|
|
188932
188916
|
if (parent === null) {
|
|
188933
188917
|
return { data: null, partial: false, stale: false, hasData: true };
|
|
@@ -188952,11 +188936,28 @@ var CacheInternal2 = class {
|
|
|
188952
188936
|
let targetSelection = getFieldsForType2(selection, typename);
|
|
188953
188937
|
for (const [
|
|
188954
188938
|
attributeName,
|
|
188955
|
-
{ type, keyRaw, selection: fieldSelection, nullable, list, visible }
|
|
188939
|
+
{ type, keyRaw, selection: fieldSelection, nullable, list, visible, directives }
|
|
188956
188940
|
] of Object.entries(targetSelection)) {
|
|
188957
|
-
if (!visible && !ignoreMasking) {
|
|
188941
|
+
if (!visible && !ignoreMasking && !fullCheck) {
|
|
188958
188942
|
continue;
|
|
188959
188943
|
}
|
|
188944
|
+
const includeDirective = directives?.find((d) => {
|
|
188945
|
+
return d.name === "include";
|
|
188946
|
+
});
|
|
188947
|
+
if (includeDirective) {
|
|
188948
|
+
if (!evaluateFragmentVariables2(includeDirective.arguments, variables ?? {})["if"]) {
|
|
188949
|
+
continue;
|
|
188950
|
+
}
|
|
188951
|
+
}
|
|
188952
|
+
const skipDirective = directives?.find((d) => {
|
|
188953
|
+
return d.name === "skip";
|
|
188954
|
+
});
|
|
188955
|
+
if (skipDirective) {
|
|
188956
|
+
if (evaluateFragmentVariables2(skipDirective.arguments, variables ?? {})["if"]) {
|
|
188957
|
+
continue;
|
|
188958
|
+
}
|
|
188959
|
+
}
|
|
188960
|
+
const fieldTarget = visible || ignoreMasking ? target : {};
|
|
188960
188961
|
const key = evaluateKey2(keyRaw, variables);
|
|
188961
188962
|
const { value: value2 } = this.storage.get(parent, key);
|
|
188962
188963
|
const dt_field = this.staleManager.getFieldTime(parent, key);
|
|
@@ -188979,16 +188980,16 @@ var CacheInternal2 = class {
|
|
|
188979
188980
|
partial = true;
|
|
188980
188981
|
}
|
|
188981
188982
|
if (typeof value2 === "undefined" || value2 === null) {
|
|
188982
|
-
|
|
188983
|
+
fieldTarget[attributeName] = null;
|
|
188983
188984
|
if (typeof value2 !== "undefined") {
|
|
188984
188985
|
hasData = true;
|
|
188985
188986
|
}
|
|
188986
188987
|
} else if (!fieldSelection) {
|
|
188987
188988
|
const fnUnmarshal = this.config?.scalars?.[type]?.unmarshal;
|
|
188988
188989
|
if (fnUnmarshal) {
|
|
188989
|
-
|
|
188990
|
+
fieldTarget[attributeName] = fnUnmarshal(value2);
|
|
188990
188991
|
} else {
|
|
188991
|
-
|
|
188992
|
+
fieldTarget[attributeName] = value2;
|
|
188992
188993
|
}
|
|
188993
188994
|
hasData = true;
|
|
188994
188995
|
} else if (Array.isArray(value2)) {
|
|
@@ -188997,9 +188998,10 @@ var CacheInternal2 = class {
|
|
|
188997
188998
|
variables,
|
|
188998
188999
|
linkedList: value2,
|
|
188999
189000
|
stepsFromConnection: nextStep,
|
|
189000
|
-
ignoreMasking: !!ignoreMasking
|
|
189001
|
+
ignoreMasking: !!ignoreMasking,
|
|
189002
|
+
fullCheck
|
|
189001
189003
|
});
|
|
189002
|
-
|
|
189004
|
+
fieldTarget[attributeName] = listValue.data;
|
|
189003
189005
|
if (listValue.partial) {
|
|
189004
189006
|
partial = true;
|
|
189005
189007
|
}
|
|
@@ -189015,9 +189017,10 @@ var CacheInternal2 = class {
|
|
|
189015
189017
|
selection: fieldSelection,
|
|
189016
189018
|
variables,
|
|
189017
189019
|
stepsFromConnection: nextStep,
|
|
189018
|
-
ignoreMasking
|
|
189020
|
+
ignoreMasking,
|
|
189021
|
+
fullCheck
|
|
189019
189022
|
});
|
|
189020
|
-
|
|
189023
|
+
fieldTarget[attributeName] = objectFields.data;
|
|
189021
189024
|
if (objectFields.partial) {
|
|
189022
189025
|
partial = true;
|
|
189023
189026
|
}
|
|
@@ -189028,7 +189031,7 @@ var CacheInternal2 = class {
|
|
|
189028
189031
|
hasData = true;
|
|
189029
189032
|
}
|
|
189030
189033
|
}
|
|
189031
|
-
if (
|
|
189034
|
+
if (fieldTarget[attributeName] === null && !nullable && !embeddedCursor) {
|
|
189032
189035
|
cascadeNull = true;
|
|
189033
189036
|
}
|
|
189034
189037
|
}
|
|
@@ -189060,7 +189063,8 @@ var CacheInternal2 = class {
|
|
|
189060
189063
|
variables,
|
|
189061
189064
|
linkedList,
|
|
189062
189065
|
stepsFromConnection,
|
|
189063
|
-
ignoreMasking
|
|
189066
|
+
ignoreMasking,
|
|
189067
|
+
fullCheck
|
|
189064
189068
|
}) {
|
|
189065
189069
|
const result = [];
|
|
189066
189070
|
let partialData = false;
|
|
@@ -189073,7 +189077,8 @@ var CacheInternal2 = class {
|
|
|
189073
189077
|
variables,
|
|
189074
189078
|
linkedList: entry,
|
|
189075
189079
|
stepsFromConnection,
|
|
189076
|
-
ignoreMasking
|
|
189080
|
+
ignoreMasking,
|
|
189081
|
+
fullCheck
|
|
189077
189082
|
});
|
|
189078
189083
|
result.push(nestedValue.data);
|
|
189079
189084
|
if (nestedValue.partial) {
|
|
@@ -189095,7 +189100,8 @@ var CacheInternal2 = class {
|
|
|
189095
189100
|
selection: fields,
|
|
189096
189101
|
variables,
|
|
189097
189102
|
stepsFromConnection,
|
|
189098
|
-
ignoreMasking
|
|
189103
|
+
ignoreMasking,
|
|
189104
|
+
fullCheck
|
|
189099
189105
|
});
|
|
189100
189106
|
result.push(data2);
|
|
189101
189107
|
if (partial) {
|
|
@@ -189286,11 +189292,10 @@ var query2 = documentPlugin2(ArtifactKind2.Query, function() {
|
|
|
189286
189292
|
cache_default2.unsubscribe(subscriptionSpec, subscriptionSpec.variables?.() || {});
|
|
189287
189293
|
}
|
|
189288
189294
|
lastVariables = { ...marshalVariables(ctx) };
|
|
189289
|
-
const variables = lastVariables;
|
|
189290
189295
|
subscriptionSpec = {
|
|
189291
189296
|
rootType: ctx.artifact.rootType,
|
|
189292
189297
|
selection: ctx.artifact.selection,
|
|
189293
|
-
variables: () =>
|
|
189298
|
+
variables: () => lastVariables,
|
|
189294
189299
|
set: (newValue) => {
|
|
189295
189300
|
resolve22(ctx, {
|
|
189296
189301
|
data: newValue,
|
|
@@ -189317,17 +189322,12 @@ var query2 = documentPlugin2(ArtifactKind2.Query, function() {
|
|
|
189317
189322
|
});
|
|
189318
189323
|
var fragment3 = documentPlugin2(ArtifactKind2.Fragment, function() {
|
|
189319
189324
|
let subscriptionSpec = null;
|
|
189320
|
-
let lastReference = null;
|
|
189321
189325
|
return {
|
|
189322
189326
|
start(ctx, { next, resolve: resolve22, variablesChanged, marshalVariables }) {
|
|
189323
189327
|
if (!ctx.stuff.parentID) {
|
|
189324
189328
|
return next(ctx);
|
|
189325
189329
|
}
|
|
189326
|
-
|
|
189327
|
-
parent: ctx.stuff.parentID,
|
|
189328
|
-
variables: marshalVariables(ctx)
|
|
189329
|
-
};
|
|
189330
|
-
if (!ctx.cacheParams?.disableSubscriptions && (!deepEquals2(lastReference, currentReference) || variablesChanged(ctx))) {
|
|
189330
|
+
if (variablesChanged(ctx) && !ctx.cacheParams?.disableSubscriptions) {
|
|
189331
189331
|
if (subscriptionSpec) {
|
|
189332
189332
|
cache_default2.unsubscribe(subscriptionSpec, subscriptionSpec.variables?.() || {});
|
|
189333
189333
|
}
|
|
@@ -189350,7 +189350,6 @@ var fragment3 = documentPlugin2(ArtifactKind2.Fragment, function() {
|
|
|
189350
189350
|
}
|
|
189351
189351
|
};
|
|
189352
189352
|
cache_default2.subscribe(subscriptionSpec, variables);
|
|
189353
|
-
lastReference = currentReference;
|
|
189354
189353
|
}
|
|
189355
189354
|
next(ctx);
|
|
189356
189355
|
},
|
|
@@ -189416,14 +189415,16 @@ var emptySchema2 = graphql22.buildSchema("type Query { hello: String }");
|
|
|
189416
189415
|
var defaultDirectives2 = emptySchema2.getDirectives().map((dir) => dir.name);
|
|
189417
189416
|
var graphql32 = __toESM3(require_graphql22(), 1);
|
|
189418
189417
|
var import_parser2 = __toESM3(require_lib32(), 1);
|
|
189419
|
-
var import_deepmerge2 = __toESM3(require_cjs2(), 1);
|
|
189420
189418
|
var recast2 = __toESM3(require_main22(), 1);
|
|
189421
189419
|
var AST2 = recast2.types.builders;
|
|
189420
|
+
var import_deepmerge2 = __toESM3(require_cjs2(), 1);
|
|
189422
189421
|
var graphql42 = __toESM3(require_graphql22(), 1);
|
|
189423
189422
|
var graphql14 = __toESM3(require_graphql22(), 1);
|
|
189424
189423
|
var recast5 = __toESM3(require_main22(), 1);
|
|
189425
189424
|
var recast22 = __toESM3(require_main22(), 1);
|
|
189426
189425
|
var AST22 = recast22.types.builders;
|
|
189426
|
+
var { toString: toString2 } = {};
|
|
189427
|
+
var { keys: keys2 } = Object;
|
|
189427
189428
|
var graphql52 = __toESM3(require_graphql22(), 1);
|
|
189428
189429
|
var import_graphql302 = __toESM3(require_graphql22(), 1);
|
|
189429
189430
|
var GraphqlKinds2 = graphql52.Kind;
|