slackapi / slackapi/deno-slack-api
[BUG] Missing definitions for new file upload functions
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 45
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
The deno-slack versions
"deno-slack-sdk/": "https://deno.land/x/deno_slack_sdk@2.15.0/",
"deno-slack-api/": "https://deno.land/x/deno_slack_api@2.8.0/",
Deno runtime version
deno 2.1.9 (stable, release, aarch64-apple-darwin)
v8 13.0.245.12-rusty
typescript 5.6.2
OS info
ProductName: macOS
ProductVersion: 15.2
BuildVersion: 24C101
Darwin Kernel Version 24.2.0: Fri Dec 6 19:02:41 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6030
Describe the bug
The deno api is missing definitions for the new file upload functions.
Steps to reproduce
Use client.files.getUploadURLExternal() or client.files.completeUploadExternal() functions.
Expected result
deno-ts to show the properties for these functions, and not complain.
Actual result
Property 'getUploadURLExternal' does not exist on type 'FilesAPIType'. deno-ts(2339)
The code itself works fine. There is no actual error.
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the FilesAPIType definitions and the existing entries for client.files methods. Check how getUploadURLExternal and completeUploadExternal should be represented, then verify that deno-ts accepts both properties without the reported type error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- deno, typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100