From 5d4ee10047c7e8b50bd09ef9e1fbd8e153b687f5 Mon Sep 17 00:00:00 2001 From: neet Date: Mon, 29 Oct 2018 23:10:50 +0900 Subject: [PATCH] Add `card` key for status entity --- src/entities/Status.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/entities/Status.ts b/src/entities/Status.ts index a5dce7026..da1249cad 100644 --- a/src/entities/Status.ts +++ b/src/entities/Status.ts @@ -1,6 +1,7 @@ import { Account } from './Account'; import { Application } from './Application'; import { Attachment } from './Attachment'; +import { Card } from './Card'; import { Emoji } from './Emoji'; import { Mention } from './Mention'; import { Tag } from './Tag'; @@ -27,6 +28,9 @@ export interface Status { /** `null` or the reblogged Status */ reblog?: Status | null; + /** Embeded card */ + card?: Card; + /** Body of the status; this will contain HTML (remote HTML already sanitized) */ content: string;