mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2fda4aabdd | ||
|
|
bc376a72ee |
@@ -14,9 +14,10 @@ class UserWithRelationCountDto {
|
|||||||
fullname: this.user.name,
|
fullname: this.user.name,
|
||||||
avatarUrl: this.user.avatarUrl,
|
avatarUrl: this.user.avatarUrl,
|
||||||
isAdmin: this.user.isAdmin,
|
isAdmin: this.user.isAdmin,
|
||||||
createdAt: this.user.createdAt,
|
createdAt: this.user.createdAt.toString(),
|
||||||
updatedAt: this.user.updatedAt,
|
updatedAt: this.user.updatedAt.toString(),
|
||||||
lastSeenAt: this.user.lastSeenAt,
|
lastSeenAt:
|
||||||
|
this.user.lastSeenAt?.toString() ?? this.user.updatedAt.toString(),
|
||||||
linksCount: Number(this.user.$extras.totalLinks),
|
linksCount: Number(this.user.$extras.totalLinks),
|
||||||
collectionsCount: Number(this.user.$extras.totalCollections),
|
collectionsCount: Number(this.user.$extras.totalCollections),
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "my-links",
|
"name": "my-links",
|
||||||
"version": "2.2.0",
|
"version": "2.2.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user