1
0
Fork 0
mirror of https://github.com/vale981/Vulcan synced 2025-03-17 07:46:38 -04:00
Vulcan/packages/example-permissions/lib/modules/comments/fragments.js

21 lines
291 B
JavaScript
Raw Normal View History

/*
Register the GraphQL fragment used to query for data
*/
import { registerFragment } from 'meteor/vulcan:core';
registerFragment(`
fragment CommentsItemFragment on Comment {
_id
createdAt
userId
user {
displayName
}
picId
body
isDeleted
}
`);