@lvce-editor/test-worker 13.24.0 → 13.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +2 -0
- package/dist/testWorkerMain.js +8 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -198,7 +198,9 @@ interface Chat {
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
interface ChatDebug {
|
|
201
|
+
readonly appendStoredEventForTest: (event: any) => Promise<void>;
|
|
201
202
|
readonly closeDetails: () => Promise<void>;
|
|
203
|
+
readonly handleClickRefresh: () => Promise<void>;
|
|
202
204
|
readonly handleInput: (name: ChatDebugInputName, value: string, checked: boolean) => Promise<void>;
|
|
203
205
|
readonly open: (sessionId: string) => Promise<void>;
|
|
204
206
|
readonly openTabPreview: () => Promise<void>;
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -2010,9 +2010,17 @@ const openTabTiming = async () => {
|
|
|
2010
2010
|
const setSessionId = async sessionId => {
|
|
2011
2011
|
await invoke('ChatDebug.setSessionId', sessionId);
|
|
2012
2012
|
};
|
|
2013
|
+
const appendStoredEventForTest = async event => {
|
|
2014
|
+
await invoke('ChatDebug.appendStoredEventForTest', event);
|
|
2015
|
+
};
|
|
2016
|
+
const handleClickRefresh = async () => {
|
|
2017
|
+
await invoke('ChatDebug.handleClickRefresh');
|
|
2018
|
+
};
|
|
2013
2019
|
|
|
2014
2020
|
const ChatDebug = {
|
|
2021
|
+
appendStoredEventForTest,
|
|
2015
2022
|
closeDetails,
|
|
2023
|
+
handleClickRefresh,
|
|
2016
2024
|
handleInput: handleInput$7,
|
|
2017
2025
|
open: open$9,
|
|
2018
2026
|
openTabPreview,
|