Add antiClaudeOverload option

This commit is contained in:
kwaroran
2024-04-06 05:45:16 +09:00
parent ad951bd045
commit b61baaa4ae
4 changed files with 63 additions and 3 deletions

View File

@@ -381,6 +381,7 @@ export function setDatabase(data:Database){
data.enabledModules ??= []
data.additionalParams ??= []
data.heightMode ??= 'normal'
data.antiClaudeOverload ??= false
changeLanguage(data.language)
DataBase.set(data)
@@ -614,6 +615,7 @@ export interface Database{
heightMode:string
useAdvancedEditor:boolean
noWaitForTranslate:boolean
antiClaudeOverload:boolean
}
export interface customscript{