@glissandoo/lib 1.43.0 → 1.44.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.
@@ -40,6 +40,7 @@ export default class User extends UserBasic<UserData> {
40
40
  getNotificationSetting(key: UserNotificationSettings): boolean;
41
41
  get registerVia(): import("./types").UserRegisterVia;
42
42
  get lastAppLoginAt(): import("../../types/firestore").Timestamp | null;
43
+ get lastWebLoginAt(): import("../../types/firestore").Timestamp | null;
43
44
  get glissandooAdminUrl(): string;
44
45
  get customerIds(): string[];
45
46
  }
@@ -113,6 +113,9 @@ class User extends basic_1.default {
113
113
  get lastAppLoginAt() {
114
114
  return this.data.lastAppLoginAt || null;
115
115
  }
116
+ get lastWebLoginAt() {
117
+ return this.data.lastWebLoginAt || null;
118
+ }
116
119
  get glissandooAdminUrl() {
117
120
  return (0, glissandooAdmin_1.getGlissandooAdminEntityURL)(collections_1.CollectionNames.User, this.id);
118
121
  }
@@ -64,6 +64,7 @@ export interface UserData extends UserBasicData {
64
64
  };
65
65
  registerVia: UserRegisterVia;
66
66
  lastAppLoginAt: Timestamp | null;
67
+ lastWebLoginAt: Timestamp | null;
67
68
  }
68
69
  export interface AUserBasicData extends UserBasicData {
69
70
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.43.0",
3
+ "version": "1.44.0",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",