mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-29 19:03:41 +00:00
13 lines
392 B
TypeScript
13 lines
392 B
TypeScript
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>;
|
|
|
|
export type Card = RecordOf<ApiPreviewCardJSON>;
|
|
|
|
export type MediaAttachment = Immutable.Map<string, unknown>;
|