Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
noridev committed Feb 6, 2025
1 parent c0e2fa2 commit 90bbc93
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions packages/backend/src/models/json-schema/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,14 @@ export const packedUserLiteSchema = {
},
},
},
setFederationAvatarShape: {
type: 'boolean',
nullable: false, optional: false,
},
isSquareAvatars: {
type: 'boolean',
nullable: false, optional: false,
},
},
} as const;

Expand Down Expand Up @@ -667,14 +675,6 @@ export const packedMeDetailedOnlySchema = {
nullable: false, optional: false,
default: false,
},
setFederationAvatarShape: {
type: 'boolean',
nullable: false, optional: false,
},
isSquareAvatars: {
type: 'boolean',
nullable: false, optional: false,
},
//#region secrets
email: {
type: 'string',
Expand Down
4 changes: 2 additions & 2 deletions packages/cherrypick-js/src/autogen/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4134,6 +4134,8 @@ export type components = {
iconUrl: string | null;
displayOrder: number;
})[];
setFederationAvatarShape: boolean;
isSquareAvatars: boolean;
};
UserDetailedNotMeOnly: {
/** Format: url */
Expand Down Expand Up @@ -4383,8 +4385,6 @@ export type components = {
usePasswordLessLogin: boolean;
/** @default false */
securityKeys: boolean;
setFederationAvatarShape: boolean;
isSquareAvatars: boolean;
email?: string | null;
emailVerified?: boolean | null;
securityKeysList?: {
Expand Down

0 comments on commit 90bbc93

Please sign in to comment.