feat: add lua edits

This commit is contained in:
kwaroran
2024-06-30 23:09:28 +09:00
parent d5d3c9f423
commit 5ea1f87f53
5 changed files with 129 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
import DOMPurify from 'isomorphic-dompurify';
import { Marked } from 'marked';
import { DataBase, setDatabase, type Database, type Message, type character, type customscript, type groupChat } from './storage/database';
import { DataBase, setDatabase, type Database, type Message, type character, type customscript, type groupChat, type triggerscript } from './storage/database';
import { getFileSrc } from './storage/globalApi';
import { processScriptFull } from './process/scripts';
import { get } from 'svelte/store';
@@ -171,6 +171,7 @@ export interface simpleCharacterArgument{
chaId: string,
virtualscript?: string
emotionImages?: [string, string][]
triggerscript?: triggerscript[]
}