2024-07-01 15:45:48 +01:00
|
|
|
import type { RecordOf } from 'immutable';
|
|
|
|
|
|
|
|
import type { ApiPreviewCardJSON } from 'flavours/glitch/api_types/statuses';
|
|
|
|
|
2024-04-02 11:03:33 +01:00
|
|
|
export type { StatusVisibility } from 'flavours/glitch/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 15:45:48 +01:00
|
|
|
|
|
|
|
type CardShape = Required<ApiPreviewCardJSON>;
|
|
|
|
|
|
|
|
export type Card = RecordOf<CardShape>;
|
2024-09-26 13:31:32 +01:00
|
|
|
|
|
|
|
export type MediaAttachment = Immutable.Map<string, unknown>;
|