aboutsummaryrefslogtreecommitdiff
path: root/src/background/usecases
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/usecases')
-rw-r--r--src/background/usecases/ReadyFrameUseCase.ts18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/background/usecases/ReadyFrameUseCase.ts b/src/background/usecases/ReadyFrameUseCase.ts
deleted file mode 100644
index 81bee0c..0000000
--- a/src/background/usecases/ReadyFrameUseCase.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { inject, injectable } from "tsyringe";
-import ReadyFrameRepository from "../repositories/ReadyFrameRepository";
-
-@injectable()
-export default class ReadyFrameUseCase {
- constructor(
- @inject("ReadyFrameRepository")
- private readonly frameRepository: ReadyFrameRepository
- ) {}
-
- async addReadyFrame(tabId: number, frameId: number): Promise<void> {
- return this.frameRepository.addFrameId(tabId, frameId);
- }
-
- async clearReadyFrame(tabId: number): Promise<void> {
- return this.frameRepository.clearFrameIds(tabId);
- }
-}