zudoku 0.28.0 → 0.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/main.js +1 -2
- package/dist/app/main.js.map +1 -1
- package/dist/config/validators/InputSidebarSchema.d.ts +2 -2
- package/dist/lib/components/PathRenderer.d.ts +11 -0
- package/dist/lib/components/PathRenderer.js +25 -0
- package/dist/lib/components/PathRenderer.js.map +1 -0
- package/dist/lib/components/ThemeSwitch.js +4 -4
- package/dist/lib/components/ThemeSwitch.js.map +1 -1
- package/dist/lib/components/index.d.ts +1 -0
- package/dist/lib/components/index.js +4 -2
- package/dist/lib/components/index.js.map +1 -1
- package/dist/lib/components/navigation/SidebarCategory.js +16 -14
- package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
- package/dist/lib/oas/graphql/circular.js +17 -6
- package/dist/lib/oas/graphql/circular.js.map +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js +3 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +5 -10
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PathParams.js +1 -1
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.js +7 -15
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/{SchemaComponents.js → SchemaPropertyItem.js} +10 -8
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -0
- package/dist/lib/plugins/openapi/schema/SchemaView.js +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/utils.d.ts +1 -0
- package/dist/lib/plugins/openapi/schema/utils.js +2 -0
- package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
- package/dist/vite/plugin-api.js +4 -2
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/prerender.js +0 -1
- package/dist/vite/prerender.js.map +1 -1
- package/lib/{MdxPage-DewragjB.js → MdxPage-BuG8Tuwc.js} +2 -2
- package/lib/{MdxPage-DewragjB.js.map → MdxPage-BuG8Tuwc.js.map} +1 -1
- package/lib/{OperationList-D_ejrepA.js → OperationList-CDt1xdc4.js} +978 -970
- package/lib/OperationList-CDt1xdc4.js.map +1 -0
- package/lib/{circular-Dgpd6AN-.js → circular-DxaIIlWD.js} +251 -239
- package/lib/{circular-Dgpd6AN-.js.map → circular-DxaIIlWD.js.map} +1 -1
- package/lib/{createServer-BydbkTsd.js → createServer-CjNktZzL.js} +2 -2
- package/lib/{createServer-BydbkTsd.js.map → createServer-CjNktZzL.js.map} +1 -1
- package/lib/{index-DGugJOLc.js → index-Eb1oiHbM.js} +583 -560
- package/lib/index-Eb1oiHbM.js.map +1 -0
- package/lib/{useScrollToAnchor-eRM9tVvD.js → useScrollToAnchor-BZsGmBng.js} +84 -89
- package/lib/useScrollToAnchor-BZsGmBng.js.map +1 -0
- package/lib/zudoku.components.js +334 -317
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +1 -1
- package/package.json +1 -1
- package/src/app/main.tsx +1 -2
- package/src/lib/components/PathRenderer.tsx +59 -0
- package/src/lib/components/ThemeSwitch.tsx +15 -14
- package/src/lib/components/index.ts +7 -5
- package/src/lib/components/navigation/SidebarCategory.tsx +43 -41
- package/src/lib/oas/graphql/circular.ts +27 -6
- package/src/lib/plugins/openapi/ColorizedParam.tsx +3 -3
- package/src/lib/plugins/openapi/OperationListItem.tsx +6 -1
- package/src/lib/plugins/openapi/ParameterListItem.tsx +1 -1
- package/src/lib/plugins/openapi/Sidecar.tsx +17 -26
- package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -1
- package/src/lib/plugins/openapi/playground/Playground.tsx +23 -33
- package/src/lib/plugins/openapi/schema/{SchemaComponents.tsx → SchemaPropertyItem.tsx} +10 -6
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +4 -1
- package/src/lib/plugins/openapi/schema/utils.ts +4 -0
- package/dist/lib/plugins/openapi/schema/SchemaComponents.js.map +0 -1
- package/lib/OperationList-D_ejrepA.js.map +0 -1
- package/lib/index-DGugJOLc.js.map +0 -1
- package/lib/useScrollToAnchor-eRM9tVvD.js.map +0 -1
- /package/dist/lib/plugins/openapi/schema/{SchemaComponents.d.ts → SchemaPropertyItem.d.ts} +0 -0
|
@@ -609,7 +609,7 @@ function Ei(e) {
|
|
|
609
609
|
s[i] = e.charCodeAt(i);
|
|
610
610
|
return s;
|
|
611
611
|
}
|
|
612
|
-
function
|
|
612
|
+
function Ce(e) {
|
|
613
613
|
if (e == null)
|
|
614
614
|
return /* @__PURE__ */ Object.create(null);
|
|
615
615
|
if (Object.getPrototypeOf(e) === null)
|
|
@@ -792,7 +792,7 @@ const Ru = [
|
|
|
792
792
|
"\\u009D",
|
|
793
793
|
"\\u009E",
|
|
794
794
|
"\\u009F"
|
|
795
|
-
],
|
|
795
|
+
], $n = Object.freeze({});
|
|
796
796
|
function Du(e, n, s = Bs) {
|
|
797
797
|
const i = /* @__PURE__ */ new Map();
|
|
798
798
|
for (const v of Object.values(he))
|
|
@@ -808,8 +808,8 @@ function Du(e, n, s = Bs) {
|
|
|
808
808
|
f = f.slice();
|
|
809
809
|
let D = 0;
|
|
810
810
|
for (const [_, k] of u) {
|
|
811
|
-
const
|
|
812
|
-
k === null ? (f.splice(
|
|
811
|
+
const $ = _ - D;
|
|
812
|
+
k === null ? (f.splice($, 1), D++) : f[$] = k;
|
|
813
813
|
}
|
|
814
814
|
} else {
|
|
815
815
|
f = Object.defineProperties(
|
|
@@ -830,7 +830,7 @@ function Du(e, n, s = Bs) {
|
|
|
830
830
|
var l, p;
|
|
831
831
|
vi(f) || Ee(!1, `Invalid AST Node: ${we(f)}.`);
|
|
832
832
|
const D = v ? (l = i.get(f.kind)) === null || l === void 0 ? void 0 : l.leave : (p = i.get(f.kind)) === null || p === void 0 ? void 0 : p.enter;
|
|
833
|
-
if (R = D == null ? void 0 : D.call(n, f, m, o, d, h), R ===
|
|
833
|
+
if (R = D == null ? void 0 : D.call(n, f, m, o, d, h), R === $n)
|
|
834
834
|
break;
|
|
835
835
|
if (R === !1) {
|
|
836
836
|
if (!v) {
|
|
@@ -880,8 +880,8 @@ function Dc(e) {
|
|
|
880
880
|
const d = (m = r[o]) === null || m === void 0 ? void 0 : m.apply(e[o], u);
|
|
881
881
|
if (d === !1)
|
|
882
882
|
n[o] = f;
|
|
883
|
-
else if (d ===
|
|
884
|
-
n[o] =
|
|
883
|
+
else if (d === $n)
|
|
884
|
+
n[o] = $n;
|
|
885
885
|
else if (d !== void 0)
|
|
886
886
|
return d;
|
|
887
887
|
}
|
|
@@ -892,8 +892,8 @@ function Dc(e) {
|
|
|
892
892
|
if (n[o] === null) {
|
|
893
893
|
var m;
|
|
894
894
|
const d = (m = a[o]) === null || m === void 0 ? void 0 : m.apply(e[o], u);
|
|
895
|
-
if (d ===
|
|
896
|
-
n[o] =
|
|
895
|
+
if (d === $n)
|
|
896
|
+
n[o] = $n;
|
|
897
897
|
else if (d !== void 0 && d !== !1)
|
|
898
898
|
return d;
|
|
899
899
|
} else n[o] === f && (n[o] = null);
|
|
@@ -1221,9 +1221,9 @@ function Pu(e) {
|
|
|
1221
1221
|
return Ue(e);
|
|
1222
1222
|
}
|
|
1223
1223
|
function zs(e) {
|
|
1224
|
-
return
|
|
1224
|
+
return Cn(e) || Or(e) || Un(e) || Qn(e) || qn(e) || Hr(e) || Hs(e) || En(e);
|
|
1225
1225
|
}
|
|
1226
|
-
function
|
|
1226
|
+
function Cn(e) {
|
|
1227
1227
|
return Ze(e, Zr);
|
|
1228
1228
|
}
|
|
1229
1229
|
function Or(e) {
|
|
@@ -1248,13 +1248,13 @@ function En(e) {
|
|
|
1248
1248
|
return Ze(e, Vu);
|
|
1249
1249
|
}
|
|
1250
1250
|
function Fu(e) {
|
|
1251
|
-
return
|
|
1251
|
+
return Cn(e) || qn(e) || Hr(e) || Wr(e) && Fu(e.ofType);
|
|
1252
1252
|
}
|
|
1253
1253
|
function ku(e) {
|
|
1254
|
-
return
|
|
1254
|
+
return Cn(e) || Or(e) || Un(e) || Qn(e) || qn(e) || Wr(e) && ku(e.ofType);
|
|
1255
1255
|
}
|
|
1256
1256
|
function Ac(e) {
|
|
1257
|
-
return
|
|
1257
|
+
return Cn(e) || qn(e);
|
|
1258
1258
|
}
|
|
1259
1259
|
function jc(e) {
|
|
1260
1260
|
return Or(e) || Un(e) || Qn(e);
|
|
@@ -1304,7 +1304,7 @@ function Fc(e) {
|
|
|
1304
1304
|
return En(e) ? e.ofType : e;
|
|
1305
1305
|
}
|
|
1306
1306
|
function kc(e) {
|
|
1307
|
-
return
|
|
1307
|
+
return Cn(e) || Or(e) || Un(e) || Qn(e) || qn(e) || Hr(e);
|
|
1308
1308
|
}
|
|
1309
1309
|
function wc(e) {
|
|
1310
1310
|
if (e) {
|
|
@@ -1324,7 +1324,7 @@ class Zr {
|
|
|
1324
1324
|
constructor(n) {
|
|
1325
1325
|
var s, i, t, r;
|
|
1326
1326
|
const a = (s = n.parseValue) !== null && s !== void 0 ? s : gi;
|
|
1327
|
-
this.name = Ue(n.name), this.description = n.description, this.specifiedByURL = n.specifiedByURL, this.serialize = (i = n.serialize) !== null && i !== void 0 ? i : gi, this.parseValue = a, this.parseLiteral = (t = n.parseLiteral) !== null && t !== void 0 ? t : (c, u) => a(Jr(c, u)), this.extensions =
|
|
1327
|
+
this.name = Ue(n.name), this.description = n.description, this.specifiedByURL = n.specifiedByURL, this.serialize = (i = n.serialize) !== null && i !== void 0 ? i : gi, this.parseValue = a, this.parseLiteral = (t = n.parseLiteral) !== null && t !== void 0 ? t : (c, u) => a(Jr(c, u)), this.extensions = Ce(n.extensions), this.astNode = n.astNode, this.extensionASTNodes = (r = n.extensionASTNodes) !== null && r !== void 0 ? r : [], n.specifiedByURL == null || typeof n.specifiedByURL == "string" || Ee(
|
|
1328
1328
|
!1,
|
|
1329
1329
|
`${this.name} must provide "specifiedByURL" as a string, but got: ${we(n.specifiedByURL)}.`
|
|
1330
1330
|
), n.serialize == null || typeof n.serialize == "function" || Ee(
|
|
@@ -1361,7 +1361,7 @@ class Zr {
|
|
|
1361
1361
|
class Mu {
|
|
1362
1362
|
constructor(n) {
|
|
1363
1363
|
var s;
|
|
1364
|
-
this.name = Ue(n.name), this.description = n.description, this.isTypeOf = n.isTypeOf, this.extensions =
|
|
1364
|
+
this.name = Ue(n.name), this.description = n.description, this.isTypeOf = n.isTypeOf, this.extensions = Ce(n.extensions), this.astNode = n.astNode, this.extensionASTNodes = (s = n.extensionASTNodes) !== null && s !== void 0 ? s : [], this._fields = () => no(n), this._interfaces = () => eo(n), n.isTypeOf == null || typeof n.isTypeOf == "function" || Ee(
|
|
1365
1365
|
!1,
|
|
1366
1366
|
`${this.name} must provide "isTypeOf" as a function, but got: ${we(n.isTypeOf)}.`
|
|
1367
1367
|
);
|
|
@@ -1426,23 +1426,23 @@ function no(e) {
|
|
|
1426
1426
|
name: Ue(i),
|
|
1427
1427
|
description: s.description,
|
|
1428
1428
|
type: s.type,
|
|
1429
|
-
args:
|
|
1429
|
+
args: $u(r),
|
|
1430
1430
|
resolve: s.resolve,
|
|
1431
1431
|
subscribe: s.subscribe,
|
|
1432
1432
|
deprecationReason: s.deprecationReason,
|
|
1433
|
-
extensions:
|
|
1433
|
+
extensions: Ce(s.extensions),
|
|
1434
1434
|
astNode: s.astNode
|
|
1435
1435
|
};
|
|
1436
1436
|
});
|
|
1437
1437
|
}
|
|
1438
|
-
function
|
|
1438
|
+
function $u(e) {
|
|
1439
1439
|
return Object.entries(e).map(([n, s]) => ({
|
|
1440
1440
|
name: Ue(n),
|
|
1441
1441
|
description: s.description,
|
|
1442
1442
|
type: s.type,
|
|
1443
1443
|
defaultValue: s.defaultValue,
|
|
1444
1444
|
deprecationReason: s.deprecationReason,
|
|
1445
|
-
extensions:
|
|
1445
|
+
extensions: Ce(s.extensions),
|
|
1446
1446
|
astNode: s.astNode
|
|
1447
1447
|
}));
|
|
1448
1448
|
}
|
|
@@ -1453,7 +1453,7 @@ function to(e) {
|
|
|
1453
1453
|
return Nr(e, (n) => ({
|
|
1454
1454
|
description: n.description,
|
|
1455
1455
|
type: n.type,
|
|
1456
|
-
args:
|
|
1456
|
+
args: Cu(n.args),
|
|
1457
1457
|
resolve: n.resolve,
|
|
1458
1458
|
subscribe: n.subscribe,
|
|
1459
1459
|
deprecationReason: n.deprecationReason,
|
|
@@ -1461,7 +1461,7 @@ function to(e) {
|
|
|
1461
1461
|
astNode: n.astNode
|
|
1462
1462
|
}));
|
|
1463
1463
|
}
|
|
1464
|
-
function
|
|
1464
|
+
function Cu(e) {
|
|
1465
1465
|
return zr(
|
|
1466
1466
|
e,
|
|
1467
1467
|
(n) => n.name,
|
|
@@ -1481,7 +1481,7 @@ function Vc(e) {
|
|
|
1481
1481
|
class Uu {
|
|
1482
1482
|
constructor(n) {
|
|
1483
1483
|
var s;
|
|
1484
|
-
this.name = Ue(n.name), this.description = n.description, this.resolveType = n.resolveType, this.extensions =
|
|
1484
|
+
this.name = Ue(n.name), this.description = n.description, this.resolveType = n.resolveType, this.extensions = Ce(n.extensions), this.astNode = n.astNode, this.extensionASTNodes = (s = n.extensionASTNodes) !== null && s !== void 0 ? s : [], this._fields = no.bind(void 0, n), this._interfaces = eo.bind(void 0, n), n.resolveType == null || typeof n.resolveType == "function" || Ee(
|
|
1485
1485
|
!1,
|
|
1486
1486
|
`${this.name} must provide "resolveType" as a function, but got: ${we(n.resolveType)}.`
|
|
1487
1487
|
);
|
|
@@ -1517,7 +1517,7 @@ class Uu {
|
|
|
1517
1517
|
class Qu {
|
|
1518
1518
|
constructor(n) {
|
|
1519
1519
|
var s;
|
|
1520
|
-
this.name = Ue(n.name), this.description = n.description, this.resolveType = n.resolveType, this.extensions =
|
|
1520
|
+
this.name = Ue(n.name), this.description = n.description, this.resolveType = n.resolveType, this.extensions = Ce(n.extensions), this.astNode = n.astNode, this.extensionASTNodes = (s = n.extensionASTNodes) !== null && s !== void 0 ? s : [], this._types = qu.bind(void 0, n), n.resolveType == null || typeof n.resolveType == "function" || Ee(
|
|
1521
1521
|
!1,
|
|
1522
1522
|
`${this.name} must provide "resolveType" as a function, but got: ${we(n.resolveType)}.`
|
|
1523
1523
|
);
|
|
@@ -1557,7 +1557,7 @@ class Ku {
|
|
|
1557
1557
|
/* <T> */
|
|
1558
1558
|
constructor(n) {
|
|
1559
1559
|
var s;
|
|
1560
|
-
this.name = Ue(n.name), this.description = n.description, this.extensions =
|
|
1560
|
+
this.name = Ue(n.name), this.description = n.description, this.extensions = Ce(n.extensions), this.astNode = n.astNode, this.extensionASTNodes = (s = n.extensionASTNodes) !== null && s !== void 0 ? s : [], this._values = typeof n.values == "function" ? n.values : Oi(this.name, n.values), this._valueLookup = null, this._nameLookup = null;
|
|
1561
1561
|
}
|
|
1562
1562
|
get [Symbol.toStringTag]() {
|
|
1563
1563
|
return "GraphQLEnumType";
|
|
@@ -1659,14 +1659,14 @@ function Oi(e, n) {
|
|
|
1659
1659
|
description: i.description,
|
|
1660
1660
|
value: i.value !== void 0 ? i.value : s,
|
|
1661
1661
|
deprecationReason: i.deprecationReason,
|
|
1662
|
-
extensions:
|
|
1662
|
+
extensions: Ce(i.extensions),
|
|
1663
1663
|
astNode: i.astNode
|
|
1664
1664
|
}));
|
|
1665
1665
|
}
|
|
1666
1666
|
class xu {
|
|
1667
1667
|
constructor(n) {
|
|
1668
1668
|
var s, i;
|
|
1669
|
-
this.name = Ue(n.name), this.description = n.description, this.extensions =
|
|
1669
|
+
this.name = Ue(n.name), this.description = n.description, this.extensions = Ce(n.extensions), this.astNode = n.astNode, this.extensionASTNodes = (s = n.extensionASTNodes) !== null && s !== void 0 ? s : [], this.isOneOf = (i = n.isOneOf) !== null && i !== void 0 ? i : !1, this._fields = Bu.bind(void 0, n);
|
|
1670
1670
|
}
|
|
1671
1671
|
get [Symbol.toStringTag]() {
|
|
1672
1672
|
return "GraphQLInputObjectType";
|
|
@@ -1714,7 +1714,7 @@ function Bu(e) {
|
|
|
1714
1714
|
type: s.type,
|
|
1715
1715
|
defaultValue: s.defaultValue,
|
|
1716
1716
|
deprecationReason: s.deprecationReason,
|
|
1717
|
-
extensions:
|
|
1717
|
+
extensions: Ce(s.extensions),
|
|
1718
1718
|
astNode: s.astNode
|
|
1719
1719
|
}));
|
|
1720
1720
|
}
|
|
@@ -2187,10 +2187,10 @@ function Re() {
|
|
|
2187
2187
|
}
|
|
2188
2188
|
return rt;
|
|
2189
2189
|
}
|
|
2190
|
-
var it = {},
|
|
2190
|
+
var it = {}, $i;
|
|
2191
2191
|
function ii() {
|
|
2192
|
-
if (
|
|
2193
|
-
|
|
2192
|
+
if ($i) return it;
|
|
2193
|
+
$i = 1, Object.defineProperty(it, "__esModule", {
|
|
2194
2194
|
value: !0
|
|
2195
2195
|
}), it.isPromise = e;
|
|
2196
2196
|
function e(n) {
|
|
@@ -2198,10 +2198,10 @@ function ii() {
|
|
|
2198
2198
|
}
|
|
2199
2199
|
return it;
|
|
2200
2200
|
}
|
|
2201
|
-
var qe = {}, Ae = {},
|
|
2201
|
+
var qe = {}, Ae = {}, Ci;
|
|
2202
2202
|
function Xe() {
|
|
2203
|
-
if (
|
|
2204
|
-
|
|
2203
|
+
if (Ci) return Ae;
|
|
2204
|
+
Ci = 1, Object.defineProperty(Ae, "__esModule", {
|
|
2205
2205
|
value: !0
|
|
2206
2206
|
}), Ae.Token = Ae.QueryDocumentKeys = Ae.OperationTypeNode = Ae.Location = void 0, Ae.isNode = t;
|
|
2207
2207
|
class e {
|
|
@@ -2737,7 +2737,7 @@ function si() {
|
|
|
2737
2737
|
);
|
|
2738
2738
|
// StringValue
|
|
2739
2739
|
case 34:
|
|
2740
|
-
return L.charCodeAt(T + 1) === 34 && L.charCodeAt(T + 2) === 34 ?
|
|
2740
|
+
return L.charCodeAt(T + 1) === 34 && L.charCodeAt(T + 2) === 34 ? $(N, T) : v(N, T);
|
|
2741
2741
|
}
|
|
2742
2742
|
if ((0, i.isDigit)(b) || b === 45)
|
|
2743
2743
|
return p(N, T, b);
|
|
@@ -2968,7 +2968,7 @@ function si() {
|
|
|
2968
2968
|
)}".`
|
|
2969
2969
|
);
|
|
2970
2970
|
}
|
|
2971
|
-
function
|
|
2971
|
+
function $(N, g) {
|
|
2972
2972
|
const L = N.source.body, E = L.length;
|
|
2973
2973
|
let T = N.lineStart, b = g + 3, I = b, S = "";
|
|
2974
2974
|
const j = [];
|
|
@@ -4712,12 +4712,12 @@ function Nn() {
|
|
|
4712
4712
|
}
|
|
4713
4713
|
let E;
|
|
4714
4714
|
if (!Array.isArray(O)) {
|
|
4715
|
-
var
|
|
4715
|
+
var $, V;
|
|
4716
4716
|
(0, s.isNode)(O) || (0, e.devAssert)(
|
|
4717
4717
|
!1,
|
|
4718
4718
|
`Invalid AST Node: ${(0, n.inspect)(O)}.`
|
|
4719
4719
|
);
|
|
4720
|
-
const T = g ? (
|
|
4720
|
+
const T = g ? ($ = d.get(O.kind)) === null || $ === void 0 ? void 0 : $.leave : (V = d.get(O.kind)) === null || V === void 0 ? void 0 : V.enter;
|
|
4721
4721
|
if (E = T == null ? void 0 : T.call(m, O, R, D, _, k), E === t)
|
|
4722
4722
|
break;
|
|
4723
4723
|
if (E === !1) {
|
|
@@ -5150,7 +5150,7 @@ function oe() {
|
|
|
5150
5150
|
if (ca) return H;
|
|
5151
5151
|
ca = 1, Object.defineProperty(H, "__esModule", {
|
|
5152
5152
|
value: !0
|
|
5153
|
-
}), H.GraphQLUnionType = H.GraphQLScalarType = H.GraphQLObjectType = H.GraphQLNonNull = H.GraphQLList = H.GraphQLInterfaceType = H.GraphQLInputObjectType = H.GraphQLEnumType = void 0, H.argsToArgsConfig = fe, H.assertAbstractType = x, H.assertCompositeType = M, H.assertEnumType = L, H.assertInputObjectType = T, H.assertInputType = U, H.assertInterfaceType =
|
|
5153
|
+
}), H.GraphQLUnionType = H.GraphQLScalarType = H.GraphQLObjectType = H.GraphQLNonNull = H.GraphQLList = H.GraphQLInterfaceType = H.GraphQLInputObjectType = H.GraphQLEnumType = void 0, H.argsToArgsConfig = fe, H.assertAbstractType = x, H.assertCompositeType = M, H.assertEnumType = L, H.assertInputObjectType = T, H.assertInputType = U, H.assertInterfaceType = $, H.assertLeafType = te, H.assertListType = I, H.assertNamedType = Oe, H.assertNonNullType = j, H.assertNullableType = ue, H.assertObjectType = _, H.assertOutputType = P, H.assertScalarType = R, H.assertType = v, H.assertUnionType = N, H.assertWrappingType = Z, H.defineArguments = J, H.getNamedType = ye, H.getNullableType = de, H.isAbstractType = C, H.isCompositeType = le, H.isEnumType = g, H.isInputObjectType = E, H.isInputType = w, H.isInterfaceType = k, H.isLeafType = K, H.isListType = b, H.isNamedType = Te, H.isNonNullType = S, H.isNullableType = re, H.isObjectType = D, H.isOutputType = W, H.isRequiredArgument = ge, H.isRequiredInputField = Wo, H.isScalarType = O, H.isType = y, H.isUnionType = V, H.isWrappingType = Y, H.resolveObjMapThunk = Le, H.resolveReadonlyArrayThunk = be;
|
|
5154
5154
|
var e = /* @__PURE__ */ Re(), n = /* @__PURE__ */ an(), s = /* @__PURE__ */ zu(), i = /* @__PURE__ */ pe(), t = /* @__PURE__ */ Sr(), r = /* @__PURE__ */ Je(), a = /* @__PURE__ */ sn(), c = /* @__PURE__ */ Lr(), u = /* @__PURE__ */ so(), f = /* @__PURE__ */ on(), m = /* @__PURE__ */ ui(), o = /* @__PURE__ */ ne(), d = /* @__PURE__ */ se(), h = /* @__PURE__ */ Ve(), l = /* @__PURE__ */ oo(), p = /* @__PURE__ */ Dr();
|
|
5155
5155
|
function y(A) {
|
|
5156
5156
|
return O(A) || D(A) || k(A) || V(A) || g(A) || E(A) || b(A) || S(A);
|
|
@@ -5185,7 +5185,7 @@ function oe() {
|
|
|
5185
5185
|
function k(A) {
|
|
5186
5186
|
return (0, t.instanceOf)(A, me);
|
|
5187
5187
|
}
|
|
5188
|
-
function
|
|
5188
|
+
function $(A) {
|
|
5189
5189
|
if (!k(A))
|
|
5190
5190
|
throw new Error(
|
|
5191
5191
|
`Expected ${(0, i.inspect)(A)} to be a GraphQL Interface type.`
|
|
@@ -5284,11 +5284,11 @@ function oe() {
|
|
|
5284
5284
|
);
|
|
5285
5285
|
return A;
|
|
5286
5286
|
}
|
|
5287
|
-
function
|
|
5287
|
+
function C(A) {
|
|
5288
5288
|
return k(A) || V(A);
|
|
5289
5289
|
}
|
|
5290
5290
|
function x(A) {
|
|
5291
|
-
if (
|
|
5291
|
+
if (!C(A))
|
|
5292
5292
|
throw new Error(
|
|
5293
5293
|
`Expected ${(0, i.inspect)(A)} to be a GraphQL abstract type.`
|
|
5294
5294
|
);
|
|
@@ -6076,12 +6076,12 @@ function Fe() {
|
|
|
6076
6076
|
}
|
|
6077
6077
|
class o {
|
|
6078
6078
|
constructor(_) {
|
|
6079
|
-
var k,
|
|
6079
|
+
var k, $;
|
|
6080
6080
|
this.name = (0, a.assertName)(_.name), this.description = _.description, this.locations = _.locations, this.isRepeatable = (k = _.isRepeatable) !== null && k !== void 0 ? k : !1, this.extensions = (0, t.toObjMap)(_.extensions), this.astNode = _.astNode, Array.isArray(_.locations) || (0, e.devAssert)(
|
|
6081
6081
|
!1,
|
|
6082
6082
|
`@${_.name} locations must be an Array.`
|
|
6083
6083
|
);
|
|
6084
|
-
const V = (
|
|
6084
|
+
const V = ($ = _.args) !== null && $ !== void 0 ? $ : {};
|
|
6085
6085
|
(0, i.isObjectLike)(V) && !Array.isArray(V) || (0, e.devAssert)(
|
|
6086
6086
|
!1,
|
|
6087
6087
|
`@${_.name} args must be an object with argument names as keys.`
|
|
@@ -6300,7 +6300,7 @@ function jr() {
|
|
|
6300
6300
|
return ht;
|
|
6301
6301
|
}
|
|
6302
6302
|
var ya;
|
|
6303
|
-
function
|
|
6303
|
+
function $e() {
|
|
6304
6304
|
if (ya) return ce;
|
|
6305
6305
|
ya = 1, Object.defineProperty(ce, "__esModule", {
|
|
6306
6306
|
value: !0
|
|
@@ -6389,7 +6389,7 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
|
|
|
6389
6389
|
}
|
|
6390
6390
|
},
|
|
6391
6391
|
resolve(_, { includeDeprecated: k }) {
|
|
6392
|
-
return k ? _.args : _.args.filter((
|
|
6392
|
+
return k ? _.args : _.args.filter(($) => $.deprecationReason == null);
|
|
6393
6393
|
}
|
|
6394
6394
|
}
|
|
6395
6395
|
})
|
|
@@ -6534,8 +6534,8 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
|
|
|
6534
6534
|
},
|
|
6535
6535
|
resolve(_, { includeDeprecated: k }) {
|
|
6536
6536
|
if ((0, r.isObjectType)(_) || (0, r.isInterfaceType)(_)) {
|
|
6537
|
-
const
|
|
6538
|
-
return k ?
|
|
6537
|
+
const $ = Object.values(_.getFields());
|
|
6538
|
+
return k ? $ : $.filter((V) => V.deprecationReason == null);
|
|
6539
6539
|
}
|
|
6540
6540
|
}
|
|
6541
6541
|
},
|
|
@@ -6548,7 +6548,7 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
|
|
|
6548
6548
|
},
|
|
6549
6549
|
possibleTypes: {
|
|
6550
6550
|
type: new r.GraphQLList(new r.GraphQLNonNull(m)),
|
|
6551
|
-
resolve(_, k,
|
|
6551
|
+
resolve(_, k, $, { schema: V }) {
|
|
6552
6552
|
if ((0, r.isAbstractType)(_))
|
|
6553
6553
|
return V.getPossibleTypes(_);
|
|
6554
6554
|
}
|
|
@@ -6565,8 +6565,8 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
|
|
|
6565
6565
|
},
|
|
6566
6566
|
resolve(_, { includeDeprecated: k }) {
|
|
6567
6567
|
if ((0, r.isEnumType)(_)) {
|
|
6568
|
-
const
|
|
6569
|
-
return k ?
|
|
6568
|
+
const $ = _.getValues();
|
|
6569
|
+
return k ? $ : $.filter((V) => V.deprecationReason == null);
|
|
6570
6570
|
}
|
|
6571
6571
|
}
|
|
6572
6572
|
},
|
|
@@ -6582,8 +6582,8 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
|
|
|
6582
6582
|
},
|
|
6583
6583
|
resolve(_, { includeDeprecated: k }) {
|
|
6584
6584
|
if ((0, r.isInputObjectType)(_)) {
|
|
6585
|
-
const
|
|
6586
|
-
return k ?
|
|
6585
|
+
const $ = Object.values(_.getFields());
|
|
6586
|
+
return k ? $ : $.filter((V) => V.deprecationReason == null);
|
|
6587
6587
|
}
|
|
6588
6588
|
}
|
|
6589
6589
|
},
|
|
@@ -6626,7 +6626,7 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
|
|
|
6626
6626
|
}
|
|
6627
6627
|
},
|
|
6628
6628
|
resolve(_, { includeDeprecated: k }) {
|
|
6629
|
-
return k ? _.args : _.args.filter((
|
|
6629
|
+
return k ? _.args : _.args.filter(($) => $.deprecationReason == null);
|
|
6630
6630
|
}
|
|
6631
6631
|
},
|
|
6632
6632
|
type: {
|
|
@@ -6664,7 +6664,7 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
|
|
|
6664
6664
|
type: a.GraphQLString,
|
|
6665
6665
|
description: "A GraphQL-formatted string representing the default value for this input value.",
|
|
6666
6666
|
resolve(_) {
|
|
6667
|
-
const { type: k, defaultValue:
|
|
6667
|
+
const { type: k, defaultValue: $ } = _, V = (0, t.astFromValue)($, k);
|
|
6668
6668
|
return V ? (0, i.print)(V) : null;
|
|
6669
6669
|
}
|
|
6670
6670
|
},
|
|
@@ -6750,7 +6750,7 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
|
|
|
6750
6750
|
type: new r.GraphQLNonNull(c),
|
|
6751
6751
|
description: "Access the current type schema of this server.",
|
|
6752
6752
|
args: [],
|
|
6753
|
-
resolve: (_, k,
|
|
6753
|
+
resolve: (_, k, $, { schema: V }) => V,
|
|
6754
6754
|
deprecationReason: void 0,
|
|
6755
6755
|
extensions: /* @__PURE__ */ Object.create(null),
|
|
6756
6756
|
astNode: void 0
|
|
@@ -6771,7 +6771,7 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
|
|
|
6771
6771
|
astNode: void 0
|
|
6772
6772
|
}
|
|
6773
6773
|
],
|
|
6774
|
-
resolve: (_, { name: k },
|
|
6774
|
+
resolve: (_, { name: k }, $, { schema: V }) => V.getType(k),
|
|
6775
6775
|
deprecationReason: void 0,
|
|
6776
6776
|
extensions: /* @__PURE__ */ Object.create(null),
|
|
6777
6777
|
astNode: void 0
|
|
@@ -6782,7 +6782,7 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
|
|
|
6782
6782
|
type: new r.GraphQLNonNull(a.GraphQLString),
|
|
6783
6783
|
description: "The name of the current Object type at runtime.",
|
|
6784
6784
|
args: [],
|
|
6785
|
-
resolve: (_, k,
|
|
6785
|
+
resolve: (_, k, $, { parentType: V }) => V.name,
|
|
6786
6786
|
deprecationReason: void 0,
|
|
6787
6787
|
extensions: /* @__PURE__ */ Object.create(null),
|
|
6788
6788
|
astNode: void 0
|
|
@@ -6810,7 +6810,7 @@ function On() {
|
|
|
6810
6810
|
ha = 1, Object.defineProperty(tn, "__esModule", {
|
|
6811
6811
|
value: !0
|
|
6812
6812
|
}), tn.GraphQLSchema = void 0, tn.assertSchema = m, tn.isSchema = f;
|
|
6813
|
-
var e = /* @__PURE__ */ Re(), n = /* @__PURE__ */ pe(), s = /* @__PURE__ */ Sr(), i = /* @__PURE__ */ Je(), t = /* @__PURE__ */ ui(), r = /* @__PURE__ */ Xe(), a = /* @__PURE__ */ oe(), c = /* @__PURE__ */ Fe(), u = /* @__PURE__ */
|
|
6813
|
+
var e = /* @__PURE__ */ Re(), n = /* @__PURE__ */ pe(), s = /* @__PURE__ */ Sr(), i = /* @__PURE__ */ Je(), t = /* @__PURE__ */ ui(), r = /* @__PURE__ */ Xe(), a = /* @__PURE__ */ oe(), c = /* @__PURE__ */ Fe(), u = /* @__PURE__ */ $e();
|
|
6814
6814
|
function f(h) {
|
|
6815
6815
|
return (0, s.instanceOf)(h, o);
|
|
6816
6816
|
}
|
|
@@ -6981,7 +6981,7 @@ function Pr() {
|
|
|
6981
6981
|
Ta = 1, Object.defineProperty(Dn, "__esModule", {
|
|
6982
6982
|
value: !0
|
|
6983
6983
|
}), Dn.assertValidSchema = f, Dn.validateSchema = u;
|
|
6984
|
-
var e = /* @__PURE__ */ pe(), n = /* @__PURE__ */ ne(), s = /* @__PURE__ */ Xe(), i = /* @__PURE__ */ Ar(), t = /* @__PURE__ */ oe(), r = /* @__PURE__ */ Fe(), a = /* @__PURE__ */
|
|
6984
|
+
var e = /* @__PURE__ */ pe(), n = /* @__PURE__ */ ne(), s = /* @__PURE__ */ Xe(), i = /* @__PURE__ */ Ar(), t = /* @__PURE__ */ oe(), r = /* @__PURE__ */ Fe(), a = /* @__PURE__ */ $e(), c = /* @__PURE__ */ On();
|
|
6985
6985
|
function u(E) {
|
|
6986
6986
|
if ((0, c.assertSchema)(E), E.__validationErrors)
|
|
6987
6987
|
return E.__validationErrors;
|
|
@@ -7202,7 +7202,7 @@ function Pr() {
|
|
|
7202
7202
|
);
|
|
7203
7203
|
}
|
|
7204
7204
|
for (const te of W.args) {
|
|
7205
|
-
const le = te.name, M = K.args.find((
|
|
7205
|
+
const le = te.name, M = K.args.find((C) => C.name === le);
|
|
7206
7206
|
if (!M) {
|
|
7207
7207
|
E.reportError(
|
|
7208
7208
|
`Interface field argument ${b.name}.${P}(${le}:) expected but ${T.name}.${P} does not provide it.`,
|
|
@@ -7223,7 +7223,7 @@ function Pr() {
|
|
|
7223
7223
|
}
|
|
7224
7224
|
for (const te of K.args) {
|
|
7225
7225
|
const le = te.name;
|
|
7226
|
-
!W.args.find((
|
|
7226
|
+
!W.args.find((C) => C.name === le) && (0, t.isRequiredArgument)(te) && E.reportError(
|
|
7227
7227
|
`Object field ${T.name}.${P} includes required argument ${le} that is missing from the Interface field ${b.name}.${P}.`,
|
|
7228
7228
|
[te.astNode, W.astNode]
|
|
7229
7229
|
);
|
|
@@ -7295,10 +7295,10 @@ function Pr() {
|
|
|
7295
7295
|
]
|
|
7296
7296
|
);
|
|
7297
7297
|
}
|
|
7298
|
-
T.isOneOf &&
|
|
7298
|
+
T.isOneOf && $(T, j, E);
|
|
7299
7299
|
}
|
|
7300
7300
|
}
|
|
7301
|
-
function
|
|
7301
|
+
function $(E, T, b) {
|
|
7302
7302
|
if ((0, t.isNonNullType)(T.type)) {
|
|
7303
7303
|
var I;
|
|
7304
7304
|
b.reportError(
|
|
@@ -7393,7 +7393,7 @@ function li() {
|
|
|
7393
7393
|
ba = 1, Object.defineProperty(Tn, "__esModule", {
|
|
7394
7394
|
value: !0
|
|
7395
7395
|
}), Tn.TypeInfo = void 0, Tn.visitWithTypeInfo = u;
|
|
7396
|
-
var e = /* @__PURE__ */ Xe(), n = /* @__PURE__ */ se(), s = /* @__PURE__ */ Nn(), i = /* @__PURE__ */ oe(), t = /* @__PURE__ */
|
|
7396
|
+
var e = /* @__PURE__ */ Xe(), n = /* @__PURE__ */ se(), s = /* @__PURE__ */ Nn(), i = /* @__PURE__ */ oe(), t = /* @__PURE__ */ $e(), r = /* @__PURE__ */ He();
|
|
7397
7397
|
let a = class {
|
|
7398
7398
|
constructor(m, o, d) {
|
|
7399
7399
|
this._schema = m, this._typeStack = [], this._parentTypeStack = [], this._inputTypeStack = [], this._fieldDefStack = [], this._defaultValueStack = [], this._directive = null, this._argument = null, this._enumValue = null, this._getFieldDef = d ?? c, o && ((0, i.isInputType)(o) && this._inputTypeStack.push(o), (0, i.isCompositeType)(o) && this._parentTypeStack.push(o), (0, i.isOutputType)(o) && this._typeStack.push(o));
|
|
@@ -7951,7 +7951,7 @@ function yo() {
|
|
|
7951
7951
|
La = 1, Object.defineProperty(_t, "__esModule", {
|
|
7952
7952
|
value: !0
|
|
7953
7953
|
}), _t.KnownTypeNamesRule = a;
|
|
7954
|
-
var e = /* @__PURE__ */ an(), n = /* @__PURE__ */ on(), s = /* @__PURE__ */ ne(), i = /* @__PURE__ */ _n(), t = /* @__PURE__ */
|
|
7954
|
+
var e = /* @__PURE__ */ an(), n = /* @__PURE__ */ on(), s = /* @__PURE__ */ ne(), i = /* @__PURE__ */ _n(), t = /* @__PURE__ */ $e(), r = /* @__PURE__ */ ze();
|
|
7955
7955
|
function a(f) {
|
|
7956
7956
|
const m = f.getSchema(), o = m ? m.getTypeMap() : /* @__PURE__ */ Object.create(null), d = /* @__PURE__ */ Object.create(null);
|
|
7957
7957
|
for (const l of f.getDocument().definitions)
|
|
@@ -7968,13 +7968,13 @@ function yo() {
|
|
|
7968
7968
|
const _ = (D = O[2]) !== null && D !== void 0 ? D : y, k = _ != null && u(_);
|
|
7969
7969
|
if (k && c.includes(R))
|
|
7970
7970
|
return;
|
|
7971
|
-
const
|
|
7971
|
+
const $ = (0, n.suggestionList)(
|
|
7972
7972
|
R,
|
|
7973
7973
|
k ? c.concat(h) : h
|
|
7974
7974
|
);
|
|
7975
7975
|
f.reportError(
|
|
7976
7976
|
new s.GraphQLError(
|
|
7977
|
-
`Unknown type "${R}".` + (0, e.didYouMean)(
|
|
7977
|
+
`Unknown type "${R}".` + (0, e.didYouMean)($),
|
|
7978
7978
|
{
|
|
7979
7979
|
nodes: l
|
|
7980
7980
|
}
|
|
@@ -8316,7 +8316,7 @@ function _o() {
|
|
|
8316
8316
|
).join(" and ") : N;
|
|
8317
8317
|
}
|
|
8318
8318
|
function u(N) {
|
|
8319
|
-
const g = new
|
|
8319
|
+
const g = new $(), L = new V(), E = /* @__PURE__ */ new Map();
|
|
8320
8320
|
return {
|
|
8321
8321
|
SelectionSet(T) {
|
|
8322
8322
|
const b = f(
|
|
@@ -8604,8 +8604,8 @@ function _o() {
|
|
|
8604
8604
|
[w],
|
|
8605
8605
|
[P]
|
|
8606
8606
|
];
|
|
8607
|
-
const
|
|
8608
|
-
if (
|
|
8607
|
+
const C = w.selectionSet, x = P.selectionSet;
|
|
8608
|
+
if (C && x) {
|
|
8609
8609
|
const B = d(
|
|
8610
8610
|
N,
|
|
8611
8611
|
g,
|
|
@@ -8613,7 +8613,7 @@ function _o() {
|
|
|
8613
8613
|
E,
|
|
8614
8614
|
te,
|
|
8615
8615
|
(0, t.getNamedType)(le),
|
|
8616
|
-
|
|
8616
|
+
C,
|
|
8617
8617
|
(0, t.getNamedType)(M),
|
|
8618
8618
|
x
|
|
8619
8619
|
);
|
|
@@ -8703,7 +8703,7 @@ function _o() {
|
|
|
8703
8703
|
[E, ...N.map(([, , T]) => T).flat()]
|
|
8704
8704
|
];
|
|
8705
8705
|
}
|
|
8706
|
-
class
|
|
8706
|
+
class $ {
|
|
8707
8707
|
constructor() {
|
|
8708
8708
|
this._data = /* @__PURE__ */ new Map();
|
|
8709
8709
|
}
|
|
@@ -8719,7 +8719,7 @@ function _o() {
|
|
|
8719
8719
|
}
|
|
8720
8720
|
class V {
|
|
8721
8721
|
constructor() {
|
|
8722
|
-
this._orderedPairSet = new
|
|
8722
|
+
this._orderedPairSet = new $();
|
|
8723
8723
|
}
|
|
8724
8724
|
has(g, L, E) {
|
|
8725
8725
|
return g < L ? this._orderedPairSet.has(g, L, E) : this._orderedPairSet.has(L, g, E);
|
|
@@ -8894,10 +8894,10 @@ function So() {
|
|
|
8894
8894
|
}
|
|
8895
8895
|
return wt;
|
|
8896
8896
|
}
|
|
8897
|
-
var Pn = {},
|
|
8897
|
+
var Pn = {}, $a;
|
|
8898
8898
|
function Lo() {
|
|
8899
|
-
if (
|
|
8900
|
-
|
|
8899
|
+
if ($a) return Pn;
|
|
8900
|
+
$a = 1, Object.defineProperty(Pn, "__esModule", {
|
|
8901
8901
|
value: !0
|
|
8902
8902
|
}), Pn.ProvidedRequiredArgumentsOnDirectivesRule = u, Pn.ProvidedRequiredArgumentsRule = c;
|
|
8903
8903
|
var e = /* @__PURE__ */ pe(), n = /* @__PURE__ */ sn(), s = /* @__PURE__ */ ne(), i = /* @__PURE__ */ se(), t = /* @__PURE__ */ Ve(), r = /* @__PURE__ */ oe(), a = /* @__PURE__ */ Fe();
|
|
@@ -8958,13 +8958,13 @@ function Lo() {
|
|
|
8958
8958
|
const O = v.name.value, R = d[O];
|
|
8959
8959
|
if (R) {
|
|
8960
8960
|
var D;
|
|
8961
|
-
const _ = (D = v.arguments) !== null && D !== void 0 ? D : [], k = new Set(_.map((
|
|
8962
|
-
for (const [
|
|
8963
|
-
if (!k.has(
|
|
8961
|
+
const _ = (D = v.arguments) !== null && D !== void 0 ? D : [], k = new Set(_.map(($) => $.name.value));
|
|
8962
|
+
for (const [$, V] of Object.entries(R))
|
|
8963
|
+
if (!k.has($)) {
|
|
8964
8964
|
const N = (0, r.isType)(V.type) ? (0, e.inspect)(V.type) : (0, t.print)(V.type);
|
|
8965
8965
|
m.reportError(
|
|
8966
8966
|
new s.GraphQLError(
|
|
8967
|
-
`Directive "@${O}" argument "${
|
|
8967
|
+
`Directive "@${O}" argument "${$}" of type "${N}" is required, but it was not provided.`,
|
|
8968
8968
|
{
|
|
8969
8969
|
nodes: v
|
|
8970
8970
|
}
|
|
@@ -8981,10 +8981,10 @@ function Lo() {
|
|
|
8981
8981
|
}
|
|
8982
8982
|
return Pn;
|
|
8983
8983
|
}
|
|
8984
|
-
var Vt = {},
|
|
8984
|
+
var Vt = {}, Ca;
|
|
8985
8985
|
function Ro() {
|
|
8986
|
-
if (
|
|
8987
|
-
|
|
8986
|
+
if (Ca) return Vt;
|
|
8987
|
+
Ca = 1, Object.defineProperty(Vt, "__esModule", {
|
|
8988
8988
|
value: !0
|
|
8989
8989
|
}), Vt.ScalarLeafsRule = i;
|
|
8990
8990
|
var e = /* @__PURE__ */ pe(), n = /* @__PURE__ */ ne(), s = /* @__PURE__ */ oe();
|
|
@@ -9046,7 +9046,7 @@ function Do() {
|
|
|
9046
9046
|
}
|
|
9047
9047
|
return Mt;
|
|
9048
9048
|
}
|
|
9049
|
-
var
|
|
9049
|
+
var $t = {}, kn = {}, Qa;
|
|
9050
9050
|
function Fr() {
|
|
9051
9051
|
if (Qa) return kn;
|
|
9052
9052
|
Qa = 1, Object.defineProperty(kn, "__esModule", {
|
|
@@ -9070,10 +9070,10 @@ function Fr() {
|
|
|
9070
9070
|
}
|
|
9071
9071
|
var qa;
|
|
9072
9072
|
function Ao() {
|
|
9073
|
-
if (qa) return
|
|
9074
|
-
qa = 1, Object.defineProperty(
|
|
9073
|
+
if (qa) return $t;
|
|
9074
|
+
qa = 1, Object.defineProperty($t, "__esModule", {
|
|
9075
9075
|
value: !0
|
|
9076
|
-
}),
|
|
9076
|
+
}), $t.coerceInputValue = m;
|
|
9077
9077
|
var e = /* @__PURE__ */ an(), n = /* @__PURE__ */ pe(), s = /* @__PURE__ */ Se(), i = /* @__PURE__ */ ci(), t = /* @__PURE__ */ Je(), r = /* @__PURE__ */ Fr(), a = /* @__PURE__ */ Do(), c = /* @__PURE__ */ on(), u = /* @__PURE__ */ ne(), f = /* @__PURE__ */ oe();
|
|
9078
9078
|
function m(h, l, p = o) {
|
|
9079
9079
|
return d(h, l, p, void 0);
|
|
@@ -9202,14 +9202,14 @@ function Ao() {
|
|
|
9202
9202
|
"Unexpected input type: " + (0, n.inspect)(l)
|
|
9203
9203
|
);
|
|
9204
9204
|
}
|
|
9205
|
-
return
|
|
9205
|
+
return $t;
|
|
9206
9206
|
}
|
|
9207
|
-
var
|
|
9207
|
+
var Ct = {}, Ka;
|
|
9208
9208
|
function kr() {
|
|
9209
|
-
if (Ka) return
|
|
9210
|
-
Ka = 1, Object.defineProperty(
|
|
9209
|
+
if (Ka) return Ct;
|
|
9210
|
+
Ka = 1, Object.defineProperty(Ct, "__esModule", {
|
|
9211
9211
|
value: !0
|
|
9212
|
-
}),
|
|
9212
|
+
}), Ct.valueFromAST = r;
|
|
9213
9213
|
var e = /* @__PURE__ */ pe(), n = /* @__PURE__ */ Se(), s = /* @__PURE__ */ sn(), i = /* @__PURE__ */ se(), t = /* @__PURE__ */ oe();
|
|
9214
9214
|
function r(c, u, f) {
|
|
9215
9215
|
if (c) {
|
|
@@ -9290,7 +9290,7 @@ function kr() {
|
|
|
9290
9290
|
function a(c, u) {
|
|
9291
9291
|
return c.kind === i.Kind.VARIABLE && (u == null || u[c.name.value] === void 0);
|
|
9292
9292
|
}
|
|
9293
|
-
return
|
|
9293
|
+
return Ct;
|
|
9294
9294
|
}
|
|
9295
9295
|
var xa;
|
|
9296
9296
|
function Bn() {
|
|
@@ -9360,8 +9360,8 @@ function Bn() {
|
|
|
9360
9360
|
}
|
|
9361
9361
|
continue;
|
|
9362
9362
|
}
|
|
9363
|
-
const
|
|
9364
|
-
if (
|
|
9363
|
+
const $ = v[_];
|
|
9364
|
+
if ($ === null && (0, a.isNonNullType)(k)) {
|
|
9365
9365
|
const V = (0, e.inspect)(k);
|
|
9366
9366
|
O(
|
|
9367
9367
|
new i.GraphQLError(
|
|
@@ -9374,7 +9374,7 @@ function Bn() {
|
|
|
9374
9374
|
continue;
|
|
9375
9375
|
}
|
|
9376
9376
|
R[_] = (0, c.coerceInputValue)(
|
|
9377
|
-
|
|
9377
|
+
$,
|
|
9378
9378
|
k,
|
|
9379
9379
|
(V, N, g) => {
|
|
9380
9380
|
let L = `Variable "$${_}" got invalid value ` + (0, e.inspect)(N);
|
|
@@ -9398,13 +9398,13 @@ function Bn() {
|
|
|
9398
9398
|
(k) => k.name.value
|
|
9399
9399
|
);
|
|
9400
9400
|
for (const k of p.args) {
|
|
9401
|
-
const
|
|
9401
|
+
const $ = k.name, V = k.type, N = _[$];
|
|
9402
9402
|
if (!N) {
|
|
9403
9403
|
if (k.defaultValue !== void 0)
|
|
9404
|
-
R[
|
|
9404
|
+
R[$] = k.defaultValue;
|
|
9405
9405
|
else if ((0, a.isNonNullType)(V))
|
|
9406
9406
|
throw new i.GraphQLError(
|
|
9407
|
-
`Argument "${
|
|
9407
|
+
`Argument "${$}" of required type "${(0, e.inspect)(
|
|
9408
9408
|
V
|
|
9409
9409
|
)}" was not provided.`,
|
|
9410
9410
|
{
|
|
@@ -9419,10 +9419,10 @@ function Bn() {
|
|
|
9419
9419
|
const T = g.name.value;
|
|
9420
9420
|
if (v == null || !l(v, T)) {
|
|
9421
9421
|
if (k.defaultValue !== void 0)
|
|
9422
|
-
R[
|
|
9422
|
+
R[$] = k.defaultValue;
|
|
9423
9423
|
else if ((0, a.isNonNullType)(V))
|
|
9424
9424
|
throw new i.GraphQLError(
|
|
9425
|
-
`Argument "${
|
|
9425
|
+
`Argument "${$}" of required type "${(0, e.inspect)(
|
|
9426
9426
|
V
|
|
9427
9427
|
)}" was provided the variable "$${T}" which was not provided a runtime value.`,
|
|
9428
9428
|
{
|
|
@@ -9435,7 +9435,7 @@ function Bn() {
|
|
|
9435
9435
|
}
|
|
9436
9436
|
if (L && (0, a.isNonNullType)(V))
|
|
9437
9437
|
throw new i.GraphQLError(
|
|
9438
|
-
`Argument "${
|
|
9438
|
+
`Argument "${$}" of non-null type "${(0, e.inspect)(
|
|
9439
9439
|
V
|
|
9440
9440
|
)}" must not be null.`,
|
|
9441
9441
|
{
|
|
@@ -9449,14 +9449,14 @@ function Bn() {
|
|
|
9449
9449
|
);
|
|
9450
9450
|
if (E === void 0)
|
|
9451
9451
|
throw new i.GraphQLError(
|
|
9452
|
-
`Argument "${
|
|
9452
|
+
`Argument "${$}" has invalid value ${(0, r.print)(
|
|
9453
9453
|
g
|
|
9454
9454
|
)}.`,
|
|
9455
9455
|
{
|
|
9456
9456
|
nodes: g
|
|
9457
9457
|
}
|
|
9458
9458
|
);
|
|
9459
|
-
R[
|
|
9459
|
+
R[$] = E;
|
|
9460
9460
|
}
|
|
9461
9461
|
return R;
|
|
9462
9462
|
}
|
|
@@ -9924,7 +9924,7 @@ function Mo() {
|
|
|
9924
9924
|
return Jt;
|
|
9925
9925
|
}
|
|
9926
9926
|
var Xt = {}, ts;
|
|
9927
|
-
function
|
|
9927
|
+
function $o() {
|
|
9928
9928
|
if (ts) return Xt;
|
|
9929
9929
|
ts = 1, Object.defineProperty(Xt, "__esModule", {
|
|
9930
9930
|
value: !0
|
|
@@ -9959,7 +9959,7 @@ function Co() {
|
|
|
9959
9959
|
return Xt;
|
|
9960
9960
|
}
|
|
9961
9961
|
var zt = {}, rs;
|
|
9962
|
-
function
|
|
9962
|
+
function Co() {
|
|
9963
9963
|
if (rs) return zt;
|
|
9964
9964
|
rs = 1, Object.defineProperty(zt, "__esModule", {
|
|
9965
9965
|
value: !0
|
|
@@ -10382,7 +10382,7 @@ function Yo() {
|
|
|
10382
10382
|
ls = 1, Object.defineProperty(xe, "__esModule", {
|
|
10383
10383
|
value: !0
|
|
10384
10384
|
}), xe.specifiedSDLRules = xe.specifiedRules = xe.recommendedRules = void 0;
|
|
10385
|
-
var e = /* @__PURE__ */ uo(), n = /* @__PURE__ */ co(), s = /* @__PURE__ */ lo(), i = /* @__PURE__ */ po(), t = /* @__PURE__ */ fo(), r = /* @__PURE__ */ mo(), a = /* @__PURE__ */ yo(), c = /* @__PURE__ */ ho(), u = /* @__PURE__ */ To(), f = /* @__PURE__ */ vo(), m = /* @__PURE__ */ bo(), o = /* @__PURE__ */ go(), d = /* @__PURE__ */ Eo(), h = /* @__PURE__ */ No(), l = /* @__PURE__ */ _o(), p = /* @__PURE__ */ Io(), y = /* @__PURE__ */ So(), v = /* @__PURE__ */ Lo(), O = /* @__PURE__ */ Ro(), R = /* @__PURE__ */ jo(), D = /* @__PURE__ */ Po(), _ = /* @__PURE__ */ Fo(), k = /* @__PURE__ */ ko(),
|
|
10385
|
+
var e = /* @__PURE__ */ uo(), n = /* @__PURE__ */ co(), s = /* @__PURE__ */ lo(), i = /* @__PURE__ */ po(), t = /* @__PURE__ */ fo(), r = /* @__PURE__ */ mo(), a = /* @__PURE__ */ yo(), c = /* @__PURE__ */ ho(), u = /* @__PURE__ */ To(), f = /* @__PURE__ */ vo(), m = /* @__PURE__ */ bo(), o = /* @__PURE__ */ go(), d = /* @__PURE__ */ Eo(), h = /* @__PURE__ */ No(), l = /* @__PURE__ */ _o(), p = /* @__PURE__ */ Io(), y = /* @__PURE__ */ So(), v = /* @__PURE__ */ Lo(), O = /* @__PURE__ */ Ro(), R = /* @__PURE__ */ jo(), D = /* @__PURE__ */ Po(), _ = /* @__PURE__ */ Fo(), k = /* @__PURE__ */ ko(), $ = /* @__PURE__ */ wo(), V = /* @__PURE__ */ Vo(), N = /* @__PURE__ */ Go(), g = /* @__PURE__ */ Mo(), L = /* @__PURE__ */ $o(), E = /* @__PURE__ */ Co(), T = /* @__PURE__ */ Uo(), b = /* @__PURE__ */ Qo(), I = /* @__PURE__ */ qo(), S = /* @__PURE__ */ Ko(), j = /* @__PURE__ */ xo(), w = /* @__PURE__ */ Bo();
|
|
10386
10386
|
const U = Object.freeze([
|
|
10387
10387
|
f.MaxIntrospectionDepthRule
|
|
10388
10388
|
]);
|
|
@@ -10406,7 +10406,7 @@ function Yo() {
|
|
|
10406
10406
|
o.NoUndefinedVariablesRule,
|
|
10407
10407
|
h.NoUnusedVariablesRule,
|
|
10408
10408
|
t.KnownDirectivesRule,
|
|
10409
|
-
|
|
10409
|
+
$.UniqueDirectivesPerLocationRule,
|
|
10410
10410
|
i.KnownArgumentNamesRule,
|
|
10411
10411
|
_.UniqueArgumentNamesRule,
|
|
10412
10412
|
S.ValuesOfCorrectTypeRule,
|
|
@@ -10427,7 +10427,7 @@ function Yo() {
|
|
|
10427
10427
|
k.UniqueDirectiveNamesRule,
|
|
10428
10428
|
a.KnownTypeNamesRule,
|
|
10429
10429
|
t.KnownDirectivesRule,
|
|
10430
|
-
|
|
10430
|
+
$.UniqueDirectivesPerLocationRule,
|
|
10431
10431
|
y.PossibleTypeExtensionsRule,
|
|
10432
10432
|
i.KnownArgumentNamesOnDirectivesRule,
|
|
10433
10433
|
_.UniqueArgumentNamesRule,
|
|
@@ -10701,14 +10701,14 @@ function Vr() {
|
|
|
10701
10701
|
if (hs) return Pe;
|
|
10702
10702
|
hs = 1, Object.defineProperty(Pe, "__esModule", {
|
|
10703
10703
|
value: !0
|
|
10704
|
-
}), Pe.assertValidExecutionArguments =
|
|
10705
|
-
var e = /* @__PURE__ */ Re(), n = /* @__PURE__ */ pe(), s = /* @__PURE__ */ Se(), i = /* @__PURE__ */ ci(), t = /* @__PURE__ */ Je(), r = /* @__PURE__ */ ii(), a = /* @__PURE__ */ Wu(), c = /* @__PURE__ */ Fr(), u = /* @__PURE__ */ Zu(), f = /* @__PURE__ */ ec(), m = /* @__PURE__ */ ne(), o = /* @__PURE__ */ ri(), d = /* @__PURE__ */ Xe(), h = /* @__PURE__ */ se(), l = /* @__PURE__ */ oe(), p = /* @__PURE__ */
|
|
10704
|
+
}), Pe.assertValidExecutionArguments = $, Pe.buildExecutionContext = V, Pe.buildResolveInfo = T, Pe.defaultTypeResolver = Pe.defaultFieldResolver = void 0, Pe.execute = D, Pe.executeSync = _, Pe.getFieldDef = le;
|
|
10705
|
+
var e = /* @__PURE__ */ Re(), n = /* @__PURE__ */ pe(), s = /* @__PURE__ */ Se(), i = /* @__PURE__ */ ci(), t = /* @__PURE__ */ Je(), r = /* @__PURE__ */ ii(), a = /* @__PURE__ */ Wu(), c = /* @__PURE__ */ Fr(), u = /* @__PURE__ */ Zu(), f = /* @__PURE__ */ ec(), m = /* @__PURE__ */ ne(), o = /* @__PURE__ */ ri(), d = /* @__PURE__ */ Xe(), h = /* @__PURE__ */ se(), l = /* @__PURE__ */ oe(), p = /* @__PURE__ */ $e(), y = /* @__PURE__ */ Pr(), v = /* @__PURE__ */ di(), O = /* @__PURE__ */ Bn();
|
|
10706
10706
|
const R = (0, a.memoize3)(
|
|
10707
|
-
(M,
|
|
10707
|
+
(M, C, x) => (0, v.collectSubfields)(
|
|
10708
10708
|
M.schema,
|
|
10709
10709
|
M.fragments,
|
|
10710
10710
|
M.variableValues,
|
|
10711
|
-
|
|
10711
|
+
C,
|
|
10712
10712
|
x
|
|
10713
10713
|
)
|
|
10714
10714
|
);
|
|
@@ -10717,8 +10717,8 @@ function Vr() {
|
|
|
10717
10717
|
!1,
|
|
10718
10718
|
"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead."
|
|
10719
10719
|
);
|
|
10720
|
-
const { schema:
|
|
10721
|
-
C
|
|
10720
|
+
const { schema: C, document: x, variableValues: B, rootValue: ee } = M;
|
|
10721
|
+
$(C, x, B);
|
|
10722
10722
|
const Y = V(M);
|
|
10723
10723
|
if (!("schema" in Y))
|
|
10724
10724
|
return {
|
|
@@ -10735,27 +10735,27 @@ function Vr() {
|
|
|
10735
10735
|
}
|
|
10736
10736
|
}
|
|
10737
10737
|
function _(M) {
|
|
10738
|
-
const
|
|
10739
|
-
if ((0, r.isPromise)(
|
|
10738
|
+
const C = D(M);
|
|
10739
|
+
if ((0, r.isPromise)(C))
|
|
10740
10740
|
throw new Error("GraphQL execution failed to complete synchronously.");
|
|
10741
|
-
return
|
|
10741
|
+
return C;
|
|
10742
10742
|
}
|
|
10743
|
-
function k(M,
|
|
10744
|
-
return
|
|
10743
|
+
function k(M, C) {
|
|
10744
|
+
return C.length === 0 ? {
|
|
10745
10745
|
data: M
|
|
10746
10746
|
} : {
|
|
10747
|
-
errors:
|
|
10747
|
+
errors: C,
|
|
10748
10748
|
data: M
|
|
10749
10749
|
};
|
|
10750
10750
|
}
|
|
10751
|
-
function
|
|
10752
|
-
|
|
10751
|
+
function $(M, C, x) {
|
|
10752
|
+
C || (0, e.devAssert)(!1, "Must provide document."), (0, y.assertValidSchema)(M), x == null || (0, t.isObjectLike)(x) || (0, e.devAssert)(
|
|
10753
10753
|
!1,
|
|
10754
10754
|
"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided."
|
|
10755
10755
|
);
|
|
10756
10756
|
}
|
|
10757
10757
|
function V(M) {
|
|
10758
|
-
var
|
|
10758
|
+
var C, x;
|
|
10759
10759
|
const {
|
|
10760
10760
|
schema: B,
|
|
10761
10761
|
document: ee,
|
|
@@ -10780,7 +10780,7 @@ function Vr() {
|
|
|
10780
10780
|
)
|
|
10781
10781
|
];
|
|
10782
10782
|
ye = ke;
|
|
10783
|
-
} else ((
|
|
10783
|
+
} else ((C = ke.name) === null || C === void 0 ? void 0 : C.value) === ue && (ye = ke);
|
|
10784
10784
|
break;
|
|
10785
10785
|
case h.Kind.FRAGMENT_DEFINITION:
|
|
10786
10786
|
be[ke.name.value] = ke;
|
|
@@ -10813,13 +10813,13 @@ function Vr() {
|
|
|
10813
10813
|
errors: []
|
|
10814
10814
|
};
|
|
10815
10815
|
}
|
|
10816
|
-
function N(M,
|
|
10817
|
-
const B = M.schema.getRootType(
|
|
10816
|
+
function N(M, C, x) {
|
|
10817
|
+
const B = M.schema.getRootType(C.operation);
|
|
10818
10818
|
if (B == null)
|
|
10819
10819
|
throw new m.GraphQLError(
|
|
10820
|
-
`Schema is not configured to execute ${
|
|
10820
|
+
`Schema is not configured to execute ${C.operation} operation.`,
|
|
10821
10821
|
{
|
|
10822
|
-
nodes:
|
|
10822
|
+
nodes: C
|
|
10823
10823
|
}
|
|
10824
10824
|
);
|
|
10825
10825
|
const ee = (0, v.collectFields)(
|
|
@@ -10827,9 +10827,9 @@ function Vr() {
|
|
|
10827
10827
|
M.fragments,
|
|
10828
10828
|
M.variableValues,
|
|
10829
10829
|
B,
|
|
10830
|
-
|
|
10830
|
+
C.selectionSet
|
|
10831
10831
|
), Y = void 0;
|
|
10832
|
-
switch (
|
|
10832
|
+
switch (C.operation) {
|
|
10833
10833
|
case d.OperationTypeNode.QUERY:
|
|
10834
10834
|
return L(M, B, x, Y, ee);
|
|
10835
10835
|
case d.OperationTypeNode.MUTATION:
|
|
@@ -10844,13 +10844,13 @@ function Vr() {
|
|
|
10844
10844
|
return L(M, B, x, Y, ee);
|
|
10845
10845
|
}
|
|
10846
10846
|
}
|
|
10847
|
-
function g(M,
|
|
10847
|
+
function g(M, C, x, B, ee) {
|
|
10848
10848
|
return (0, f.promiseReduce)(
|
|
10849
10849
|
ee.entries(),
|
|
10850
10850
|
(Y, [Z, re]) => {
|
|
10851
|
-
const ue = (0, c.addPath)(B, Z,
|
|
10851
|
+
const ue = (0, c.addPath)(B, Z, C.name), de = E(
|
|
10852
10852
|
M,
|
|
10853
|
-
|
|
10853
|
+
C,
|
|
10854
10854
|
x,
|
|
10855
10855
|
re,
|
|
10856
10856
|
ue
|
|
@@ -10860,14 +10860,14 @@ function Vr() {
|
|
|
10860
10860
|
/* @__PURE__ */ Object.create(null)
|
|
10861
10861
|
);
|
|
10862
10862
|
}
|
|
10863
|
-
function L(M,
|
|
10863
|
+
function L(M, C, x, B, ee) {
|
|
10864
10864
|
const Y = /* @__PURE__ */ Object.create(null);
|
|
10865
10865
|
let Z = !1;
|
|
10866
10866
|
try {
|
|
10867
10867
|
for (const [re, ue] of ee.entries()) {
|
|
10868
|
-
const de = (0, c.addPath)(B, re,
|
|
10868
|
+
const de = (0, c.addPath)(B, re, C.name), Te = E(
|
|
10869
10869
|
M,
|
|
10870
|
-
|
|
10870
|
+
C,
|
|
10871
10871
|
x,
|
|
10872
10872
|
ue,
|
|
10873
10873
|
de
|
|
@@ -10883,16 +10883,16 @@ function Vr() {
|
|
|
10883
10883
|
}
|
|
10884
10884
|
return Z ? (0, u.promiseForObject)(Y) : Y;
|
|
10885
10885
|
}
|
|
10886
|
-
function E(M,
|
|
10886
|
+
function E(M, C, x, B, ee) {
|
|
10887
10887
|
var Y;
|
|
10888
|
-
const Z = le(M.schema,
|
|
10888
|
+
const Z = le(M.schema, C, B[0]);
|
|
10889
10889
|
if (!Z)
|
|
10890
10890
|
return;
|
|
10891
10891
|
const re = Z.type, ue = (Y = Z.resolve) !== null && Y !== void 0 ? Y : M.fieldResolver, de = T(
|
|
10892
10892
|
M,
|
|
10893
10893
|
Z,
|
|
10894
10894
|
B,
|
|
10895
|
-
|
|
10895
|
+
C,
|
|
10896
10896
|
ee
|
|
10897
10897
|
);
|
|
10898
10898
|
try {
|
|
@@ -10928,11 +10928,11 @@ function Vr() {
|
|
|
10928
10928
|
return b(Oe, re, M);
|
|
10929
10929
|
}
|
|
10930
10930
|
}
|
|
10931
|
-
function T(M,
|
|
10931
|
+
function T(M, C, x, B, ee) {
|
|
10932
10932
|
return {
|
|
10933
|
-
fieldName:
|
|
10933
|
+
fieldName: C.name,
|
|
10934
10934
|
fieldNodes: x,
|
|
10935
|
-
returnType:
|
|
10935
|
+
returnType: C.type,
|
|
10936
10936
|
parentType: B,
|
|
10937
10937
|
path: ee,
|
|
10938
10938
|
schema: M.schema,
|
|
@@ -10942,18 +10942,18 @@ function Vr() {
|
|
|
10942
10942
|
variableValues: M.variableValues
|
|
10943
10943
|
};
|
|
10944
10944
|
}
|
|
10945
|
-
function b(M,
|
|
10946
|
-
if ((0, l.isNonNullType)(
|
|
10945
|
+
function b(M, C, x) {
|
|
10946
|
+
if ((0, l.isNonNullType)(C))
|
|
10947
10947
|
throw M;
|
|
10948
10948
|
return x.errors.push(M), null;
|
|
10949
10949
|
}
|
|
10950
|
-
function I(M,
|
|
10950
|
+
function I(M, C, x, B, ee, Y) {
|
|
10951
10951
|
if (Y instanceof Error)
|
|
10952
10952
|
throw Y;
|
|
10953
|
-
if ((0, l.isNonNullType)(
|
|
10953
|
+
if ((0, l.isNonNullType)(C)) {
|
|
10954
10954
|
const Z = I(
|
|
10955
10955
|
M,
|
|
10956
|
-
|
|
10956
|
+
C.ofType,
|
|
10957
10957
|
x,
|
|
10958
10958
|
B,
|
|
10959
10959
|
ee,
|
|
@@ -10967,30 +10967,30 @@ function Vr() {
|
|
|
10967
10967
|
}
|
|
10968
10968
|
if (Y == null)
|
|
10969
10969
|
return null;
|
|
10970
|
-
if ((0, l.isListType)(
|
|
10970
|
+
if ((0, l.isListType)(C))
|
|
10971
10971
|
return S(
|
|
10972
10972
|
M,
|
|
10973
|
-
|
|
10973
|
+
C,
|
|
10974
10974
|
x,
|
|
10975
10975
|
B,
|
|
10976
10976
|
ee,
|
|
10977
10977
|
Y
|
|
10978
10978
|
);
|
|
10979
|
-
if ((0, l.isLeafType)(
|
|
10980
|
-
return j(
|
|
10981
|
-
if ((0, l.isAbstractType)(
|
|
10979
|
+
if ((0, l.isLeafType)(C))
|
|
10980
|
+
return j(C, Y);
|
|
10981
|
+
if ((0, l.isAbstractType)(C))
|
|
10982
10982
|
return w(
|
|
10983
10983
|
M,
|
|
10984
|
-
|
|
10984
|
+
C,
|
|
10985
10985
|
x,
|
|
10986
10986
|
B,
|
|
10987
10987
|
ee,
|
|
10988
10988
|
Y
|
|
10989
10989
|
);
|
|
10990
|
-
if ((0, l.isObjectType)(
|
|
10990
|
+
if ((0, l.isObjectType)(C))
|
|
10991
10991
|
return W(
|
|
10992
10992
|
M,
|
|
10993
|
-
|
|
10993
|
+
C,
|
|
10994
10994
|
x,
|
|
10995
10995
|
B,
|
|
10996
10996
|
ee,
|
|
@@ -10998,15 +10998,15 @@ function Vr() {
|
|
|
10998
10998
|
);
|
|
10999
10999
|
(0, s.invariant)(
|
|
11000
11000
|
!1,
|
|
11001
|
-
"Cannot complete value of unexpected output type: " + (0, n.inspect)(
|
|
11001
|
+
"Cannot complete value of unexpected output type: " + (0, n.inspect)(C)
|
|
11002
11002
|
);
|
|
11003
11003
|
}
|
|
11004
|
-
function S(M,
|
|
11004
|
+
function S(M, C, x, B, ee, Y) {
|
|
11005
11005
|
if (!(0, i.isIterableObject)(Y))
|
|
11006
11006
|
throw new m.GraphQLError(
|
|
11007
11007
|
`Expected Iterable, but did not find one for field "${B.parentType.name}.${B.fieldName}".`
|
|
11008
11008
|
);
|
|
11009
|
-
const Z =
|
|
11009
|
+
const Z = C.ofType;
|
|
11010
11010
|
let re = !1;
|
|
11011
11011
|
const ue = Array.from(Y, (de, Te) => {
|
|
11012
11012
|
const Oe = (0, c.addPath)(ee, Te, void 0);
|
|
@@ -11047,26 +11047,26 @@ function Vr() {
|
|
|
11047
11047
|
});
|
|
11048
11048
|
return re ? Promise.all(ue) : ue;
|
|
11049
11049
|
}
|
|
11050
|
-
function j(M,
|
|
11051
|
-
const x = M.serialize(
|
|
11050
|
+
function j(M, C) {
|
|
11051
|
+
const x = M.serialize(C);
|
|
11052
11052
|
if (x == null)
|
|
11053
11053
|
throw new Error(
|
|
11054
|
-
`Expected \`${(0, n.inspect)(M)}.serialize(${(0, n.inspect)(
|
|
11054
|
+
`Expected \`${(0, n.inspect)(M)}.serialize(${(0, n.inspect)(C)})\` to return non-nullable value, returned: ${(0, n.inspect)(
|
|
11055
11055
|
x
|
|
11056
11056
|
)}`
|
|
11057
11057
|
);
|
|
11058
11058
|
return x;
|
|
11059
11059
|
}
|
|
11060
|
-
function w(M,
|
|
11060
|
+
function w(M, C, x, B, ee, Y) {
|
|
11061
11061
|
var Z;
|
|
11062
|
-
const re = (Z =
|
|
11062
|
+
const re = (Z = C.resolveType) !== null && Z !== void 0 ? Z : M.typeResolver, ue = M.contextValue, de = re(Y, ue, B, C);
|
|
11063
11063
|
return (0, r.isPromise)(de) ? de.then(
|
|
11064
11064
|
(Te) => W(
|
|
11065
11065
|
M,
|
|
11066
11066
|
U(
|
|
11067
11067
|
Te,
|
|
11068
11068
|
M,
|
|
11069
|
-
|
|
11069
|
+
C,
|
|
11070
11070
|
x,
|
|
11071
11071
|
B,
|
|
11072
11072
|
Y
|
|
@@ -11081,7 +11081,7 @@ function Vr() {
|
|
|
11081
11081
|
U(
|
|
11082
11082
|
de,
|
|
11083
11083
|
M,
|
|
11084
|
-
|
|
11084
|
+
C,
|
|
11085
11085
|
x,
|
|
11086
11086
|
B,
|
|
11087
11087
|
Y
|
|
@@ -11092,7 +11092,7 @@ function Vr() {
|
|
|
11092
11092
|
Y
|
|
11093
11093
|
);
|
|
11094
11094
|
}
|
|
11095
|
-
function U(M,
|
|
11095
|
+
function U(M, C, x, B, ee, Y) {
|
|
11096
11096
|
if (M == null)
|
|
11097
11097
|
throw new m.GraphQLError(
|
|
11098
11098
|
`Abstract type "${x.name}" must resolve to an Object type at runtime for field "${ee.parentType.name}.${ee.fieldName}". Either the "${x.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,
|
|
@@ -11106,7 +11106,7 @@ function Vr() {
|
|
|
11106
11106
|
throw new m.GraphQLError(
|
|
11107
11107
|
`Abstract type "${x.name}" must resolve to an Object type at runtime for field "${ee.parentType.name}.${ee.fieldName}" with value ${(0, n.inspect)(Y)}, received "${(0, n.inspect)(M)}".`
|
|
11108
11108
|
);
|
|
11109
|
-
const Z =
|
|
11109
|
+
const Z = C.schema.getType(M);
|
|
11110
11110
|
if (Z == null)
|
|
11111
11111
|
throw new m.GraphQLError(
|
|
11112
11112
|
`Abstract type "${x.name}" was resolved to a type "${M}" that does not exist inside the schema.`,
|
|
@@ -11121,7 +11121,7 @@ function Vr() {
|
|
|
11121
11121
|
nodes: B
|
|
11122
11122
|
}
|
|
11123
11123
|
);
|
|
11124
|
-
if (
|
|
11124
|
+
if (!C.schema.isSubType(x, Z))
|
|
11125
11125
|
throw new m.GraphQLError(
|
|
11126
11126
|
`Runtime Object type "${Z.name}" is not a possible type for "${x.name}".`,
|
|
11127
11127
|
{
|
|
@@ -11130,43 +11130,43 @@ function Vr() {
|
|
|
11130
11130
|
);
|
|
11131
11131
|
return Z;
|
|
11132
11132
|
}
|
|
11133
|
-
function W(M,
|
|
11134
|
-
const Z = R(M,
|
|
11135
|
-
if (
|
|
11136
|
-
const re =
|
|
11133
|
+
function W(M, C, x, B, ee, Y) {
|
|
11134
|
+
const Z = R(M, C, x);
|
|
11135
|
+
if (C.isTypeOf) {
|
|
11136
|
+
const re = C.isTypeOf(Y, M.contextValue, B);
|
|
11137
11137
|
if ((0, r.isPromise)(re))
|
|
11138
11138
|
return re.then((ue) => {
|
|
11139
11139
|
if (!ue)
|
|
11140
|
-
throw P(
|
|
11140
|
+
throw P(C, Y, x);
|
|
11141
11141
|
return L(
|
|
11142
11142
|
M,
|
|
11143
|
-
|
|
11143
|
+
C,
|
|
11144
11144
|
Y,
|
|
11145
11145
|
ee,
|
|
11146
11146
|
Z
|
|
11147
11147
|
);
|
|
11148
11148
|
});
|
|
11149
11149
|
if (!re)
|
|
11150
|
-
throw P(
|
|
11150
|
+
throw P(C, Y, x);
|
|
11151
11151
|
}
|
|
11152
|
-
return L(M,
|
|
11152
|
+
return L(M, C, Y, ee, Z);
|
|
11153
11153
|
}
|
|
11154
|
-
function P(M,
|
|
11154
|
+
function P(M, C, x) {
|
|
11155
11155
|
return new m.GraphQLError(
|
|
11156
|
-
`Expected value of type "${M.name}" but got: ${(0, n.inspect)(
|
|
11156
|
+
`Expected value of type "${M.name}" but got: ${(0, n.inspect)(C)}.`,
|
|
11157
11157
|
{
|
|
11158
11158
|
nodes: x
|
|
11159
11159
|
}
|
|
11160
11160
|
);
|
|
11161
11161
|
}
|
|
11162
|
-
const K = function(M,
|
|
11162
|
+
const K = function(M, C, x, B) {
|
|
11163
11163
|
if ((0, t.isObjectLike)(M) && typeof M.__typename == "string")
|
|
11164
11164
|
return M.__typename;
|
|
11165
11165
|
const ee = x.schema.getPossibleTypes(B), Y = [];
|
|
11166
11166
|
for (let Z = 0; Z < ee.length; Z++) {
|
|
11167
11167
|
const re = ee[Z];
|
|
11168
11168
|
if (re.isTypeOf) {
|
|
11169
|
-
const ue = re.isTypeOf(M,
|
|
11169
|
+
const ue = re.isTypeOf(M, C, x);
|
|
11170
11170
|
if ((0, r.isPromise)(ue))
|
|
11171
11171
|
Y[Z] = ue;
|
|
11172
11172
|
else if (ue)
|
|
@@ -11181,16 +11181,16 @@ function Vr() {
|
|
|
11181
11181
|
});
|
|
11182
11182
|
};
|
|
11183
11183
|
Pe.defaultTypeResolver = K;
|
|
11184
|
-
const te = function(M,
|
|
11184
|
+
const te = function(M, C, x, B) {
|
|
11185
11185
|
if ((0, t.isObjectLike)(M) || typeof M == "function") {
|
|
11186
11186
|
const ee = M[B.fieldName];
|
|
11187
|
-
return typeof ee == "function" ? M[B.fieldName](
|
|
11187
|
+
return typeof ee == "function" ? M[B.fieldName](C, x, B) : ee;
|
|
11188
11188
|
}
|
|
11189
11189
|
};
|
|
11190
11190
|
Pe.defaultFieldResolver = te;
|
|
11191
|
-
function le(M,
|
|
11191
|
+
function le(M, C, x) {
|
|
11192
11192
|
const B = x.name.value;
|
|
11193
|
-
return B === p.SchemaMetaFieldDef.name && M.getQueryType() ===
|
|
11193
|
+
return B === p.SchemaMetaFieldDef.name && M.getQueryType() === C ? p.SchemaMetaFieldDef : B === p.TypeMetaFieldDef.name && M.getQueryType() === C ? p.TypeMetaFieldDef : B === p.TypeNameMetaFieldDef.name ? p.TypeNameMetaFieldDef : C.getFields()[B];
|
|
11194
11194
|
}
|
|
11195
11195
|
return Pe;
|
|
11196
11196
|
}
|
|
@@ -11253,7 +11253,7 @@ function nc() {
|
|
|
11253
11253
|
}
|
|
11254
11254
|
return Ln;
|
|
11255
11255
|
}
|
|
11256
|
-
var
|
|
11256
|
+
var $r = {}, vs;
|
|
11257
11257
|
function tc() {
|
|
11258
11258
|
return vs || (vs = 1, function(e) {
|
|
11259
11259
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -11704,10 +11704,10 @@ function tc() {
|
|
|
11704
11704
|
return a.validateSchema;
|
|
11705
11705
|
}
|
|
11706
11706
|
});
|
|
11707
|
-
var n = /* @__PURE__ */ On(), s = /* @__PURE__ */ oe(), i = /* @__PURE__ */ Fe(), t = /* @__PURE__ */ ze(), r = /* @__PURE__ */
|
|
11708
|
-
}(
|
|
11707
|
+
var n = /* @__PURE__ */ On(), s = /* @__PURE__ */ oe(), i = /* @__PURE__ */ Fe(), t = /* @__PURE__ */ ze(), r = /* @__PURE__ */ $e(), a = /* @__PURE__ */ Pr(), c = /* @__PURE__ */ Dr();
|
|
11708
|
+
}($r)), $r;
|
|
11709
11709
|
}
|
|
11710
|
-
var
|
|
11710
|
+
var Cr = {}, bs;
|
|
11711
11711
|
function rc() {
|
|
11712
11712
|
return bs || (bs = 1, function(e) {
|
|
11713
11713
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -11869,7 +11869,7 @@ function rc() {
|
|
|
11869
11869
|
}
|
|
11870
11870
|
});
|
|
11871
11871
|
var n = /* @__PURE__ */ oi(), s = /* @__PURE__ */ ni(), i = /* @__PURE__ */ io(), t = /* @__PURE__ */ se(), r = /* @__PURE__ */ Ir(), a = /* @__PURE__ */ si(), c = /* @__PURE__ */ xn(), u = /* @__PURE__ */ Ve(), f = /* @__PURE__ */ Nn(), m = /* @__PURE__ */ Xe(), o = /* @__PURE__ */ _n(), d = /* @__PURE__ */ Kn();
|
|
11872
|
-
}(
|
|
11872
|
+
}(Cr)), Cr;
|
|
11873
11873
|
}
|
|
11874
11874
|
var Ur = {}, wn = {}, sr = {}, gs;
|
|
11875
11875
|
function ic() {
|
|
@@ -12001,20 +12001,20 @@ function sc() {
|
|
|
12001
12001
|
O,
|
|
12002
12002
|
D,
|
|
12003
12003
|
v.selectionSet
|
|
12004
|
-
), [k,
|
|
12004
|
+
), [k, $] = [..._.entries()][0], V = (0, c.getFieldDef)(p, D, $[0]);
|
|
12005
12005
|
if (!V) {
|
|
12006
|
-
const E =
|
|
12006
|
+
const E = $[0].name.value;
|
|
12007
12007
|
throw new t.GraphQLError(
|
|
12008
12008
|
`The subscription field "${E}" is not defined.`,
|
|
12009
12009
|
{
|
|
12010
|
-
nodes:
|
|
12010
|
+
nodes: $
|
|
12011
12011
|
}
|
|
12012
12012
|
);
|
|
12013
12013
|
}
|
|
12014
12014
|
const N = (0, i.addPath)(void 0, k, D.name), g = (0, c.buildResolveInfo)(
|
|
12015
12015
|
l,
|
|
12016
12016
|
V,
|
|
12017
|
-
|
|
12017
|
+
$,
|
|
12018
12018
|
D,
|
|
12019
12019
|
N
|
|
12020
12020
|
);
|
|
@@ -12022,7 +12022,7 @@ function sc() {
|
|
|
12022
12022
|
var L;
|
|
12023
12023
|
const E = (0, f.getArgumentValues)(
|
|
12024
12024
|
V,
|
|
12025
|
-
|
|
12025
|
+
$[0],
|
|
12026
12026
|
O
|
|
12027
12027
|
), T = l.contextValue, I = await ((L = V.subscribe) !== null && L !== void 0 ? L : l.subscribeFieldResolver)(R, E, T, g);
|
|
12028
12028
|
if (I instanceof Error)
|
|
@@ -12031,7 +12031,7 @@ function sc() {
|
|
|
12031
12031
|
} catch (E) {
|
|
12032
12032
|
throw (0, r.locatedError)(
|
|
12033
12033
|
E,
|
|
12034
|
-
|
|
12034
|
+
$,
|
|
12035
12035
|
(0, i.pathToArray)(N)
|
|
12036
12036
|
);
|
|
12037
12037
|
}
|
|
@@ -12188,7 +12188,7 @@ function cc() {
|
|
|
12188
12188
|
Is = 1, Object.defineProperty(cr, "__esModule", {
|
|
12189
12189
|
value: !0
|
|
12190
12190
|
}), cr.NoSchemaIntrospectionCustomRule = i;
|
|
12191
|
-
var e = /* @__PURE__ */ ne(), n = /* @__PURE__ */ oe(), s = /* @__PURE__ */
|
|
12191
|
+
var e = /* @__PURE__ */ ne(), n = /* @__PURE__ */ oe(), s = /* @__PURE__ */ $e();
|
|
12192
12192
|
function i(t) {
|
|
12193
12193
|
return {
|
|
12194
12194
|
Field(r) {
|
|
@@ -12354,7 +12354,7 @@ function lc() {
|
|
|
12354
12354
|
}), Object.defineProperty(e, "UniqueFragmentNamesRule", {
|
|
12355
12355
|
enumerable: !0,
|
|
12356
12356
|
get: function() {
|
|
12357
|
-
return
|
|
12357
|
+
return $.UniqueFragmentNamesRule;
|
|
12358
12358
|
}
|
|
12359
12359
|
}), Object.defineProperty(e, "UniqueInputFieldNamesRule", {
|
|
12360
12360
|
enumerable: !0,
|
|
@@ -12417,7 +12417,7 @@ function lc() {
|
|
|
12417
12417
|
return n.validate;
|
|
12418
12418
|
}
|
|
12419
12419
|
});
|
|
12420
|
-
var n = /* @__PURE__ */ wr(), s = /* @__PURE__ */ Jo(), i = /* @__PURE__ */ Yo(), t = /* @__PURE__ */ uo(), r = /* @__PURE__ */ co(), a = /* @__PURE__ */ lo(), c = /* @__PURE__ */ po(), u = /* @__PURE__ */ fo(), f = /* @__PURE__ */ mo(), m = /* @__PURE__ */ yo(), o = /* @__PURE__ */ ho(), d = /* @__PURE__ */ bo(), h = /* @__PURE__ */ go(), l = /* @__PURE__ */ Eo(), p = /* @__PURE__ */ No(), y = /* @__PURE__ */ _o(), v = /* @__PURE__ */ Io(), O = /* @__PURE__ */ Lo(), R = /* @__PURE__ */ Ro(), D = /* @__PURE__ */ jo(), _ = /* @__PURE__ */ Fo(), k = /* @__PURE__ */ wo(),
|
|
12420
|
+
var n = /* @__PURE__ */ wr(), s = /* @__PURE__ */ Jo(), i = /* @__PURE__ */ Yo(), t = /* @__PURE__ */ uo(), r = /* @__PURE__ */ co(), a = /* @__PURE__ */ lo(), c = /* @__PURE__ */ po(), u = /* @__PURE__ */ fo(), f = /* @__PURE__ */ mo(), m = /* @__PURE__ */ yo(), o = /* @__PURE__ */ ho(), d = /* @__PURE__ */ bo(), h = /* @__PURE__ */ go(), l = /* @__PURE__ */ Eo(), p = /* @__PURE__ */ No(), y = /* @__PURE__ */ _o(), v = /* @__PURE__ */ Io(), O = /* @__PURE__ */ Lo(), R = /* @__PURE__ */ Ro(), D = /* @__PURE__ */ jo(), _ = /* @__PURE__ */ Fo(), k = /* @__PURE__ */ wo(), $ = /* @__PURE__ */ Mo(), V = /* @__PURE__ */ $o(), N = /* @__PURE__ */ Co(), g = /* @__PURE__ */ qo(), L = /* @__PURE__ */ Ko(), E = /* @__PURE__ */ xo(), T = /* @__PURE__ */ Bo(), b = /* @__PURE__ */ vo(), I = /* @__PURE__ */ To(), S = /* @__PURE__ */ Uo(), j = /* @__PURE__ */ Qo(), w = /* @__PURE__ */ Vo(), U = /* @__PURE__ */ Go(), W = /* @__PURE__ */ Po(), P = /* @__PURE__ */ ko(), K = /* @__PURE__ */ So(), te = /* @__PURE__ */ uc(), le = /* @__PURE__ */ cc();
|
|
12421
12421
|
}(Qr)), Qr;
|
|
12422
12422
|
}
|
|
12423
12423
|
var qr = {}, lr = {}, Ls;
|
|
@@ -12654,7 +12654,7 @@ function mc() {
|
|
|
12654
12654
|
js = 1, Object.defineProperty(mr, "__esModule", {
|
|
12655
12655
|
value: !0
|
|
12656
12656
|
}), mr.buildClientSchema = o;
|
|
12657
|
-
var e = /* @__PURE__ */ Re(), n = /* @__PURE__ */ pe(), s = /* @__PURE__ */ Je(), i = /* @__PURE__ */ Lr(), t = /* @__PURE__ */ xn(), r = /* @__PURE__ */ oe(), a = /* @__PURE__ */ Fe(), c = /* @__PURE__ */
|
|
12657
|
+
var e = /* @__PURE__ */ Re(), n = /* @__PURE__ */ pe(), s = /* @__PURE__ */ Je(), i = /* @__PURE__ */ Lr(), t = /* @__PURE__ */ xn(), r = /* @__PURE__ */ oe(), a = /* @__PURE__ */ Fe(), c = /* @__PURE__ */ $e(), u = /* @__PURE__ */ ze(), f = /* @__PURE__ */ On(), m = /* @__PURE__ */ kr();
|
|
12658
12658
|
function o(d, h) {
|
|
12659
12659
|
(0, s.isObjectLike)(d) && (0, s.isObjectLike)(d.__schema) || (0, e.devAssert)(
|
|
12660
12660
|
!1,
|
|
@@ -12714,7 +12714,7 @@ function mc() {
|
|
|
12714
12714
|
function k(P) {
|
|
12715
12715
|
return (0, r.assertObjectType)(_(P));
|
|
12716
12716
|
}
|
|
12717
|
-
function
|
|
12717
|
+
function $(P) {
|
|
12718
12718
|
return (0, r.assertInterfaceType)(_(P));
|
|
12719
12719
|
}
|
|
12720
12720
|
function V(P) {
|
|
@@ -12756,7 +12756,7 @@ function mc() {
|
|
|
12756
12756
|
`Introspection result missing interfaces: ${K}.`
|
|
12757
12757
|
);
|
|
12758
12758
|
}
|
|
12759
|
-
return P.interfaces.map(
|
|
12759
|
+
return P.interfaces.map($);
|
|
12760
12760
|
}
|
|
12761
12761
|
function L(P) {
|
|
12762
12762
|
return new r.GraphQLObjectType({
|
|
@@ -12917,13 +12917,13 @@ function zo() {
|
|
|
12917
12917
|
Ps = 1, Object.defineProperty(Gn, "__esModule", {
|
|
12918
12918
|
value: !0
|
|
12919
12919
|
}), Gn.extendSchema = p, Gn.extendSchemaImpl = y;
|
|
12920
|
-
var e = /* @__PURE__ */ Re(), n = /* @__PURE__ */ pe(), s = /* @__PURE__ */ Se(), i = /* @__PURE__ */ sn(), t = /* @__PURE__ */ so(), r = /* @__PURE__ */ se(), a = /* @__PURE__ */ _n(), c = /* @__PURE__ */ oe(), u = /* @__PURE__ */ Fe(), f = /* @__PURE__ */
|
|
12921
|
-
function p(_, k,
|
|
12922
|
-
(0, o.assertSchema)(_), k != null && k.kind === r.Kind.DOCUMENT || (0, e.devAssert)(!1, "Must provide valid Document AST."), (
|
|
12923
|
-
const V = _.toConfig(), N = y(V, k,
|
|
12920
|
+
var e = /* @__PURE__ */ Re(), n = /* @__PURE__ */ pe(), s = /* @__PURE__ */ Se(), i = /* @__PURE__ */ sn(), t = /* @__PURE__ */ so(), r = /* @__PURE__ */ se(), a = /* @__PURE__ */ _n(), c = /* @__PURE__ */ oe(), u = /* @__PURE__ */ Fe(), f = /* @__PURE__ */ $e(), m = /* @__PURE__ */ ze(), o = /* @__PURE__ */ On(), d = /* @__PURE__ */ wr(), h = /* @__PURE__ */ Bn(), l = /* @__PURE__ */ kr();
|
|
12921
|
+
function p(_, k, $) {
|
|
12922
|
+
(0, o.assertSchema)(_), k != null && k.kind === r.Kind.DOCUMENT || (0, e.devAssert)(!1, "Must provide valid Document AST."), ($ == null ? void 0 : $.assumeValid) !== !0 && ($ == null ? void 0 : $.assumeValidSDL) !== !0 && (0, d.assertValidSDLExtension)(k, _);
|
|
12923
|
+
const V = _.toConfig(), N = y(V, k, $);
|
|
12924
12924
|
return V === N ? _ : new o.GraphQLSchema(N);
|
|
12925
12925
|
}
|
|
12926
|
-
function y(_, k,
|
|
12926
|
+
function y(_, k, $) {
|
|
12927
12927
|
var V, N, g, L;
|
|
12928
12928
|
const E = [], T = /* @__PURE__ */ Object.create(null), b = [];
|
|
12929
12929
|
let I;
|
|
@@ -12969,7 +12969,7 @@ function zo() {
|
|
|
12969
12969
|
extensions: /* @__PURE__ */ Object.create(null),
|
|
12970
12970
|
astNode: (g = I) !== null && g !== void 0 ? g : _.astNode,
|
|
12971
12971
|
extensionASTNodes: _.extensionASTNodes.concat(S),
|
|
12972
|
-
assumeValid: (L =
|
|
12972
|
+
assumeValid: (L = $ == null ? void 0 : $.assumeValid) !== null && L !== void 0 ? L : !1
|
|
12973
12973
|
};
|
|
12974
12974
|
function W(G) {
|
|
12975
12975
|
return (0, c.isListType)(G) ? new c.GraphQLList(W(G.ofType)) : (0, c.isNonNullType)(G) ? new c.GraphQLNonNull(W(G.ofType)) : P(G);
|
|
@@ -12988,7 +12988,7 @@ function zo() {
|
|
|
12988
12988
|
if ((0, f.isIntrospectionType)(G) || (0, m.isSpecifiedScalarType)(G))
|
|
12989
12989
|
return G;
|
|
12990
12990
|
if ((0, c.isScalarType)(G))
|
|
12991
|
-
return
|
|
12991
|
+
return C(G);
|
|
12992
12992
|
if ((0, c.isObjectType)(G))
|
|
12993
12993
|
return x(G);
|
|
12994
12994
|
if ((0, c.isInterfaceType)(G))
|
|
@@ -13028,7 +13028,7 @@ function zo() {
|
|
|
13028
13028
|
extensionASTNodes: q.extensionASTNodes.concat(X)
|
|
13029
13029
|
});
|
|
13030
13030
|
}
|
|
13031
|
-
function
|
|
13031
|
+
function C(G) {
|
|
13032
13032
|
var J;
|
|
13033
13033
|
const q = G.toConfig(), X = (J = T[q.name]) !== null && J !== void 0 ? J : [];
|
|
13034
13034
|
let fe = q.specifiedByURL;
|
|
@@ -13405,12 +13405,12 @@ function hc() {
|
|
|
13405
13405
|
ks = 1, Object.defineProperty(yr, "__esModule", {
|
|
13406
13406
|
value: !0
|
|
13407
13407
|
}), yr.lexicographicSortSchema = u;
|
|
13408
|
-
var e = /* @__PURE__ */ pe(), n = /* @__PURE__ */ Se(), s = /* @__PURE__ */ Lr(), i = /* @__PURE__ */ Rr(), t = /* @__PURE__ */ oe(), r = /* @__PURE__ */ Fe(), a = /* @__PURE__ */
|
|
13408
|
+
var e = /* @__PURE__ */ pe(), n = /* @__PURE__ */ Se(), s = /* @__PURE__ */ Lr(), i = /* @__PURE__ */ Rr(), t = /* @__PURE__ */ oe(), r = /* @__PURE__ */ Fe(), a = /* @__PURE__ */ $e(), c = /* @__PURE__ */ On();
|
|
13409
13409
|
function u(d) {
|
|
13410
13410
|
const h = d.toConfig(), l = (0, s.keyValMap)(
|
|
13411
13411
|
m(h.types),
|
|
13412
13412
|
(V) => V.name,
|
|
13413
|
-
|
|
13413
|
+
$
|
|
13414
13414
|
);
|
|
13415
13415
|
return new c.GraphQLSchema({
|
|
13416
13416
|
...h,
|
|
@@ -13456,7 +13456,7 @@ function hc() {
|
|
|
13456
13456
|
function k(V) {
|
|
13457
13457
|
return m(V).map(y);
|
|
13458
13458
|
}
|
|
13459
|
-
function
|
|
13459
|
+
function $(V) {
|
|
13460
13460
|
if ((0, t.isScalarType)(V) || (0, a.isIntrospectionType)(V))
|
|
13461
13461
|
return V;
|
|
13462
13462
|
if ((0, t.isObjectType)(V)) {
|
|
@@ -13525,7 +13525,7 @@ function Tc() {
|
|
|
13525
13525
|
ws = 1, Object.defineProperty(bn, "__esModule", {
|
|
13526
13526
|
value: !0
|
|
13527
13527
|
}), bn.printIntrospectionSchema = o, bn.printSchema = m, bn.printType = y;
|
|
13528
|
-
var e = /* @__PURE__ */ pe(), n = /* @__PURE__ */ Se(), s = /* @__PURE__ */ _r(), i = /* @__PURE__ */ se(), t = /* @__PURE__ */ Ve(), r = /* @__PURE__ */ oe(), a = /* @__PURE__ */ Fe(), c = /* @__PURE__ */
|
|
13528
|
+
var e = /* @__PURE__ */ pe(), n = /* @__PURE__ */ Se(), s = /* @__PURE__ */ _r(), i = /* @__PURE__ */ se(), t = /* @__PURE__ */ Ve(), r = /* @__PURE__ */ oe(), a = /* @__PURE__ */ Fe(), c = /* @__PURE__ */ $e(), u = /* @__PURE__ */ ze(), f = /* @__PURE__ */ jr();
|
|
13529
13529
|
function m(S) {
|
|
13530
13530
|
return h(
|
|
13531
13531
|
S,
|
|
@@ -13588,7 +13588,7 @@ ${j.join(`
|
|
|
13588
13588
|
if ((0, r.isEnumType)(S))
|
|
13589
13589
|
return k(S);
|
|
13590
13590
|
if ((0, r.isInputObjectType)(S))
|
|
13591
|
-
return
|
|
13591
|
+
return $(S);
|
|
13592
13592
|
(0, n.invariant)(
|
|
13593
13593
|
!1,
|
|
13594
13594
|
"Unexpected type: " + (0, e.inspect)(S)
|
|
@@ -13617,7 +13617,7 @@ ${j.join(`
|
|
|
13617
13617
|
);
|
|
13618
13618
|
return I(S) + `enum ${S.name}` + N(j);
|
|
13619
13619
|
}
|
|
13620
|
-
function
|
|
13620
|
+
function $(S) {
|
|
13621
13621
|
const j = Object.values(S.getFields()).map(
|
|
13622
13622
|
(w, U) => I(w, " ", !U) + " " + L(w)
|
|
13623
13623
|
);
|
|
@@ -13778,10 +13778,10 @@ function gc() {
|
|
|
13778
13778
|
}
|
|
13779
13779
|
return vr;
|
|
13780
13780
|
}
|
|
13781
|
-
var Mn = {},
|
|
13781
|
+
var Mn = {}, $s;
|
|
13782
13782
|
function Ec() {
|
|
13783
|
-
if (
|
|
13784
|
-
|
|
13783
|
+
if ($s) return Mn;
|
|
13784
|
+
$s = 1, Object.defineProperty(Mn, "__esModule", {
|
|
13785
13785
|
value: !0
|
|
13786
13786
|
}), Mn.assertValidName = i, Mn.isValidNameError = t;
|
|
13787
13787
|
var e = /* @__PURE__ */ Re(), n = /* @__PURE__ */ ne(), s = /* @__PURE__ */ Dr();
|
|
@@ -13804,10 +13804,10 @@ function Ec() {
|
|
|
13804
13804
|
}
|
|
13805
13805
|
return Mn;
|
|
13806
13806
|
}
|
|
13807
|
-
var Me = {},
|
|
13807
|
+
var Me = {}, Cs;
|
|
13808
13808
|
function Nc() {
|
|
13809
|
-
if (
|
|
13810
|
-
|
|
13809
|
+
if (Cs) return Me;
|
|
13810
|
+
Cs = 1, Object.defineProperty(Me, "__esModule", {
|
|
13811
13811
|
value: !0
|
|
13812
13812
|
}), Me.DangerousChangeType = Me.BreakingChangeType = void 0, Me.findBreakingChanges = m, Me.findDangerousChanges = o;
|
|
13813
13813
|
var e = /* @__PURE__ */ pe(), n = /* @__PURE__ */ Se(), s = /* @__PURE__ */ sn(), i = /* @__PURE__ */ Ve(), t = /* @__PURE__ */ oe(), r = /* @__PURE__ */ ze(), a = /* @__PURE__ */ jr(), c = /* @__PURE__ */ Oo(), u;
|
|
@@ -13891,7 +13891,7 @@ function Nc() {
|
|
|
13891
13891
|
...O(b, I)
|
|
13892
13892
|
) : b.constructor !== I.constructor && E.push({
|
|
13893
13893
|
type: u.TYPE_CHANGED_KIND,
|
|
13894
|
-
description: `${b.name} changed from ${
|
|
13894
|
+
description: `${b.name} changed from ${$(b)} to ${$(I)}.`
|
|
13895
13895
|
});
|
|
13896
13896
|
return E;
|
|
13897
13897
|
}
|
|
@@ -14049,7 +14049,7 @@ function Nc() {
|
|
|
14049
14049
|
!(0, t.isNonNullType)(L) && k(g.ofType, L)
|
|
14050
14050
|
) : (0, t.isNamedType)(L) && g.name === L.name;
|
|
14051
14051
|
}
|
|
14052
|
-
function
|
|
14052
|
+
function $(g) {
|
|
14053
14053
|
if ((0, t.isScalarType)(g))
|
|
14054
14054
|
return "a Scalar type";
|
|
14055
14055
|
if ((0, t.isObjectType)(g))
|
|
@@ -15316,16 +15316,28 @@ function _c() {
|
|
|
15316
15316
|
}(Mr)), Mr;
|
|
15317
15317
|
}
|
|
15318
15318
|
var Ic = /* @__PURE__ */ _c();
|
|
15319
|
-
const Kr = "$[Circular Reference]", Xr = (e, n = /* @__PURE__ */ new
|
|
15319
|
+
const Kr = "$[Circular Reference]", Xr = (e, n = /* @__PURE__ */ new Map(), s = []) => {
|
|
15320
15320
|
if (e === Kr) return Kr;
|
|
15321
15321
|
if (e === null || typeof e != "object") return e;
|
|
15322
|
-
|
|
15323
|
-
if (
|
|
15324
|
-
|
|
15325
|
-
|
|
15326
|
-
|
|
15327
|
-
|
|
15328
|
-
|
|
15322
|
+
const i = s.join(".");
|
|
15323
|
+
if (e.type === "object" && e.properties) {
|
|
15324
|
+
const r = Object.keys(e.properties).sort().join("-");
|
|
15325
|
+
if (n.has(r)) {
|
|
15326
|
+
const a = n.get(r);
|
|
15327
|
+
if (a.some((c) => i.startsWith(c)))
|
|
15328
|
+
return Kr;
|
|
15329
|
+
n.set(r, [...a, i]);
|
|
15330
|
+
} else
|
|
15331
|
+
n.set(r, [i]);
|
|
15332
|
+
}
|
|
15333
|
+
if (Array.isArray(e))
|
|
15334
|
+
return e.map(
|
|
15335
|
+
(r, a) => Xr(r, n, [...s, `${a}`])
|
|
15336
|
+
);
|
|
15337
|
+
const t = {};
|
|
15338
|
+
for (const [r, a] of Object.entries(e))
|
|
15339
|
+
t[r] = Xr(a, n, [...s, r]);
|
|
15340
|
+
return t;
|
|
15329
15341
|
}, Uc = new Ic.GraphQLScalarType({
|
|
15330
15342
|
...Si,
|
|
15331
15343
|
name: "JSONSchema",
|
|
@@ -15335,7 +15347,7 @@ const Kr = "$[Circular Reference]", Xr = (e, n = /* @__PURE__ */ new WeakSet())
|
|
|
15335
15347
|
export {
|
|
15336
15348
|
Uu as $,
|
|
15337
15349
|
Ku as A,
|
|
15338
|
-
|
|
15350
|
+
Cn as B,
|
|
15339
15351
|
Kr as C,
|
|
15340
15352
|
Qn as D,
|
|
15341
15353
|
wc as E,
|
|
@@ -15383,10 +15395,10 @@ export {
|
|
|
15383
15395
|
qs as n,
|
|
15384
15396
|
Ue as o,
|
|
15385
15397
|
gr as p,
|
|
15386
|
-
|
|
15387
|
-
|
|
15398
|
+
$u as q,
|
|
15399
|
+
Cu as r,
|
|
15388
15400
|
Vu as s,
|
|
15389
|
-
|
|
15401
|
+
Ce as t,
|
|
15390
15402
|
Hr as u,
|
|
15391
15403
|
Ac as v,
|
|
15392
15404
|
qn as w,
|
|
@@ -15394,4 +15406,4 @@ export {
|
|
|
15394
15406
|
Mu as y,
|
|
15395
15407
|
wu as z
|
|
15396
15408
|
};
|
|
15397
|
-
//# sourceMappingURL=circular-
|
|
15409
|
+
//# sourceMappingURL=circular-DxaIIlWD.js.map
|