Port 478dae0ab3420853d1d9ff2f6b3efcb85b322fd3 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
16 lines
551 B
TypeScript
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>;
|