From 8088210604b66188c8a46c1fa8862ffd8ea3759d Mon Sep 17 00:00:00 2001 From: 4gray Date: Sat, 14 Dec 2024 16:17:13 +0100 Subject: [PATCH] feat(interfaces): add optional id and type fields to XtreamCategory and XtreamItem interfaces --- shared/xtream-category.interface.ts | 1 + shared/xtream-item.interface.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/shared/xtream-category.interface.ts b/shared/xtream-category.interface.ts index 5e5585361..d5d74581c 100644 --- a/shared/xtream-category.interface.ts +++ b/shared/xtream-category.interface.ts @@ -1,4 +1,5 @@ export interface XtreamCategory { + id?: number; category_id: string; category_name: string; parent_id: number; diff --git a/shared/xtream-item.interface.ts b/shared/xtream-item.interface.ts index 5e8ec4bd6..abe3d6f06 100644 --- a/shared/xtream-item.interface.ts +++ b/shared/xtream-item.interface.ts @@ -9,4 +9,6 @@ export interface XtreamItem { custom_sid: string; direct_source: string; rating_imdb?: string; + xtream_id?: number; + type?: 'movie' | 'series' | 'live'; }