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;