mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 19:31:46 +00:00
QOL: Move source code under the src directory. (#1318)
This commit is contained in:
15
src/types/player-api-events.ts
Normal file
15
src/types/player-api-events.ts
Normal file
@ -0,0 +1,15 @@
|
||||
export interface PlayerAPIEvents {
|
||||
videodatachange: {
|
||||
value: Record<string, unknown> & {
|
||||
videoId: string
|
||||
title: string
|
||||
author: string
|
||||
|
||||
playlistId: string
|
||||
isUpcoming: boolean
|
||||
loading: boolean
|
||||
|
||||
lengthSeconds: number
|
||||
}
|
||||
} & ({ name: 'dataloaded' } | { name: 'dataupdated ' })
|
||||
}
|
||||
Reference in New Issue
Block a user