@lvce-editor/test-worker 7.8.0 → 7.10.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 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>;
@@ -1036,6 +1036,8 @@ const WebWorkerRpcClient = {
1036
1036
 
1037
1037
  const Directory = 3;
1038
1038
 
1039
+ const Script$1 = 2;
1040
+
1039
1041
  const Web = 1;
1040
1042
  const Electron = 2;
1041
1043
  const Remote = 3;
@@ -2278,6 +2280,14 @@ const newFile = async () => {
2278
2280
  const newFolder = async () => {
2279
2281
  await invoke$1('Explorer.newFolder');
2280
2282
  };
2283
+ const copyPath$1 = async () => {
2284
+ // @ts-ignore
2285
+ await invoke$1('Explorer.copyPath');
2286
+ };
2287
+ const copyRelativePath = async () => {
2288
+ // @ts-ignore
2289
+ await invoke$1('Explorer.copyRelativePath');
2290
+ };
2281
2291
  const handleClick$1 = async index => {
2282
2292
  await invoke$1('Explorer.handleClick', index);
2283
2293
  };
@@ -2339,6 +2349,8 @@ const Explorer = {
2339
2349
  cancelEdit,
2340
2350
  clickCurrent,
2341
2351
  collapseAll: collapseAll$2,
2352
+ copyPath: copyPath$1,
2353
+ copyRelativePath,
2342
2354
  expandAll,
2343
2355
  expandRecursively,
2344
2356
  focus: focus$1,
@@ -3486,7 +3498,8 @@ const acceptInput = async () => {
3486
3498
  await invoke$1('Source Control.acceptInput');
3487
3499
  };
3488
3500
  const handleInput = async text => {
3489
- await invoke$1('Source Control.handleInput', text);
3501
+ // @ts-ignore
3502
+ await invoke$1('Source Control.handleInput', text, Script$1);
3490
3503
  };
3491
3504
  const handleClickSourceControlButtons = async (index, name) => {
3492
3505
  await invoke$1('Source Control.handleClickSourceControlButtons', index, name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "7.8.0",
3
+ "version": "7.10.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",