mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-31 12:03:10 -05:00
9b5f073cb3
Port 89df27a06c69818d38621c1147c6724d76beefde to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
15 lines
445 B
TypeScript
15 lines
445 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>;
|
|
|
|
type CardShape = Required<ApiPreviewCardJSON>;
|
|
|
|
export type Card = RecordOf<CardShape>;
|
|
|
|
export type MediaAttachment = Immutable.Map<string, unknown>;
|