fix and update
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user