iceshrimp-legacy/packages/megalodon/lib/src/entities/async_attachment.d.ts

15 lines
411 B
TypeScript

/// <reference path="attachment.d.ts" />
declare namespace Entity {
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;
};
}