deno-slack-api icon indicating copy to clipboard operation
deno-slack-api copied to clipboard

[BUG] Missing definitions for new file upload functions

Open mfcarroll opened this issue 9 months ago • 1 comments

The deno-slack versions

"deno-slack-sdk/": "https://deno.land/x/[email protected]/",
"deno-slack-api/": "https://deno.land/x/[email protected]/",

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)

Image

The code itself works fine. There is no actual error.

Thanks

mfcarroll avatar Mar 06 '25 06:03 mfcarroll

Hi @mfcarroll! Thanks for birnging this to our attention. The team is at a conference this week, but we'll work on getting the definitions added once they're back.

misscoded avatar Mar 06 '25 18:03 misscoded