Add merge tool to new registry

This commit is contained in:
James Brunton 2025-08-19 16:56:06 +01:00
parent 8dcf820a01
commit 47c9110139

View File

@ -10,6 +10,7 @@ import ChangePermissions from '../tools/ChangePermissions';
import RemovePassword from '../tools/RemovePassword';
import { SubcategoryId, ToolCategoryId, ToolRegistry } from './toolsTaxonomy';
import AddWatermark from '../tools/AddWatermark';
import Merge from '../tools/Merge';
import Repair from '../tools/Repair';
import SingleLargePage from '../tools/SingleLargePage';
import UnlockPdfForms from '../tools/UnlockPdfForms';
@ -628,12 +629,13 @@ export function useFlatToolRegistry(): ToolRegistry {
"mergePdfs": {
icon: <span className="material-symbols-rounded">library_add</span>,
name: t("home.merge.title", "Merge"),
component: null,
component: Merge,
view: "merge",
description: t("home.merge.desc", "Merge multiple PDFs into a single document"),
categoryId: ToolCategoryId.RECOMMENDED_TOOLS,
subcategoryId: SubcategoryId.GENERAL,
maxFiles: -1
maxFiles: -1,
endpoints: ["merge-pdfs"],
},
"multi-tool": {
icon: <span className="material-symbols-rounded">dashboard_customize</span>,