Slack message formatting and exported types for node sdk
Hi Novu team!
We (www.coana.tech) are using Novu for In-app and Slack messages currently, allowing us to notify our customers about new reachable vulnerabilities. We are interested in 2 things:
1. Formatting of Slack messages. These are currently pure text, but we would really like to make lists, emphasize links etc. There's a few issues on the topic on github, and 1 PR (https://github.com/novuhq/novu/pull/4834) that perhaps will solve this.
2. TypeScript for node sdk. We use the node sdk to interact with the API, but there's no typescript support for request reponses, e.g. requesting a subscriber returns
any
which can be really problematic. There's an issue for this already, https://github.com/novuhq/novu/issues/3928
We are curious about your roadmap and how you prioritize issues on github?GitHub
NV-3548 - π Bug Report: Can't embed hyperlink in Slack message by g...
What change does this PR introduce?
Allows users to embed links in the message.
Why was this change needed?
Closes: #3548
Other information
Loom Video
This code was written and reviewed by GitStar...
GitHub
β¨ Polishing: @novu/node package missing typescript support for resp...
π Description Currently, when I use @novu/node with typescript, I get AxiosResponse<any,any> for response type.I wish it could be a concrete type. Related to #3446 π Reproduction steps No res...
4 Replies
@Jeppe
Thanks for sharing that you are using novu slack provider to send notification to customers.
Enhancing slack provider capabilities in our Q2 roadmap
for typescript support in SDK, we have not discussed. I will keep you updated about this
Thanks for the reply @Pawan Jain ππ
In regards to the typescript response types, I believe it's a simpel task. You already have all the types in your codebase, it's just a matter of adding them as return types.
Yeah I agree.
We just need to prioritise this and clean up the repeated things
π