mirror of
https://github.com/vale981/grapher
synced 2025-03-13 06:06:39 -04:00
22 lines
459 B
JavaScript
22 lines
459 B
JavaScript
![]() |
const Collection = new Mongo.Collection('exposure_intersect');
|
||
|
export default Collection;
|
||
|
|
||
|
export const CollectionLink = new Mongo.Collection('exposure_intersect_link');
|
||
|
|
||
|
Collection.addLinks({
|
||
|
link: {
|
||
|
collection: CollectionLink,
|
||
|
type: 'one'
|
||
|
},
|
||
|
privateLink: {
|
||
|
collection: CollectionLink,
|
||
|
type: 'one'
|
||
|
}
|
||
|
});
|
||
|
|
||
|
CollectionLink.addLinks({
|
||
|
myself: {
|
||
|
type: 'one',
|
||
|
collection: CollectionLink
|
||
|
}
|
||
|
});
|