feat: chaite 初始化逻辑

This commit is contained in:
ikechan8370 2025-03-10 23:08:23 +08:00
parent 88312cdf38
commit fbcf4e6c08
16 changed files with 549 additions and 1269 deletions

View file

@ -137,7 +137,7 @@ export class LowDBCollection {
/**
* 创建新文档
* @param {Object} doc 要插入的文档
* @returns {Promise<Object>} 插入的文档带ID
* @returns {Promise<Object & {id: string}>} 插入的文档带ID
*/
async insert (doc) {
// 生成唯一ID如果没有提供