Skip to content

Commit

Permalink
feat(relay-compiler): version 6 support (#38430)
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ru4l authored and orta committed Sep 17, 2019
1 parent a458ceb commit de340a4
Show file tree
Hide file tree
Showing 16 changed files with 361 additions and 354 deletions.
14 changes: 7 additions & 7 deletions types/relay-compiler/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// Type definitions for relay-compiler 5.0
// Type definitions for relay-compiler 6.0
// Project: https://relay.dev
// Definitions by: n1ru4l <https://github.com/n1ru4l>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0

import { GraphQLCompilerContext } from './lib/GraphQLCompilerContext';
import * as ASTConvert from './lib/ASTConvert';
import { GraphQLCompilerContext } from './lib/core/GraphQLCompilerContext';
import * as ASTConvert from './lib/core/ASTConvert';

import * as Parser from './lib/RelayParser';
import * as Printer from './lib/GraphQLIRPrinter';
import ConsoleReporter = require('./lib/GraphQLConsoleReporter');
import MultiReporter = require('./lib/GraphQLMultiReporter');
import * as Parser from './lib/core/RelayParser';
import * as Printer from './lib/core/GraphQLIRPrinter';
import ConsoleReporter = require('./lib/reporters/GraphQLConsoleReporter');
import MultiReporter = require('./lib/reporters/GraphQLMultiReporter');

declare var transformASTSchema: typeof ASTConvert.transformASTSchema;

Expand Down
334 changes: 0 additions & 334 deletions types/relay-compiler/lib/GraphQLIR.d.ts

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { GraphQLSchema } from 'graphql';
import { Root, Fragment, SplitOperation, Location } from './GraphQLIR';
import { GraphQLReporter } from './GraphQLReporter';
import { GraphQLReporter } from '../reporters/GraphQLReporter';

export type IRTransform = (
context: GraphQLCompilerContext,
Expand Down

0 comments on commit de340a4

Please sign in to comment.