fix and update

This commit is contained in:
lendry
2026-07-01 17:28:53 +03:00
parent 0c3c6d6d82
commit 06f1481787
16 changed files with 1502 additions and 11 deletions

View File

@@ -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;