megalodon
Version:
Fediverse API client for node.js and browser
13 lines (12 loc) • 344 B
TypeScript
import { Meta } from './attachment.js';
export type AsyncAttachment = {
id: string;
type: 'unknown' | 'image' | 'gifv' | 'video' | 'audio';
url: string | null;
remote_url: string | null;
preview_url: string;
text_url: string | null;
meta: Meta | null;
description: string | null;
blurhash: string | null;
};