blob: fd69a69b780915c72ff0d781b7f0116522c7f498 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import { injectable } from "tsyringe";
import AddonEnabledUseCase from "../usecases/AddonEnabledUseCase";
@injectable()
export default class AddonEnabledController {
constructor(private addonEnabledUseCase: AddonEnabledUseCase) {}
indicate(enabled: boolean): Promise<void> {
return this.addonEnabledUseCase.indicate(enabled);
}
}
|