@lvce-editor/test-worker 13.11.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 +10 -0
- package/dist/testWorkerMain.js +527 -466
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -132,14 +132,20 @@ 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>;
|
|
148
|
+
readonly mockBackendAuthResponse: (response: any) => Promise<void>;
|
|
143
149
|
readonly mockOpenAiResponse: (options: MockOpenAiResponseOptions) => Promise<void>;
|
|
144
150
|
readonly mockOpenApiRequestGetAll: () => Promise<readonly any[]>;
|
|
145
151
|
readonly mockOpenApiRequestReset: () => Promise<void>;
|
|
@@ -149,6 +155,10 @@ interface Chat {
|
|
|
149
155
|
readonly rerender: () => Promise<void>;
|
|
150
156
|
readonly reset: () => Promise<void>;
|
|
151
157
|
readonly selectIndex: (index: number) => Promise<void>;
|
|
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>;
|
|
152
162
|
readonly setStreamingEnabled: (enabled: boolean) => Promise<void>;
|
|
153
163
|
readonly show: () => Promise<void>;
|
|
154
164
|
readonly useMockApi: () => Promise<void>;
|