From d31131dc3333e07b90c1d4f566bb612552b7c243 Mon Sep 17 00:00:00 2001 From: JohnDoe6345789 Date: Fri, 26 Dec 2025 06:16:56 +0000 Subject: [PATCH] code: hpp,dbal,cpp (2 files) --- dbal/cpp/include/dbal/core/client.hpp | 3 +++ dbal/cpp/src/entities/component/index.hpp | 1 + 2 files changed, 4 insertions(+) diff --git a/dbal/cpp/include/dbal/core/client.hpp b/dbal/cpp/include/dbal/core/client.hpp index e3e363338..9dc84f96a 100644 --- a/dbal/cpp/include/dbal/core/client.hpp +++ b/dbal/cpp/include/dbal/core/client.hpp @@ -62,6 +62,9 @@ public: Result> getComponentTree(const std::string& page_id); Result reorderComponents(const std::vector& updates); Result moveComponent(const MoveComponentInput& input); + Result> searchComponents(const std::string& query, + const std::optional& page_id = std::nullopt, + int limit = 20); Result createWorkflow(const CreateWorkflowInput& input); Result getWorkflow(const std::string& id); diff --git a/dbal/cpp/src/entities/component/index.hpp b/dbal/cpp/src/entities/component/index.hpp index 859b21c6e..d5a9a5d3d 100644 --- a/dbal/cpp/src/entities/component/index.hpp +++ b/dbal/cpp/src/entities/component/index.hpp @@ -9,5 +9,6 @@ #include "crud/reorder_components.hpp" #include "crud/move_component.hpp" #include "crud/get_tree.hpp" +#include "crud/search_components.hpp" #endif