mirror of
https://github.com/funamitech/mastodon
synced 2024-12-15 23:28:31 +09:00
15 lines
431 B
TypeScript
15 lines
431 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>;
|
|
|
|
type CardShape = Required<ApiPreviewCardJSON>;
|
|
|
|
export type Card = RecordOf<CardShape>;
|
|
|
|
export type MediaAttachment = Immutable.Map<string, unknown>;
|