/* eslint-disable max-len */ import { LocalSettingRepository, SyncSettingRepository, } from "./repositories/SettingRepository"; import { NotifierImpl } from "./presenters/Notifier"; import { CachedSettingRepositoryImpl } from "./repositories/CachedSettingRepository"; import { container } from "tsyringe"; import HistoryRepositoryImpl from "./completion/impl/HistoryRepositoryImpl"; import BookmarkRepositoryImpl from "./completion/impl/BookmarkRepositoryImpl"; import TabRepositoryImpl from "./completion/impl/TabRepositoryImpl"; import { TabPresenterImpl } from "./presenters/TabPresenter"; container.register("LocalSettingRepository", { useValue: LocalSettingRepository, }); container.register("SyncSettingRepository", { useClass: SyncSettingRepository, }); container.register("CachedSettingRepository", { useClass: CachedSettingRepositoryImpl, }); container.register("Notifier", { useClass: NotifierImpl }); container.register("HistoryRepository", { useClass: HistoryRepositoryImpl }); container.register("BookmarkRepository", { useClass: BookmarkRepositoryImpl }); container.register("TabRepository", { useClass: TabRepositoryImpl }); container.register("TabPresenter", { useClass: TabPresenterImpl });