chore(docs): keep root naming

This commit is contained in:
Elian Doran
2025-03-30 22:29:29 +03:00
parent 9c83738a16
commit dc31ea2333
167 changed files with 11020 additions and 1206 deletions

View File

@@ -0,0 +1,12 @@
const attrCounts = await api.runOnBackend(() => {
return api.sql.getRows(`
SELECT
name, COUNT(*) AS count
FROM attributes
WHERE isDeleted = 0
GROUP BY name
ORDER BY count DESC`);
});
renderPieChart(attrCounts.length <= 10 ? attrCounts : attrCounts.splice(0, 10));
renderTable(attrCounts);