Types developing actions locally

What npm package can i install to get the correct types for developing actions locally?
I would like to see the type of the event for example (in the screenshot).

10 Likes

Did you ever fine a published package with these types?

Would love to know the answer here.

Hey there!

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!

Learn more here!

Would like to bump this. It presumably exists already somewhere, just needs to be published

Still looking for this, anyone ever find it?

For what it’s worth, I’m taking a look at this unofficial package: https://www.npmjs.com/package/auth0-actions

1 Like

I’d be keen on this as well. Having types available for local development would help prevent transcription errors between the API documentation and my local code.

@konrad.sopala Any movement on this? Would be very useful to have these types available for testing purposes. Thanks!

Here’s a blog post on how to use typescript in auth0 actions

1 Like

Thanks for sharing @emma.moinat ! :pray: