mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 20:16:39 -04:00
9 lines
283 B
JavaScript
9 lines
283 B
JavaScript
import Telescope from 'meteor/nova:lib';
|
|
import Comments from './collection.js';
|
|
|
|
// declare comments queries
|
|
Telescope.graphQL.addQuery(`
|
|
commentsList(postId: String, offset: Int, limit: Int): [Comment]
|
|
commentsListTotal(postId: String): Int
|
|
comment(_id: String): Comment
|
|
`);
|