graphql 16.14.1 → 16.14.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphql",
3
- "version": "16.14.1",
3
+ "version": "16.14.2",
4
4
  "description": "A Query Language and Runtime which can target any service.",
5
5
  "license": "MIT",
6
6
  "main": "index",
@@ -1489,7 +1489,7 @@ export declare class GraphQLScalarType<
1489
1489
  parseValue: GraphQLScalarValueParser<TInternal>;
1490
1490
  /** Function that converts AST input literals into this scalar's internal value. */
1491
1491
  parseLiteral: GraphQLScalarLiteralParser<TInternal>;
1492
- /** Extension fields to include in the formatted result. */
1492
+ /** Custom extension fields reserved for users. */
1493
1493
  extensions: Readonly<GraphQLScalarTypeExtensions>;
1494
1494
  /** AST node from which this schema element was built, if available. */
1495
1495
  astNode: Maybe<ScalarTypeDefinitionNode>;
@@ -1645,7 +1645,7 @@ export interface GraphQLScalarTypeConfig<TInternal, TExternal> {
1645
1645
  parseValue?: GraphQLScalarValueParser<TInternal>;
1646
1646
  /** Parses an externally provided literal value to use as an input. */
1647
1647
  parseLiteral?: GraphQLScalarLiteralParser<TInternal>;
1648
- /** Extension fields to include in the formatted result. */
1648
+ /** Custom extension fields reserved for users. */
1649
1649
  extensions?: Maybe<Readonly<GraphQLScalarTypeExtensions>>;
1650
1650
  /** AST node from which this schema element was built, if available. */
1651
1651
  astNode?: Maybe<ScalarTypeDefinitionNode>;
@@ -1720,7 +1720,7 @@ export declare class GraphQLObjectType<TSource = any, TContext = any> {
1720
1720
  description: Maybe<string>;
1721
1721
  /** Predicate used to determine whether a runtime value belongs to this object type. */
1722
1722
  isTypeOf: Maybe<GraphQLIsTypeOfFn<TSource, TContext>>;
1723
- /** Extension fields to include in the formatted result. */
1723
+ /** Custom extension fields reserved for users. */
1724
1724
  extensions: Readonly<GraphQLObjectTypeExtensions<TSource, TContext>>;
1725
1725
  /** AST node from which this schema element was built, if available. */
1726
1726
  astNode: Maybe<ObjectTypeDefinitionNode>;
@@ -1977,7 +1977,7 @@ export interface GraphQLObjectTypeConfig<TSource, TContext> {
1977
1977
  fields: ThunkObjMap<GraphQLFieldConfig<TSource, TContext>>;
1978
1978
  /** Predicate used to determine whether a runtime value belongs to this object type. */
1979
1979
  isTypeOf?: Maybe<GraphQLIsTypeOfFn<TSource, TContext>>;
1980
- /** Extension fields to include in the formatted result. */
1980
+ /** Custom extension fields reserved for users. */
1981
1981
  extensions?: Maybe<Readonly<GraphQLObjectTypeExtensions<TSource, TContext>>>;
1982
1982
  /** AST node from which this schema element was built, if available. */
1983
1983
  astNode?: Maybe<ObjectTypeDefinitionNode>;
@@ -2090,7 +2090,7 @@ export interface GraphQLFieldConfig<TSource, TContext, TArgs = any> {
2090
2090
  subscribe?: GraphQLFieldResolver<TSource, TContext, TArgs>;
2091
2091
  /** Reason this element is deprecated, if one was provided. */
2092
2092
  deprecationReason?: Maybe<string>;
2093
- /** Extension fields to include in the formatted result. */
2093
+ /** Custom extension fields reserved for users. */
2094
2094
  extensions?: Maybe<
2095
2095
  Readonly<GraphQLFieldExtensions<TSource, TContext, TArgs>>
2096
2096
  >;
@@ -2121,7 +2121,7 @@ export interface GraphQLArgumentConfig {
2121
2121
  defaultValue?: unknown;
2122
2122
  /** Reason this element is deprecated, if one was provided. */
2123
2123
  deprecationReason?: Maybe<string>;
2124
- /** Extension fields to include in the formatted result. */
2124
+ /** Custom extension fields reserved for users. */
2125
2125
  extensions?: Maybe<Readonly<GraphQLArgumentExtensions>>;
2126
2126
  /** AST node from which this schema element was built, if available. */
2127
2127
  astNode?: Maybe<InputValueDefinitionNode>;
@@ -2155,7 +2155,7 @@ export interface GraphQLField<TSource, TContext, TArgs = any> {
2155
2155
  subscribe?: GraphQLFieldResolver<TSource, TContext, TArgs>;
2156
2156
  /** Reason this element is deprecated, if one was provided. */
2157
2157
  deprecationReason: Maybe<string>;
2158
- /** Extension fields to include in the formatted result. */
2158
+ /** Custom extension fields reserved for users. */
2159
2159
  extensions: Readonly<GraphQLFieldExtensions<TSource, TContext, TArgs>>;
2160
2160
  /** AST node from which this schema element was built, if available. */
2161
2161
  astNode: Maybe<FieldDefinitionNode>;
@@ -2172,7 +2172,7 @@ export interface GraphQLArgument {
2172
2172
  defaultValue: unknown;
2173
2173
  /** Reason this element is deprecated, if one was provided. */
2174
2174
  deprecationReason: Maybe<string>;
2175
- /** Extension fields to include in the formatted result. */
2175
+ /** Custom extension fields reserved for users. */
2176
2176
  extensions: Readonly<GraphQLArgumentExtensions>;
2177
2177
  /** AST node from which this schema element was built, if available. */
2178
2178
  astNode: Maybe<InputValueDefinitionNode>;
@@ -2247,7 +2247,7 @@ export declare class GraphQLInterfaceType {
2247
2247
  description: Maybe<string>;
2248
2248
  /** Function that resolves the concrete object type for this abstract type. */
2249
2249
  resolveType: Maybe<GraphQLTypeResolver<any, any>>;
2250
- /** Extension fields to include in the formatted result. */
2250
+ /** Custom extension fields reserved for users. */
2251
2251
  extensions: Readonly<GraphQLInterfaceTypeExtensions>;
2252
2252
  /** AST node from which this schema element was built, if available. */
2253
2253
  astNode: Maybe<InterfaceTypeDefinitionNode>;
@@ -2465,7 +2465,7 @@ export interface GraphQLInterfaceTypeConfig<TSource, TContext> {
2465
2465
  * Object type.
2466
2466
  */
2467
2467
  resolveType?: Maybe<GraphQLTypeResolver<TSource, TContext>>;
2468
- /** Extension fields to include in the formatted result. */
2468
+ /** Custom extension fields reserved for users. */
2469
2469
  extensions?: Maybe<Readonly<GraphQLInterfaceTypeExtensions>>;
2470
2470
  /** AST node from which this schema element was built, if available. */
2471
2471
  astNode?: Maybe<InterfaceTypeDefinitionNode>;
@@ -2520,7 +2520,7 @@ export declare class GraphQLUnionType {
2520
2520
  description: Maybe<string>;
2521
2521
  /** Function that resolves the concrete object type for this abstract type. */
2522
2522
  resolveType: Maybe<GraphQLTypeResolver<any, any>>;
2523
- /** Extension fields to include in the formatted result. */
2523
+ /** Custom extension fields reserved for users. */
2524
2524
  extensions: Readonly<GraphQLUnionTypeExtensions>;
2525
2525
  /** AST node from which this schema element was built, if available. */
2526
2526
  astNode: Maybe<UnionTypeDefinitionNode>;
@@ -2698,7 +2698,7 @@ export interface GraphQLUnionTypeConfig<TSource, TContext> {
2698
2698
  * Object type.
2699
2699
  */
2700
2700
  resolveType?: Maybe<GraphQLTypeResolver<TSource, TContext>>;
2701
- /** Extension fields to include in the formatted result. */
2701
+ /** Custom extension fields reserved for users. */
2702
2702
  extensions?: Maybe<Readonly<GraphQLUnionTypeExtensions>>;
2703
2703
  /** AST node from which this schema element was built, if available. */
2704
2704
  astNode?: Maybe<UnionTypeDefinitionNode>;
@@ -2752,7 +2752,7 @@ export declare class GraphQLEnumType {
2752
2752
  name: string;
2753
2753
  /** Human-readable description for this schema element, if provided. */
2754
2754
  description: Maybe<string>;
2755
- /** Extension fields to include in the formatted result. */
2755
+ /** Custom extension fields reserved for users. */
2756
2756
  extensions: Readonly<GraphQLEnumTypeExtensions>;
2757
2757
  /** AST node from which this schema element was built, if available. */
2758
2758
  astNode: Maybe<EnumTypeDefinitionNode>;
@@ -3018,7 +3018,7 @@ export interface GraphQLEnumTypeConfig {
3018
3018
  description?: Maybe<string>;
3019
3019
  /** Values contained in this enum, list, or input-object definition. */
3020
3020
  values: ThunkObjMap<GraphQLEnumValueConfig>;
3021
- /** Extension fields to include in the formatted result. */
3021
+ /** Custom extension fields reserved for users. */
3022
3022
  extensions?: Maybe<Readonly<GraphQLEnumTypeExtensions>>;
3023
3023
  /** AST node from which this schema element was built, if available. */
3024
3024
  astNode?: Maybe<EnumTypeDefinitionNode>;
@@ -3051,7 +3051,7 @@ export interface GraphQLEnumValueConfig {
3051
3051
  value?: any;
3052
3052
  /** Reason this element is deprecated, if one was provided. */
3053
3053
  deprecationReason?: Maybe<string>;
3054
- /** Extension fields to include in the formatted result. */
3054
+ /** Custom extension fields reserved for users. */
3055
3055
  extensions?: Maybe<Readonly<GraphQLEnumValueExtensions>>;
3056
3056
  /** AST node from which this schema element was built, if available. */
3057
3057
  astNode?: Maybe<EnumValueDefinitionNode>;
@@ -3066,7 +3066,7 @@ export interface GraphQLEnumValue {
3066
3066
  value: any;
3067
3067
  /** Reason this element is deprecated, if one was provided. */
3068
3068
  deprecationReason: Maybe<string>;
3069
- /** Extension fields to include in the formatted result. */
3069
+ /** Custom extension fields reserved for users. */
3070
3070
  extensions: Readonly<GraphQLEnumValueExtensions>;
3071
3071
  /** AST node from which this schema element was built, if available. */
3072
3072
  astNode: Maybe<EnumValueDefinitionNode>;
@@ -3106,7 +3106,7 @@ export declare class GraphQLInputObjectType {
3106
3106
  name: string;
3107
3107
  /** Human-readable description for this schema element, if provided. */
3108
3108
  description: Maybe<string>;
3109
- /** Extension fields to include in the formatted result. */
3109
+ /** Custom extension fields reserved for users. */
3110
3110
  extensions: Readonly<GraphQLInputObjectTypeExtensions>;
3111
3111
  /** AST node from which this schema element was built, if available. */
3112
3112
  astNode: Maybe<InputObjectTypeDefinitionNode>;
@@ -3294,7 +3294,7 @@ export interface GraphQLInputObjectTypeConfig {
3294
3294
  description?: Maybe<string>;
3295
3295
  /** Fields declared by this object, interface, input object, or literal. */
3296
3296
  fields: ThunkObjMap<GraphQLInputFieldConfig>;
3297
- /** Extension fields to include in the formatted result. */
3297
+ /** Custom extension fields reserved for users. */
3298
3298
  extensions?: Maybe<Readonly<GraphQLInputObjectTypeExtensions>>;
3299
3299
  /** AST node from which this schema element was built, if available. */
3300
3300
  astNode?: Maybe<InputObjectTypeDefinitionNode>;
@@ -3330,7 +3330,7 @@ export interface GraphQLInputFieldConfig {
3330
3330
  defaultValue?: unknown;
3331
3331
  /** Reason this element is deprecated, if one was provided. */
3332
3332
  deprecationReason?: Maybe<string>;
3333
- /** Extension fields to include in the formatted result. */
3333
+ /** Custom extension fields reserved for users. */
3334
3334
  extensions?: Maybe<Readonly<GraphQLInputFieldExtensions>>;
3335
3335
  /** AST node from which this schema element was built, if available. */
3336
3336
  astNode?: Maybe<InputValueDefinitionNode>;
@@ -3350,7 +3350,7 @@ export interface GraphQLInputField {
3350
3350
  defaultValue: unknown;
3351
3351
  /** Reason this element is deprecated, if one was provided. */
3352
3352
  deprecationReason: Maybe<string>;
3353
- /** Extension fields to include in the formatted result. */
3353
+ /** Custom extension fields reserved for users. */
3354
3354
  extensions: Readonly<GraphQLInputFieldExtensions>;
3355
3355
  /** AST node from which this schema element was built, if available. */
3356
3356
  astNode: Maybe<InputValueDefinitionNode>;
@@ -1514,7 +1514,7 @@ class GraphQLScalarType {
1514
1514
 
1515
1515
  /** Function that converts AST input literals into this scalar's internal value. */
1516
1516
 
1517
- /** Extension fields to include in the formatted result. */
1517
+ /** Custom extension fields reserved for users. */
1518
1518
 
1519
1519
  /** AST node from which this schema element was built, if available. */
1520
1520
 
@@ -1761,7 +1761,7 @@ class GraphQLObjectType {
1761
1761
 
1762
1762
  /** Predicate used to determine whether a runtime value belongs to this object type. */
1763
1763
 
1764
- /** Extension fields to include in the formatted result. */
1764
+ /** Custom extension fields reserved for users. */
1765
1765
 
1766
1766
  /** AST node from which this schema element was built, if available. */
1767
1767
 
@@ -2228,7 +2228,7 @@ class GraphQLInterfaceType {
2228
2228
 
2229
2229
  /** Function that resolves the concrete object type for this abstract type. */
2230
2230
 
2231
- /** Extension fields to include in the formatted result. */
2231
+ /** Custom extension fields reserved for users. */
2232
2232
 
2233
2233
  /** AST node from which this schema element was built, if available. */
2234
2234
 
@@ -2518,7 +2518,7 @@ class GraphQLUnionType {
2518
2518
 
2519
2519
  /** Function that resolves the concrete object type for this abstract type. */
2520
2520
 
2521
- /** Extension fields to include in the formatted result. */
2521
+ /** Custom extension fields reserved for users. */
2522
2522
 
2523
2523
  /** AST node from which this schema element was built, if available. */
2524
2524
 
@@ -2774,7 +2774,7 @@ class GraphQLEnumType {
2774
2774
 
2775
2775
  /** Human-readable description for this schema element, if provided. */
2776
2776
 
2777
- /** Extension fields to include in the formatted result. */
2777
+ /** Custom extension fields reserved for users. */
2778
2778
 
2779
2779
  /** AST node from which this schema element was built, if available. */
2780
2780
 
@@ -3223,7 +3223,7 @@ class GraphQLInputObjectType {
3223
3223
 
3224
3224
  /** Human-readable description for this schema element, if provided. */
3225
3225
 
3226
- /** Extension fields to include in the formatted result. */
3226
+ /** Custom extension fields reserved for users. */
3227
3227
 
3228
3228
  /** AST node from which this schema element was built, if available. */
3229
3229
 
@@ -1402,7 +1402,7 @@ export class GraphQLScalarType {
1402
1402
 
1403
1403
  /** Function that converts AST input literals into this scalar's internal value. */
1404
1404
 
1405
- /** Extension fields to include in the formatted result. */
1405
+ /** Custom extension fields reserved for users. */
1406
1406
 
1407
1407
  /** AST node from which this schema element was built, if available. */
1408
1408
 
@@ -1644,7 +1644,7 @@ export class GraphQLObjectType {
1644
1644
 
1645
1645
  /** Predicate used to determine whether a runtime value belongs to this object type. */
1646
1646
 
1647
- /** Extension fields to include in the formatted result. */
1647
+ /** Custom extension fields reserved for users. */
1648
1648
 
1649
1649
  /** AST node from which this schema element was built, if available. */
1650
1650
 
@@ -2109,7 +2109,7 @@ export class GraphQLInterfaceType {
2109
2109
 
2110
2110
  /** Function that resolves the concrete object type for this abstract type. */
2111
2111
 
2112
- /** Extension fields to include in the formatted result. */
2112
+ /** Custom extension fields reserved for users. */
2113
2113
 
2114
2114
  /** AST node from which this schema element was built, if available. */
2115
2115
 
@@ -2397,7 +2397,7 @@ export class GraphQLUnionType {
2397
2397
 
2398
2398
  /** Function that resolves the concrete object type for this abstract type. */
2399
2399
 
2400
- /** Extension fields to include in the formatted result. */
2400
+ /** Custom extension fields reserved for users. */
2401
2401
 
2402
2402
  /** AST node from which this schema element was built, if available. */
2403
2403
 
@@ -2651,7 +2651,7 @@ export class GraphQLEnumType {
2651
2651
 
2652
2652
  /** Human-readable description for this schema element, if provided. */
2653
2653
 
2654
- /** Extension fields to include in the formatted result. */
2654
+ /** Custom extension fields reserved for users. */
2655
2655
 
2656
2656
  /** AST node from which this schema element was built, if available. */
2657
2657
 
@@ -3088,7 +3088,7 @@ export class GraphQLInputObjectType {
3088
3088
 
3089
3089
  /** Human-readable description for this schema element, if provided. */
3090
3090
 
3091
- /** Extension fields to include in the formatted result. */
3091
+ /** Custom extension fields reserved for users. */
3092
3092
 
3093
3093
  /** AST node from which this schema element was built, if available. */
3094
3094
 
@@ -77,7 +77,7 @@ export declare class GraphQLDirective {
77
77
  isRepeatable: boolean;
78
78
  /** Reason this element is deprecated, if one was provided. */
79
79
  deprecationReason: Maybe<string>;
80
- /** Extension fields to include in the formatted result. */
80
+ /** Custom extension fields reserved for users. */
81
81
  extensions: Readonly<GraphQLDirectiveExtensions>;
82
82
  /** AST node from which this schema element was built, if available. */
83
83
  astNode: Maybe<DirectiveDefinitionNode>;
@@ -214,7 +214,7 @@ export interface GraphQLDirectiveConfig {
214
214
  isRepeatable?: Maybe<boolean>;
215
215
  /** Reason this element is deprecated, if one was provided. */
216
216
  deprecationReason?: Maybe<string>;
217
- /** Extension fields to include in the formatted result. */
217
+ /** Custom extension fields reserved for users. */
218
218
  extensions?: Maybe<Readonly<GraphQLDirectiveExtensions>>;
219
219
  /** AST node from which this schema element was built, if available. */
220
220
  astNode?: Maybe<DirectiveDefinitionNode>;
@@ -111,7 +111,7 @@ class GraphQLDirective {
111
111
 
112
112
  /** Reason this element is deprecated, if one was provided. */
113
113
 
114
- /** Extension fields to include in the formatted result. */
114
+ /** Custom extension fields reserved for users. */
115
115
 
116
116
  /** AST node from which this schema element was built, if available. */
117
117
 
@@ -88,7 +88,7 @@ export class GraphQLDirective {
88
88
 
89
89
  /** Reason this element is deprecated, if one was provided. */
90
90
 
91
- /** Extension fields to include in the formatted result. */
91
+ /** Custom extension fields reserved for users. */
92
92
 
93
93
  /** AST node from which this schema element was built, if available. */
94
94
 
package/type/schema.d.ts CHANGED
@@ -151,7 +151,7 @@ export interface GraphQLSchemaExtensions {
151
151
  export declare class GraphQLSchema {
152
152
  /** Human-readable description for this schema element, if provided. */
153
153
  description: Maybe<string>;
154
- /** Extension fields to include in the formatted result. */
154
+ /** Custom extension fields reserved for users. */
155
155
  extensions: Readonly<GraphQLSchemaExtensions>;
156
156
  /** AST node from which this schema element was built, if available. */
157
157
  astNode: Maybe<SchemaDefinitionNode>;
@@ -613,7 +613,7 @@ export interface GraphQLSchemaConfig extends GraphQLSchemaValidationOptions {
613
613
  types?: Maybe<ReadonlyArray<GraphQLNamedType>>;
614
614
  /** Directives available in this schema or applied to this AST node. */
615
615
  directives?: Maybe<ReadonlyArray<GraphQLDirective>>;
616
- /** Extension fields to include in the formatted result. */
616
+ /** Custom extension fields reserved for users. */
617
617
  extensions?: Maybe<Readonly<GraphQLSchemaExtensions>>;
618
618
  /** AST node from which this schema element was built, if available. */
619
619
  astNode?: Maybe<SchemaDefinitionNode>;
package/type/schema.js CHANGED
@@ -173,7 +173,7 @@ function assertSchema(schema) {
173
173
  class GraphQLSchema {
174
174
  /** Human-readable description for this schema element, if provided. */
175
175
 
176
- /** Extension fields to include in the formatted result. */
176
+ /** Custom extension fields reserved for users. */
177
177
 
178
178
  /** AST node from which this schema element was built, if available. */
179
179
 
package/type/schema.mjs CHANGED
@@ -159,7 +159,7 @@ export function assertSchema(schema) {
159
159
  export class GraphQLSchema {
160
160
  /** Human-readable description for this schema element, if provided. */
161
161
 
162
- /** Extension fields to include in the formatted result. */
162
+ /** Custom extension fields reserved for users. */
163
163
 
164
164
  /** AST node from which this schema element was built, if available. */
165
165
 
package/version.js CHANGED
@@ -10,14 +10,14 @@ exports.versionInfo = exports.version = void 0;
10
10
  // automatically updated by "npm version" command.
11
11
 
12
12
  /** A string containing the version of the GraphQL.js library */
13
- const version = '16.14.1';
13
+ const version = '16.14.2';
14
14
  /** An object containing the components of the GraphQL.js version string */
15
15
 
16
16
  exports.version = version;
17
17
  const versionInfo = Object.freeze({
18
18
  major: 16,
19
19
  minor: 14,
20
- patch: 1,
20
+ patch: 2,
21
21
  preReleaseTag: null,
22
22
  });
23
23
  exports.versionInfo = versionInfo;
package/version.mjs CHANGED
@@ -3,12 +3,12 @@
3
3
  // automatically updated by "npm version" command.
4
4
 
5
5
  /** A string containing the version of the GraphQL.js library */
6
- export const version = '16.14.1';
6
+ export const version = '16.14.2';
7
7
  /** An object containing the components of the GraphQL.js version string */
8
8
 
9
9
  export const versionInfo = Object.freeze({
10
10
  major: 16,
11
11
  minor: 14,
12
- patch: 1,
12
+ patch: 2,
13
13
  preReleaseTag: null,
14
14
  });