Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

Commit

Permalink
Create index for utils package
Browse files Browse the repository at this point in the history
Note that I'm dumping `SchemaReference`, which is unused, and came over
from codemirror-graphql. As that's the only caller/user of the
functionality, the functionality may as well live over there.
  • Loading branch information
wincent committed Feb 17, 2017
1 parent 97b4597 commit 17d51d1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 114 deletions.
114 changes: 0 additions & 114 deletions packages/graphql-language-service-utils/src/SchemaReference.js

This file was deleted.

23 changes: 23 additions & 0 deletions packages/graphql-language-service-utils/src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* Copyright (c) Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/

export {
getASTNodeAtPosition,
pointToOffset,
} from './getASTNodeAtPosition';

export {
Position,
Range,
locToRange,
offsetToPosition,
} from './Range';

export {validateWithCustomRules} from './validateWithCustomRules';

0 comments on commit 17d51d1

Please sign in to comment.