zapier / zapier-platform

The SDK for you to build an integration on Zapier
https://platform.zapier.com
Other
344 stars 188 forks source link

feat(cli): Add OAuth to TS init output [IQQ-1860] #894

Open tkcranny opened 21 hours ago

tkcranny commented 21 hours ago

This upgrades the zapier init TypeScript example (and the example reference application as well) to use a much closer to real-world OAuth2 example configuration with scopes and API_URL constants.

A minor tweak was made to the Before and After Middelware types to make the arguments provided no longer optional, as they are always present.