@limetech/lime-web-components 5.34.1 → 5.35.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [5.35.0](https://github.com/Lundalogik/lime-web-components/compare/v5.34.1...v5.35.0) (2024-09-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
* **notifications:** add status to load options ([5044d43](https://github.com/Lundalogik/lime-web-components/commit/5044d43fb3e0506ee46cf6c448ca452294aa598b))
|
|
8
|
+
|
|
1
9
|
## [5.34.1](https://github.com/Lundalogik/lime-web-components/compare/v5.34.0...v5.34.1) (2024-09-06)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -56,6 +56,16 @@ export type NotificationResponse = {
|
|
|
56
56
|
items: Notification[];
|
|
57
57
|
count: NotificationCount;
|
|
58
58
|
};
|
|
59
|
+
/**
|
|
60
|
+
* The status of the notification.
|
|
61
|
+
*
|
|
62
|
+
* - 'read': Whether the notification is read.
|
|
63
|
+
* - 'unread': Whether the notification is unread.
|
|
64
|
+
*
|
|
65
|
+
* @alpha
|
|
66
|
+
* @group NotificationRepository
|
|
67
|
+
*/
|
|
68
|
+
export type NotificationStatus = 'read' | 'unread';
|
|
59
69
|
/**
|
|
60
70
|
* The options to load notifications with
|
|
61
71
|
*
|
|
@@ -67,5 +77,9 @@ export interface NotificationLoadOptions {
|
|
|
67
77
|
* Maximum number of notifications to load
|
|
68
78
|
*/
|
|
69
79
|
limit?: number;
|
|
80
|
+
/**
|
|
81
|
+
* The status to filter the notifications on
|
|
82
|
+
*/
|
|
83
|
+
status?: NotificationStatus;
|
|
70
84
|
}
|
|
71
85
|
//# sourceMappingURL=repository.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/notification-service/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;;;OAMG;IACH,OAAO,CAAC,OAAO,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAE1E;;;;;OAKG;IACH,GAAG,CAAC,cAAc,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAAC;IAEtD;;;;OAIG;IACH,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAElD;;;;;;OAMG;IACH,UAAU,CACN,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAE,OAAO,GACd,OAAO,CAAC,YAAY,CAAC,CAAC;CAC5B;AAED;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAC/B,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,KAAK,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEF;;;;;GAKG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/notification-service/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;;;OAMG;IACH,OAAO,CAAC,OAAO,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAE1E;;;;;OAKG;IACH,GAAG,CAAC,cAAc,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAAC;IAEtD;;;;OAIG;IACH,MAAM,CAAC,YA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