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

This commit is contained in:
Cameron Radmore 2026-09-12 21:32:19 -04:00 committed by Fijxu
parent ffc0df085a
commit 5c5346974f
No known key found for this signature in database
GPG Key ID: 32C1DDF333EDA6A4

View File

@ -338,6 +338,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
@ -375,6 +384,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.