@lvce-editor/test-worker 13.12.0 → 13.13.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 +8 -0
- package/dist/testWorkerMain.js +492 -459
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -132,12 +132,17 @@ interface Chat {
|
|
|
132
132
|
readonly deleteSessionAtIndex: (index: number) => Promise<void>;
|
|
133
133
|
readonly enterNewLine: () => Promise<void>;
|
|
134
134
|
readonly getSelectedSessionId: () => Promise<string>;
|
|
135
|
+
readonly handleChatListContextMenu: (eventX: number, eventY: number) => Promise<void>;
|
|
135
136
|
readonly handleClickBack: () => Promise<void>;
|
|
136
137
|
readonly handleClickClose: () => Promise<void>;
|
|
137
138
|
readonly handleClickDelete: () => Promise<void>;
|
|
138
139
|
readonly handleClickNew: () => Promise<void>;
|
|
139
140
|
readonly handleClickSettings: () => Promise<void>;
|
|
140
141
|
readonly handleInput: (text: string) => Promise<void>;
|
|
142
|
+
readonly handleInputCopy: () => Promise<void>;
|
|
143
|
+
readonly handleInputCut: () => Promise<void>;
|
|
144
|
+
readonly handleInputFocus: () => Promise<void>;
|
|
145
|
+
readonly handleInputPaste: () => Promise<void>;
|
|
141
146
|
readonly handleModelChange: (modelId: string) => Promise<void>;
|
|
142
147
|
readonly handleSubmit: () => Promise<void>;
|
|
143
148
|
readonly mockBackendAuthResponse: (response: any) => Promise<void>;
|
|
@@ -151,6 +156,9 @@ interface Chat {
|
|
|
151
156
|
readonly reset: () => Promise<void>;
|
|
152
157
|
readonly selectIndex: (index: number) => Promise<void>;
|
|
153
158
|
readonly setAuthEnabled: (enabled: boolean) => Promise<void>;
|
|
159
|
+
readonly setBackendUrl: (url: string) => Promise<void>;
|
|
160
|
+
readonly setNewChatModelPickerEnabled: (enabled: boolean) => Promise<void>;
|
|
161
|
+
readonly setSearchEnabled: (enabled: boolean) => Promise<void>;
|
|
154
162
|
readonly setStreamingEnabled: (enabled: boolean) => Promise<void>;
|
|
155
163
|
readonly show: () => Promise<void>;
|
|
156
164
|
readonly useMockApi: () => Promise<void>;
|