Port 973fef4b697428c7e9f440e9d67fcdc027cff7be to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
13 lines
406 B
TypeScript
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>;
|