From 8852a03b1717d015efdfc76714da62d784ef8478 Mon Sep 17 00:00:00 2001 From: diondiondion Date: Wed, 26 Nov 2025 16:13:49 +0100 Subject: [PATCH] Further clean up card type --- app/javascript/mastodon/api_types/statuses.ts | 1 - app/javascript/mastodon/models/status.ts | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/javascript/mastodon/api_types/statuses.ts b/app/javascript/mastodon/api_types/statuses.ts index 1451ea82a07..6307b1adb5f 100644 --- a/app/javascript/mastodon/api_types/statuses.ts +++ b/app/javascript/mastodon/api_types/statuses.ts @@ -45,7 +45,6 @@ export interface ApiPreviewCardJSON { type: string; author_name: string; author_url: string; - author_account?: ApiAccountJSON; provider_name: string; provider_url: string; html: string; diff --git a/app/javascript/mastodon/models/status.ts b/app/javascript/mastodon/models/status.ts index 7f9144280cf..b043edb9ca6 100644 --- a/app/javascript/mastodon/models/status.ts +++ b/app/javascript/mastodon/models/status.ts @@ -7,8 +7,6 @@ export type { StatusVisibility } from 'mastodon/api_types/statuses'; // Temporary until we type it correctly export type Status = Immutable.Map; -type CardShape = Required; - -export type Card = RecordOf; +export type Card = RecordOf; export type MediaAttachment = Immutable.Map;