Refactor Instagram metadata types in client/src/types.ts
This commit is contained in:
@@ -64,15 +64,7 @@ export interface EntryDetail {
|
||||
type?: string;
|
||||
title_en?: string;
|
||||
};
|
||||
ig_meta?: {
|
||||
username?: string;
|
||||
full_name?: string;
|
||||
profile_pic_url?: string;
|
||||
post_url?: string;
|
||||
profile_url?: string;
|
||||
post_date?: string;
|
||||
description?: string;
|
||||
};
|
||||
ig_meta?: InstagramMeta;
|
||||
items: EntryItems;
|
||||
quiz: QuizQuestion[];
|
||||
ui_hints?: {
|
||||
@@ -98,4 +90,15 @@ export interface QuizQuestionWithEntry extends QuizQuestion {
|
||||
entryTitle: string;
|
||||
items: EntryItems;
|
||||
video_url: string;
|
||||
ig_meta?: InstagramMeta;
|
||||
}
|
||||
|
||||
export interface InstagramMeta {
|
||||
username?: string;
|
||||
full_name?: string;
|
||||
profile_pic_url?: string;
|
||||
post_url?: string;
|
||||
profile_url?: string;
|
||||
post_date?: string;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user