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