2024-07-01 14:45:48 +00:00
|
|
|
import type { RecordOf } from 'immutable';
|
|
|
|
|
|
|
|
import type { ApiPreviewCardJSON } from 'flavours/glitch/api_types/statuses';
|
|
|
|
|
2024-04-02 10:03:33 +00: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 14:45:48 +00:00
|
|
|
|
|
|
|
type CardShape = Required<ApiPreviewCardJSON>;
|
|
|
|
|
|
|
|
export type Card = RecordOf<CardShape>;
|