Browse Source

📝 docs(commands): add documentation for generic-crud-public-reg command

- add description for "通用curd公共只读路由注册指令"
- document routing registration location: src/server/api.ts
- document client API method creation location: src/client/api.ts
- note requirement for "public" prefix in routes
yourname 4 months ago
parent
commit
8d0cb43e74
1 changed files with 11 additions and 0 deletions
  1. 11 0
      .roo/commands/generic-crud-public-reg.md

+ 11 - 0
.roo/commands/generic-crud-public-reg.md

@@ -0,0 +1,11 @@
+---
+description: "通用curd公共只读路由注册指令"
+---
+
+按通用curd开发规范进行公共只读路由注册
+
+
+注册路由到API   src/server/api.ts
+创建客户端API调用方法   src/client/api.ts
+
+注意: 需要 public 前缀