chore: auto-commit (8 archivos)
- CMakeLists.txt - app.md - data_http.cpp - data_http.h - main.cpp - tabs.cpp - tabs.h - appicon.ico Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
+20
@@ -54,6 +54,20 @@ struct DagStepRow {
|
||||
std::string finished_at;
|
||||
long long duration_ms = 0;
|
||||
std::string error;
|
||||
std::string function_id; // "" if not a function step
|
||||
};
|
||||
|
||||
// Metadata de una funcion del registry (response shape de GET /api/functions/{id}).
|
||||
struct FnInfo {
|
||||
std::string id;
|
||||
std::string name;
|
||||
std::string description;
|
||||
std::string signature;
|
||||
std::string purity; // "pure" | "impure"
|
||||
std::string domain;
|
||||
std::string lang;
|
||||
std::vector<std::string> uses_functions;
|
||||
std::vector<std::string> uses_types;
|
||||
};
|
||||
|
||||
struct DagRunDetail {
|
||||
@@ -86,4 +100,10 @@ bool get_run_http(const std::string& api_url, const std::string& run_id,
|
||||
bool trigger_dag_http(const std::string& api_url, const std::string& name,
|
||||
std::string& out_run_id, std::string& out_error);
|
||||
|
||||
// GET /api/functions/{function_id} -> rellena out con metadata del registry.
|
||||
// Devuelve false si red falla, status != 2xx, o JSON no parseable.
|
||||
bool get_function_http(const std::string& api_url,
|
||||
const std::string& function_id,
|
||||
FnInfo& out);
|
||||
|
||||
} // namespace dag_ui
|
||||
|
||||
Reference in New Issue
Block a user