mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-06 04:32:40 +00:00
Type fix and workflow update
This commit is contained in:
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@@ -2,7 +2,6 @@ name: Publish NPM package + Docs
|
|||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [created]
|
types: [created]
|
||||||
workflow_dispatch:
|
|
||||||
jobs:
|
jobs:
|
||||||
publish_npm:
|
publish_npm:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -7,16 +7,12 @@ import { YouTubeThumbnail } from './Thumbnail';
|
|||||||
* The property names change depending on your region's language.
|
* The property names change depending on your region's language.
|
||||||
*/
|
*/
|
||||||
interface VideoMusic {
|
interface VideoMusic {
|
||||||
song?: string | MusicEntry;
|
song?: string;
|
||||||
artist?: string | MusicEntry;
|
url?: string | null;
|
||||||
|
artist?: string;
|
||||||
album?: string;
|
album?: string;
|
||||||
writers?: string;
|
writers?: string;
|
||||||
license?: string;
|
licenses?: string;
|
||||||
}
|
|
||||||
|
|
||||||
interface MusicEntry {
|
|
||||||
text?: string;
|
|
||||||
url?: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface VideoOptions {
|
interface VideoOptions {
|
||||||
|
|||||||
Reference in New Issue
Block a user