feat: 新增CWD评论系统前后端代码及文档
refactor: 移除旧版评论系统代码并重构为Vue3前端 docs: 更新后端配置文档说明 fix: 修复评论提交频率限制和邮件通知逻辑 style: 格式化代码并优化样式 test: 添加Vitest测试配置 build: 更新依赖项和构建配置 chore: 清理无用文件和缓存
This commit is contained in:
13
cwd-comments-api/src/bindings.ts
Normal file
13
cwd-comments-api/src/bindings.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export type Bindings = {
|
||||
CWD_DB: D1Database
|
||||
CWD_AUTH_KV: KVNamespace;
|
||||
CWD_CONFIG_KV?: KVNamespace;
|
||||
ALLOW_ORIGIN: string
|
||||
CF_FROM_EMAIL?: string
|
||||
SEND_EMAIL?: {
|
||||
send: (message: any) => Promise<any>
|
||||
}
|
||||
EMAIL_ADDRESS?: string
|
||||
ADMIN_NAME: string
|
||||
ADMIN_PASSWORD: string
|
||||
}
|
||||
Reference in New Issue
Block a user