@glissandoo/lib 1.3.1 → 1.3.2

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.
@@ -21,5 +21,6 @@ export default class Notification extends Model<UserNotificationData> {
21
21
  get createdAt(): firestore.Timestamp;
22
22
  get timestamp(): number;
23
23
  get sendedAt(): firestore.Timestamp | null;
24
- get readedAt(): firestore.Timestamp | null;
24
+ private get readedAt();
25
+ get isReaded(): boolean;
25
26
  }
@@ -71,5 +71,8 @@ class Notification extends Model_1.default {
71
71
  get readedAt() {
72
72
  return this.data.readedAt || null;
73
73
  }
74
+ get isReaded() {
75
+ return this.readedAt !== null;
76
+ }
74
77
  }
75
78
  exports.default = Notification;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",