[feat] added spec v2 import/export

This commit is contained in:
kwaroran
2023-05-12 23:40:34 +09:00
parent ece4163034
commit fc75e61974
2 changed files with 193 additions and 6 deletions

View File

@@ -223,6 +223,7 @@ export interface loreBook{
mode: 'multiple'|'constant'|'normal',
alwaysActive: boolean
selective:boolean
extentions?:{}
}
export interface character{
@@ -255,6 +256,12 @@ export interface character{
scenario:string
firstMsgIndex:number
loreSettings?:loreSettings
loreExt?:any
additionalData?: {
tag?:string[]
creator?:string
character_version?:number
}
}
@@ -264,6 +271,7 @@ export interface loreSettings{
recursiveScanning: boolean
}
export interface groupChat{
type: 'group'
image?:string