@gooddata/sdk-backend-spi 10.18.0-alpha.1 → 10.18.0-alpha.3

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.
@@ -30,6 +30,13 @@ export interface INotificationsQuery {
30
30
  * @returns notifications query
31
31
  */
32
32
  withWorkspace(workspaceId: string): INotificationsQuery;
33
+ /**
34
+ * Filter notifications by read status.
35
+ *
36
+ * @param status - "read" or "unread"
37
+ * @returns notifications query
38
+ */
39
+ withStatus(status: "read" | "unread"): INotificationsQuery;
33
40
  /**
34
41
  * Starts the notifications query.
35
42
  *
@@ -1 +1 @@
1
- {"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../src/organization/notifications/query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,mBAAmB,CAAC;IAE5C;;;;;;;OAOG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,mBAAmB,CAAC;IAE5C;;;;;OAKG;IACH,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,mBAAmB,CAAC;IAExD;;;;OAIG;IACH,KAAK,IAAI,OAAO,CAAC,yBAAyB,CAAC,CAAC;IAE5C;;;;OAIG;IACH,QAAQ,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC,CAAC;CACxC;AAED;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,aAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../src/organization/notifications/query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,mBAAmB,CAAC;IAE5C;;;;;;;OAOG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,mBAAmB,CAAC;IAE5C;;;;;OAKG;IACH,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,mBAAmB,CAAC;IAExD;;;;;OAKG;IACH,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,mBAAmB,CAAC;IAE3D;;;;OAIG;IACH,KAAK,IAAI,OAAO,CAAC,yBAAyB,CAAC,CAAC;IAE5C;;;;OAIG;IACH,QAAQ,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC,CAAC;CACxC;AAED;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,aAAa,CAAC,CAAC"}
@@ -2700,6 +2700,13 @@ export declare interface INotificationsQuery {
2700
2700
  * @returns notifications query
2701
2701
  */
2702
2702
  withWorkspace(workspaceId: string): INotificationsQuery;
2703
+ /**
2704
+ * Filter notifications by read status.
2705
+ *
2706
+ * @param status - "read" or "unread"
2707
+ * @returns notifications query
2708
+ */
2709
+ withStatus(status: "read" | "unread"): INotificationsQuery;
2703
2710
  /**
2704
2711
  * Starts the notifications query.
2705
2712
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-backend-spi",
3
- "version": "10.18.0-alpha.1",
3
+ "version": "10.18.0-alpha.3",
4
4
  "author": "GoodData",
5
5
  "description": "GoodData Backend SPI abstraction interfaces",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "lodash": "^4.17.21",
25
25
  "ts-invariant": "^0.7.5",
26
26
  "tslib": "^2.5.0",
27
- "@gooddata/sdk-model": "10.18.0-alpha.1"
27
+ "@gooddata/sdk-model": "10.18.0-alpha.3"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@gooddata/eslint-config": "^4.1.0",