mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 20:16:39 -04:00
13 lines
371 B
JavaScript
13 lines
371 B
JavaScript
import { registerFragment, getFragment } from 'meteor/nova:lib';
|
|
import gql from 'graphql-tag';
|
|
|
|
const CustomPostsListFragment = gql`
|
|
fragment CustomPostsList on Post {
|
|
...PostsList
|
|
color # new custom property!
|
|
}
|
|
${getFragment('PostsList')}
|
|
`;
|
|
|
|
registerFragment(CustomPostsListFragment, 'PostsList');
|
|
registerFragment(CustomPostsListFragment, 'PostsPage');
|