ideaContentLink¶
The link between an idea and a message.
-
IdeaContentLinkTypeRank
()¶
-
class
Collection
()¶ Idea content link collection This Collection is NOT created from an API call, like most other models, collections. It will be created from an array that will be passed from the message model.
- Extends
app.models.base.BaseCollection()
-
Collection.app.models.ideaContentLink.Collection.
initialize
¶ - Type
string
-
Collection.app.models.ideaContentLink.Collection.
url
¶ - Type
string
-
Collection.
comparator
(one, two)¶ Firstly, sort based on direct vs indirect, then sort based on types. If the types match, sort in ascending order.
- Arguments
one (Object) –
two (Object) –
-
Collection.
getIdeaNamesPromise
()¶ The string of short names of the ideas that a message is associated to. Note: It does not contain those that the user clipboarded.
- Return type
Array
-
class
IdeaContentLinkModel
()¶ Idea content link model Frontend model for
assembl.models.idea_content_link.IdeaContentLink
- Extends
app.models.base.BaseModel()
-
IdeaContentLinkModel.app.models.ideaContentLink.IdeaContentLinkModel.
urlRoot
¶ - Type
string
-
IdeaContentLinkModel.
getCreationDate
()¶ - Return type
String
-
IdeaContentLinkModel.
getLinkCreatorModelPromise
()¶ Returns the link creator model promise
- Return type
Promise
-
IdeaContentLinkModel.
getMessageStructurePromise
()¶ Returns message structure model promise
- Return type
Promise
-
IdeaContentLinkModel.
getMessageStructurePromise
()¶ Returns idea model promise
- Return type
Promise
-
IdeaContentLinkModel.
getPostCreatorModelPromise
()¶ Returns the post creator model promise
- Return type
Promise
-
IdeaContentLinkModel.
isDirect
()¶ Helper function for the comparator, might not work
- Return type
Boolean