docs(flows): DoD obligatorio con user-facing surface + abrir issues 0100-0103 (taxonomia, frontmatter migration, dev_console, work dashboard)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
+30
@@ -34,6 +34,8 @@ struct Run {
|
||||
long long duration_ms = 0;
|
||||
std::string trigger;
|
||||
std::string error;
|
||||
std::string storage_db_id;
|
||||
std::string storage_table;
|
||||
};
|
||||
|
||||
struct DatabaseInfo {
|
||||
@@ -47,6 +49,25 @@ struct DatabaseInfo {
|
||||
std::string last_seen_at;
|
||||
};
|
||||
|
||||
struct TableEntry {
|
||||
std::string database_id;
|
||||
std::string database_label;
|
||||
std::string database_kind;
|
||||
std::string table_name;
|
||||
long long row_count = 0;
|
||||
std::string error;
|
||||
};
|
||||
|
||||
struct TablePreview {
|
||||
std::string database_id;
|
||||
std::string table_name;
|
||||
std::vector<std::pair<std::string, std::string>> columns; // (name, type)
|
||||
std::vector<std::vector<std::string>> rows;
|
||||
long long total_rows = 0;
|
||||
long long limit = 100;
|
||||
long long offset = 0;
|
||||
};
|
||||
|
||||
// Mirrors dag_engine_ui FnInfo (response shape of GET /api/functions/{id}).
|
||||
struct FnInfo {
|
||||
std::string id;
|
||||
@@ -69,8 +90,17 @@ bool list_runs_http(const std::string& api_url, const std::string& node_id,
|
||||
bool list_databases_http(const std::string& api_url,
|
||||
std::vector<DatabaseInfo>& out);
|
||||
|
||||
bool list_tables_http(const std::string& api_url,
|
||||
std::vector<TableEntry>& out);
|
||||
|
||||
bool get_function_http(const std::string& api_url,
|
||||
const std::string& function_id,
|
||||
FnInfo& out);
|
||||
|
||||
bool get_table_preview_http(const std::string& api_url,
|
||||
const std::string& database_id,
|
||||
const std::string& table,
|
||||
int limit, int offset,
|
||||
TablePreview& out);
|
||||
|
||||
} // namespace data_factory
|
||||
|
||||
Reference in New Issue
Block a user