diff options
Diffstat (limited to 'ui/src/interfaces.ts')
-rw-r--r-- | ui/src/interfaces.ts | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/ui/src/interfaces.ts b/ui/src/interfaces.ts index 5baadb17..0eeeac06 100644 --- a/ui/src/interfaces.ts +++ b/ui/src/interfaces.ts @@ -156,6 +156,10 @@ export interface Post { deleted: boolean; locked: boolean; stickied: boolean; + embed_title?: string; + embed_description?: string; + embed_html?: string; + thumbnail_url?: string; nsfw: boolean; banned: boolean; banned_from_community: boolean; @@ -208,6 +212,7 @@ export interface Comment { saved?: boolean; user_mention_id?: number; // For mention type recipient_id?: number; + depth?: number; } export interface Category { @@ -876,18 +881,3 @@ export interface WebSocketJsonResponse { error?: string; reconnect?: boolean; } - -export interface FramelyData { - url: string; - type: string; - version?: string; - title: string; - author?: string; - author_url?: string; - provider_name?: string; - thumbnail_url?: string; - thumbnail_width?: number; - thumbnail_height?: number; - description?: string; - html?: string; -} |