hyperspace-desktop-client-w.../src/types/Attachment.tsx

14 lines
323 B
TypeScript
Raw Normal View History

2019-03-25 21:23:04 +01:00
/**
* Basic type for an attachment, usually on Statuses
*/
export type Attachment = {
id: string;
type: "unknown" | "image" | "gifv" | "audio" | "video";
2019-03-25 21:23:04 +01:00
url: string;
remote_url: string | null;
preview_url: string;
text_url: string | null;
meta: any | null;
description: string | null;
};