@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.
- package/models/User/index.d.ts +1 -0
- package/models/User/index.js +3 -0
- package/models/User/types.d.ts +1 -0
- package/package.json +1 -1
package/models/User/index.d.ts
CHANGED
|
@@ -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
|
}
|
package/models/User/index.js
CHANGED
|
@@ -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
|
}
|
package/models/User/types.d.ts
CHANGED