Просмотр исходного кода

fix: ajouter les champs manquants dans v3/apps.json (id, featured, logo_hash…)

Champs manquants vs catalogue officiel causaient probablement un crash JS
dans l'interface de recherche d'apps YunoHost (app.id undefined).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Cedric Hansen 2 недель назад
Родитель
Сommit
4063e3277f
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      v3/apps.json

+ 8 - 0
v3/apps.json

@@ -1,6 +1,7 @@
 {
 {
   "apps": {
   "apps": {
     "backupmanager": {
     "backupmanager": {
+      "id": "backupmanager",
       "git": {
       "git": {
         "url": "https://git.hansen.tl/YunoHost-Apps/backupmanager_ynh.git",
         "url": "https://git.hansen.tl/YunoHost-Apps/backupmanager_ynh.git",
         "branch": "main",
         "branch": "main",
@@ -9,9 +10,16 @@
       "state": "working",
       "state": "working",
       "level": 7,
       "level": 7,
       "maintained": true,
       "maintained": true,
+      "featured": false,
+      "high_quality": false,
       "antifeatures": [],
       "antifeatures": [],
+      "potential_alternative_to": [],
+      "alternative_branches": {},
       "category": "admin",
       "category": "admin",
       "subtags": [],
       "subtags": [],
+      "added_in_catalog": 1752960000,
+      "lastUpdate": 1752960000,
+      "logo_hash": null,
       "manifest": {
       "manifest": {
         "packaging_format": 2,
         "packaging_format": 2,
         "id": "backupmanager",
         "id": "backupmanager",