From f181a8805d409c77ba2ac9c8967953aa2db2e881 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Mon, 5 Jun 2023 22:20:13 +0200 Subject: [PATCH] docs: remove bannerColor This is a fixup for commit a673647fba673626a70b66ca8465140a6ef6e070. --- packages/backend/src/models/schema/user.ts | 10 ---------- packages/foundkey-js/src/entities.ts | 1 - 2 files changed, 11 deletions(-) diff --git a/packages/backend/src/models/schema/user.ts b/packages/backend/src/models/schema/user.ts index 8c5d747bd..bfba6ec86 100644 --- a/packages/backend/src/models/schema/user.ts +++ b/packages/backend/src/models/schema/user.ts @@ -32,11 +32,6 @@ export const packedUserLiteSchema = { type: 'any', nullable: true, optional: false, }, - avatarColor: { - type: 'any', - nullable: true, optional: false, - default: null, - }, isAdmin: { type: 'boolean', nullable: false, optional: true, @@ -122,11 +117,6 @@ export const packedUserDetailedNotMeOnlySchema = { type: 'any', nullable: true, optional: false, }, - bannerColor: { - type: 'any', - nullable: true, optional: false, - default: null, - }, isLocked: { type: 'boolean', nullable: false, optional: false, diff --git a/packages/foundkey-js/src/entities.ts b/packages/foundkey-js/src/entities.ts index 173f0f28f..2ba798064 100644 --- a/packages/foundkey-js/src/entities.ts +++ b/packages/foundkey-js/src/entities.ts @@ -33,7 +33,6 @@ export type UserLite = { export type UserDetailed = UserLite & { bannerBlurhash: string | null; - bannerColor: string | null; bannerUrl: string | null; birthday: string | null; createdAt: DateString;