webpipe-js 2.0.46 → 2.0.47
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/index.cjs +4 -5
- package/dist/index.mjs +4 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1602,11 +1602,10 @@ function printVariable(variable) {
|
|
|
1602
1602
|
return variableLine;
|
|
1603
1603
|
}
|
|
1604
1604
|
function printGraphQLSchema(schema) {
|
|
1605
|
-
const
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
return schemaLine;
|
|
1605
|
+
const firstLine = schema.inlineComment ? `graphqlSchema = \` ${printComment(schema.inlineComment)}` : "graphqlSchema = `";
|
|
1606
|
+
return `${firstLine}
|
|
1607
|
+
${schema.sdl}
|
|
1608
|
+
\``;
|
|
1610
1609
|
}
|
|
1611
1610
|
function printQueryResolver(query) {
|
|
1612
1611
|
const lines = [];
|
package/dist/index.mjs
CHANGED
|
@@ -1549,11 +1549,10 @@ function printVariable(variable) {
|
|
|
1549
1549
|
return variableLine;
|
|
1550
1550
|
}
|
|
1551
1551
|
function printGraphQLSchema(schema) {
|
|
1552
|
-
const
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
return schemaLine;
|
|
1552
|
+
const firstLine = schema.inlineComment ? `graphqlSchema = \` ${printComment(schema.inlineComment)}` : "graphqlSchema = `";
|
|
1553
|
+
return `${firstLine}
|
|
1554
|
+
${schema.sdl}
|
|
1555
|
+
\``;
|
|
1557
1556
|
}
|
|
1558
1557
|
function printQueryResolver(query) {
|
|
1559
1558
|
const lines = [];
|