diff --git a/api/response.ts b/api/response.ts index cc7cf02..f7c9951 100644 --- a/api/response.ts +++ b/api/response.ts @@ -189,3 +189,15 @@ export interface ImportedData { /** pages importing to a project */ pages: hasMetadata extends true ? ImportedPage[] : ImportedLightPage[]; } + +/** the response type of /api/embed-text/twitter */ +export interface TweetInfo { + /** Tweet本文 */ + description: string; + /** Tweet投稿者のuser name*/ + userName: string; + /** Tweet投稿者の表示名 */ + screenName: string; + /** Tweetに添付された画像 */ + images: string[]; +}