mirror of
https://github.com/vale981/grapher
synced 2025-03-12 05:46:40 -04:00
22 lines
No EOL
459 B
JavaScript
22 lines
No EOL
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
|
|
}
|
|
}); |