diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9a9995d --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +# SQLite app DB (jobs + layouts) — local de cada PC +graph_explorer.db +graph_explorer.db-shm +graph_explorer.db-wal + +# Cache de documentos descargados por enrichers (issue 0027) +cache/ + +# Build artifacts +build/ +*.exe +*.o +*.obj diff --git a/examples/types.yaml b/examples/types.yaml index d41fdef..a6a17b9 100644 --- a/examples/types.yaml +++ b/examples/types.yaml @@ -110,6 +110,25 @@ entities: - { name: title, type: string } - { name: domain, type: string } + # Documento web descargado. Issue 0027: tipo separado de Url para nodos + # con cuerpo cacheado (HTML+markdown+screenshot). Los enrichers + # fetch_webpage / extract_links / extract_text_entities lo pueblan. + - name: Webpage + color: "#89E0FC" + icon: ti-file-text + principal_field: url + fields: + - { name: url, type: url, required: true } + - { name: title, type: string } + - { name: status_code, type: int } + - { name: content_type, type: string } + - { name: fetched_at, type: date } + - { name: html_path, type: string } + - { name: markdown_path, type: string } + - { name: screenshot_path, type: string } + - { name: text_length, type: int } + - { name: lang, type: string } + # Nodo tabla — cuadrado (regla de forma). Issue 0010: contenedor con # filas que son nodos del grafo. - name: Table diff --git a/types_registry.cpp b/types_registry.cpp index 22e7bfe..35d7418 100644 --- a/types_registry.cpp +++ b/types_registry.cpp @@ -523,6 +523,7 @@ uint16_t tabler_codepoint_by_name(const char* name) { {"ti-at", 0xEA2B}, // TI_AT {"ti-home", 0xEAC1}, // TI_HOME {"ti-database", 0xEA88}, // TI_DATABASE + {"ti-file-text", 0xEAA2}, // TI_FILE_TEXT }; auto it = map.find(name); if (it == map.end()) return 0;