@remit/data-ports 0.0.65 → 0.0.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types.ts +11 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/data-ports",
3
- "version": "0.0.65",
3
+ "version": "0.0.66",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
package/src/types.ts CHANGED
@@ -547,6 +547,17 @@ export type SearchOptions = {
547
547
  unread?: boolean;
548
548
  starred?: boolean;
549
549
  attachments?: boolean;
550
+ /**
551
+ * Whether the From address is muted, as a three-state filter: `false`
552
+ * excludes muted senders, `true` keeps only them, absent filters nothing.
553
+ *
554
+ * The one criterion here that is not a column on the ThreadMessage row —
555
+ * muting is a flag on the Address, reached through the row's `fromEmail` —
556
+ * and it is a predicate rather than a pass over a page for the same reason
557
+ * every other criterion is: a caller that hides muted mail while counting
558
+ * with it in states a number larger than the list it renders (#1137).
559
+ */
560
+ muted?: boolean;
550
561
  /**
551
562
  * Any-of set over the denormalized `category` column on the ThreadMessage
552
563
  * row. An empty or absent set means no category filter. `uncategorized` is