2024-07-01 14:45:48 +00:00
|
|
|
import type { RecordOf } from 'immutable';
|
|
|
|
|
|
|
|
import type { ApiPreviewCardJSON } from 'mastodon/api_types/statuses';
|
|
|
|
|
2024-04-02 10:03:33 +00:00
|
|
|
export type { StatusVisibility } from 'mastodon/api_types/statuses';
|
2024-03-28 15:33:15 +00:00
|
|
|
|
|
|
|
// Temporary until we type it correctly
|
|
|
|
export type Status = Immutable.Map<string, unknown>;
|
2024-07-01 14:45:48 +00:00
|
|
|
|
|
|
|
type CardShape = Required<ApiPreviewCardJSON>;
|
|
|
|
|
|
|
|
export type Card = RecordOf<CardShape>;
|
2024-09-26 12:31:32 +00:00
|
|
|
|
|
|
|
export type MediaAttachment = Immutable.Map<string, unknown>;
|