refactor(设置): 站点配置去掉从来没人读的网址、简称、页脚三项和 AI 小助手开关
库里 options 表那几行旧值留着,没有代码再读。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ee649b81b1
commit
20a6f667d8
6 files changed
+4
-107
No files matched your search
@@ -1,14 +1,14 @@
|
||||
import { z } from "zod"
|
||||
|
||||
/**
|
||||
* 站点配置。网址、简称、页脚三项 2026-10-13 删了(前后端从来没读过,改了也看不到变化),
|
||||
* AI 小助手(MaxKB 挂件)连同开关一起删了。options 表里那几行旧值留着,没人读
|
||||
*/
|
||||
export const websiteConfigSchema = z.object({
|
||||
websiteBaseUrl: z.string(),
|
||||
websiteName: z.string(),
|
||||
websiteNameShortcut: z.string(),
|
||||
websiteFooter: z.string(),
|
||||
allowRegister: z.boolean(),
|
||||
submissionListShowAll: z.boolean(),
|
||||
classList: z.array(z.string()),
|
||||
enableMaxkb: z.boolean(),
|
||||
})
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user