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

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

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

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

export default CustomersModuleManifiest;
