mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-09 09:26:14 -08:00
32 lines
577 B
TypeScript
32 lines
577 B
TypeScript
/**
|
|
* Represents channel object
|
|
* TODO: define channel interface in iptv-parser library
|
|
*/
|
|
export interface Channel {
|
|
id: string;
|
|
url: string;
|
|
name: string;
|
|
group: {
|
|
title: string;
|
|
};
|
|
tvg: {
|
|
id: string;
|
|
name: string;
|
|
url: string;
|
|
logo: string;
|
|
rec: string;
|
|
};
|
|
epgParams?: string;
|
|
timeshift?: string;
|
|
catchup?: {
|
|
type?: string;
|
|
source?: string;
|
|
days?: string;
|
|
};
|
|
http: {
|
|
referrer: string;
|
|
'user-agent': string;
|
|
};
|
|
radio: string;
|
|
}
|