diff options
Diffstat (limited to 'src/background/controllers')
-rw-r--r-- | src/background/controllers/FindController.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/background/controllers/FindController.ts b/src/background/controllers/FindController.ts new file mode 100644 index 0000000..0772866 --- /dev/null +++ b/src/background/controllers/FindController.ts @@ -0,0 +1,11 @@ +import { injectable } from "tsyringe"; +import StartFindUseCase from "../usecases/StartFindUseCase"; + +@injectable() +export default class FindController { + constructor(private startFindUseCase: StartFindUseCase) {} + + startFind(tabId: number, keyword?: string): Promise<void> { + return this.startFindUseCase.startFind(tabId, keyword); + } +} |