I’ve been trying the actions editor that the help says that it features typescript, but I can’t make it work. Is there any way to write actions in typescript?
I’ve written this action with Node16 and it does not compile, however the editor understands perfectly the interfaces of the objects from Auth0 for example:
As this topic is related to Actions and Rules & Hooks are being deprecated soon in favor of Actions, I’m excited to let you know about our next Ask me Anything session in the Forum on Thursday, January 18 with the Rules, Hooks and Actions team on Rules & Hooks and why Actions matter! Submit your questions in the thread above and our esteemed product experts will provide written answers on January 18. Find out more about Rules & Hooks and why Actions matter! Can’t wait to see you there!
+1 to this. We have migrated our actions to Typescript and have them in source control and are very much in need of these types. What we have resorted to doing in the mean time is combing through the documentation pages with the assist of ChatGPT and generating our own types files.
If we complete this before Auth0 provides something official, happy to open source them and post here. It would be great if we could get something official from Auth0 though