import { api } from "src/boot/axios";
import type { BackendResponse } from "src/modules/shared/models/backend-response.models";
import type { UserModuleAccess } from "src/modules/shared/models/user.models";

export const HelpService = {
    getHelpModules: async (): Promise<BackendResponse<UserModuleAccess[]>> => {
        const response = await api.get<BackendResponse<UserModuleAccess[]>>(`/help`);
        return response.data;
    }
}