grapher/lib/query/testing/bootstrap/groups/links.js

15 lines
307 B
JavaScript
Raw Normal View History

import Groups from './collection.js';
import Authors from '../authors/collection.js';
import Posts from '../posts/collection.js';
Groups.addLinks({
authors: {
collection: Authors,
inversedBy: 'groups'
},
posts: {
collection: Posts,
inversedBy: 'group'
}
});