diondiondion 0e4878c733 [Glitch] Show collection preview cards and open collections links locally
Port 478dae0ab3420853d1d9ff2f6b3efcb85b322fd3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-04-25 10:05:05 +02:00

16 lines
551 B
TypeScript

import type { RecordOf } from 'immutable';
import type { ApiCollectionJSON } from 'flavours/glitch/api_types/collections';
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>;
export type CollectionAttachment = RecordOf<ApiCollectionJSON>;