mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
Added URL support for the Video Music properties with typings
This commit is contained in:
@@ -2,13 +2,18 @@ import { YouTubeChannel } from './Channel';
|
||||
import { YouTubeThumbnail } from './Thumbnail';
|
||||
|
||||
interface VideoMusic {
|
||||
song?: string;
|
||||
artist?: string;
|
||||
song?: MusicEntry;
|
||||
artist?: string | MusicEntry;
|
||||
album?: string;
|
||||
writers?: string;
|
||||
license?: string;
|
||||
}
|
||||
|
||||
interface MusicEntry {
|
||||
text?: string;
|
||||
url?: string | undefined;
|
||||
}
|
||||
|
||||
interface VideoOptions {
|
||||
/**
|
||||
* YouTube Video ID
|
||||
|
||||
Reference in New Issue
Block a user