0.1.6 • Published 8 years ago

meteor-linkable-model v0.1.6

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Linkable

A package enabling the creation of models who's data lives in one collection and is linked to many other collections.

This package is based on socialize:linkable. It's modified to make the linked object optional and adds an optional grandparent linked object as well.

LinkableModel - Extends BaseModel

Static Methods

LinkableModel.registerLinkableType(type, collection, options) - Register a child model as a linkable type

LinkableModel.getCollectionForRegisteredType(type) - Get the collection reference on a registered Linkable type

Prototypal Methods

LinkableModel.prototype.linkedObject - Retrieve the object that is being linked to.

LinkableModel.prototype.parentLinkedObject - Retrieve the parent object that is being linked to.

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago