Add JSON Schema

This commit is contained in:
kwaroran
2024-09-11 06:08:21 +09:00
parent 09b3859006
commit 5b6c3e0d04
6 changed files with 273 additions and 10 deletions

View File

@@ -435,6 +435,7 @@ export function setDatabase(data:Database){
data.falModel ??= 'fal-ai/flux/dev'
data.falLoraScale ??= 1
data.customCSS ??= ''
data.strictJsonSchema ??= true
changeLanguage(data.language)
DataBase.set(data)
}
@@ -729,6 +730,10 @@ export interface Database{
moduleIntergration: string
customCSS: string
betaMobileGUI:boolean
jsonSchemaEnabled:boolean
jsonSchema:string
strictJsonSchema:boolean
extractJson:string
}
export interface customscript{