From 1acceff40550ae4dda885966bfa51fa7c4452e34 Mon Sep 17 00:00:00 2001 From: Nishant Singh <57475999+Rjnishant530@users.noreply.github.com> Date: Sat, 4 Jan 2025 11:33:58 +0530 Subject: [PATCH] fix(types): add logo and icon properties and made language property Language type (#18043) Co-authored-by: rjnishant530 --- lib/types.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/types.ts b/lib/types.ts index 859c7ed850d65b..a805da2dcbc3b0 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -52,7 +52,7 @@ export type DataItem = { image?: string; banner?: string; updated?: number | string | Date; - language?: string; + language?: Language; enclosure_url?: string; enclosure_type?: string; enclosure_title?: string; @@ -78,14 +78,15 @@ export type Data = { allowEmpty?: boolean; image?: string; author?: string; - language?: string; + language?: Language; feedLink?: string; lastBuildDate?: string; itunes_author?: string; itunes_category?: string; itunes_explicit?: string | boolean; id?: string; - + icon?: string; + logo?: string; atomlink?: string; ttl?: number; };