@limetech/lime-web-components 5.35.0 → 5.36.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.36.0](https://github.com/Lundalogik/lime-web-components/compare/v5.35.0...v5.36.0) (2024-09-11)
2
+
3
+
4
+ ### Features
5
+
6
+
7
+ * **notifications:** be able to filter on read when loading notifications ([e6839b7](https://github.com/Lundalogik/lime-web-components/commit/e6839b7432cd1bcd5ec11561cf64dd5a1e110d96))
8
+
1
9
  ## [5.35.0](https://github.com/Lundalogik/lime-web-components/compare/v5.34.1...v5.35.0) (2024-09-09)
2
10
 
3
11
 
@@ -56,16 +56,6 @@ 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';
69
59
  /**
70
60
  * The options to load notifications with
71
61
  *
@@ -78,8 +68,10 @@ export interface NotificationLoadOptions {
78
68
  */
79
69
  limit?: number;
80
70
  /**
81
- * The status to filter the notifications on
71
+ * The properties to filter notifications by
82
72
  */
83
- status?: NotificationStatus;
73
+ filter?: {
74
+ read?: boolean;
75
+ };
84
76
  }
85
77
  //# 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,cA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I,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;IACf;;OAEG;IACH,MAAM,CAAC,EAAE;QACL,IAAI,CAAC,EAAE,OAAO,CAAC;KAClB,CAAC;CACL"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-web-components",
3
- "version": "5.35.0",
3
+ "version": "5.36.0",
4
4
  "description": "Lime Web Components",
5
5
  "author": "Lime Technologies",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "devDependencies": {
36
36
  "@commitlint/config-conventional": "^19.4.1",
37
- "@microsoft/api-extractor": "^7.47.7",
37
+ "@microsoft/api-extractor": "^7.47.8",
38
38
  "@types/jest": "^27.5.0",
39
39
  "@typescript-eslint/eslint-plugin": "^7.5.0",
40
40
  "@typescript-eslint/parser": "^7.5.0",