@lark-apaas/coding-steering 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -31,8 +31,8 @@ server/ # 符合 NestJS 项目基本规范
|
|
|
31
31
|
│ ├── hello.controller.ts # controller 示例
|
|
32
32
|
│ ├── hello.module.ts # module 示例
|
|
33
33
|
│ └── hello.service.ts # service 示例(可选)
|
|
34
|
-
├── database/ # Drizzle ORM
|
|
35
|
-
│ ├── schema.ts # Drizzle ORM 数据库 Schema 定义。必须从该文件导入数据库类型,禁止自行编写或修改
|
|
34
|
+
├── database/ # Drizzle ORM 数据库相关。表结构变更(DDL)用 `lark-cli apps +db-execute` 执行,再 npm run gen:db-schema 根据数据库重新生成 schema.ts。
|
|
35
|
+
│ ├── schema.ts # Drizzle ORM 数据库 Schema 定义。必须从该文件导入数据库类型,禁止自行编写或修改 — 由 npm run gen:db-schema 根据数据库重新生成。
|
|
36
36
|
└── common/ # 共享工具和接口
|
|
37
37
|
│ ├── filters/ # 通用错误处理。
|
|
38
38
|
│ ├── constants/ # 通用常量。
|