英文:
How to write appwrite.json for dart ? with function that has (execution permission, env variables )
问题
以下是翻译好的部分:
我需要一个使用 Dart 作为运行时,并具有具有执行权限的函数和环境变量的 appwrite.json 的示例。
我尝试使用 appwrite CLI 创建环境变量,但它没有显示在 appwrite.json 文件中。
英文:
I need an example of appwrite.json that uses dart as run time and has function with execution permission, env variables
I tried appwrite cli to create a env variable but not showing in the appwrite.json file.
答案1
得分: 1
{
"It should look something like:": "应该看起来像这样:",
"For more info, refer to the appwrite.json docs.": "更多信息,请参考appwrite.json文档。"
}
英文:
It should look something like:
{
"$id": "123asdf",
"runtime": "dart-2.17",
// ... other stuff
"execute": ["users"],
"variables": {
"FIRST_VAR": "value",
"SECOND_VAR": "value"
}
}
For more info, refer to the appwrite.json docs.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论