chore(docs): add comment for GridShowRenderer and fix format

This commit is contained in:
Cameron Radmore 2026-09-12 21:32:19 -04:00
parent df298c1161
commit f3f045299b
No known key found for this signature in database
GPG Key ID: 51E32B9B64747796

View File

@ -339,6 +339,15 @@ private module Parsers
end end
end end
# Parses a InnerTube gridShowRenderer into a SearchPlaylist. Returns nil when the given object isn't a gridShowRenderer
#
# A gridShowRenderer renders a playlist, that is located in a grid, to click on within the YouTube and Invidious UI.
# It is **not** the playlist itself.
#
# See specs for example.
#
# `gridShowRenderer`s can be found on the "shows" tab of channels.
#
module GridShowRenderer module GridShowRenderer
extend self extend self
include BaseParser include BaseParser
@ -376,6 +385,7 @@ private module Parsers
return {{@type.name}} return {{@type.name}}
end end
end end
# Parses a InnerTube playlistRenderer into a SearchPlaylist. Returns nil when the given object isn't a playlistRenderer # Parses a InnerTube playlistRenderer into a SearchPlaylist. Returns nil when the given object isn't a playlistRenderer
# #
# A playlistRenderer renders a playlist to click on within the YouTube and Invidious UI. It is **not** the playlist itself. # A playlistRenderer renders a playlist to click on within the YouTube and Invidious UI. It is **not** the playlist itself.