diff --git a/docs/Actions.html b/docs/Actions.html index 99be30edc..60643b7a7 100644 --- a/docs/Actions.html +++ b/docs/Actions.html @@ -1,6 +1,7 @@ --- layout: docs title: Actions +edit_url: "https://github.com/nylas/N1/blob/master/src/flux/actions.coffee" ---
listen
method provided b
Scope: Window
# Compose a reply to the last message in the thread
Actions.composeReply({threadId: '123'})
-
+
# Compose a reply to a specific message in the thread
Actions.composeReply({threadId: '123', messageId: '123'})
@@ -206,11 +207,11 @@ that is not a Store, you can still use the listen
method provided b
Scope: Global
# A simple notification
Actions.postNotification({message: "Removed Thread", type: 'success'})
-
+
# A sticky notification with actions
NOTIF_ACTION_YES = 'YES'
NOTIF_ACTION_NO = 'NO'
-
+
Actions.postNotification
type: 'info',
sticky: true
@@ -229,7 +230,7 @@ that is not a Store, you can still use the listen
method provided b
published via postNotification
.
Scope: Global
@_unlisten = Actions.notificationActionTaken.listen(@_onActionTaken, @)
-
+
_onActionTaken: ({notification, action}) ->
if action.id is NOTIF_ACTION_YES
# perform action
@@ -253,12 +254,8 @@ that is not a Store, you can still use the listen
method provided b
Scope: Window
WorkspaceStore.defineSheet 'Thread', {},
list: ['MessageList', 'MessageListSidebar']
-
+
...
-
+
@pushSheet(WorkspaceStore.Sheet.Thread)
-
-
-
-
diff --git a/docs/Attribute.html b/docs/Attribute.html
index 5e0411f99..db8b6850c 100644
--- a/docs/Attribute.html
+++ b/docs/Attribute.html
@@ -1,6 +1,7 @@
---
layout: docs
title: Attribute
+edit_url: "https://github.com/nylas/N1/blob/master/src/flux/attributes/attribute.coffee"
---
Summary
@@ -25,12 +26,12 @@ The Attribute class also exposes convenience methods for generating
in()
-
+
-
-
+
+
Returns
@@ -59,12 +60,12 @@ The Attribute class also exposes convenience methods for generating
descending()
-
+
-
-
+
+
Returns
@@ -93,12 +94,12 @@ The Attribute class also exposes convenience methods for generating Returns an ascending SortOrder for this attribute.
-
diff --git a/docs/AttributeBoolean.html b/docs/AttributeBoolean.html
index 25b822620..ea73a4d99 100644
--- a/docs/AttributeBoolean.html
+++ b/docs/AttributeBoolean.html
@@ -1,6 +1,7 @@
---
layout: docs
title: AttributeBoolean
+edit_url: "https://github.com/nylas/N1/blob/master/src/flux/attributes/attribute-boolean.coffee"
---
Summary
@@ -14,8 +15,3 @@ title: AttributeBoolean
-
-
-
-
-
diff --git a/docs/AttributeCollection.html b/docs/AttributeCollection.html
index 19e18677a..3e42c05e7 100644
--- a/docs/AttributeCollection.html
+++ b/docs/AttributeCollection.html
@@ -1,6 +1,7 @@
---
layout: docs
title: AttributeCollection
+edit_url: "https://github.com/nylas/N1/blob/master/src/flux/attributes/attribute-collection.coffee"
---
Summary
@@ -37,12 +38,12 @@ ORDER BY `Thread`.
contains()
-
+
-
-
+
+
Returns
@@ -51,4 +52,3 @@ ORDER BY `Thread`.Returns a Matcher for objects containing the provided value.
-
diff --git a/docs/AttributeDateTime.html b/docs/AttributeDateTime.html
index 7847ecf30..0a46ee065 100644
--- a/docs/AttributeDateTime.html
+++ b/docs/AttributeDateTime.html
@@ -1,6 +1,7 @@
---
layout: docs
title: AttributeDateTime
+edit_url: "https://github.com/nylas/N1/blob/master/src/flux/attributes/attribute-datetime.coffee"
---
Summary
@@ -22,12 +23,12 @@ title: AttributeDateTime
greaterThan()
-
+
-
-
+
+
Returns
@@ -39,12 +40,12 @@ title: AttributeDateTime
lessThan()
-
+
-
-
+
+
Returns
@@ -53,4 +54,3 @@ title: AttributeDateTime
Returns a Matcher for objects less than the provided value.
-
diff --git a/docs/AttributeJoinedData.html b/docs/AttributeJoinedData.html
index d7119ed18..9b753538d 100644
--- a/docs/AttributeJoinedData.html
+++ b/docs/AttributeJoinedData.html
@@ -1,6 +1,7 @@
---
layout: docs
title: AttributeJoinedData
+edit_url: "https://github.com/nylas/N1/blob/master/src/flux/attributes/attribute-joined-data.coffee"
---
Summary
@@ -30,8 +31,3 @@ written to the secondary table.
-
-
-
-
-
diff --git a/docs/AttributeNumber.html b/docs/AttributeNumber.html
index 25de7395f..bd39778fc 100644
--- a/docs/AttributeNumber.html
+++ b/docs/AttributeNumber.html
@@ -1,6 +1,7 @@
---
layout: docs
title: AttributeNumber
+edit_url: "https://github.com/nylas/N1/blob/master/src/flux/attributes/attribute-number.coffee"
---
Summary
@@ -22,12 +23,12 @@ title: AttributeNumber
greaterThan()
-
+
-
-
+
+
Returns
@@ -39,12 +40,12 @@ title: AttributeNumber
lessThan()
-
+
-
-
+
+
Returns
@@ -53,4 +54,3 @@ title: AttributeNumber
Returns a Matcher for objects less than the provided value.
-
diff --git a/docs/AttributeObject.html b/docs/AttributeObject.html
index f5e75d13f..aa4c35db3 100644
--- a/docs/AttributeObject.html
+++ b/docs/AttributeObject.html
@@ -1,6 +1,7 @@
---
layout: docs
title: AttributeObject
+edit_url: "https://github.com/nylas/N1/blob/master/src/flux/attributes/attribute-object.coffee"
---
Summary
@@ -12,8 +13,3 @@ title: AttributeObject
-
-
-
-
-
diff --git a/docs/AttributeServerId.html b/docs/AttributeServerId.html
index 6d4d12e2f..5a34f4a76 100644
--- a/docs/AttributeServerId.html
+++ b/docs/AttributeServerId.html
@@ -1,6 +1,7 @@
---
layout: docs
title: AttributeServerId
+edit_url: "https://github.com/nylas/N1/blob/master/src/flux/attributes/attribute-serverid.coffee"
---
Summary
@@ -14,8 +15,3 @@ title: AttributeServerId
-
-
-
-
-
diff --git a/docs/AttributeString.html b/docs/AttributeString.html
index 17b72868e..7e35a03e2 100644
--- a/docs/AttributeString.html
+++ b/docs/AttributeString.html
@@ -1,6 +1,7 @@
---
layout: docs
title: AttributeString
+edit_url: "https://github.com/nylas/N1/blob/master/src/flux/attributes/attribute-string.coffee"
---
Summary
@@ -24,12 +25,12 @@ title: AttributeString
startsWith()
-
+
-
-
+
+
Returns
@@ -38,4 +39,3 @@ title: AttributeString
Returns a Matcher for objects starting with the provided value.
-
diff --git a/docs/Matcher.html b/docs/Matcher.html
index 586c97ec5..bc466ff3a 100644
--- a/docs/Matcher.html
+++ b/docs/Matcher.html
@@ -1,6 +1,7 @@
---
layout: docs
title: Matcher
+edit_url: "https://github.com/nylas/N1/blob/master/src/flux/attributes/matcher.coffee"
---
Summary
@@ -36,8 +37,3 @@ isUnread.evaluate(threadB)
-
-
-
-
-
diff --git a/docs/SortOrder.html b/docs/SortOrder.html
index 1bbcb8ba7..16f9dee3a 100644
--- a/docs/SortOrder.html
+++ b/docs/SortOrder.html
@@ -1,6 +1,7 @@
---
layout: docs
title: SortOrder
+edit_url: "https://github.com/nylas/N1/blob/master/src/flux/attributes/sort-order.coffee"
---
Summary
@@ -18,8 +19,3 @@ instantiate SortOrders manually. Instead, call