fix and update
This commit is contained in:
@@ -107,6 +107,7 @@ export interface PublicUser {
|
||||
verificationIcon?: string | null;
|
||||
canVerifyUsers?: boolean;
|
||||
canManageBots?: boolean;
|
||||
canModerateChats?: boolean;
|
||||
}
|
||||
|
||||
export interface AdminUser {
|
||||
@@ -658,6 +659,50 @@ export interface SignInEvent {
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export interface AdminUserActivityItem {
|
||||
id: string;
|
||||
action: string;
|
||||
title: string;
|
||||
detail?: string;
|
||||
entityType?: string;
|
||||
entityId?: string;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export interface AdminChatRoomSummary {
|
||||
id: string;
|
||||
type: string;
|
||||
name: string;
|
||||
groupId: string;
|
||||
groupName: string;
|
||||
memberCount: number;
|
||||
messageCount: number;
|
||||
members: Array<{ id: string; displayName: string }>;
|
||||
lastMessage?: {
|
||||
id: string;
|
||||
senderName: string;
|
||||
preview: string;
|
||||
createdAt: string;
|
||||
};
|
||||
joinedAt: string;
|
||||
}
|
||||
|
||||
export interface AdminChatMessage {
|
||||
id: string;
|
||||
senderId: string;
|
||||
senderName: string;
|
||||
type: string;
|
||||
content?: string | null;
|
||||
preview: string;
|
||||
isEncrypted: boolean;
|
||||
isDeleted: boolean;
|
||||
createdAt: string;
|
||||
editedAt?: string;
|
||||
roomId?: string;
|
||||
roomName?: string;
|
||||
groupName?: string;
|
||||
}
|
||||
|
||||
export interface ActiveSession {
|
||||
id: string;
|
||||
userId: string;
|
||||
|
||||
Reference in New Issue
Block a user