Moderations in playerList

This commit is contained in:
Natsumi
2025-08-21 05:07:06 +12:00
parent 7d06966fef
commit 887f59d2b4
9 changed files with 138 additions and 39 deletions

View File

@@ -14,9 +14,9 @@ export type CreateInstance = (params: {
type: string;
region: string;
ownerId: string;
roleIds: string[];
groupAccessType: string;
queueEnabled: boolean;
roleIds?: string[];
groupAccessType?: string;
queueEnabled?: boolean;
}) => Promise<{
json: any;
params: any;
@@ -84,4 +84,4 @@ interface GetInstanceResponse {
interface GetInstanceShortNameResponse {
secureName: string;
shortName: string;
}
}

View File

@@ -61,6 +61,14 @@ export interface VrcxUser extends GetUserResponse {
$customTagColour: string;
$friendNumber: number;
$lastFetch: number;
$moderations: moderations;
}
export interface moderations {
isBlocked: boolean;
isMuted: boolean;
isAvatarInteractionDisabled: boolean;
isChatBoxMuted: boolean;
}
export interface VrcxCurrentUser extends GetCurrentUserResponse {