InteliJ Autocompletion w/ Graphql library

Hey all, I'm trying to get my IDE to recognize the custom directives and scalars in the GraphQL js library. Would love to notify my IDE that those are indeed valid things and would love it even more if my IDE could help me auto complete them. Is anyone aware of a ide_helper or the like that will help ease that pain?