fix and update

This commit is contained in:
lendry
2026-06-25 16:01:41 +03:00
parent ce58e6f4c1
commit 3880c68d59
40 changed files with 1715 additions and 215 deletions

View File

@@ -79,6 +79,9 @@ export interface PublicUser {
canViewUsers?: boolean;
canViewUserDocuments?: boolean;
hasPassword?: boolean;
isVerified?: boolean;
verificationIcon?: string | null;
canVerifyUsers?: boolean;
}
export interface AdminUser {
@@ -92,6 +95,8 @@ export interface AdminUser {
createdAt: string;
roles: string[];
directPermissions?: string[];
isVerified?: boolean;
verificationIcon?: string | null;
}
export interface AdminRole {
@@ -230,6 +235,8 @@ export interface FamilyInviteCandidate {
phone?: string | null;
username?: string | null;
hasAvatar?: boolean;
isVerified?: boolean;
verificationIcon?: string | null;
}
export async function searchFamilyInviteUsers(groupId: string, query: string, token?: string | null) {
@@ -653,6 +660,8 @@ export interface FamilyMember {
role: string;
displayName: string;
hasAvatar: boolean;
isVerified?: boolean;
verificationIcon?: string | null;
}
export interface FamilyGroup {
@@ -699,6 +708,8 @@ export interface ChatMessage {
senderId: string;
senderName: string;
senderHasAvatar: boolean;
senderIsVerified?: boolean;
senderVerificationIcon?: string | null;
type: string;
content?: string;
replyToId?: string;
@@ -735,6 +746,8 @@ export interface ChatRoomMember {
userId: string;
displayName: string;
hasAvatar: boolean;
isVerified?: boolean;
verificationIcon?: string | null;
notificationsMuted: boolean;
familyRole?: string;
isChatCreator?: boolean;