mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-27 18:22:41 -08:00
refactor(core): normalize service naming across app runtime
This commit is contained in:
@@ -22,7 +22,10 @@ export interface SubsyncEngineExecutionContext {
|
||||
alassPath: string;
|
||||
ffsubsyncPath: string;
|
||||
};
|
||||
runCommand: (command: string, args: string[]) => Promise<SubsyncCommandResult>;
|
||||
runCommand: (
|
||||
command: string,
|
||||
args: string[],
|
||||
) => Promise<SubsyncCommandResult>;
|
||||
}
|
||||
|
||||
export interface SubsyncEngineProvider {
|
||||
@@ -34,7 +37,10 @@ export interface SubsyncEngineProvider {
|
||||
|
||||
type SubsyncEngineProviderFactory = () => SubsyncEngineProvider;
|
||||
|
||||
const subsyncEngineProviderFactories = new Map<SubsyncEngine, SubsyncEngineProviderFactory>();
|
||||
const subsyncEngineProviderFactories = new Map<
|
||||
SubsyncEngine,
|
||||
SubsyncEngineProviderFactory
|
||||
>();
|
||||
|
||||
export function registerSubsyncEngineProvider(
|
||||
engine: SubsyncEngine,
|
||||
|
||||
Reference in New Issue
Block a user