@cedarjs/web 4.2.1-next.258 → 4.2.1-next.269
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.
|
@@ -314,8 +314,15 @@ var QueryDocumentKeys = {
|
|
|
314
314
|
EnumTypeDefinition: ["description", "name", "directives", "values"],
|
|
315
315
|
EnumValueDefinition: ["description", "name", "directives"],
|
|
316
316
|
InputObjectTypeDefinition: ["description", "name", "directives", "fields"],
|
|
317
|
-
DirectiveDefinition: [
|
|
317
|
+
DirectiveDefinition: [
|
|
318
|
+
"description",
|
|
319
|
+
"name",
|
|
320
|
+
"arguments",
|
|
321
|
+
"directives",
|
|
322
|
+
"locations"
|
|
323
|
+
],
|
|
318
324
|
SchemaExtension: ["directives", "operationTypes"],
|
|
325
|
+
DirectiveExtension: ["name", "directives"],
|
|
319
326
|
ScalarTypeExtension: ["name", "directives"],
|
|
320
327
|
ObjectTypeExtension: ["name", "interfaces", "directives", "fields"],
|
|
321
328
|
InterfaceTypeExtension: ["name", "interfaces", "directives", "fields"],
|
|
@@ -380,6 +387,7 @@ var Kind;
|
|
|
380
387
|
Kind2["INPUT_OBJECT_TYPE_DEFINITION"] = "InputObjectTypeDefinition";
|
|
381
388
|
Kind2["DIRECTIVE_DEFINITION"] = "DirectiveDefinition";
|
|
382
389
|
Kind2["SCHEMA_EXTENSION"] = "SchemaExtension";
|
|
390
|
+
Kind2["DIRECTIVE_EXTENSION"] = "DirectiveExtension";
|
|
383
391
|
Kind2["SCALAR_TYPE_EXTENSION"] = "ScalarTypeExtension";
|
|
384
392
|
Kind2["OBJECT_TYPE_EXTENSION"] = "ObjectTypeExtension";
|
|
385
393
|
Kind2["INTERFACE_TYPE_EXTENSION"] = "InterfaceTypeExtension";
|
|
@@ -987,7 +995,14 @@ var printDocASTReducer = {
|
|
|
987
995
|
leave: ({ description, name, directives, fields }) => wrap2("", description, "\n") + join(["input", name, join(directives, " "), block(fields)], " ")
|
|
988
996
|
},
|
|
989
997
|
DirectiveDefinition: {
|
|
990
|
-
leave: ({
|
|
998
|
+
leave: ({
|
|
999
|
+
description,
|
|
1000
|
+
name,
|
|
1001
|
+
arguments: args,
|
|
1002
|
+
directives,
|
|
1003
|
+
repeatable,
|
|
1004
|
+
locations
|
|
1005
|
+
}) => wrap2("", description, "\n") + "directive @" + name + (hasMultilineItems(args) ? wrap2("(\n", indent(join(args, "\n")), "\n)") : wrap2("(", join(args, ", "), ")")) + wrap2(" ", join(directives, " ")) + (repeatable ? " repeatable" : "") + " on " + join(locations, " | ")
|
|
991
1006
|
},
|
|
992
1007
|
SchemaExtension: {
|
|
993
1008
|
leave: ({ directives, operationTypes }) => join(
|
|
@@ -1039,6 +1054,9 @@ var printDocASTReducer = {
|
|
|
1039
1054
|
InputObjectTypeExtension: {
|
|
1040
1055
|
leave: ({ name, directives, fields }) => join(["extend input", name, join(directives, " "), block(fields)], " ")
|
|
1041
1056
|
},
|
|
1057
|
+
DirectiveExtension: {
|
|
1058
|
+
leave: ({ name, directives }) => join(["extend directive @" + name, join(directives, " ")], " ")
|
|
1059
|
+
},
|
|
1042
1060
|
// Schema Coordinates
|
|
1043
1061
|
TypeCoordinate: {
|
|
1044
1062
|
leave: ({ name }) => name
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/web",
|
|
3
|
-
"version": "4.2.1-next.
|
|
3
|
+
"version": "4.2.1-next.269",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"toast"
|
|
128
128
|
],
|
|
129
129
|
"scripts": {
|
|
130
|
-
"build": "
|
|
130
|
+
"build": "node ./build.ts && yarn build:types",
|
|
131
131
|
"build:pack": "yarn pack -o cedarjs-web.tgz",
|
|
132
132
|
"build:types": "tsc --build --verbose ./tsconfig.build.json ./tsconfig.cjs.json",
|
|
133
133
|
"build:watch": "nodemon --watch src --ext \"js,jsx,ts,tsx\" --ignore dist --exec \"yarn build\"",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"@whatwg-node/fetch": "0.10.13",
|
|
146
146
|
"apollo-upload-client": "18.0.1",
|
|
147
147
|
"cookie": "1.1.1",
|
|
148
|
-
"graphql": "16.
|
|
148
|
+
"graphql": "16.14.2",
|
|
149
149
|
"graphql-sse": "2.6.0",
|
|
150
150
|
"graphql-tag": "2.12.6",
|
|
151
151
|
"react-hot-toast": "2.6.0",
|