refactor: define models for epg objects

This commit is contained in:
4gray committed 2021-01-13 22:25:25 +01:00
1 parent 418566f631
commit 2056980841
2 files changed
+22

No files matched your search

@@ -0,0 +1,6 @@
export interface EpgChannel {
id: string;
name: { lang: string; value: string }[];
icon: string[];
url: string[];
}
@@ -0,0 +1,16 @@
export interface EpgProgram {
start: string;
stop: string;
channel: string;
title: { lang: string; value: string }[];
desc: any[];
category: any[];
date: any[];
episodeNum: any[];
previouslyShown: any[];
subtitles: any[];
icon: any[];
rating: { system: string; value: string }[];
credits: any[];
audio: any[];
}