import{i as t}from"./index-Bkuhln3H.js";function d(){return t("db_get_current")}function u(r){return t("db_new",{path:r})}function f(r){return t("db_open",{path:r})}function l(r){return t("db_save_as",{path:r})}function i(r){return t("db_browse_directory",{dir:r})}function s(r){return t("db_browse_files",{dir:r})}function b(r){return t("db_read_file",{path:r})}function w(r,e){return t("db_write_file",{path:r,content:e})}function c(r,e,_){return t("db_export_structure",{structure:r,path:e,format:_})}function p(r,e="cif"){return t("db_serialize_structure",{structure:r,format:e})}function a(r){return t("db_fs_mkdir",{path:r})}function k(r){return t("db_fs_delete",{path:r})}function g(r,e){return t("db_fs_rename",{oldPath:r,newPath:e})}function m(r,e){return t("db_fs_copy",{source:r,destination:e})}function I(r,e){return t("db_fs_move",{source:r,destination:e})}function j(){return t("db_list_projects")}function v(r,e,_){return t("db_create_project",{name:r,description:e,parentId:_})}function y(r,e){return t("db_update_project",{id:r,name:e.name,description:e.description,parentId:e.parent_id===null?void 0:e.parent_id,unsetParent:e.parent_id===null?!0:void 0})}function h(r){return t("db_get_project",{id:r})}function J(r){return t("db_get_enriched_results",{projectId:r})}function P(r){return t("db_delete_project",{id:r})}function x(r,e){return t("db_assign_workflow_to_project",{workflowId:r,projectId:e})}function q(){return t("db_list_workflow_folders")}function z(r,e,_){return t("db_create_workflow_folder",{name:r,description:e,parentId:_})}function A(r,e){return t("db_update_workflow_folder",{id:r,name:e.name,description:e.description,parentId:e.parent_id===null?void 0:e.parent_id,unsetParent:e.parent_id===null?!0:void 0})}function B(r){return t("db_get_workflow_folder",{id:r})}function C(r){return t("db_delete_workflow_folder",{id:r})}function D(r,e){return t("db_assign_workflow_to_folder",{workflowId:r,folderId:e})}function E(r){return t("db_unassign_workflow_from_folder",{workflowId:r})}function F(){return t("db_list_workflows")}function G(r,e,_,o){return t("db_create_workflow",{name:r,graphJson:e,description:_,templateId:o})}function H(r){return t("db_get_workflow_detail",{id:r})}function K(r,e){return t("db_update_workflow",{id:r,name:e.name,description:e.description,graphJson:e.graph_json,status:e.status,metadata:e.metadata})}function L(r){return t("db_delete_workflow",{id:r})}function M(r){return t("db_list_steps",{workflowId:r})}function N(r,e){return t("db_run_workflow",{workflowId:r,configJson:e})}function O(r){return t("db_pause_workflow",{workflowId:r})}function Q(r,e){return t("db_resume_workflow",{workflowId:r,configJson:e})}function R(r){return t("db_get_run_status",{workflowId:r})}function S(r){return t("db_query_results",{workflowId:r})}function T(r,e){return t("db_update_result_label",{rowId:r,label:e})}function U(r){return t("db_delete_result",{rowId:r})}function V(r,e){return t("db_move_or_copy_result",{rowId:r,projectId:e})}function W(r){return t("db_get_result_structure",{rowId:r})}function X(r,e,_){return t("db_save_structure",{structure:r,name:e,projectId:_})}export{D as db_assign_workflow_to_folder,x as db_assign_workflow_to_project,i as db_browse_directory,s as db_browse_files,v as db_create_project,G as db_create_workflow,z as db_create_workflow_folder,P as db_delete_project,U as db_delete_result,L as db_delete_workflow,C as db_delete_workflow_folder,c as db_export_structure,m as db_fs_copy,k as db_fs_delete,a as db_fs_mkdir,I as db_fs_move,g as db_fs_rename,d as db_get_current,J as db_get_enriched_results,h as db_get_project,W as db_get_result_structure,R as db_get_run_status,H as db_get_workflow_detail,B as db_get_workflow_folder,j as db_list_projects,M as db_list_steps,q as db_list_workflow_folders,F as db_list_workflows,V as db_move_or_copy_result,u as db_new,f as db_open,O as db_pause_workflow,S as db_query_results,b as db_read_file,Q as db_resume_workflow,N as db_run_workflow,l as db_save_as,X as db_save_structure,p as db_serialize_structure,E as db_unassign_workflow_from_folder,y as db_update_project,T as db_update_result_label,K as db_update_workflow,A as db_update_workflow_folder,w as db_write_file};
