slackapi / deno-slack-sdk

SDK for building Run on Slack apps using Deno
https://api.slack.com/automation
MIT License
158 stars 27 forks source link

docs: use provided function and client values for datastore calls #346

Closed zimeg closed 1 month ago

zimeg commented 1 month ago

Summary

This PR updates some syntax and patterns around datastores and functions to use the latest features from this SDK. 🙏

Using SlackFunction might be opinionated so please let me know if this should change!

Testing

This matches the latest patterns in slack-samples/deno-starter-template 👍

Requirements

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.43%. Comparing base (7589d49) to head (f264423).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #346 +/- ## ======================================= Coverage 98.43% 98.43% ======================================= Files 65 65 Lines 2677 2677 Branches 147 147 ======================================= Hits 2635 2635 Misses 42 42 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

zimeg commented 1 month ago

@filmaj thanks for reviewing! Those inline docs sound so wonderful 🤩 I was wondering if these docs/ could somehow find a way onto that documentation, and keeping it with the code sounds like a great answer to this 🚀