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

18 lines
395 B
TypeScript
Raw Normal View History

2019-03-25 21:23:04 +01:00
/**
* Basic type for Cards, usually in Statuses
*/
export type Card = {
url: string;
title: string;
description: string;
image: string | null;
type: "link" | "photo" | "video" | "rich";
author_name: string | null;
author_url: string | null;
provider_name: string | null;
provider_url: string | null;
html: string | null;
width: number | null;
height: number | null;
};