aboutsummaryrefslogtreecommitdiff
path: root/src/background/usecases/find.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/usecases/find.js')
-rw-r--r--src/background/usecases/find.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/background/usecases/find.js b/src/background/usecases/find.js
new file mode 100644
index 0000000..eae480d
--- /dev/null
+++ b/src/background/usecases/find.js
@@ -0,0 +1,15 @@
+import FindRepository from '../repositories/find';
+
+export default class FindInteractor {
+ constructor() {
+ this.findRepository = new FindRepository();
+ }
+
+ getKeyword() {
+ return this.findRepository.getKeyword();
+ }
+
+ setKeyword(keyword) {
+ return this.findRepository.setKeyword(keyword);
+ }
+}