From 3876213ce9bed5b4c8a1ad0c219a7543eacd776a Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Thu, 8 Jan 2026 01:10:00 +0100 Subject: [PATCH] Refactor Instagram metadata types in client/src/types.ts --- client/src/types.ts | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/client/src/types.ts b/client/src/types.ts index ca706a9..2b069c1 100644 --- a/client/src/types.ts +++ b/client/src/types.ts @@ -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; }