feat: module lorebook sort, import, export (#822)
# PR Checklist - [ ] Have you checked if it works normally in all models? *Ignore this if it doesn't use models.* - [ ] Have you checked if it works normally in all web, local, and node hosted versions? If it doesn't, have you blocked it in those versions? - [x] Have you added type definitions? # Description This PR adds sorting, import, and export functionality to the Module Lorebook list. I focused on preserving the existing code structure as much as possible while implementing these changes. Thank you for your time and review!
This commit is contained in:
@@ -516,7 +516,7 @@ export async function importLoreBook(mode:'global'|'local'|'sglobal'){
|
||||
}
|
||||
}
|
||||
|
||||
interface CCLorebook{
|
||||
export interface CCLorebook{
|
||||
key:string[]
|
||||
comment:string
|
||||
content:string
|
||||
|
||||
Reference in New Issue
Block a user