14 lines
297 B
TypeScript
14 lines
297 B
TypeScript
/**
|
|
* Basic type for an attachment, usually on Statuses
|
|
*/
|
|
export type Attachment = {
|
|
id: string;
|
|
type: "unknown" | "image" | "gifv" | "video";
|
|
url: string;
|
|
remote_url: string | null;
|
|
preview_url: string;
|
|
text_url: string | null;
|
|
meta: any | null;
|
|
description: string | null;
|
|
};
|