base44-platform-backend-functions
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<!-- GENERATED FILE. DO NOT EDIT. Compiled from the Base44 builder's prompt sources; the
source commit is in /SOURCE_COMMIT at the repository root. Edits here are overwritten by
the next sync; change the source instead. -->
<!-- 生成文件,请勿编辑。由 Base44 builder 的 prompt sources 编译而成;
源提交记录位于 repository root 的 /SOURCE_COMMIT。此处的修改会被
下一次 sync 覆盖;请改为修改源文件。 -->
Base44 backend functions
Base44 后端函数
A Vite SPA app runs server code as backend functions; a TanStack Start app runs it as server functions and server routes inside its own project. Writing the file deploys it.
Requires the Builder plan or above. The workspace's entitlement is reported by the agent-profile endpoint; on a lower plan the platform rejects the deploy.
Vite SPA 应用将服务端代码作为后端函数运行;TanStack Start 应用则将其作为项目内部的 server functions 和 server routes 运行。写入文件即会完成部署。
需要 Builder plan 或更高套餐。 workspace 的 entitlement 由 agent-profile endpoint 返回;如果套餐等级较低,平台会拒绝部署。
Pick the reference for this app
为此应用选择参考资料
Determine the app profile first. Call (over the Base44 MCP
tool, or with your Base44 CLI token); it returns the framework, app type, runtime,
entitlements and the exact reference files to read. Without it, detect from the project files:
and mean TanStack Start; means a
native mobile (Expo) app; otherwise it is a Vite SPA.
GET /api/apps/{app_id}/agent-profileexecute_apisrc/routes/__root.*src/routeTree.gen.tsapp/_layout.*| Profile | Read |
|---|---|
| Web app, Vite SPA (the default web template) | Backend functions (Vite SPA) |
| Web app, TanStack Start | Server functions and server routes (TanStack Start) |
| Native mobile app (Expo, React Native) | Backend functions (mobile apps) |
首先确定 app profile。调用 (通过 Base44 MCP 的
tool,或使用 Base44 CLI token);该接口会返回 framework、app type、runtime、
entitlements 以及需要读取的确切 reference files。如果没有该接口,则根据 project files 检测:
和 表示 TanStack Start; 表示
原生移动应用(Expo);否则为 Vite SPA。
GET /api/apps/{app_id}/agent-profileexecute_apisrc/routes/__root.*src/routeTree.gen.tsapp/_layout.*| App profile | 读取 |
|---|---|
| Web 应用,Vite SPA(默认 Web 模板) | 后端函数(Vite SPA) |
| Web 应用,TanStack Start | Server functions 和 server routes(TanStack Start) |
| 原生移动应用(Expo、React Native) | 后端函数(移动应用) |