@glissandoo/lib 1.44.0 → 1.44.1

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.
@@ -74,4 +74,5 @@ export default class Group extends GroupBasic<GroupData> {
74
74
  get instrumentsList(): (import("./types").GroupInstrument & {
75
75
  id: import("../../helpers/instruments").InstrumentId;
76
76
  })[];
77
+ get visitedDashboardAt(): Record<string, import("../../types/firestore").Timestamp>;
77
78
  }
@@ -197,5 +197,8 @@ class Group extends basic_1.default {
197
197
  get instrumentsList() {
198
198
  return (0, objects_1.mapToArray)(this.instruments).sort((a, b) => a.order - b.order);
199
199
  }
200
+ get visitedDashboardAt() {
201
+ return this.data.visitedDashboardAt || {};
202
+ }
200
203
  }
201
204
  exports.default = Group;
@@ -125,6 +125,7 @@ export interface GroupData extends GroupBasicData {
125
125
  firstAnswerAt: Timestamp | null;
126
126
  repertoireTags: Record<string, GroupRepertoireTag>;
127
127
  trialEndAt: Timestamp | null;
128
+ visitedDashboardAt: Record<string, Timestamp>;
128
129
  readonly createdOn: GroupCreatedOn;
129
130
  readonly owner: DocumentReference;
130
131
  readonly createdAt: Timestamp;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.44.0",
3
+ "version": "1.44.1",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",