Add missing playlist and playlistElement types in AP context

pull/2621/head
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',
Infohash: 'pt:Infohash',
Playlist: 'pt:Playlist',
PlaylistElement: 'pt:PlaylistElement',
originallyPublishedAt: 'sc:datePublished',
views: {
'@type': 'sc:Number',