mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 14:25:02 +00:00
code: dbal,hpp,cpp (2 files)
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "../types.hpp"
|
||||
#include "../workflow.hpp"
|
||||
#include "../errors.hpp"
|
||||
|
||||
namespace dbal {
|
||||
@@ -26,12 +25,6 @@ public:
|
||||
virtual Result<bool> deletePage(const std::string& id) = 0;
|
||||
virtual Result<std::vector<PageView>> listPages(const ListOptions& options) = 0;
|
||||
|
||||
virtual Result<Workflow> createWorkflow(const CreateWorkflowInput& input) = 0;
|
||||
virtual Result<Workflow> getWorkflow(const std::string& id) = 0;
|
||||
virtual Result<Workflow> updateWorkflow(const std::string& id, const UpdateWorkflowInput& input) = 0;
|
||||
virtual Result<bool> deleteWorkflow(const std::string& id) = 0;
|
||||
virtual Result<std::vector<Workflow>> listWorkflows(const ListOptions& options) = 0;
|
||||
|
||||
virtual Result<Workflow> createWorkflow(const CreateWorkflowInput& input) = 0;
|
||||
virtual Result<Workflow> getWorkflow(const std::string& id) = 0;
|
||||
virtual Result<Workflow> updateWorkflow(const std::string& id, const UpdateWorkflowInput& input) = 0;
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "dbal/client.hpp"
|
||||
#include "dbal/types.hpp"
|
||||
#include "dbal/workflow.hpp"
|
||||
#include "dbal/errors.hpp"
|
||||
#include "dbal/capabilities.hpp"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user