소스 검색

📝 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 3 달 전
부모
커밋
8d0cb43e74
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  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 前缀