1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-24 01:18:01 +02:00

Add seen to groups (#1894)

This commit is contained in:
sjaanus 2022-08-08 09:02:40 +03:00 committed by GitHub
parent daad75ef9a
commit c37cbb1819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -25,7 +25,14 @@ const USER_COLUMNS = [
'created_at',
];
const USER_COLUMNS_PUBLIC = ['id', 'name', 'username', 'email', 'image_url'];
const USER_COLUMNS_PUBLIC = [
'id',
'name',
'username',
'email',
'image_url',
'seen_at',
];
const emptify = (value) => {
if (!value) {

View File

@ -15,6 +15,7 @@ export interface IGroupUser {
userId: number;
role: string;
joinedAt: Date;
seenAt?: Date;
}
export interface IGroupRole {