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:
parent
daad75ef9a
commit
c37cbb1819
@ -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) {
|
||||
|
@ -15,6 +15,7 @@ export interface IGroupUser {
|
||||
userId: number;
|
||||
role: string;
|
||||
joinedAt: Date;
|
||||
seenAt?: Date;
|
||||
}
|
||||
|
||||
export interface IGroupRole {
|
||||
|
Loading…
Reference in New Issue
Block a user