-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add new type list_id
, builtins for Add/Remove Reactions and many List-related functions
#361
Conversation
…ctions, too. also updates instructions for how to generate built-in function definitions using updated `functions.list` API endpoint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 💯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohh wait just saw the CI is failing 🤔
… finds an unfamiliar parameter type. Update generated list functions with new list_id type.
list_id
, builtins for Add/Remove Reactions and many List-related functions
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #361 +/- ##
=========================================
+ Coverage 0 98.66% +98.66%
=========================================
Files 0 73 +73
Lines 0 2997 +2997
Branches 0 147 +147
=========================================
+ Hits 0 2957 +2957
- Misses 0 40 +40 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -21,3 +21,5 @@ echo "Formatting Slack function files..." | |||
deno fmt --quiet ../*.ts | |||
echo "Linting Slack function files..." | |||
deno lint --quiet ../*.ts | |||
echo "Type-checking Slack function files..." | |||
deno check --quiet ../*.ts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch 💯 I thought this was already in there
@@ -73,8 +73,14 @@ const propertyToTypeScript = ( | |||
property: FunctionProperty, | |||
): string => { | |||
const typescript = []; | |||
const sdkType = schemaTypeMap[property.type]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvement 💯 makes the code clearer also
functions.list
API endpoint