File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ export type {
4343export {
4444 resolveObjMapThunk ,
4545 resolveReadonlyArrayThunk ,
46+ // Definitions
4647 GraphQLSchema ,
4748 GraphQLDirective ,
4849 GraphQLScalarType ,
@@ -53,14 +54,17 @@ export {
5354 GraphQLInputObjectType ,
5455 GraphQLList ,
5556 GraphQLNonNull ,
57+ // Standard GraphQL Scalars
5658 specifiedScalarTypes ,
5759 GraphQLInt ,
5860 GraphQLFloat ,
5961 GraphQLString ,
6062 GraphQLBoolean ,
6163 GraphQLID ,
64+ // Int boundaries constants
6265 GRAPHQL_MAX_INT ,
6366 GRAPHQL_MIN_INT ,
67+ // Built-in Directives defined by the Spec
6468 specifiedDirectives ,
6569 GraphQLIncludeDirective ,
6670 GraphQLSkipDirective ,
@@ -69,8 +73,11 @@ export {
6973 GraphQLDeprecatedDirective ,
7074 GraphQLSpecifiedByDirective ,
7175 GraphQLOneOfDirective ,
76+ // "Enum" of Type Kinds
7277 TypeKind ,
78+ // Constant Deprecation Reason
7379 DEFAULT_DEPRECATION_REASON ,
80+ // GraphQL Types for introspection.
7481 introspectionTypes ,
7582 __Schema ,
7683 __Directive ,
@@ -80,9 +87,11 @@ export {
8087 __InputValue ,
8188 __EnumValue ,
8289 __TypeKind ,
90+ // Meta-field definitions.
8391 SchemaMetaFieldDef ,
8492 TypeMetaFieldDef ,
8593 TypeNameMetaFieldDef ,
94+ // Predicates
8695 isSchema ,
8796 isDirective ,
8897 isType ,
@@ -111,6 +120,7 @@ export {
111120 isSpecifiedScalarType ,
112121 isIntrospectionType ,
113122 isSpecifiedDirective ,
123+ // Assertions
114124 assertSchema ,
115125 assertDirective ,
116126 assertType ,
@@ -134,10 +144,13 @@ export {
134144 assertWrappingType ,
135145 assertNullableType ,
136146 assertNamedType ,
147+ // Un-modifiers
137148 getNullableType ,
138149 getNamedType ,
150+ // Validate GraphQL schema.
139151 validateSchema ,
140152 assertValidSchema ,
153+ // Upholds the spec rules about naming.
141154 assertName ,
142155 assertEnumValueName ,
143156} from './type/index.js' ;
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ export type {
1919export {
2020 resolveObjMapThunk ,
2121 resolveReadonlyArrayThunk ,
22+ // Predicates
2223 isType ,
2324 isScalarType ,
2425 isObjectType ,
@@ -42,6 +43,7 @@ export {
4243 isNamedType ,
4344 isRequiredArgument ,
4445 isRequiredInputField ,
46+ // Assertions
4547 assertType ,
4648 assertScalarType ,
4749 assertObjectType ,
@@ -63,14 +65,17 @@ export {
6365 assertWrappingType ,
6466 assertNullableType ,
6567 assertNamedType ,
68+ // Un-modifiers
6669 getNullableType ,
6770 getNamedType ,
71+ // Definitions
6872 GraphQLScalarType ,
6973 GraphQLObjectType ,
7074 GraphQLInterfaceType ,
7175 GraphQLUnionType ,
7276 GraphQLEnumType ,
7377 GraphQLInputObjectType ,
78+ // Type Wrappers
7479 GraphQLList ,
7580 GraphQLNonNull ,
7681} from './definition.js' ;
You can’t perform that action at this time.
0 commit comments