mirror of
https://github.com/zoriya/react-native-omni.git
synced 2026-08-16 02:44:51 +00:00
Cleanup prev/next
This commit is contained in:
+3
-6
@@ -1,4 +1,4 @@
|
||||
export interface BaseSource {
|
||||
export interface Source {
|
||||
src: VideoSrc[];
|
||||
startTime?: number;
|
||||
subtitles: Subtitle[];
|
||||
@@ -6,11 +6,6 @@ export interface BaseSource {
|
||||
mixAudio?: MixAudioMode;
|
||||
}
|
||||
|
||||
export interface Source extends BaseSource {
|
||||
prev?: BaseSource
|
||||
next?: BaseSource
|
||||
}
|
||||
|
||||
export interface VideoSrc {
|
||||
uri: string;
|
||||
mimeType?: string;
|
||||
@@ -32,6 +27,8 @@ export interface Metadata {
|
||||
album?: string;
|
||||
artist?: string;
|
||||
imageLink?: string;
|
||||
hasPrev?: boolean;
|
||||
hasNext?: boolean;
|
||||
}
|
||||
|
||||
export type MixAudioMode = "mixWithOthers" | "doNotMix" | "duckOthers" | "auto";
|
||||
|
||||
Reference in New Issue
Block a user