UNPKG

@notadd/injection

Version:

Notadd Injection Package.

26 lines (25 loc) 907 B
import { Result } from "@notadd/core/interfaces"; import { Module } from "../interfaces"; import { ModuleService } from "../services/module.service"; export declare class ModuleResolvers { private readonly moduleService; constructor(moduleService: ModuleService); disableModule(context: any, args: { identification: string; }): Promise<Result | undefined>; enableModule(context: any, args: { identification: string; }): Promise<Result | undefined>; getModule(context: any, args: { identification: string; }): Promise<Module | undefined>; getModules(context: any, args: { filters: any; }): Promise<Array<Module>>; installModule(context: any, args: { identification: string; }): Promise<Result | undefined>; uninstallModule(context: any, args: { identification: string; }): Promise<Result | undefined>; }