Skip to content

Commit

Permalink
Refactor location for runners
Browse files Browse the repository at this point in the history
  • Loading branch information
BOLL7708 committed Apr 21, 2024
1 parent b484501 commit 7cb7901
Show file tree
Hide file tree
Showing 39 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionAudio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class ActionAudio extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionAudioRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionAudioRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionAudio>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionChat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class ActionChat extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionChatRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionChatRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionChat>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionCustom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class ActionCustom extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionCustomRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionCustomRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionCustom>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionDiscord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class ActionDiscord extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionDiscordRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionDiscordRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionDiscord>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class ActionInput extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionInputRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionInputRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionInput>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class ActionLabel extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionLabelRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionLabelRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionLabel>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionMoveVRSpace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class ActionMoveVRSpace extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionMoveVRSpaceRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionMoveVRSpaceRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionMoveVRSpace>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionOBS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default class ActionOBS extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionOBSRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionOBSRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionOBS>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionPhilipsHueBulb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class ActionPhilipsHueBulb extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionPhilipsHueBulbRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionPhilipsHueBulbRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionPhilipsHueBulb>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionPhilipsHuePlug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class ActionPhilipsHuePlug extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionPhilipsHuePlugRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionPhilipsHuePlugRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionPhilipsHuePlug>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionPipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default class ActionPipe extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionPipeRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionPipeRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionPipe>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionRemoteCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class ActionRemoteCommand extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionRemoteCommandRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionRemoteCommandRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionRemoteCommand>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionScreenshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default class ActionScreenshot extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionScreenshotRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionScreenshotRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionScreenshot>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionSettingTTS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class ActionSettingTTS extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionSettingTTSRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionSettingTTSRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionSettingTTS>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionSettingVR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class ActionSettingVR extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionSettingVRRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionSettingVRRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionSettingVR>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionSign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class ActionSign extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionSignRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionSignRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionSign>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionSpeech.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default class ActionSpeech extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionSpeechRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionSpeechRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionSpeech>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class ActionSystem extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionSystemRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionSystemRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionSystem>(key, this)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/Shared/Objects/Data/Action/ActionURI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default class ActionURI extends AbstractAction {
}

async build(key: string): Promise<IActionCallback> {
const runner = await import('../../../../Server/Objects/Data/ActionURIRunner.js')
const runner = await import('../../../../Server/Runners/Action/ActionURIRunner.js')
const instance = new runner.default()
return instance.getCallback<ActionURI>(key, this)
}
Expand Down

0 comments on commit 7cb7901

Please sign in to comment.