mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
chore: typescript add ConvertedStream
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
This commit is contained in:
parent
61c0bc0944
commit
2918c13d7c
1 changed files with 6 additions and 0 deletions
6
src/types/models/Player.d.ts
vendored
6
src/types/models/Player.d.ts
vendored
|
|
@ -18,6 +18,11 @@ type SelectedStream = Stream & {
|
|||
deepLinks: StreamDeepLinks,
|
||||
};
|
||||
|
||||
type ConvertedStream = {
|
||||
url: string,
|
||||
deepLinks: StreamDeepLinks,
|
||||
};
|
||||
|
||||
type Subtitle = {
|
||||
id: string,
|
||||
lang: string,
|
||||
|
|
@ -41,6 +46,7 @@ type Player = {
|
|||
streamRequest: ResourceRequest,
|
||||
subtitlesPath: ResourceRequestPath,
|
||||
} | null,
|
||||
stream: ConvertedStream,
|
||||
seriesInfo: SeriesInfo | null,
|
||||
subtitles: Subtitle[],
|
||||
title: string | null,
|
||||
|
|
|
|||
Loading…
Reference in a new issue