-
-
Notifications
You must be signed in to change notification settings - Fork 501
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feat/node22
# Conflicts: # companion/lib/Instance/Host.ts # companion/package.json # tools/yarn.sh # yarn.lock
- Loading branch information
Showing
268 changed files
with
11,144 additions
and
23,329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,4 @@ Dockerfile | |
.prettier* | ||
dist | ||
*/dist | ||
module-legacy/entrypoints | ||
module-legacy/manifests | ||
.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,4 +93,3 @@ typings/ | |
!.yarn/releases | ||
!.yarn/sdks | ||
*/.yarn/* | ||
module-legacy/.yarnrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
diff --git a/index.ts b/index.ts | ||
deleted file mode 100644 | ||
index 10d7278164a7f5491685454a8f483c78702b501b..0000000000000000000000000000000000000000 | ||
--- a/index.ts | ||
+++ /dev/null | ||
@@ -1,31 +0,0 @@ | ||
-export * from './src/core'; | ||
-export * from './src/duplex'; | ||
-export { | ||
- PatchError as JsonPatchError, | ||
- _deepClone as deepClone, | ||
- escapePathComponent, | ||
- unescapePathComponent | ||
-} from './src/helpers'; | ||
- | ||
- | ||
-/** | ||
- * Default export for backwards compat | ||
- */ | ||
- | ||
-import * as core from './src/core'; | ||
-import * as duplex from './src/duplex'; | ||
-import { | ||
- PatchError as JsonPatchError, | ||
- _deepClone as deepClone, | ||
- escapePathComponent, | ||
- unescapePathComponent | ||
-} from './src/helpers'; | ||
- | ||
-export default { | ||
- ...core, | ||
- ...duplex, | ||
- JsonPatchError, | ||
- deepClone, | ||
- escapePathComponent, | ||
- unescapePathComponent | ||
-} | ||
\ No newline at end of file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Submodule bundled-modules
updated
691 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
declare module 'shuttle-control-usb' { | ||
import type { EventEmitter } from 'events' | ||
import type { HID } from 'node-hid' | ||
|
||
export interface ShuttleEvents { | ||
error: [Error] | ||
buttondown: [index: number, deviceId: string] | ||
buttonup: [index: number, deviceId: string] | ||
'jog-dir': [delta: number, deviceId: string] | ||
'shuttle-trans': [previous: number, current: number, deviceId: string] | ||
disconnected: [deviceId: string] | ||
} | ||
|
||
export interface ShuttleDeviceInfo { | ||
id: string | ||
path: string | ||
name: string | ||
hasShuttle: boolean | ||
hasJog: boolean | ||
numButtons: number | ||
} | ||
|
||
class Shuttle extends EventEmitter<ShuttleEvents> { | ||
readonly vids: Record<string, number> | ||
readonly pids: Record<string, number> | ||
|
||
start(watchUsb = true): void | ||
stop(): void | ||
|
||
getDeviceList(): ShuttleDeviceInfo[] | ||
|
||
getDeviceById(deviceId: string): ShuttleDeviceInfo | undefined | ||
getDeviceByPath(devicePath: string): ShuttleDeviceInfo | undefined | ||
getRawHidDevice(deviceId: string): HID | undefined | ||
|
||
connect(devicePath: string): void | ||
} | ||
|
||
export default new Shuttle() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
declare module 'vec-footpedal' { | ||
import type { EventEmitter } from 'events' | ||
import type { HID } from 'node-hid' | ||
|
||
export interface VecFootpedalEvents { | ||
error: [Error] | ||
buttondown: [index: number, deviceId: string] | ||
buttonup: [index: number, deviceId: string] | ||
disconnected: [deviceId: string] | ||
} | ||
|
||
export interface VecFootpedalDeviceInfo { | ||
id: string | ||
path: string | ||
name: string | ||
numButtons: number | ||
} | ||
|
||
class VecFootpedal extends EventEmitter<VecFootpedalEvents> { | ||
readonly vids: Record<string, number> | ||
readonly pids: Record<string, number> | ||
|
||
start(watchUsb = true): void | ||
stop(): void | ||
|
||
getDeviceList(): VecFootpedalDeviceInfo[] | ||
|
||
getDeviceById(deviceId: string): VecFootpedalDeviceInfo | undefined | ||
getDeviceByPath(devicePath: string): VecFootpedalDeviceInfo | undefined | ||
getRawHidDevice(deviceId: string): HID | undefined | ||
|
||
connect(devicePath: string): void | ||
} | ||
|
||
export default new VecFootpedal() | ||
} |
Oops, something went wrong.