graphql 17.0.0-rc.0 → 17.0.0
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/README.md +3 -5
- package/diagnostics.d.mts +67 -38
- package/diagnostics.d.ts +67 -38
- package/diagnostics.js.map +1 -1
- package/diagnostics.mjs.map +1 -1
- package/error/locatedError.d.mts +1 -3
- package/error/locatedError.d.ts +1 -3
- package/error/locatedError.js.map +1 -1
- package/error/locatedError.mjs.map +1 -1
- package/execution/Executor.d.mts +2 -2
- package/execution/Executor.d.ts +2 -2
- package/execution/Executor.js.map +1 -1
- package/execution/Executor.mjs.map +1 -1
- package/execution/execute.d.mts +65 -44
- package/execution/execute.d.ts +65 -44
- package/execution/execute.js +11 -2
- package/execution/execute.js.map +1 -1
- package/execution/execute.mjs +11 -2
- package/execution/execute.mjs.map +1 -1
- package/execution/values.d.mts +17 -17
- package/execution/values.d.ts +17 -17
- package/execution/values.js.map +1 -1
- package/execution/values.mjs.map +1 -1
- package/language/parser.d.mts +20 -30
- package/language/parser.d.ts +20 -30
- package/language/parser.js +3 -9
- package/language/parser.js.map +1 -1
- package/language/parser.mjs +3 -9
- package/language/parser.mjs.map +1 -1
- package/language/predicates.d.mts +5 -1
- package/language/predicates.d.ts +5 -1
- package/language/predicates.js.map +1 -1
- package/language/predicates.mjs.map +1 -1
- package/language/source.d.mts +4 -5
- package/language/source.d.ts +4 -5
- package/language/source.js.map +1 -1
- package/language/source.mjs.map +1 -1
- package/language/visitor.d.mts +10 -2
- package/language/visitor.d.ts +10 -2
- package/language/visitor.js.map +1 -1
- package/language/visitor.mjs.map +1 -1
- package/package.json +2 -2
- package/type/definition.d.mts +96 -64
- package/type/definition.d.ts +96 -64
- package/type/definition.js.map +1 -1
- package/type/definition.mjs.map +1 -1
- package/type/directives.d.mts +3 -3
- package/type/directives.d.ts +3 -3
- package/type/directives.js.map +1 -1
- package/type/directives.mjs.map +1 -1
- package/type/schema.d.mts +4 -8
- package/type/schema.d.ts +4 -8
- package/type/schema.js.map +1 -1
- package/type/schema.mjs.map +1 -1
- package/type/validate.js +101 -30
- package/type/validate.js.map +1 -1
- package/type/validate.mjs +101 -30
- package/type/validate.mjs.map +1 -1
- package/utilities/TypeInfo.d.mts +1 -1
- package/utilities/TypeInfo.d.ts +1 -1
- package/utilities/TypeInfo.js.map +1 -1
- package/utilities/TypeInfo.mjs.map +1 -1
- package/utilities/buildASTSchema.d.mts +0 -1
- package/utilities/buildASTSchema.d.ts +0 -1
- package/utilities/buildASTSchema.js +0 -1
- package/utilities/buildASTSchema.js.map +1 -1
- package/utilities/buildASTSchema.mjs +0 -1
- package/utilities/buildASTSchema.mjs.map +1 -1
- package/utilities/buildClientSchema.d.mts +5 -1
- package/utilities/buildClientSchema.d.ts +5 -1
- package/utilities/buildClientSchema.js.map +1 -1
- package/utilities/buildClientSchema.mjs.map +1 -1
- package/utilities/coerceInputValue.d.mts +7 -6
- package/utilities/coerceInputValue.d.ts +7 -6
- package/utilities/coerceInputValue.js.map +1 -1
- package/utilities/coerceInputValue.mjs.map +1 -1
- package/utilities/concatAST.d.mts +4 -1
- package/utilities/concatAST.d.ts +4 -1
- package/utilities/concatAST.js.map +1 -1
- package/utilities/concatAST.mjs.map +1 -1
- package/utilities/extendSchema.d.mts +3 -3
- package/utilities/extendSchema.d.ts +3 -3
- package/utilities/extendSchema.js +5 -1
- package/utilities/extendSchema.js.map +1 -1
- package/utilities/extendSchema.mjs +5 -1
- package/utilities/extendSchema.mjs.map +1 -1
- package/utilities/introspectionFromSchema.d.mts +6 -2
- package/utilities/introspectionFromSchema.d.ts +6 -2
- package/utilities/introspectionFromSchema.js.map +1 -1
- package/utilities/introspectionFromSchema.mjs.map +1 -1
- package/utilities/lexicographicSortSchema.d.mts +5 -1
- package/utilities/lexicographicSortSchema.d.ts +5 -1
- package/utilities/lexicographicSortSchema.js.map +1 -1
- package/utilities/lexicographicSortSchema.mjs.map +1 -1
- package/utilities/printSchema.d.mts +5 -1
- package/utilities/printSchema.d.ts +5 -1
- package/utilities/printSchema.js.map +1 -1
- package/utilities/printSchema.mjs.map +1 -1
- package/utilities/replaceVariables.d.mts +4 -8
- package/utilities/replaceVariables.d.ts +4 -8
- package/utilities/replaceVariables.js.map +1 -1
- package/utilities/replaceVariables.mjs.map +1 -1
- package/utilities/stripIgnoredCharacters.d.mts +2 -2
- package/utilities/stripIgnoredCharacters.d.ts +2 -2
- package/utilities/stripIgnoredCharacters.js.map +1 -1
- package/utilities/stripIgnoredCharacters.mjs.map +1 -1
- package/utilities/typeComparators.d.mts +1 -5
- package/utilities/typeComparators.d.ts +1 -5
- package/utilities/typeComparators.js.map +1 -1
- package/utilities/typeComparators.mjs.map +1 -1
- package/utilities/validateInputValue.d.mts +10 -8
- package/utilities/validateInputValue.d.ts +10 -8
- package/utilities/validateInputValue.js.map +1 -1
- package/utilities/validateInputValue.mjs.map +1 -1
- package/validation/rules/DeferStreamDirectiveOnRootFieldRule.d.mts +4 -1
- package/validation/rules/DeferStreamDirectiveOnRootFieldRule.d.ts +4 -1
- package/validation/rules/DeferStreamDirectiveOnRootFieldRule.js.map +1 -1
- package/validation/rules/DeferStreamDirectiveOnRootFieldRule.mjs.map +1 -1
- package/validation/rules/ExecutableDefinitionsRule.d.mts +6 -2
- package/validation/rules/ExecutableDefinitionsRule.d.ts +6 -2
- package/validation/rules/ExecutableDefinitionsRule.js.map +1 -1
- package/validation/rules/ExecutableDefinitionsRule.mjs.map +1 -1
- package/validation/rules/FieldsOnCorrectTypeRule.d.mts +3 -1
- package/validation/rules/FieldsOnCorrectTypeRule.d.ts +3 -1
- package/validation/rules/FieldsOnCorrectTypeRule.js.map +1 -1
- package/validation/rules/FieldsOnCorrectTypeRule.mjs.map +1 -1
- package/validation/rules/FragmentsOnCompositeTypesRule.d.mts +6 -2
- package/validation/rules/FragmentsOnCompositeTypesRule.d.ts +6 -2
- package/validation/rules/FragmentsOnCompositeTypesRule.js.map +1 -1
- package/validation/rules/FragmentsOnCompositeTypesRule.mjs.map +1 -1
- package/validation/rules/KnownArgumentNamesRule.d.mts +3 -1
- package/validation/rules/KnownArgumentNamesRule.d.ts +3 -1
- package/validation/rules/KnownArgumentNamesRule.js.map +1 -1
- package/validation/rules/KnownArgumentNamesRule.mjs.map +1 -1
- package/validation/rules/KnownDirectivesRule.js +2 -1
- package/validation/rules/KnownDirectivesRule.js.map +1 -1
- package/validation/rules/KnownDirectivesRule.mjs +2 -1
- package/validation/rules/KnownDirectivesRule.mjs.map +1 -1
- package/validation/rules/KnownFragmentNamesRule.d.mts +3 -1
- package/validation/rules/KnownFragmentNamesRule.d.ts +3 -1
- package/validation/rules/KnownFragmentNamesRule.js.map +1 -1
- package/validation/rules/KnownFragmentNamesRule.mjs.map +1 -1
- package/validation/rules/LoneAnonymousOperationRule.d.mts +6 -2
- package/validation/rules/LoneAnonymousOperationRule.d.ts +6 -2
- package/validation/rules/LoneAnonymousOperationRule.js.map +1 -1
- package/validation/rules/LoneAnonymousOperationRule.mjs.map +1 -1
- package/validation/rules/MaxIntrospectionDepthRule.d.mts +6 -2
- package/validation/rules/MaxIntrospectionDepthRule.d.ts +6 -2
- package/validation/rules/MaxIntrospectionDepthRule.js.map +1 -1
- package/validation/rules/MaxIntrospectionDepthRule.mjs.map +1 -1
- package/validation/rules/NoUndefinedVariablesRule.d.mts +3 -1
- package/validation/rules/NoUndefinedVariablesRule.d.ts +3 -1
- package/validation/rules/NoUndefinedVariablesRule.js.map +1 -1
- package/validation/rules/NoUndefinedVariablesRule.mjs.map +1 -1
- package/validation/rules/NoUnusedFragmentsRule.d.mts +3 -1
- package/validation/rules/NoUnusedFragmentsRule.d.ts +3 -1
- package/validation/rules/NoUnusedFragmentsRule.js.map +1 -1
- package/validation/rules/NoUnusedFragmentsRule.mjs.map +1 -1
- package/validation/rules/NoUnusedVariablesRule.d.mts +3 -1
- package/validation/rules/NoUnusedVariablesRule.d.ts +3 -1
- package/validation/rules/NoUnusedVariablesRule.js.map +1 -1
- package/validation/rules/NoUnusedVariablesRule.mjs.map +1 -1
- package/validation/rules/OverlappingFieldsCanBeMergedRule.d.mts +6 -2
- package/validation/rules/OverlappingFieldsCanBeMergedRule.d.ts +6 -2
- package/validation/rules/OverlappingFieldsCanBeMergedRule.js.map +1 -1
- package/validation/rules/OverlappingFieldsCanBeMergedRule.mjs.map +1 -1
- package/validation/rules/PossibleFragmentSpreadsRule.d.mts +6 -2
- package/validation/rules/PossibleFragmentSpreadsRule.d.ts +6 -2
- package/validation/rules/PossibleFragmentSpreadsRule.js.map +1 -1
- package/validation/rules/PossibleFragmentSpreadsRule.mjs.map +1 -1
- package/validation/rules/ProvidedRequiredArgumentsRule.d.mts +6 -2
- package/validation/rules/ProvidedRequiredArgumentsRule.d.ts +6 -2
- package/validation/rules/ProvidedRequiredArgumentsRule.js.map +1 -1
- package/validation/rules/ProvidedRequiredArgumentsRule.mjs.map +1 -1
- package/validation/rules/SingleFieldSubscriptionsRule.d.mts +6 -2
- package/validation/rules/SingleFieldSubscriptionsRule.d.ts +6 -2
- package/validation/rules/SingleFieldSubscriptionsRule.js.map +1 -1
- package/validation/rules/SingleFieldSubscriptionsRule.mjs.map +1 -1
- package/validation/rules/UniqueArgumentNamesRule.d.mts +3 -1
- package/validation/rules/UniqueArgumentNamesRule.d.ts +3 -1
- package/validation/rules/UniqueArgumentNamesRule.js.map +1 -1
- package/validation/rules/UniqueArgumentNamesRule.mjs.map +1 -1
- package/validation/rules/UniqueDirectivesPerLocationRule.d.mts +6 -2
- package/validation/rules/UniqueDirectivesPerLocationRule.d.ts +6 -2
- package/validation/rules/UniqueDirectivesPerLocationRule.js.map +1 -1
- package/validation/rules/UniqueDirectivesPerLocationRule.mjs.map +1 -1
- package/validation/rules/UniqueFragmentNamesRule.d.mts +3 -1
- package/validation/rules/UniqueFragmentNamesRule.d.ts +3 -1
- package/validation/rules/UniqueFragmentNamesRule.js.map +1 -1
- package/validation/rules/UniqueFragmentNamesRule.mjs.map +1 -1
- package/validation/rules/UniqueInputFieldNamesRule.d.mts +6 -2
- package/validation/rules/UniqueInputFieldNamesRule.d.ts +6 -2
- package/validation/rules/UniqueInputFieldNamesRule.js.map +1 -1
- package/validation/rules/UniqueInputFieldNamesRule.mjs.map +1 -1
- package/validation/rules/UniqueOperationNamesRule.d.mts +3 -1
- package/validation/rules/UniqueOperationNamesRule.d.ts +3 -1
- package/validation/rules/UniqueOperationNamesRule.js.map +1 -1
- package/validation/rules/UniqueOperationNamesRule.mjs.map +1 -1
- package/validation/rules/UniqueVariableNamesRule.d.mts +3 -1
- package/validation/rules/UniqueVariableNamesRule.d.ts +3 -1
- package/validation/rules/UniqueVariableNamesRule.js.map +1 -1
- package/validation/rules/UniqueVariableNamesRule.mjs.map +1 -1
- package/validation/rules/ValuesOfCorrectTypeRule.d.mts +3 -1
- package/validation/rules/ValuesOfCorrectTypeRule.d.ts +3 -1
- package/validation/rules/ValuesOfCorrectTypeRule.js.map +1 -1
- package/validation/rules/ValuesOfCorrectTypeRule.mjs.map +1 -1
- package/validation/rules/VariablesAreInputTypesRule.d.mts +6 -2
- package/validation/rules/VariablesAreInputTypesRule.d.ts +6 -2
- package/validation/rules/VariablesAreInputTypesRule.js.map +1 -1
- package/validation/rules/VariablesAreInputTypesRule.mjs.map +1 -1
- package/validation/rules/VariablesInAllowedPositionRule.d.mts +6 -2
- package/validation/rules/VariablesInAllowedPositionRule.d.ts +6 -2
- package/validation/rules/VariablesInAllowedPositionRule.js.map +1 -1
- package/validation/rules/VariablesInAllowedPositionRule.mjs.map +1 -1
- package/validation/rules/custom/NoDeprecatedCustomRule.d.mts +3 -1
- package/validation/rules/custom/NoDeprecatedCustomRule.d.ts +3 -1
- package/validation/rules/custom/NoDeprecatedCustomRule.js.map +1 -1
- package/validation/rules/custom/NoDeprecatedCustomRule.mjs.map +1 -1
- package/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.mts +6 -2
- package/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.ts +6 -2
- package/validation/rules/custom/NoSchemaIntrospectionCustomRule.js.map +1 -1
- package/validation/rules/custom/NoSchemaIntrospectionCustomRule.mjs.map +1 -1
- package/validation/validate.d.mts +3 -6
- package/validation/validate.d.ts +3 -6
- package/validation/validate.js.map +1 -1
- package/validation/validate.mjs.map +1 -1
- package/version.js +2 -2
- package/version.js.map +1 -1
- package/version.mjs +2 -2
- package/version.mjs.map +1 -1
package/type/definition.d.mts
CHANGED
|
@@ -407,7 +407,9 @@ export declare function assertEnumType(type: unknown): GraphQLEnumType;
|
|
|
407
407
|
* import { buildSchema } from 'graphql/utilities';
|
|
408
408
|
* import { assertEnumType, isEnumValue } from 'graphql/type';
|
|
409
409
|
*
|
|
410
|
-
* const schema = buildSchema(
|
|
410
|
+
* const schema = buildSchema(
|
|
411
|
+
* 'enum Episode { NEW_HOPE } type Query { episode: Episode }',
|
|
412
|
+
* );
|
|
411
413
|
* const enumValue = assertEnumType(schema.getType('Episode')).getValues()[0];
|
|
412
414
|
*
|
|
413
415
|
* isEnumValue(enumValue); // => true
|
|
@@ -424,7 +426,9 @@ export declare function isEnumValue(value: unknown): value is GraphQLEnumValue;
|
|
|
424
426
|
* import { buildSchema } from 'graphql/utilities';
|
|
425
427
|
* import { assertEnumType, assertEnumValue } from 'graphql/type';
|
|
426
428
|
*
|
|
427
|
-
* const schema = buildSchema(
|
|
429
|
+
* const schema = buildSchema(
|
|
430
|
+
* 'enum Episode { NEW_HOPE } type Query { episode: Episode }',
|
|
431
|
+
* );
|
|
428
432
|
* const enumValue = assertEnumValue(
|
|
429
433
|
* assertEnumType(schema.getType('Episode')).getValues()[0],
|
|
430
434
|
* );
|
|
@@ -501,8 +505,12 @@ export declare function assertInputObjectType(type: unknown): GraphQLInputObject
|
|
|
501
505
|
* import { buildSchema } from 'graphql/utilities';
|
|
502
506
|
* import { assertInputObjectType, isInputField } from 'graphql/type';
|
|
503
507
|
*
|
|
504
|
-
* const schema = buildSchema(
|
|
505
|
-
*
|
|
508
|
+
* const schema = buildSchema(
|
|
509
|
+
* 'input ReviewInput { stars: Int } type Query { ok: Boolean }',
|
|
510
|
+
* );
|
|
511
|
+
* const inputField = assertInputObjectType(
|
|
512
|
+
* schema.getType('ReviewInput'),
|
|
513
|
+
* ).getFields().stars;
|
|
506
514
|
*
|
|
507
515
|
* isInputField(inputField); // => true
|
|
508
516
|
* isInputField(schema.getQueryType()); // => false
|
|
@@ -518,7 +526,9 @@ export declare function isInputField(field: unknown): field is GraphQLInputField
|
|
|
518
526
|
* import { buildSchema } from 'graphql/utilities';
|
|
519
527
|
* import { assertInputField, assertInputObjectType } from 'graphql/type';
|
|
520
528
|
*
|
|
521
|
-
* const schema = buildSchema(
|
|
529
|
+
* const schema = buildSchema(
|
|
530
|
+
* 'input ReviewInput { stars: Int } type Query { ok: Boolean }',
|
|
531
|
+
* );
|
|
522
532
|
* const inputField = assertInputField(
|
|
523
533
|
* assertInputObjectType(schema.getType('ReviewInput')).getFields().stars,
|
|
524
534
|
* );
|
|
@@ -1006,8 +1016,8 @@ export declare function assertAbstractType(type: unknown): GraphQLAbstractType;
|
|
|
1006
1016
|
* fields: () => ({
|
|
1007
1017
|
* parents: { type: new GraphQLList(PersonType) },
|
|
1008
1018
|
* children: { type: new GraphQLList(PersonType) },
|
|
1009
|
-
* })
|
|
1010
|
-
* })
|
|
1019
|
+
* }),
|
|
1020
|
+
* });
|
|
1011
1021
|
* ```
|
|
1012
1022
|
*/
|
|
1013
1023
|
export declare class GraphQLList<T extends GraphQLType> implements GraphQLSchemaElement {
|
|
@@ -1078,8 +1088,8 @@ export declare class GraphQLList<T extends GraphQLType> implements GraphQLSchema
|
|
|
1078
1088
|
* name: 'Row',
|
|
1079
1089
|
* fields: () => ({
|
|
1080
1090
|
* id: { type: new GraphQLNonNull(GraphQLString) },
|
|
1081
|
-
* })
|
|
1082
|
-
* })
|
|
1091
|
+
* }),
|
|
1092
|
+
* });
|
|
1083
1093
|
* ```
|
|
1084
1094
|
*
|
|
1085
1095
|
* Note: the enforcement of non-nullability occurs within the executor.
|
|
@@ -1115,9 +1125,7 @@ export declare class GraphQLNonNull<T extends GraphQLNullableType> implements Gr
|
|
|
1115
1125
|
* import { GraphQLList, GraphQLNonNull, GraphQLString } from 'graphql/type';
|
|
1116
1126
|
*
|
|
1117
1127
|
* const requiredString = new GraphQLNonNull(GraphQLString);
|
|
1118
|
-
* const requiredStringList = new GraphQLNonNull(
|
|
1119
|
-
* new GraphQLList(GraphQLString),
|
|
1120
|
-
* );
|
|
1128
|
+
* const requiredStringList = new GraphQLNonNull(new GraphQLList(GraphQLString));
|
|
1121
1129
|
*
|
|
1122
1130
|
* requiredString.toString(); // => 'String!'
|
|
1123
1131
|
* requiredStringList.toString(); // => '[String]!'
|
|
@@ -1258,9 +1266,7 @@ export declare function getNullableType<T extends GraphQLNullableType>(type: T |
|
|
|
1258
1266
|
* getNullableType,
|
|
1259
1267
|
* } from 'graphql/type';
|
|
1260
1268
|
*
|
|
1261
|
-
* const requiredStringList = new GraphQLNonNull(
|
|
1262
|
-
* new GraphQLList(GraphQLString),
|
|
1263
|
-
* );
|
|
1269
|
+
* const requiredStringList = new GraphQLNonNull(new GraphQLList(GraphQLString));
|
|
1264
1270
|
*
|
|
1265
1271
|
* getNullableType(requiredStringList).toString(); // => '[String]'
|
|
1266
1272
|
* getNullableType(GraphQLString); // => GraphQLString
|
|
@@ -1392,11 +1398,7 @@ export declare function getNamedType(type: GraphQLType): GraphQLNamedType;
|
|
|
1392
1398
|
* @returns The named type after unwrapping all wrappers, or undefined for nullish input.
|
|
1393
1399
|
* @example
|
|
1394
1400
|
* ```ts
|
|
1395
|
-
* import {
|
|
1396
|
-
* GraphQLList,
|
|
1397
|
-
* GraphQLString,
|
|
1398
|
-
* getNamedType,
|
|
1399
|
-
* } from 'graphql/type';
|
|
1401
|
+
* import { GraphQLList, GraphQLString, getNamedType } from 'graphql/type';
|
|
1400
1402
|
*
|
|
1401
1403
|
* getNamedType(new GraphQLList(GraphQLString)); // => GraphQLString
|
|
1402
1404
|
* getNamedType(undefined); // => undefined
|
|
@@ -1527,7 +1529,9 @@ export interface GraphQLScalarTypeExtensions {
|
|
|
1527
1529
|
* }
|
|
1528
1530
|
*
|
|
1529
1531
|
* if (value % 2 === 0) {
|
|
1530
|
-
* throw new Error(
|
|
1532
|
+
* throw new Error(
|
|
1533
|
+
* `Scalar "Odd" cannot represent "${value}" since it is even.`,
|
|
1534
|
+
* );
|
|
1531
1535
|
* }
|
|
1532
1536
|
*
|
|
1533
1537
|
* return value;
|
|
@@ -1543,7 +1547,7 @@ export interface GraphQLScalarTypeExtensions {
|
|
|
1543
1547
|
* },
|
|
1544
1548
|
* valueToLiteral: (value) => {
|
|
1545
1549
|
* return { kind: Kind.INT, value: String(ensureOdd(value)) };
|
|
1546
|
-
* }
|
|
1550
|
+
* },
|
|
1547
1551
|
* });
|
|
1548
1552
|
* ```
|
|
1549
1553
|
*/
|
|
@@ -1580,7 +1584,7 @@ export declare class GraphQLScalarType<TInternal = unknown, TExternal = TInterna
|
|
|
1580
1584
|
coerceInputLiteral: GraphQLScalarInputLiteralCoercer<TInternal> | undefined;
|
|
1581
1585
|
/** Converter used to produce GraphQL literals from runtime input values. */
|
|
1582
1586
|
valueToLiteral: GraphQLScalarValueToLiteral | undefined;
|
|
1583
|
-
/**
|
|
1587
|
+
/** Custom extension fields reserved for users. */
|
|
1584
1588
|
extensions: Readonly<GraphQLScalarTypeExtensions>;
|
|
1585
1589
|
/** AST node from which this schema element was built, if available. */
|
|
1586
1590
|
astNode: Maybe<ScalarTypeDefinitionNode>;
|
|
@@ -1632,7 +1636,7 @@ export declare class GraphQLScalarType<TInternal = unknown, TExternal = TInterna
|
|
|
1632
1636
|
* },
|
|
1633
1637
|
* extensions: { numeric: true },
|
|
1634
1638
|
* astNode: document.definitions[0],
|
|
1635
|
-
* extensionASTNodes: [
|
|
1639
|
+
* extensionASTNodes: [document.definitions[1]],
|
|
1636
1640
|
* });
|
|
1637
1641
|
*
|
|
1638
1642
|
* Odd.description; // => 'Odd integer values.'
|
|
@@ -1775,7 +1779,7 @@ export interface GraphQLScalarTypeConfig<TInternal, TExternal> {
|
|
|
1775
1779
|
coerceInputLiteral?: GraphQLScalarInputLiteralCoercer<TInternal> | undefined;
|
|
1776
1780
|
/** Translates an externally provided value to a literal (AST). */
|
|
1777
1781
|
valueToLiteral?: GraphQLScalarValueToLiteral | undefined;
|
|
1778
|
-
/**
|
|
1782
|
+
/** Custom extension fields reserved for users. */
|
|
1779
1783
|
extensions?: Maybe<Readonly<GraphQLScalarTypeExtensions>>;
|
|
1780
1784
|
/** AST node from which this schema element was built, if available. */
|
|
1781
1785
|
astNode?: Maybe<ScalarTypeDefinitionNode>;
|
|
@@ -1826,10 +1830,10 @@ export interface GraphQLObjectTypeExtensions<_TSource = any, _TContext = any> {
|
|
|
1826
1830
|
* formatted: {
|
|
1827
1831
|
* type: GraphQLString,
|
|
1828
1832
|
* resolve: (obj) => {
|
|
1829
|
-
* return obj.number + ' ' + obj.street
|
|
1830
|
-
* }
|
|
1831
|
-
* }
|
|
1832
|
-
* }
|
|
1833
|
+
* return obj.number + ' ' + obj.street;
|
|
1834
|
+
* },
|
|
1835
|
+
* },
|
|
1836
|
+
* },
|
|
1833
1837
|
* });
|
|
1834
1838
|
* ```
|
|
1835
1839
|
* @example
|
|
@@ -1843,7 +1847,7 @@ export interface GraphQLObjectTypeExtensions<_TSource = any, _TContext = any> {
|
|
|
1843
1847
|
* fields: () => ({
|
|
1844
1848
|
* name: { type: GraphQLString },
|
|
1845
1849
|
* bestFriend: { type: PersonType },
|
|
1846
|
-
* })
|
|
1850
|
+
* }),
|
|
1847
1851
|
* });
|
|
1848
1852
|
* ```
|
|
1849
1853
|
*/
|
|
@@ -1854,7 +1858,7 @@ export declare class GraphQLObjectType<TSource = any, TContext = any, TAbstract
|
|
|
1854
1858
|
description: Maybe<string>;
|
|
1855
1859
|
/** Predicate used to determine whether a runtime value belongs to this object type. */
|
|
1856
1860
|
isTypeOf: Maybe<GraphQLIsTypeOfFn<TAbstract, TContext>>;
|
|
1857
|
-
/**
|
|
1861
|
+
/** Custom extension fields reserved for users. */
|
|
1858
1862
|
extensions: Readonly<GraphQLObjectTypeExtensions<TSource, TContext>>;
|
|
1859
1863
|
/** AST node from which this schema element was built, if available. */
|
|
1860
1864
|
astNode: Maybe<ObjectTypeDefinitionNode>;
|
|
@@ -1930,7 +1934,7 @@ export declare class GraphQLObjectType<TSource = any, TContext = any, TAbstract
|
|
|
1930
1934
|
* },
|
|
1931
1935
|
* extensions: { entity: 'User' },
|
|
1932
1936
|
* astNode: definition,
|
|
1933
|
-
* extensionASTNodes: [
|
|
1937
|
+
* extensionASTNodes: [document.definitions[1]],
|
|
1934
1938
|
* });
|
|
1935
1939
|
*
|
|
1936
1940
|
* User.name; // => 'User'
|
|
@@ -2104,7 +2108,7 @@ export interface GraphQLObjectTypeConfig<TSource, TContext, TAbstract = unknown>
|
|
|
2104
2108
|
fields: ThunkObjMap<GraphQLFieldConfig<TSource, TContext>>;
|
|
2105
2109
|
/** Predicate used to determine whether a runtime value belongs to this object type. */
|
|
2106
2110
|
isTypeOf?: Maybe<GraphQLIsTypeOfFn<TAbstract, TContext>>;
|
|
2107
|
-
/**
|
|
2111
|
+
/** Custom extension fields reserved for users. */
|
|
2108
2112
|
extensions?: Maybe<Readonly<GraphQLObjectTypeExtensions<TSource, TContext>>>;
|
|
2109
2113
|
/** AST node from which this schema element was built, if available. */
|
|
2110
2114
|
astNode?: Maybe<ObjectTypeDefinitionNode>;
|
|
@@ -2231,7 +2235,7 @@ export interface GraphQLFieldConfig<TSource, TContext, TArgs = any> {
|
|
|
2231
2235
|
subscribe?: GraphQLFieldResolver<TSource, TContext, TArgs> | undefined;
|
|
2232
2236
|
/** Reason this element is deprecated, if one was provided. */
|
|
2233
2237
|
deprecationReason?: Maybe<string>;
|
|
2234
|
-
/**
|
|
2238
|
+
/** Custom extension fields reserved for users. */
|
|
2235
2239
|
extensions?: Maybe<Readonly<GraphQLFieldExtensions<TSource, TContext, TArgs>>>;
|
|
2236
2240
|
/** AST node from which this schema element was built, if available. */
|
|
2237
2241
|
astNode?: Maybe<FieldDefinitionNode>;
|
|
@@ -2271,7 +2275,7 @@ export interface GraphQLArgumentConfig {
|
|
|
2271
2275
|
default?: GraphQLDefaultInput | undefined;
|
|
2272
2276
|
/** Reason this element is deprecated, if one was provided. */
|
|
2273
2277
|
deprecationReason?: Maybe<string>;
|
|
2274
|
-
/**
|
|
2278
|
+
/** Custom extension fields reserved for users. */
|
|
2275
2279
|
extensions?: Maybe<Readonly<GraphQLArgumentExtensions>>;
|
|
2276
2280
|
/** AST node from which this schema element was built, if available. */
|
|
2277
2281
|
astNode?: Maybe<InputValueDefinitionNode>;
|
|
@@ -2312,7 +2316,7 @@ export declare class GraphQLField<TSource = any, TContext = any, TArgs = any> im
|
|
|
2312
2316
|
subscribe?: GraphQLFieldResolver<TSource, TContext, TArgs> | undefined;
|
|
2313
2317
|
/** Reason this element is deprecated, if one was provided. */
|
|
2314
2318
|
deprecationReason: Maybe<string>;
|
|
2315
|
-
/**
|
|
2319
|
+
/** Custom extension fields reserved for users. */
|
|
2316
2320
|
extensions: Readonly<GraphQLFieldExtensions<TSource, TContext, TArgs>>;
|
|
2317
2321
|
/** AST node from which this schema element was built, if available. */
|
|
2318
2322
|
astNode: Maybe<FieldDefinitionNode>;
|
|
@@ -2425,7 +2429,7 @@ export declare class GraphQLArgument implements GraphQLSchemaElement {
|
|
|
2425
2429
|
default: GraphQLDefaultInput | undefined;
|
|
2426
2430
|
/** Reason this element is deprecated, if one was provided. */
|
|
2427
2431
|
deprecationReason: Maybe<string>;
|
|
2428
|
-
/**
|
|
2432
|
+
/** Custom extension fields reserved for users. */
|
|
2429
2433
|
extensions: Readonly<GraphQLArgumentExtensions>;
|
|
2430
2434
|
/** AST node from which this schema element was built, if available. */
|
|
2431
2435
|
astNode: Maybe<InputValueDefinitionNode>;
|
|
@@ -2603,8 +2607,8 @@ export interface GraphQLInterfaceTypeExtensions {
|
|
|
2603
2607
|
* const EntityType = new GraphQLInterfaceType({
|
|
2604
2608
|
* name: 'Entity',
|
|
2605
2609
|
* fields: {
|
|
2606
|
-
* name: { type: GraphQLString }
|
|
2607
|
-
* }
|
|
2610
|
+
* name: { type: GraphQLString },
|
|
2611
|
+
* },
|
|
2608
2612
|
* });
|
|
2609
2613
|
* ```
|
|
2610
2614
|
*/
|
|
@@ -2615,7 +2619,7 @@ export declare class GraphQLInterfaceType<TSource = any, TContext = any> impleme
|
|
|
2615
2619
|
description: Maybe<string>;
|
|
2616
2620
|
/** Function that resolves the concrete object type for this abstract type. */
|
|
2617
2621
|
resolveType: Maybe<GraphQLTypeResolver<TSource, TContext>>;
|
|
2618
|
-
/**
|
|
2622
|
+
/** Custom extension fields reserved for users. */
|
|
2619
2623
|
extensions: Readonly<GraphQLInterfaceTypeExtensions>;
|
|
2620
2624
|
/** AST node from which this schema element was built, if available. */
|
|
2621
2625
|
astNode: Maybe<InterfaceTypeDefinitionNode>;
|
|
@@ -2666,7 +2670,7 @@ export declare class GraphQLInterfaceType<TSource = any, TContext = any> impleme
|
|
|
2666
2670
|
* },
|
|
2667
2671
|
* extensions: { abstract: true },
|
|
2668
2672
|
* astNode: document.definitions[1],
|
|
2669
|
-
* extensionASTNodes: [
|
|
2673
|
+
* extensionASTNodes: [document.definitions[2]],
|
|
2670
2674
|
* });
|
|
2671
2675
|
*
|
|
2672
2676
|
* Resource.name; // => 'Resource'
|
|
@@ -2833,7 +2837,7 @@ export interface GraphQLInterfaceTypeConfig<TSource, TContext> {
|
|
|
2833
2837
|
* Object type.
|
|
2834
2838
|
*/
|
|
2835
2839
|
resolveType?: Maybe<GraphQLTypeResolver<TSource, TContext>>;
|
|
2836
|
-
/**
|
|
2840
|
+
/** Custom extension fields reserved for users. */
|
|
2837
2841
|
extensions?: Maybe<Readonly<GraphQLInterfaceTypeExtensions>>;
|
|
2838
2842
|
/** AST node from which this schema element was built, if available. */
|
|
2839
2843
|
astNode?: Maybe<InterfaceTypeDefinitionNode>;
|
|
@@ -2878,7 +2882,7 @@ export interface GraphQLUnionTypeExtensions {
|
|
|
2878
2882
|
* if (value instanceof Cat) {
|
|
2879
2883
|
* return CatType;
|
|
2880
2884
|
* }
|
|
2881
|
-
* }
|
|
2885
|
+
* },
|
|
2882
2886
|
* });
|
|
2883
2887
|
* ```
|
|
2884
2888
|
*/
|
|
@@ -2889,7 +2893,7 @@ export declare class GraphQLUnionType<TSource = any, TContext = any> implements
|
|
|
2889
2893
|
description: Maybe<string>;
|
|
2890
2894
|
/** Function that resolves the concrete object type for this abstract type. */
|
|
2891
2895
|
resolveType: Maybe<GraphQLTypeResolver<TSource, TContext>>;
|
|
2892
|
-
/**
|
|
2896
|
+
/** Custom extension fields reserved for users. */
|
|
2893
2897
|
extensions: Readonly<GraphQLUnionTypeExtensions>;
|
|
2894
2898
|
/** AST node from which this schema element was built, if available. */
|
|
2895
2899
|
astNode: Maybe<UnionTypeDefinitionNode>;
|
|
@@ -2902,7 +2906,11 @@ export declare class GraphQLUnionType<TSource = any, TContext = any> implements
|
|
|
2902
2906
|
* @example
|
|
2903
2907
|
* ```ts
|
|
2904
2908
|
* import { parse } from 'graphql/language';
|
|
2905
|
-
* import {
|
|
2909
|
+
* import {
|
|
2910
|
+
* GraphQLObjectType,
|
|
2911
|
+
* GraphQLString,
|
|
2912
|
+
* GraphQLUnionType,
|
|
2913
|
+
* } from 'graphql/type';
|
|
2906
2914
|
*
|
|
2907
2915
|
* const document = parse(`
|
|
2908
2916
|
* union Media = Photo | Video
|
|
@@ -2930,7 +2938,7 @@ export declare class GraphQLUnionType<TSource = any, TContext = any> implements
|
|
|
2930
2938
|
* },
|
|
2931
2939
|
* extensions: { searchable: true },
|
|
2932
2940
|
* astNode: document.definitions[0],
|
|
2933
|
-
* extensionASTNodes: [
|
|
2941
|
+
* extensionASTNodes: [document.definitions[1]],
|
|
2934
2942
|
* });
|
|
2935
2943
|
*
|
|
2936
2944
|
* Media.description; // => 'Media that can appear in a search result.'
|
|
@@ -2979,7 +2987,11 @@ export declare class GraphQLUnionType<TSource = any, TContext = any> implements
|
|
|
2979
2987
|
* @returns A configuration object that can be used to recreate this object.
|
|
2980
2988
|
* @example
|
|
2981
2989
|
* ```ts
|
|
2982
|
-
* import {
|
|
2990
|
+
* import {
|
|
2991
|
+
* GraphQLObjectType,
|
|
2992
|
+
* GraphQLString,
|
|
2993
|
+
* GraphQLUnionType,
|
|
2994
|
+
* } from 'graphql/type';
|
|
2983
2995
|
*
|
|
2984
2996
|
* const Photo = new GraphQLObjectType({
|
|
2985
2997
|
* name: 'Photo',
|
|
@@ -3032,7 +3044,11 @@ export declare class GraphQLUnionType<TSource = any, TContext = any> implements
|
|
|
3032
3044
|
* @returns The JSON-serializable representation.
|
|
3033
3045
|
* @example
|
|
3034
3046
|
* ```ts
|
|
3035
|
-
* import {
|
|
3047
|
+
* import {
|
|
3048
|
+
* GraphQLObjectType,
|
|
3049
|
+
* GraphQLString,
|
|
3050
|
+
* GraphQLUnionType,
|
|
3051
|
+
* } from 'graphql/type';
|
|
3036
3052
|
*
|
|
3037
3053
|
* const Photo = new GraphQLObjectType({
|
|
3038
3054
|
* name: 'Photo',
|
|
@@ -3067,7 +3083,7 @@ export interface GraphQLUnionTypeConfig<TSource, TContext> {
|
|
|
3067
3083
|
* Object type.
|
|
3068
3084
|
*/
|
|
3069
3085
|
resolveType?: Maybe<GraphQLTypeResolver<TSource, TContext>>;
|
|
3070
|
-
/**
|
|
3086
|
+
/** Custom extension fields reserved for users. */
|
|
3071
3087
|
extensions?: Maybe<Readonly<GraphQLUnionTypeExtensions>>;
|
|
3072
3088
|
/** AST node from which this schema element was built, if available. */
|
|
3073
3089
|
astNode?: Maybe<UnionTypeDefinitionNode>;
|
|
@@ -3121,7 +3137,7 @@ export declare class GraphQLEnumType/* <T> */ implements GraphQLSchemaElement {
|
|
|
3121
3137
|
name: string;
|
|
3122
3138
|
/** Human-readable description for this schema element, if provided. */
|
|
3123
3139
|
description: Maybe<string>;
|
|
3124
|
-
/**
|
|
3140
|
+
/** Custom extension fields reserved for users. */
|
|
3125
3141
|
extensions: Readonly<GraphQLEnumTypeExtensions>;
|
|
3126
3142
|
/** AST node from which this schema element was built, if available. */
|
|
3127
3143
|
astNode: Maybe<EnumTypeDefinitionNode>;
|
|
@@ -3170,7 +3186,7 @@ export declare class GraphQLEnumType/* <T> */ implements GraphQLSchemaElement {
|
|
|
3170
3186
|
* },
|
|
3171
3187
|
* extensions: { catalog: 'films' },
|
|
3172
3188
|
* astNode: definition,
|
|
3173
|
-
* extensionASTNodes: [
|
|
3189
|
+
* extensionASTNodes: [document.definitions[1]],
|
|
3174
3190
|
* });
|
|
3175
3191
|
*
|
|
3176
3192
|
* Episode.description; // => 'A Star Wars film episode.'
|
|
@@ -3486,7 +3502,7 @@ export interface GraphQLEnumTypeConfig {
|
|
|
3486
3502
|
description?: Maybe<string>;
|
|
3487
3503
|
/** Values contained in this enum, list, or input-object definition. */
|
|
3488
3504
|
values: ThunkObjMap<GraphQLEnumValueConfig>;
|
|
3489
|
-
/**
|
|
3505
|
+
/** Custom extension fields reserved for users. */
|
|
3490
3506
|
extensions?: Maybe<Readonly<GraphQLEnumTypeExtensions>>;
|
|
3491
3507
|
/** AST node from which this schema element was built, if available. */
|
|
3492
3508
|
astNode?: Maybe<EnumTypeDefinitionNode>;
|
|
@@ -3522,7 +3538,7 @@ export interface GraphQLEnumValueConfig {
|
|
|
3522
3538
|
value?: any;
|
|
3523
3539
|
/** Reason this element is deprecated, if one was provided. */
|
|
3524
3540
|
deprecationReason?: Maybe<string>;
|
|
3525
|
-
/**
|
|
3541
|
+
/** Custom extension fields reserved for users. */
|
|
3526
3542
|
extensions?: Maybe<Readonly<GraphQLEnumValueExtensions>>;
|
|
3527
3543
|
/** AST node from which this schema element was built, if available. */
|
|
3528
3544
|
astNode?: Maybe<EnumValueDefinitionNode>;
|
|
@@ -3543,7 +3559,7 @@ export declare class GraphQLEnumValue implements GraphQLSchemaElement {
|
|
|
3543
3559
|
value: any;
|
|
3544
3560
|
/** Reason this element is deprecated, if one was provided. */
|
|
3545
3561
|
deprecationReason: Maybe<string>;
|
|
3546
|
-
/**
|
|
3562
|
+
/** Custom extension fields reserved for users. */
|
|
3547
3563
|
extensions: Readonly<GraphQLEnumValueExtensions>;
|
|
3548
3564
|
/** AST node from which this schema element was built, if available. */
|
|
3549
3565
|
astNode: Maybe<EnumValueDefinitionNode>;
|
|
@@ -3657,7 +3673,7 @@ export interface GraphQLInputObjectTypeExtensions {
|
|
|
3657
3673
|
* lat: { type: new GraphQLNonNull(GraphQLFloat) },
|
|
3658
3674
|
* lon: { type: new GraphQLNonNull(GraphQLFloat) },
|
|
3659
3675
|
* alt: { type: GraphQLFloat, default: { value: 0 } },
|
|
3660
|
-
* }
|
|
3676
|
+
* },
|
|
3661
3677
|
* });
|
|
3662
3678
|
* ```
|
|
3663
3679
|
*/
|
|
@@ -3666,7 +3682,7 @@ export declare class GraphQLInputObjectType implements GraphQLSchemaElement {
|
|
|
3666
3682
|
name: string;
|
|
3667
3683
|
/** Human-readable description for this schema element, if provided. */
|
|
3668
3684
|
description: Maybe<string>;
|
|
3669
|
-
/**
|
|
3685
|
+
/** Custom extension fields reserved for users. */
|
|
3670
3686
|
extensions: Readonly<GraphQLInputObjectTypeExtensions>;
|
|
3671
3687
|
/** AST node from which this schema element was built, if available. */
|
|
3672
3688
|
astNode: Maybe<InputObjectTypeDefinitionNode>;
|
|
@@ -3720,7 +3736,7 @@ export declare class GraphQLInputObjectType implements GraphQLSchemaElement {
|
|
|
3720
3736
|
* },
|
|
3721
3737
|
* extensions: { form: 'review' },
|
|
3722
3738
|
* astNode: definition,
|
|
3723
|
-
* extensionASTNodes: [
|
|
3739
|
+
* extensionASTNodes: [document.definitions[1]],
|
|
3724
3740
|
* isOneOf: false,
|
|
3725
3741
|
* });
|
|
3726
3742
|
* const SearchBy = new GraphQLInputObjectType({
|
|
@@ -3854,7 +3870,7 @@ export interface GraphQLInputObjectTypeConfig {
|
|
|
3854
3870
|
description?: Maybe<string>;
|
|
3855
3871
|
/** Fields declared by this object, interface, input object, or literal. */
|
|
3856
3872
|
fields: ThunkObjMap<GraphQLInputFieldConfig>;
|
|
3857
|
-
/**
|
|
3873
|
+
/** Custom extension fields reserved for users. */
|
|
3858
3874
|
extensions?: Maybe<Readonly<GraphQLInputObjectTypeExtensions>>;
|
|
3859
3875
|
/** AST node from which this schema element was built, if available. */
|
|
3860
3876
|
astNode?: Maybe<InputObjectTypeDefinitionNode>;
|
|
@@ -3896,7 +3912,7 @@ export interface GraphQLInputFieldConfig {
|
|
|
3896
3912
|
default?: GraphQLDefaultInput | undefined;
|
|
3897
3913
|
/** Reason this element is deprecated, if one was provided. */
|
|
3898
3914
|
deprecationReason?: Maybe<string>;
|
|
3899
|
-
/**
|
|
3915
|
+
/** Custom extension fields reserved for users. */
|
|
3900
3916
|
extensions?: Maybe<Readonly<GraphQLInputFieldExtensions>>;
|
|
3901
3917
|
/** AST node from which this schema element was built, if available. */
|
|
3902
3918
|
astNode?: Maybe<InputValueDefinitionNode>;
|
|
@@ -3930,7 +3946,7 @@ export declare class GraphQLInputField implements GraphQLSchemaElement {
|
|
|
3930
3946
|
default: GraphQLDefaultInput | undefined;
|
|
3931
3947
|
/** Reason this element is deprecated, if one was provided. */
|
|
3932
3948
|
deprecationReason: Maybe<string>;
|
|
3933
|
-
/**
|
|
3949
|
+
/** Custom extension fields reserved for users. */
|
|
3934
3950
|
extensions: Readonly<GraphQLInputFieldExtensions>;
|
|
3935
3951
|
/** AST node from which this schema element was built, if available. */
|
|
3936
3952
|
astNode: Maybe<InputValueDefinitionNode>;
|
|
@@ -3941,7 +3957,11 @@ export declare class GraphQLInputField implements GraphQLSchemaElement {
|
|
|
3941
3957
|
* @param config - Input field configuration.
|
|
3942
3958
|
* @example
|
|
3943
3959
|
* ```ts
|
|
3944
|
-
* import {
|
|
3960
|
+
* import {
|
|
3961
|
+
* GraphQLInputField,
|
|
3962
|
+
* GraphQLInputObjectType,
|
|
3963
|
+
* GraphQLString,
|
|
3964
|
+
* } from 'graphql/type';
|
|
3945
3965
|
*
|
|
3946
3966
|
* const ReviewInput = new GraphQLInputObjectType({
|
|
3947
3967
|
* name: 'ReviewInput',
|
|
@@ -3968,7 +3988,11 @@ export declare class GraphQLInputField implements GraphQLSchemaElement {
|
|
|
3968
3988
|
* @returns A configuration object that can be used to recreate this input field.
|
|
3969
3989
|
* @example
|
|
3970
3990
|
* ```ts
|
|
3971
|
-
* import {
|
|
3991
|
+
* import {
|
|
3992
|
+
* GraphQLInputField,
|
|
3993
|
+
* GraphQLInputObjectType,
|
|
3994
|
+
* GraphQLString,
|
|
3995
|
+
* } from 'graphql/type';
|
|
3972
3996
|
*
|
|
3973
3997
|
* const ReviewInput = new GraphQLInputObjectType({
|
|
3974
3998
|
* name: 'ReviewInput',
|
|
@@ -3988,7 +4012,11 @@ export declare class GraphQLInputField implements GraphQLSchemaElement {
|
|
|
3988
4012
|
* @returns The input field coordinate.
|
|
3989
4013
|
* @example
|
|
3990
4014
|
* ```ts
|
|
3991
|
-
* import {
|
|
4015
|
+
* import {
|
|
4016
|
+
* GraphQLInputField,
|
|
4017
|
+
* GraphQLInputObjectType,
|
|
4018
|
+
* GraphQLString,
|
|
4019
|
+
* } from 'graphql/type';
|
|
3992
4020
|
*
|
|
3993
4021
|
* const ReviewInput = new GraphQLInputObjectType({
|
|
3994
4022
|
* name: 'ReviewInput',
|
|
@@ -4007,7 +4035,11 @@ export declare class GraphQLInputField implements GraphQLSchemaElement {
|
|
|
4007
4035
|
* @returns The input field coordinate.
|
|
4008
4036
|
* @example
|
|
4009
4037
|
* ```ts
|
|
4010
|
-
* import {
|
|
4038
|
+
* import {
|
|
4039
|
+
* GraphQLInputField,
|
|
4040
|
+
* GraphQLInputObjectType,
|
|
4041
|
+
* GraphQLString,
|
|
4042
|
+
* } from 'graphql/type';
|
|
4011
4043
|
*
|
|
4012
4044
|
* const ReviewInput = new GraphQLInputObjectType({
|
|
4013
4045
|
* name: 'ReviewInput',
|