Added URL support for the Video Music properties with typings

This commit is contained in:
Atari Tom
2022-04-06 11:58:44 -04:00
parent 9b9c68ef13
commit b523c4f394
2 changed files with 8 additions and 3 deletions

View File

@@ -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