DefinitelyTyped/types/graphql/graphql-tests.ts
Martijn Walraven 59ed5920c9 [graphql] Update for v14.2.0 release (#34261)
* Add Martijn Walraven  to "Definitions by" section of the package header

* Add `validateSDL` function

* Add `toConfig` methods

See https://github.com/graphql/graphql-js/pull/1331

* Add missing typing for `print` function

See https://github.com/graphql/graphql-js/pull/1702

* Rename `MaybePromise` to `PromiseOrValue`

https://github.com/graphql/graphql-js/pull/1798

* Rename `blockStringValue.js` to `blockString.js`, and `blockStringValue` to `dedentBlockStringValue`

See 16afd2efb8 and 60a2bf8f20

* Update `graphql` version to 14.2

* Add `.prettierrc` and reformat all files

This adds a `.prettierrc` based on the defaults used in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/24552#issue-177715187, and reformats all files (only a few are affected).

* Fix `GraphQLSchema.toConfig()`

* Remove `.prettierrc`
2019-03-29 11:23:53 -07:00

186 lines
2.8 KiB
TypeScript

import { assertInputType, isInputType, isOutputType } from "graphql";
///////////////////////////
// graphql //
///////////////////////////
function graphql_tests() {
// TODO
}
///////////////////////////
// graphql/language //
///////////////////////////
function language_ast_tests() {
// TODO
}
function language_index_tests() {
// TODO
}
function language_kinds_tests() {
// TODO
}
function language_lexer_tests() {
// TODO
}
function language_location_tests() {
// TODO
}
function language_parser_tests() {
// TODO
}
function language_printer_tests() {
// TODO
}
function language_source_tests() {
// TODO
}
function language_visitor_tests() {
// TODO
}
///////////////////////////
// graphql/type //
///////////////////////////
function type_definition_tests() {
isInputType(null);
isOutputType(null);
assertInputType(null);
}
function type_directives_tests() {
// TODO
}
function type_introspection_tests() {
// TODO
}
function type_scalars_tests() {
// TODO
}
function type_schema_tests() {
// TODO
}
///////////////////////////
// graphql/validation //
///////////////////////////
function validation_specifiedRules_tests() {
// TODO
}
function validation_validate_tests() {
// TODO
}
///////////////////////////
// graphql/execution //
///////////////////////////
function execution_execute_tests() {
// TODOS
}
function execution_values_tests() {
// TODOS
}
///////////////////////////
// graphql/error //
///////////////////////////
function error_GraphQLError() {
// TODOS
}
function error_formatError() {
// TODOS
}
function error_locatedError() {
// TODOS
}
function error_syntaxError() {
// TODOS
}
///////////////////////////
// graphql/utilities //
///////////////////////////
function utilities_TypeInfo_tests() {
// TODOS
}
function utilities_assertValidName_tests() {
// TODOS
}
function utilities_astFromValue_tests() {
// TODOS
}
function utilities_buildASTSchema_tests() {
// TODOS
}
function utilities_buildClientSchema_tests() {
// TODOS
}
function utilities_concatAST_tests() {
// TODOS
}
function utilities_extendSchema_tests() {
// TODOS
}
function utilities_getOperationAST_tests() {
// TODOS
}
function utilities_index_tests() {
// TODOS
}
function utilities_introspectionQuery_tests() {
// TODOS
}
function utilities_isValidJSValue_tests() {
// TODOS
}
function utilities_isValidLiteralValue_tests() {
// TODOS
}
function utilities_schemaPrinter_tests() {
// TODOS
}
function utilities_separateOperations_tests() {
// TODOS
}
function utilities_typeComparators_tests() {
// TODOS
}
function utilities_typeFromAST_tests() {
// TODOS
}
function utilities_valueFromAST_tests() {
// TODOS
}