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
- Worker functions stuck on "Fetched 0 fun...
Appwrite Version: 1.9.0 Bug Description: The appwrite-worker-functions container gets stuck in an infinite loop logging "Fetched 0 functions..." while scheduled...
- I am using s3 for app storage but is it ...
_APP_STORAGE_DEVICE=s3 puts everything to the s3 storage but i need to be able to keep the function builds and site in the local and not waste the cloud storage...
- Local Serverless Function Testing: Are D...
I have followed the instructions to get the CLI working, and have been able to log-in, initialize my project, and created a simple Python function, which calls ...