|
8 | 8 | "mutationType": {
|
9 | 9 | "name": "Mutation"
|
10 | 10 | },
|
| 11 | + "subscriptionType": null, |
11 | 12 | "types": [
|
12 | 13 | {
|
13 | 14 | "kind": "OBJECT",
|
|
175 | 176 | {
|
176 | 177 | "kind": "SCALAR",
|
177 | 178 | "name": "Boolean",
|
178 |
| - "description": null, |
| 179 | + "description": "The `Boolean` scalar type represents `true` or `false`.", |
179 | 180 | "fields": null,
|
180 | 181 | "inputFields": null,
|
181 | 182 | "interfaces": null,
|
|
212 | 213 | {
|
213 | 214 | "kind": "OBJECT",
|
214 | 215 | "name": "__Schema",
|
215 |
| - "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query and mutation operations.", |
| 216 | + "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", |
216 | 217 | "fields": [
|
217 | 218 | {
|
218 | 219 | "name": "types",
|
|
229 | 230 | "name": null,
|
230 | 231 | "ofType": {
|
231 | 232 | "kind": "OBJECT",
|
232 |
| - "name": "__Type" |
| 233 | + "name": "__Type", |
| 234 | + "ofType": null |
233 | 235 | }
|
234 | 236 | }
|
235 | 237 | }
|
|
265 | 267 | "isDeprecated": false,
|
266 | 268 | "deprecationReason": null
|
267 | 269 | },
|
| 270 | + { |
| 271 | + "name": "subscriptionType", |
| 272 | + "description": "If this server support subscription, the type that subscription operations will be rooted at.", |
| 273 | + "args": [], |
| 274 | + "type": { |
| 275 | + "kind": "OBJECT", |
| 276 | + "name": "__Type", |
| 277 | + "ofType": null |
| 278 | + }, |
| 279 | + "isDeprecated": false, |
| 280 | + "deprecationReason": null |
| 281 | + }, |
268 | 282 | {
|
269 | 283 | "name": "directives",
|
270 | 284 | "description": "A list of all directives supported by this server.",
|
|
280 | 294 | "name": null,
|
281 | 295 | "ofType": {
|
282 | 296 | "kind": "OBJECT",
|
283 |
| - "name": "__Directive" |
| 297 | + "name": "__Directive", |
| 298 | + "ofType": null |
284 | 299 | }
|
285 | 300 | }
|
286 | 301 | }
|
|
297 | 312 | {
|
298 | 313 | "kind": "OBJECT",
|
299 | 314 | "name": "__Type",
|
300 |
| - "description": null, |
| 315 | + "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", |
301 | 316 | "fields": [
|
302 | 317 | {
|
303 | 318 | "name": "kind",
|
|
541 | 556 | {
|
542 | 557 | "kind": "OBJECT",
|
543 | 558 | "name": "__Field",
|
544 |
| - "description": null, |
| 559 | + "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", |
545 | 560 | "fields": [
|
546 | 561 | {
|
547 | 562 | "name": "name",
|
|
586 | 601 | "name": null,
|
587 | 602 | "ofType": {
|
588 | 603 | "kind": "OBJECT",
|
589 |
| - "name": "__InputValue" |
| 604 | + "name": "__InputValue", |
| 605 | + "ofType": null |
590 | 606 | }
|
591 | 607 | }
|
592 | 608 | }
|
|
647 | 663 | {
|
648 | 664 | "kind": "OBJECT",
|
649 | 665 | "name": "__InputValue",
|
650 |
| - "description": null, |
| 666 | + "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", |
651 | 667 | "fields": [
|
652 | 668 | {
|
653 | 669 | "name": "name",
|
|
695 | 711 | },
|
696 | 712 | {
|
697 | 713 | "name": "defaultValue",
|
698 |
| - "description": null, |
| 714 | + "description": "A GraphQL-formatted string representing the default value for this input value.", |
699 | 715 | "args": [],
|
700 | 716 | "type": {
|
701 | 717 | "kind": "SCALAR",
|
|
714 | 730 | {
|
715 | 731 | "kind": "OBJECT",
|
716 | 732 | "name": "__EnumValue",
|
717 |
| - "description": null, |
| 733 | + "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", |
718 | 734 | "fields": [
|
719 | 735 | {
|
720 | 736 | "name": "name",
|
|
781 | 797 | {
|
782 | 798 | "kind": "OBJECT",
|
783 | 799 | "name": "__Directive",
|
784 |
| - "description": null, |
| 800 | + "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL’s execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", |
785 | 801 | "fields": [
|
786 | 802 | {
|
787 | 803 | "name": "name",
|
|
811 | 827 | "isDeprecated": false,
|
812 | 828 | "deprecationReason": null
|
813 | 829 | },
|
| 830 | + { |
| 831 | + "name": "locations", |
| 832 | + "description": null, |
| 833 | + "args": [], |
| 834 | + "type": { |
| 835 | + "kind": "NON_NULL", |
| 836 | + "name": null, |
| 837 | + "ofType": { |
| 838 | + "kind": "LIST", |
| 839 | + "name": null, |
| 840 | + "ofType": { |
| 841 | + "kind": "NON_NULL", |
| 842 | + "name": null, |
| 843 | + "ofType": { |
| 844 | + "kind": "ENUM", |
| 845 | + "name": "__DirectiveLocation", |
| 846 | + "ofType": null |
| 847 | + } |
| 848 | + } |
| 849 | + } |
| 850 | + }, |
| 851 | + "isDeprecated": false, |
| 852 | + "deprecationReason": null |
| 853 | + }, |
814 | 854 | {
|
815 | 855 | "name": "args",
|
816 | 856 | "description": null,
|
|
826 | 866 | "name": null,
|
827 | 867 | "ofType": {
|
828 | 868 | "kind": "OBJECT",
|
829 |
| - "name": "__InputValue" |
| 869 | + "name": "__InputValue", |
| 870 | + "ofType": null |
830 | 871 | }
|
831 | 872 | }
|
832 | 873 | }
|
|
847 | 888 | "ofType": null
|
848 | 889 | }
|
849 | 890 | },
|
850 |
| - "isDeprecated": false, |
851 |
| - "deprecationReason": null |
| 891 | + "isDeprecated": true, |
| 892 | + "deprecationReason": "Use `locations`." |
852 | 893 | },
|
853 | 894 | {
|
854 | 895 | "name": "onFragment",
|
|
863 | 904 | "ofType": null
|
864 | 905 | }
|
865 | 906 | },
|
866 |
| - "isDeprecated": false, |
867 |
| - "deprecationReason": null |
| 907 | + "isDeprecated": true, |
| 908 | + "deprecationReason": "Use `locations`." |
868 | 909 | },
|
869 | 910 | {
|
870 | 911 | "name": "onField",
|
|
879 | 920 | "ofType": null
|
880 | 921 | }
|
881 | 922 | },
|
882 |
| - "isDeprecated": false, |
883 |
| - "deprecationReason": null |
| 923 | + "isDeprecated": true, |
| 924 | + "deprecationReason": "Use `locations`." |
884 | 925 | }
|
885 | 926 | ],
|
886 | 927 | "inputFields": null,
|
887 | 928 | "interfaces": [],
|
888 | 929 | "enumValues": null,
|
889 | 930 | "possibleTypes": null
|
| 931 | + }, |
| 932 | + { |
| 933 | + "kind": "ENUM", |
| 934 | + "name": "__DirectiveLocation", |
| 935 | + "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", |
| 936 | + "fields": null, |
| 937 | + "inputFields": null, |
| 938 | + "interfaces": null, |
| 939 | + "enumValues": [ |
| 940 | + { |
| 941 | + "name": "QUERY", |
| 942 | + "description": "Location adjacent to a query operation.", |
| 943 | + "isDeprecated": false, |
| 944 | + "deprecationReason": null |
| 945 | + }, |
| 946 | + { |
| 947 | + "name": "MUTATION", |
| 948 | + "description": "Location adjacent to a mutation operation.", |
| 949 | + "isDeprecated": false, |
| 950 | + "deprecationReason": null |
| 951 | + }, |
| 952 | + { |
| 953 | + "name": "SUBSCRIPTION", |
| 954 | + "description": "Location adjacent to a subscription operation.", |
| 955 | + "isDeprecated": false, |
| 956 | + "deprecationReason": null |
| 957 | + }, |
| 958 | + { |
| 959 | + "name": "FIELD", |
| 960 | + "description": "Location adjacent to a field.", |
| 961 | + "isDeprecated": false, |
| 962 | + "deprecationReason": null |
| 963 | + }, |
| 964 | + { |
| 965 | + "name": "FRAGMENT_DEFINITION", |
| 966 | + "description": "Location adjacent to a fragment definition.", |
| 967 | + "isDeprecated": false, |
| 968 | + "deprecationReason": null |
| 969 | + }, |
| 970 | + { |
| 971 | + "name": "FRAGMENT_SPREAD", |
| 972 | + "description": "Location adjacent to a fragment spread.", |
| 973 | + "isDeprecated": false, |
| 974 | + "deprecationReason": null |
| 975 | + }, |
| 976 | + { |
| 977 | + "name": "INLINE_FRAGMENT", |
| 978 | + "description": "Location adjacent to an inline fragment.", |
| 979 | + "isDeprecated": false, |
| 980 | + "deprecationReason": null |
| 981 | + }, |
| 982 | + { |
| 983 | + "name": "SCHEMA", |
| 984 | + "description": "Location adjacent to a schema definition.", |
| 985 | + "isDeprecated": false, |
| 986 | + "deprecationReason": null |
| 987 | + }, |
| 988 | + { |
| 989 | + "name": "SCALAR", |
| 990 | + "description": "Location adjacent to a scalar definition.", |
| 991 | + "isDeprecated": false, |
| 992 | + "deprecationReason": null |
| 993 | + }, |
| 994 | + { |
| 995 | + "name": "OBJECT", |
| 996 | + "description": "Location adjacent to an object type definition.", |
| 997 | + "isDeprecated": false, |
| 998 | + "deprecationReason": null |
| 999 | + }, |
| 1000 | + { |
| 1001 | + "name": "FIELD_DEFINITION", |
| 1002 | + "description": "Location adjacent to a field definition.", |
| 1003 | + "isDeprecated": false, |
| 1004 | + "deprecationReason": null |
| 1005 | + }, |
| 1006 | + { |
| 1007 | + "name": "ARGUMENT_DEFINITION", |
| 1008 | + "description": "Location adjacent to an argument definition.", |
| 1009 | + "isDeprecated": false, |
| 1010 | + "deprecationReason": null |
| 1011 | + }, |
| 1012 | + { |
| 1013 | + "name": "INTERFACE", |
| 1014 | + "description": "Location adjacent to an interface definition.", |
| 1015 | + "isDeprecated": false, |
| 1016 | + "deprecationReason": null |
| 1017 | + }, |
| 1018 | + { |
| 1019 | + "name": "UNION", |
| 1020 | + "description": "Location adjacent to a union definition.", |
| 1021 | + "isDeprecated": false, |
| 1022 | + "deprecationReason": null |
| 1023 | + }, |
| 1024 | + { |
| 1025 | + "name": "ENUM", |
| 1026 | + "description": "Location adjacent to an enum definition.", |
| 1027 | + "isDeprecated": false, |
| 1028 | + "deprecationReason": null |
| 1029 | + }, |
| 1030 | + { |
| 1031 | + "name": "ENUM_VALUE", |
| 1032 | + "description": "Location adjacent to an enum value definition.", |
| 1033 | + "isDeprecated": false, |
| 1034 | + "deprecationReason": null |
| 1035 | + }, |
| 1036 | + { |
| 1037 | + "name": "INPUT_OBJECT", |
| 1038 | + "description": "Location adjacent to an input object type definition.", |
| 1039 | + "isDeprecated": false, |
| 1040 | + "deprecationReason": null |
| 1041 | + }, |
| 1042 | + { |
| 1043 | + "name": "INPUT_FIELD_DEFINITION", |
| 1044 | + "description": "Location adjacent to an input object field definition.", |
| 1045 | + "isDeprecated": false, |
| 1046 | + "deprecationReason": null |
| 1047 | + } |
| 1048 | + ], |
| 1049 | + "possibleTypes": null |
890 | 1050 | }
|
891 | 1051 | ],
|
892 | 1052 | "directives": [
|
893 | 1053 | {
|
894 | 1054 | "name": "include",
|
895 | 1055 | "description": "Directs the executor to include this field or fragment only when the `if` argument is true.",
|
| 1056 | + "locations": [ |
| 1057 | + "FIELD", |
| 1058 | + "FRAGMENT_SPREAD", |
| 1059 | + "INLINE_FRAGMENT" |
| 1060 | + ], |
896 | 1061 | "args": [
|
897 | 1062 | {
|
898 | 1063 | "name": "if",
|
|
908 | 1073 | },
|
909 | 1074 | "defaultValue": null
|
910 | 1075 | }
|
911 |
| - ], |
912 |
| - "onOperation": false, |
913 |
| - "onFragment": true, |
914 |
| - "onField": true |
| 1076 | + ] |
915 | 1077 | },
|
916 | 1078 | {
|
917 | 1079 | "name": "skip",
|
918 | 1080 | "description": "Directs the executor to skip this field or fragment when the `if` argument is true.",
|
| 1081 | + "locations": [ |
| 1082 | + "FIELD", |
| 1083 | + "FRAGMENT_SPREAD", |
| 1084 | + "INLINE_FRAGMENT" |
| 1085 | + ], |
919 | 1086 | "args": [
|
920 | 1087 | {
|
921 | 1088 | "name": "if",
|
|
931 | 1098 | },
|
932 | 1099 | "defaultValue": null
|
933 | 1100 | }
|
| 1101 | + ] |
| 1102 | + }, |
| 1103 | + { |
| 1104 | + "name": "deprecated", |
| 1105 | + "description": "Marks an element of a GraphQL schema as no longer supported.", |
| 1106 | + "locations": [ |
| 1107 | + "FIELD_DEFINITION", |
| 1108 | + "ENUM_VALUE" |
934 | 1109 | ],
|
935 |
| - "onOperation": false, |
936 |
| - "onFragment": true, |
937 |
| - "onField": true |
| 1110 | + "args": [ |
| 1111 | + { |
| 1112 | + "name": "reason", |
| 1113 | + "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formattedin [Markdown](https://daringfireball.net/projects/markdown/).", |
| 1114 | + "type": { |
| 1115 | + "kind": "SCALAR", |
| 1116 | + "name": "String", |
| 1117 | + "ofType": null |
| 1118 | + }, |
| 1119 | + "defaultValue": "\"No longer supported\"" |
| 1120 | + } |
| 1121 | + ] |
938 | 1122 | }
|
939 | 1123 | ]
|
940 | 1124 | }
|
|
0 commit comments