mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [relay-compiler] Add requirements for relay-compiler-language-typescript Also ran prettier. * [relay-compiler] See if adding dom types fixes test * [relay-compiler] Fix linter failures.
67 lines
1.8 KiB
TypeScript
67 lines
1.8 KiB
TypeScript
// Type definitions for relay-compiler 6.0
|
|
// Project: https://relay.dev
|
|
// Definitions by: n1ru4l <https://github.com/n1ru4l>
|
|
// Eloy Durán <https://github.com/alloy>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 3.0
|
|
|
|
import * as ASTConvert from './lib/core/ASTConvert';
|
|
import * as Parser from './lib/core/RelayParser';
|
|
import * as Printer from './lib/core/GraphQLIRPrinter';
|
|
import * as IRTransforms from './lib/core/RelayIRTransforms';
|
|
import * as IRVisitor from './lib/core/GraphQLIRVisitor';
|
|
import * as SchemaUtils from './lib/core/GraphQLSchemaUtils';
|
|
|
|
import ConsoleReporter = require('./lib/reporters/GraphQLConsoleReporter');
|
|
import MultiReporter = require('./lib/reporters/GraphQLMultiReporter');
|
|
|
|
declare var transformASTSchema: typeof ASTConvert.transformASTSchema;
|
|
|
|
export {
|
|
ASTConvert,
|
|
ConsoleReporter,
|
|
IRTransforms,
|
|
IRVisitor,
|
|
MultiReporter,
|
|
Parser,
|
|
Printer,
|
|
SchemaUtils,
|
|
transformASTSchema,
|
|
};
|
|
|
|
export { main as relayCompiler } from './lib/bin/RelayCompilerMain';
|
|
export { GraphQLCompilerContext } from './lib/core/GraphQLCompilerContext';
|
|
export { FormatModule, TypeGenerator } from './lib/language/RelayLanguagePluginInterface';
|
|
export {
|
|
Argument,
|
|
ArgumentDefinition,
|
|
ArgumentValue,
|
|
Condition,
|
|
Definition,
|
|
Directive,
|
|
Field,
|
|
Fragment,
|
|
FragmentSpread,
|
|
GeneratedDefinition,
|
|
Handle,
|
|
InlineFragment,
|
|
IR,
|
|
LinkedField,
|
|
ListValue,
|
|
Literal,
|
|
LocalArgumentDefinition,
|
|
ModuleImport,
|
|
Metadata,
|
|
Node,
|
|
ObjectFieldValue,
|
|
ObjectValue,
|
|
Request,
|
|
Root,
|
|
RootArgumentDefinition,
|
|
ScalarField,
|
|
ScalarFieldType,
|
|
Selection,
|
|
SplitOperation,
|
|
Variable,
|
|
} from './lib/core/GraphQLIR';
|