mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-29 19:03:41 +00:00
Merge 8852a03b17 into 002632c3bb
This commit is contained in:
commit
5b792725ce
|
|
@ -45,7 +45,6 @@ export interface ApiPreviewCardJSON {
|
||||||
type: string;
|
type: string;
|
||||||
author_name: string;
|
author_name: string;
|
||||||
author_url: string;
|
author_url: string;
|
||||||
author_account?: ApiAccountJSON;
|
|
||||||
provider_name: string;
|
provider_name: string;
|
||||||
provider_url: string;
|
provider_url: string;
|
||||||
html: string;
|
html: string;
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@ export type { StatusVisibility } from 'mastodon/api_types/statuses';
|
||||||
// Temporary until we type it correctly
|
// Temporary until we type it correctly
|
||||||
export type Status = Immutable.Map<string, unknown>;
|
export type Status = Immutable.Map<string, unknown>;
|
||||||
|
|
||||||
type CardShape = Required<ApiPreviewCardJSON>;
|
export type Card = RecordOf<ApiPreviewCardJSON>;
|
||||||
|
|
||||||
export type Card = RecordOf<CardShape>;
|
|
||||||
|
|
||||||
export type MediaAttachment = Immutable.Map<string, unknown>;
|
export type MediaAttachment = Immutable.Map<string, unknown>;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user