Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
3
stevekrouse avatar

to - should explain the default is yourself from - should explain the default is notifications@val.town and that you can only set it to username.valname@valtown.email addresses cc - should explain that only available on val town pro bcc - only available on val town pro

For iteration, see what it outputs when referenced in another val, and include that image for review in the PR (somehow) or linear. It's a lot of info, so you may have to be clever about what to include and skip, and how to say it tersely. We could also look at tweaking the setting we have for rendering jsdoc strings...

andreterron avatar

Here's how the top-level object looks like:

Screenshot 2024-03-26 at 12.47.14 PM.png

Here's how the from parameter looks like:

Screenshot 2024-03-26 at 12.49.46 PM.png

Looks like @default and the other directives aren't displayed on the auto-complete, but are displayed on hover. I'll look into displaying them when auto-completing.

stevekrouse avatar

The to field should say "Only available to Val Town Pro subscribers."

Then, ready to merge!

Updated: April 3, 2024