Add missing playlist and playlistElement types in AP context

This commit is contained in:
Chocobozzz 2020-05-13 10:53:18 +02:00
parent 089af69bc8
commit 9934b6f31e
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,9 @@ function getContextData (type: ContextType) {
language: 'sc:inLanguage', language: 'sc:inLanguage',
Infohash: 'pt:Infohash', Infohash: 'pt:Infohash',
Playlist: 'pt:Playlist',
PlaylistElement: 'pt:PlaylistElement',
originallyPublishedAt: 'sc:datePublished', originallyPublishedAt: 'sc:datePublished',
views: { views: {
'@type': 'sc:Number', '@type': 'sc:Number',