mirror of
https://github.com/vale981/grapher
synced 2025-03-10 12:56:41 -04:00
15 lines
307 B
JavaScript
15 lines
307 B
JavaScript
![]() |
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'
|
||
|
}
|
||
|
});
|