import { IModuleClient, ModuleClientParams } from "@erp/core/client";
import { CustomerInvoiceRoutes } from "./customer-invoice-routes";

export const MODULE_NAME = "CustomerInvoices";
const MODULE_VERSION = "1.0.0";

export const CustomerInvoicesModuleManifiest: IModuleClient = {
  name: MODULE_NAME,
  version: MODULE_VERSION,
  dependencies: ["auth", "Core", "Customers"],
  protected: true,
  layout: "app",

  routes: (params: ModuleClientParams) => {
    return CustomerInvoiceRoutes(params);
  },
};

export default CustomerInvoicesModuleManifiest;
