mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
Moderations in playerList
This commit is contained in:
8
src/types/api/instance.d.ts
vendored
8
src/types/api/instance.d.ts
vendored
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
8
src/types/api/user.d.ts
vendored
8
src/types/api/user.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user