From 79fdc08bde42fd6e45a03e69a3e69ff8420fd806 Mon Sep 17 00:00:00 2001 From: JohnDoe6345789 Date: Fri, 26 Dec 2025 05:54:05 +0000 Subject: [PATCH] code: types,hpp,dbal (1 files) --- dbal/cpp/include/dbal/core/types.hpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/dbal/cpp/include/dbal/core/types.hpp b/dbal/cpp/include/dbal/core/types.hpp index 0a58f0004..be0c50b83 100644 --- a/dbal/cpp/include/dbal/core/types.hpp +++ b/dbal/cpp/include/dbal/core/types.hpp @@ -75,6 +75,32 @@ struct UpdatePageInput { std::optional is_active; }; +struct ComponentHierarchy { + std::string id; + std::string page_id; + std::optional parent_id; + std::string component_type; + int order = 0; + Json props; + Timestamp created_at; + Timestamp updated_at; +}; + +struct CreateComponentHierarchyInput { + std::string page_id; + std::optional parent_id; + std::string component_type; + int order = 0; + Json props; +}; + +struct UpdateComponentHierarchyInput { + std::optional parent_id; + std::optional component_type; + std::optional order; + std::optional props; +}; + struct Workflow { std::string id; std::string name;