Add new GQL operation for potential later usage

This commit is contained in:
DevilXD
2024-06-22 23:50:30 +02:00
parent b47b2089c0
commit a1ac24048b

View File

@@ -302,7 +302,7 @@ GQL_OPERATIONS: dict[str, GQLOperation] = {
"dropID": ..., # campaign ID
},
),
# returns drops available for a particular channel (unused)
# returns drops available for a particular channel
"AvailableDrops": GQLOperation(
"DropsHighlightService_AvailableDrops",
"9a62a09bce5b53e26e64a671e530bc599cb6aab1e5ba3cbd5d85966d3940716f",
@@ -342,6 +342,13 @@ GQL_OPERATIONS: dict[str, GQLOperation] = {
"sortTypeIsRecency": False,
},
),
"SlugRedirect": GQLOperation( # can be used to turn game name -> game slug
"DirectoryGameRedirect",
"1f0300090caceec51f33c5e20647aceff9017f740f223c3c532ba6fa59f6b6cc",
variables={
"name": ..., # game name
},
),
"NotificationsView": GQLOperation( # unused, triggers notifications "update-summary"
"OnsiteNotifications_View",
"f6bdb1298f376539487f28b7f8a6b5d7434ec04ba4d7dc5c232b258410ae04d6",