mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-07 01:16:28 +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',
|
'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) => {
|
const emptify = (value) => {
|
||||||
if (!value) {
|
if (!value) {
|
||||||
|
@ -15,6 +15,7 @@ export interface IGroupUser {
|
|||||||
userId: number;
|
userId: number;
|
||||||
role: string;
|
role: string;
|
||||||
joinedAt: Date;
|
joinedAt: Date;
|
||||||
|
seenAt?: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IGroupRole {
|
export interface IGroupRole {
|
||||||
|
Loading…
Reference in New Issue
Block a user