Skip to content

Commit

Permalink
revert expanding AccountShape in ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Sep 15, 2024
1 parent 9cbc519 commit 1114eee
Showing 1 changed file with 1 addition and 37 deletions.
38 changes: 1 addition & 37 deletions app/javascript/flavours/glitch/models/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,43 +60,7 @@ export interface AccountShape

export type Account = RecordOf<AccountShape>;

export const accountDefaultValues: {
note: string;
hidden: boolean;
bot: boolean;
roles: Immutable.List<AccountRole>;
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<CustomEmoji>;
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<AccountField>;
acct: string;
username: string;
} = {
export const accountDefaultValues: AccountShape = {
acct: '',
avatar: '',
avatar_static: '',
Expand Down

0 comments on commit 1114eee

Please sign in to comment.