mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 20:16:39 -04:00
16 lines
No EOL
339 B
JavaScript
16 lines
No EOL
339 B
JavaScript
import Telescope from 'meteor/nova:lib';
|
|
|
|
const generateTypeDefs = () => [`
|
|
${Telescope.graphQL.getCollectionsSchemas()}
|
|
${Telescope.graphQL.getAdditionalSchemas()}
|
|
|
|
type Query {
|
|
${Telescope.graphQL.queries.join('\n')}
|
|
}
|
|
|
|
type Mutation {
|
|
${Telescope.graphQL.mutations.join('\n')}
|
|
}
|
|
`];
|
|
|
|
export default generateTypeDefs; |