I'm curious whats the proper way to deploy functions which are written in TypeScript.
Currently I manually build the project and than deploy it. Ideally I would think that I should add the build folder where I put the result of typescript should be excluded too and instead be build while deploying the function?
Also I can't find proper types for the runtime request and response.
For now, you'll have to build before deploying. In the next version of Appwrite Functions, we plan to let you specify build commands so that you can tell Appwrite how to build the function after deploying.
Take a look at this project that has typescript functions: https://github.com/stnguyen90/places
Okay I thought I missed something, but awesome to hear that it's planned for the next version of functions, thanks
[SOLVED] TypeScript Functions
Recommended threads
- Immediate function execution seems to be...
Whenever I try to execute a function manually I get an error that the schedule is a required field (even though Now is selected). Not a huge deal, I can obvious...
- Verification failed
I am unable to connect custom domain. it keeps on verifying and when i refresh it says verification failed. I bought my domain from hostinger. my instance is r...
- Creating Function to Submit Email Form f...
I'm trying to create function for Email Form Submit, I fill parameters correctly using my Resend provider, I connect it to my repository, but when I click on De...