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