Upvote a Product Hunt launch
Input
launch requiredFull launch URL (e.g. "https://www.producthunt.com/products/notion/launches/notion-mail") or a "product/launch" slug pair (e.g. "notion/notion-mail").
Output
hasVoted requiredWhether the account holds an upvote on this launch after the run. True on success.
launchUrl requiredaccount_used requiredHandle of the account that voted, read from the signed-in session rather than assumed.
already_present requiredTrue when this account had already upvoted the launch, so nothing was pressed.
verified_on_page requiredTrue when Product Hunt's own response for the vote confirmed the launch is now upvoted.
postId optionalProduct Hunt's numeric id for the launch that was voted on.
scoreAfter optionalScore Product Hunt reported with the vote. Other people vote continuously, so this is their number at that instant, not necessarily scoreBefore + 1.
scoreBefore optionalScore shown on the control before voting. Read from the rendered figure, so it can lag other people's votes by moments.
