base44-platform-entities
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 的提示词源编译而成;
源提交记录位于仓库根目录的 /SOURCE_COMMIT 中。对此处的编辑会被
下一次同步覆盖;请改为修改源文件。 -->
Base44 entities
Base44 实体
Entities are JSON-schema objects stored as ; writing the file is what defines the data model. The platform applies each entity's rules on every app-user request.
base44/entities/<Name>.jsoncrls实体是存储为 的 JSON Schema 对象;写入该文件即会定义数据模型。平台会在每次应用用户请求时应用每个实体的 规则。
base44/entities/<Name>.jsoncrlsPick 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.*先确定应用配置。调用 (通过 Base44 MCP 的
工具,或使用 Base44 CLI 令牌);该接口会返回框架、应用类型、运行时、
权限以及需要读取的确切参考文件。如果无法获取,则从项目文件中检测:
和 表明使用 TanStack Start; 表明是
原生移动应用(Expo);否则为 Vite SPA。
GET /api/apps/{app_id}/agent-profileexecute_apisrc/routes/__root.*src/routeTree.gen.tsapp/_layout.*For every app
对于每个应用
- Row-level security (RLS)
| Profile | Read |
|---|---|
| Web app, Vite SPA (the default web template) | Entities and the entity SDK (web apps) |
| Web app, TanStack Start | Entities and the entity SDK (web apps) |
| Native mobile app (Expo, React Native) | Entities and the entity SDK (mobile apps) |
- 行级安全(RLS)
| 应用配置 | 查阅 |
|---|---|
| Web 应用,Vite SPA(默认 Web 模板) | 实体与实体 SDK(Web 应用) |
| Web 应用,TanStack Start | 实体与实体 SDK(Web 应用) |
| 原生移动应用(Expo、React Native) | 实体与实体 SDK(移动应用) |