File tree 11 files changed +40
-16
lines changed
11 files changed +40
-16
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,9 @@ export function KnownArgumentNames(context: ValidationContext): ASTVisitor {
45
45
} ;
46
46
}
47
47
48
- // @internal
48
+ /**
49
+ * @internal
50
+ */
49
51
export function KnownArgumentNamesOnDirectives (
50
52
context : ValidationContext | SDLValidationContext ,
51
53
) : ASTVisitor {
Original file line number Diff line number Diff line change @@ -71,7 +71,9 @@ export function ProvidedRequiredArguments(
71
71
} ;
72
72
}
73
73
74
- // @internal
74
+ /**
75
+ * @internal
76
+ */
75
77
export function ProvidedRequiredArgumentsOnDirectives (
76
78
context : ValidationContext | SDLValidationContext ,
77
79
) : ASTVisitor {
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ import { UniqueDirectivesPerLocation } from './rules/UniqueDirectivesPerLocation
60
60
// Spec Section: "Argument Names"
61
61
import {
62
62
KnownArgumentNames ,
63
- KnownArgumentNamesOnDirectives , // @internal
63
+ KnownArgumentNamesOnDirectives ,
64
64
} from './rules/KnownArgumentNames' ;
65
65
66
66
// Spec Section: "Argument Uniqueness"
@@ -72,7 +72,7 @@ import { ValuesOfCorrectType } from './rules/ValuesOfCorrectType';
72
72
// Spec Section: "Argument Optionality"
73
73
import {
74
74
ProvidedRequiredArguments ,
75
- ProvidedRequiredArgumentsOnDirectives , // @internal
75
+ ProvidedRequiredArgumentsOnDirectives ,
76
76
} from './rules/ProvidedRequiredArguments' ;
77
77
78
78
// Spec Section: "All Variable Usages Are Allowed"
@@ -127,7 +127,9 @@ import { UniqueFieldDefinitionNames } from './rules/UniqueFieldDefinitionNames';
127
127
import { UniqueDirectiveNames } from './rules/UniqueDirectiveNames' ;
128
128
import { PossibleTypeExtensions } from './rules/PossibleTypeExtensions' ;
129
129
130
- // @internal
130
+ /**
131
+ * @internal
132
+ */
131
133
export const specifiedSDLRules = Object . freeze ( [
132
134
LoneSchemaDefinition ,
133
135
UniqueOperationTypes ,
Original file line number Diff line number Diff line change 6
6
*/
7
7
export function dedentBlockStringValue ( rawString : string ) : string ;
8
8
9
- // @internal
9
+ /**
10
+ * @internal
11
+ */
10
12
export function getBlockStringIndentation ( lines : ReadonlyArray < string > ) : number ;
11
13
12
14
/**
Original file line number Diff line number Diff line change 3
3
*/
4
4
export const DirectiveLocation : _DirectiveLocation ;
5
5
6
- // @internal
6
+ /**
7
+ * @internal
8
+ */
7
9
type _DirectiveLocation = {
8
10
// Request Definitions
9
11
QUERY : 'QUERY' ;
Original file line number Diff line number Diff line change 3
3
*/
4
4
export const Kind : _Kind ;
5
5
6
- // @internal
6
+ /**
7
+ * @internal
8
+ */
7
9
type _Kind = {
8
10
// Name
9
11
NAME : 'Name' ;
Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ import { DirectiveLocationEnum } from '../language/directiveLocation';
4
4
5
5
export const BreakingChangeType : _BreakingChangeType ;
6
6
7
- // @internal
7
+ /**
8
+ * @internal
9
+ */
8
10
type _BreakingChangeType = {
9
11
TYPE_REMOVED : 'TYPE_REMOVED' ;
10
12
TYPE_CHANGED_KIND : 'TYPE_CHANGED_KIND' ;
@@ -25,7 +27,9 @@ type _BreakingChangeType = {
25
27
26
28
export const DangerousChangeType : _DangerousChangeType ;
27
29
28
- // @internal
30
+ /**
31
+ * @internal
32
+ */
29
33
type _DangerousChangeType = {
30
34
VALUE_ADDED_TO_ENUM : 'VALUE_ADDED_TO_ENUM' ;
31
35
TYPE_ADDED_TO_UNION : 'TYPE_ADDED_TO_UNION' ;
Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ import { ASTVisitor } from '../../language/visitor';
9
9
*/
10
10
export function KnownArgumentNames ( context : ValidationContext ) : ASTVisitor ;
11
11
12
- // @internal
12
+ /**
13
+ * @internal
14
+ */
13
15
export function KnownArgumentNamesOnDirectives (
14
16
context : ValidationContext | SDLValidationContext ,
15
17
) : ASTVisitor ;
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ export function ProvidedRequiredArguments(
11
11
context : ValidationContext ,
12
12
) : ASTVisitor ;
13
13
14
- // @internal
14
+ /**
15
+ * @internal
16
+ */
15
17
export function ProvidedRequiredArgumentsOnDirectives (
16
18
context : ValidationContext | SDLValidationContext ,
17
19
) : ASTVisitor ;
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ import { UniqueDirectivesPerLocation } from './rules/UniqueDirectivesPerLocation
60
60
// Spec Section: "Argument Names"
61
61
import {
62
62
KnownArgumentNames ,
63
- KnownArgumentNamesOnDirectives , // @internal
63
+ KnownArgumentNamesOnDirectives ,
64
64
} from './rules/KnownArgumentNames' ;
65
65
66
66
// Spec Section: "Argument Uniqueness"
@@ -72,7 +72,7 @@ import { ValuesOfCorrectType } from './rules/ValuesOfCorrectType';
72
72
// Spec Section: "Argument Optionality"
73
73
import {
74
74
ProvidedRequiredArguments ,
75
- ProvidedRequiredArgumentsOnDirectives , // @internal
75
+ ProvidedRequiredArgumentsOnDirectives ,
76
76
} from './rules/ProvidedRequiredArguments' ;
77
77
78
78
// Spec Section: "All Variable Usages Are Allowed"
@@ -94,5 +94,7 @@ export const specifiedRules: ReadonlyArray<ValidationRule>;
94
94
95
95
import { LoneSchemaDefinition } from './rules/LoneSchemaDefinition' ;
96
96
97
- // @internal
97
+ /**
98
+ * @internal
99
+ */
98
100
export const specifiedSDLRules : ReadonlyArray < SDLValidationRule > ;
Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ export function validate(
29
29
options ?: { maxErrors ?: number } ,
30
30
) : ReadonlyArray < GraphQLError > ;
31
31
32
- // @internal
32
+ /**
33
+ * @internal
34
+ */
33
35
export function validateSDL (
34
36
documentAST : DocumentNode ,
35
37
schemaToExtend ?: Maybe < GraphQLSchema > ,
You can’t perform that action at this time.
0 commit comments