Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
fakoua committed Dec 29, 2023
1 parent d6c97a7 commit 9fa21f9
Show file tree
Hide file tree
Showing 26 changed files with 417 additions and 963 deletions.
10 changes: 0 additions & 10 deletions fix-cov.ts

This file was deleted.

294 changes: 0 additions & 294 deletions lcov.info

This file was deleted.

2 changes: 1 addition & 1 deletion mod_clipboard.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { setText } from "./src/clipboardActions.ts"
export { setText, clear } from "./src/clipboard-actions.ts"
4 changes: 2 additions & 2 deletions mod_keyboard.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export {sendKey, typing, copy, cut, paste, selectAll} from "./src/keyboardActions.ts"
export { Key } from "./src/models/Keys.ts";
export {sendKey, typing, copy, cut, paste, selectAll} from "./src/keyboard-actions.ts"
export { Key } from "./src/models/keyboard.ts";
2 changes: 1 addition & 1 deletion mod_mouse.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export {left, right, middle, setCursor} from "./src/mouseActions.ts"
export {left, right, middle, setCursor} from "./src/mouse-actions.ts"
10 changes: 9 additions & 1 deletion mod_window.ts
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
export {byProcessId, byProcessName, byTitleContains, byTitleEndsWith, byTitleExact, byTitleStartsWith} from "./src/windowActions.ts"
export {
byProcessId,
byProcessName,
byTitleContains,
byTitleEndsWith,
byTitleExact,
byTitleStartsWith,
activeWindow,
} from "./src/window-actions.ts";
File renamed without changes.
5 changes: 1 addition & 4 deletions src/keyboardActions.ts → src/keyboard-actions.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ASCII_VCODE, Key } from "./models/Keys.ts";
import { ASCII_VCODE, Key } from "./models/keyboard.ts";
import * as nirCmd from "./nirCmd.ts";


/**
* Sends keyboard input.
* @date 12/26/2023 - 4:30:08 PM
Expand Down Expand Up @@ -42,7 +41,6 @@ export async function sendKey(
return res;
}


/**
* Type an input string using sendKeys
* @date 12/26/2023 - 4:35:03 PM
Expand All @@ -68,7 +66,6 @@ export async function typing(text: string): Promise<void> {
}
}


/**
* Simulate Ctrl + X: Cut
* @date 12/27/2023 - 9:38:36 PM
Expand Down
6 changes: 0 additions & 6 deletions src/models/AsciiVCodeModel.ts

This file was deleted.

31 changes: 0 additions & 31 deletions src/models/MouseButton.ts

This file was deleted.

Loading

0 comments on commit 9fa21f9

Please sign in to comment.