sag-enhanced / sage-issues

Issue tracker for SAGE
1 stars 0 forks source link

Improve & document API available to custom scripts #5

Closed Le0Developer closed 7 months ago

Le0Developer commented 8 months ago

Describe the feature

Currently the documentation for custom scripts is lacking multiple things (like the context object the function is taking as first argument). Also some kind of SDK should be available for simple tasks like making a counter go up.

Use case

UX

Additional context

No response

Le0Developer commented 7 months ago

Idea: the handler function takes a ctx argument. This context has multiple helper functions: