mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-05 00:59:04 +01:00
4c5067e3a4
Port 20fa9ce484
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
12 lines
382 B
TypeScript
12 lines
382 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>;
|