summaryrefslogtreecommitdiffstats
path: root/ui/src/interfaces.ts
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-03-07 18:31:13 -0500
committerDessalines <tyhou13@gmx.com>2020-03-07 18:31:13 -0500
commitac280782b27b07e5282af03e329253503100ef99 (patch)
tree85cb2195686814650986d6d9c96eb6bf9d121c1b /ui/src/interfaces.ts
parent496c4e523c95ffad4b2749896f6c22409a2b3c3f (diff)
Iframely and pictshare backend mostly done.
Diffstat (limited to 'ui/src/interfaces.ts')
-rw-r--r--ui/src/interfaces.ts19
1 files changed, 4 insertions, 15 deletions
diff --git a/ui/src/interfaces.ts b/ui/src/interfaces.ts
index eb58ca11..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;
@@ -877,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;
-}