From 1114eee5e904adbe1f961f046fc3b74dc8979784 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Sat, 14 Sep 2024 18:47:16 -0700 Subject: [PATCH] revert expanding AccountShape in ts --- .../flavours/glitch/models/account.ts | 38 +------------------ 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/app/javascript/flavours/glitch/models/account.ts b/app/javascript/flavours/glitch/models/account.ts index 6ad2e779e53012..eaad1fd3d9a9fb 100644 --- a/app/javascript/flavours/glitch/models/account.ts +++ b/app/javascript/flavours/glitch/models/account.ts @@ -60,43 +60,7 @@ export interface AccountShape export type Account = RecordOf; -export const accountDefaultValues: { - note: string; - hidden: boolean; - bot: boolean; - roles: Immutable.List; - moved: null; - indexable: boolean; - created_at: string; - header_static: string; - account_css: string; - hide_collections: boolean; - id: string; - memorial: boolean; - locked: boolean; - display_name_html: string; - group: boolean; - emojis: Immutable.List; - noindex: boolean; - limited: boolean; - avatar: string; - display_name: string; - note_plain: string; - uri: string; - url: string; - suspended: boolean; - following_count: number; - discoverable: boolean; - last_status_at: string; - statuses_count: number; - followers_count: number; - note_emojified: string; - header: string; - avatar_static: string; - fields: Immutable.List; - acct: string; - username: string; -} = { +export const accountDefaultValues: AccountShape = { acct: '', avatar: '', avatar_static: '',