zapier / zapier-platform

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

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

Closed tkcranny closed 3 weeks ago

tkcranny commented 1 month 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.