mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 12:16:37 -04:00
8 lines
230 B
JavaScript
8 lines
230 B
JavaScript
import Telescope from 'meteor/nova:lib';
|
|
import Posts from './collection.js';
|
|
|
|
Telescope.graphQL.addQuery(`
|
|
posts(terms: Terms, offset: Int, limit: Int): [Post]
|
|
postsListTotal(terms: Terms): Int
|
|
post(_id: String): Post
|
|
`);
|