@trycourier/courier-ui-inbox 2.4.10 → 2.5.0
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.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -3
- package/dist/index.mjs.map +1 -1
- package/dist/types/inbox-data-set.d.ts +5 -0
- package/package.json +1 -2
|
@@ -22,6 +22,11 @@ export type CourierInboxDatasetFilter = {
|
|
|
22
22
|
/** Whether to include archived messages. Defaults to false if unset. */
|
|
23
23
|
archived?: boolean;
|
|
24
24
|
status?: 'read' | 'unread';
|
|
25
|
+
/**
|
|
26
|
+
* Lower bound on message creation time: only messages created at or after this moment are included.
|
|
27
|
+
* Pass an ISO 8601 datetime string (e.g. `new Date().toISOString()`). Undefined applies no lower bound.
|
|
28
|
+
*/
|
|
29
|
+
from?: string;
|
|
25
30
|
};
|
|
26
31
|
/**
|
|
27
32
|
* A tab represents a filtered view of messages within a feed.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trycourier/courier-ui-inbox",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Inbox components for the Courier web UI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
"build:ci": "yarn build && yarn generate-api-doc",
|
|
12
12
|
"watch": "vite build --watch",
|
|
13
13
|
"preview": "vite preview",
|
|
14
|
-
"prepare": "npm run build",
|
|
15
14
|
"test": "jest",
|
|
16
15
|
"generate-api-doc": "api-extractor run"
|
|
17
16
|
},
|