mirror of
https://github.com/mastodon/mastodon.git
synced 2026-10-26 20:15:44 -05:00
Add timeline of public posts about a trending link in web UI (#30840)
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
import type { RecordOf } from 'immutable';
|
||||
|
||||
import type { ApiPreviewCardJSON } from 'mastodon/api_types/statuses';
|
||||
|
||||
export type { StatusVisibility } from 'mastodon/api_types/statuses';
|
||||
|
||||
// Temporary until we type it correctly
|
||||
export type Status = Immutable.Map<string, unknown>;
|
||||
|
||||
type CardShape = Required<ApiPreviewCardJSON>;
|
||||
|
||||
export type Card = RecordOf<CardShape>;
|
||||
|
||||
Reference in New Issue
Block a user