diondiondion 18d4606cce [Glitch] Further clean up types for the card object
Port 973fef4b697428c7e9f440e9d67fcdc027cff7be to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-01-10 13:18:34 +01:00

13 lines
406 B
TypeScript

import type { RecordOf } from 'immutable';
import type { ApiPreviewCardJSON } from 'flavours/glitch/api_types/statuses';
export type { StatusVisibility } from 'flavours/glitch/api_types/statuses';
// Temporary until we type it correctly
export type Status = Immutable.Map<string, unknown>;
export type Card = RecordOf<ApiPreviewCardJSON>;
export type MediaAttachment = Immutable.Map<string, unknown>;