Merge tag '2023.12.0-beta.5' into merge-upstream
This commit is contained in:
@@ -150,8 +150,10 @@ export class MiUser {
|
||||
})
|
||||
public avatarDecorations: {
|
||||
id: string;
|
||||
angle: number;
|
||||
flipH: boolean;
|
||||
angle?: number;
|
||||
flipH?: boolean;
|
||||
offsetX?: number;
|
||||
offsetY?: number;
|
||||
}[];
|
||||
|
||||
@Index()
|
||||
|
@@ -145,6 +145,7 @@ export const packedRoleSchema = {
|
||||
userEachUserListsLimit: rolePolicyValue,
|
||||
canManageAvatarDecorations: rolePolicyValue,
|
||||
canUseTranslator: rolePolicyValue,
|
||||
avatarDecorationLimit: rolePolicyValue,
|
||||
},
|
||||
},
|
||||
usersCount: {
|
||||
|
@@ -74,6 +74,14 @@ export const packedUserLiteSchema = {
|
||||
format: 'url',
|
||||
nullable: false, optional: false,
|
||||
},
|
||||
offsetX: {
|
||||
type: 'number',
|
||||
nullable: false, optional: true,
|
||||
},
|
||||
offsetY: {
|
||||
type: 'number',
|
||||
nullable: false, optional: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -664,6 +672,10 @@ export const packedMeDetailedOnlySchema = {
|
||||
type: 'number',
|
||||
nullable: false, optional: false,
|
||||
},
|
||||
avatarDecorationLimit: {
|
||||
type: 'number',
|
||||
nullable: false, optional: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
//#region secrets
|
||||
|
Reference in New Issue
Block a user