mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-24 17:14:15 -05:00
13 lines
368 B
TypeScript
13 lines
368 B
TypeScript
import type { RecordOf } from 'immutable';
|
|
|
|
import type { ApiPreviewCardJSON } from 'mastodon/api_types/statuses';
|
|
|
|
export type { StatusVisibility } from 'mastodon/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>;
|