Constructors
Methods
buildSchemaFromDir
- buildSchemaFromDir(dirname): Promise<GraphQLSchema>
Returns Promise<GraphQLSchema>
comparePaths
- comparePaths(a, b): -1 | 0 | 1
Returns -1 | 0 | 1
isGraphQLFile
- isGraphQLFile(filename): boolean
Returns boolean
parseCheck
- parseCheck(filename, document): void
Parameters
- filename: string
- document: string
Returns void
parseDir
- parseDir(dirname): Promise<DocumentNode>
Returns Promise<DocumentNode>
readDir
- readDir(dirname): Promise<string>
Returns Promise<string>
readFile
- readFile(filename): Promise<string>
Returns Promise<string>