Tool select merge

This commit is contained in:
Connor Yoh 2025-08-19 14:08:22 +01:00
parent 522084001c
commit d9547ecd20

View File

@ -10,6 +10,7 @@ import ChangePermissions from '../tools/ChangePermissions';
import RemovePassword from '../tools/RemovePassword'; import RemovePassword from '../tools/RemovePassword';
import { SubcategoryId, ToolCategory, ToolRegistry } from './toolsTaxonomy'; import { SubcategoryId, ToolCategory, ToolRegistry } from './toolsTaxonomy';
import AddWatermark from '../tools/AddWatermark'; import AddWatermark from '../tools/AddWatermark';
import Automate from '../tools/Automate';
// Hook to get the translated tool registry // Hook to get the translated tool registry
export function useFlatToolRegistry(): ToolRegistry { export function useFlatToolRegistry(): ToolRegistry {
@ -335,11 +336,13 @@ export function useFlatToolRegistry(): ToolRegistry {
"automate": { "automate": {
icon: <span className="material-symbols-rounded">automation</span>, icon: <span className="material-symbols-rounded">automation</span>,
name: t("home.automate.title", "Automate"), name: t("home.automate.title", "Automate"),
component: null, component: Automate,
view: "format", view: "format",
description: t("home.automate.desc", "Build multi-step workflows by chaining together PDF actions. Ideal for recurring tasks."), description: t("home.automate.desc", "Build multi-step workflows by chaining together PDF actions. Ideal for recurring tasks."),
category: ToolCategory.ADVANCED_TOOLS, category: ToolCategory.ADVANCED_TOOLS,
subcategory: SubcategoryId.AUTOMATION subcategory: SubcategoryId.AUTOMATION,
maxFiles: -1,
endpoints: ["handleData"]
}, },
"auto-rename-pdf-file": { "auto-rename-pdf-file": {
icon: <span className="material-symbols-rounded">match_word</span>, icon: <span className="material-symbols-rounded">match_word</span>,