feat: 添加 flowme-channel 功能,包括获取、创建、更新和删除接口;更新 flowme 列表接口以支持时间范围和类型过滤

This commit is contained in:
2026-03-12 00:55:42 +08:00
parent 61a809ecd7
commit 99141a926e
4 changed files with 41 additions and 17 deletions

View File

@@ -45,7 +45,7 @@ export const flowme = pgTable("flowme", {
data: jsonb().default({}),
channelId: uuid().references(() => flowmeChannels.id, { onDelete: 'set null' }),
type: text('type').default(''),
type: text('type').default(''), // muse,
source: text('source').default(''),
importance: integer('importance').default(0), // 重要性等级
isArchived: boolean('isArchived').default(false), // 是否归档