feat(notifications): 新增通知偏好、模板预览与测试发送
- notifications/config: 持久化通知时机、显示字段和模板,提供预览与确认测试接口 - prisma: 新增通知配置表及版本校验迁移 - notifications/wecom: 发布与重试共用模板,校验企微业务响应并补充回归测试
This commit is contained in:
@@ -322,6 +322,16 @@ model AgentInvocation {
|
||||
@@map("agent_invocations")
|
||||
}
|
||||
|
||||
model NotificationConfig {
|
||||
id String @id @default("system")
|
||||
preferences Json
|
||||
version Int @default(1)
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
@@map("notification_configs")
|
||||
}
|
||||
|
||||
model OutboxMessage {
|
||||
id String @id @default(cuid())
|
||||
deployRunId String?
|
||||
|
||||
Reference in New Issue
Block a user