@lvce-editor/test-worker 7.8.0 → 7.9.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 +10 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -219,6 +219,8 @@ interface Explorer {
|
|
|
219
219
|
readonly cancelEdit: () => Promise<void>;
|
|
220
220
|
readonly clickCurrent: () => Promise<void>;
|
|
221
221
|
readonly collapseAll: () => Promise<void>;
|
|
222
|
+
readonly copyPath: () => Promise<void>;
|
|
223
|
+
readonly copyRelativePath: () => Promise<void>;
|
|
222
224
|
readonly expandAll: () => Promise<void>;
|
|
223
225
|
readonly expandRecursively: () => Promise<void>;
|
|
224
226
|
readonly focus: () => Promise<void>;
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -2278,6 +2278,14 @@ const newFile = async () => {
|
|
|
2278
2278
|
const newFolder = async () => {
|
|
2279
2279
|
await invoke$1('Explorer.newFolder');
|
|
2280
2280
|
};
|
|
2281
|
+
const copyPath$1 = async () => {
|
|
2282
|
+
// @ts-ignore
|
|
2283
|
+
await invoke$1('Explorer.copyPath');
|
|
2284
|
+
};
|
|
2285
|
+
const copyRelativePath = async () => {
|
|
2286
|
+
// @ts-ignore
|
|
2287
|
+
await invoke$1('Explorer.copyRelativePath');
|
|
2288
|
+
};
|
|
2281
2289
|
const handleClick$1 = async index => {
|
|
2282
2290
|
await invoke$1('Explorer.handleClick', index);
|
|
2283
2291
|
};
|
|
@@ -2339,6 +2347,8 @@ const Explorer = {
|
|
|
2339
2347
|
cancelEdit,
|
|
2340
2348
|
clickCurrent,
|
|
2341
2349
|
collapseAll: collapseAll$2,
|
|
2350
|
+
copyPath: copyPath$1,
|
|
2351
|
+
copyRelativePath,
|
|
2342
2352
|
expandAll,
|
|
2343
2353
|
expandRecursively,
|
|
2344
2354
|
focus: focus$1,
|