iobroker.autodoc 0.9.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +126 -0
- package/admin/autodoc.png +0 -0
- package/admin/i18n/de.json +244 -0
- package/admin/i18n/en.json +241 -0
- package/admin/i18n/es.json +229 -0
- package/admin/i18n/fr.json +235 -0
- package/admin/i18n/it.json +229 -0
- package/admin/i18n/nl.json +229 -0
- package/admin/i18n/pl.json +229 -0
- package/admin/i18n/pt.json +229 -0
- package/admin/i18n/ru.json +229 -0
- package/admin/i18n/uk.json +229 -0
- package/admin/i18n/zh-cn.json +229 -0
- package/admin/jsonConfig.json +1490 -0
- package/io-package.json +253 -0
- package/lib/adapter-config.d.ts +19 -0
- package/lib/aiEnhancer.js +2114 -0
- package/lib/autoHostTopologyMermaid.js +195 -0
- package/lib/dependencyAnalyzer.js +83 -0
- package/lib/diagnosisSnapshot.js +32 -0
- package/lib/discovery.js +953 -0
- package/lib/docTemplateConfig.js +422 -0
- package/lib/documentModel.js +640 -0
- package/lib/forumCard.js +70 -0
- package/lib/guestHelpContent.js +93 -0
- package/lib/guestScriptPrivacy.js +14 -0
- package/lib/hostDisplay.js +19 -0
- package/lib/htmlRenderer.js +4108 -0
- package/lib/htmlThemePresets.js +79 -0
- package/lib/htmlToPdf.js +99 -0
- package/lib/i18n.js +1309 -0
- package/lib/markdownRenderer.js +2025 -0
- package/lib/mermaidAutodocPalette.js +165 -0
- package/lib/mermaidServerSvg.js +252 -0
- package/lib/notifier.js +124 -0
- package/lib/quickStartGuide.js +180 -0
- package/lib/roleMapper.js +90 -0
- package/lib/scriptGroups.js +78 -0
- package/lib/versionTracker.js +312 -0
- package/main.js +1368 -0
- package/package.json +88 -0
package/io-package.json
ADDED
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
{
|
|
2
|
+
"common": {
|
|
3
|
+
"name": "autodoc",
|
|
4
|
+
"version": "0.9.35",
|
|
5
|
+
"news": {
|
|
6
|
+
"0.9.35": {
|
|
7
|
+
"en": "**npm:** publish **`iobroker.autodoc`** on the public registry so hosts can `npm install` the adapter tarball without cloning.\n**README:** install table reflects **npm** plus Git; default-list installs still depend on **ioBroker.repositories** (unchanged process).",
|
|
8
|
+
"de": "**npm:** veröffentlichen ** `iobroker.autodoc`*** auf der öffentlichen registrierung, so dass hosts `npm install` den adapter tarball ohne klonen installieren können.\n**README:** Installationstabelle reflektiert **npm** plus Git; Standard-Liste installiert immer noch abhängig von **ioBroker.repositories** (unchanged process).",
|
|
9
|
+
"ru": "**npm: **опубликуйте** iobroker.autodoc** в публичном реестре, чтобы хосты могли «установить» tarball адаптера без клонирования. \n**Установка таблицы отражает **npm** плюс Git; установки по умолчанию по-прежнему зависят от **ioBroker.repositories** (неизменный процесс).",
|
|
10
|
+
"pt": "**npm:** publique **`iobroker.autodoc`** no registro público para que os anfitriões possam `npm instalar` o tarball adaptador sem clonagem.\n**README:** install table reflect **npm** plus Git; as installs default-list ainda dependem de **ioBroker.repositórios** (processo inalterado).",
|
|
11
|
+
"nl": "**npm:** public ** .\n**README:** install table reflecteert **npm** plus Git; standaard-lijst installeert nog steeds afhankelijk van **ioBroker.repositories** (ongewijzigd proces).",
|
|
12
|
+
"fr": "**npm:** publier **`iobroker.autodoc`** sur le registre public afin que les hôtes puissent `npm installer` le tarball adaptateur sans clonage.\n**README:** table d'installation reflète **npm** plus Git; les installs par défaut dépendent toujours de **ioBroker.repositories** (processus non modifié).",
|
|
13
|
+
"it": "**npm:** pubblicare **`iobroker.autodoc`** sul registro pubblico in modo che gli host possano `npm install` il tarball adattatore senza clonazione.\n**README:** install table riflette **npm** plus Git; le installazioni di default-list dipendono ancora da **ioBroker.repositories** (processo non modificato).",
|
|
14
|
+
"es": "**npm:** publicar **`iobroker.autodoc`** en el registro público para que los anfitriones puedan `npm instalar` el tarball del adaptador sin clonar.\n**README: ** tabla de instalación refleja **npm** más Git; las instalaciones de lista predeterminada todavía dependen de **ioBroker.repositories** (proceso sin cambios).",
|
|
15
|
+
"pl": "* *npm:* * publikuje ** 'iobroker.autodoc'* * w rejestrze publicznym, aby hosty mogły zainstalować 'npm' adapter tarball bez klonowania. \n* *README:* * install table reflexs ** npm* * plus Git; default- list installs still depended on ** joBroker.repositories* * (unforced process). ",
|
|
16
|
+
"uk": "**npm:*** опублікувати **`iobroker.autodoc`*** на публічному реєстрі, тому гості можуть встановити `npm`npm` адаптер tarball без клонування.\n**README:*** встановіть таблицю відображає **npm** плюс Git; за замовчуванням-list встановлює все ще залежать від **ioBroker.repositories*** (загальнений процес).",
|
|
17
|
+
"zh-cn": "** npm:** 在公共登记处公布 o robus.autodoc`**,使主机可以`npm 安装'适配器柏油球而不克隆.\n**README:**安装表格反映**npm**+Git;默认列表安装仍然依赖于**ioBroker.repositories**(未改变的过程)."
|
|
18
|
+
},
|
|
19
|
+
"0.9.34": {
|
|
20
|
+
"en": "**Export hashes + polish:** `documentation.exportHashes` merges **`autodoc-*.pdf`** digests after PDF runs. **HTML:** Mermaid **jsDelivr** loads only when `<pre class=\"mermaid\">` remains (full SVG embed skips CDN). Admin **HTML export** tab shows **PDF hint**; Quick Start script lines sorted **by name**; `RENDERER_VERSION` **2026.05.08.1**.",
|
|
21
|
+
"de": "**Export-Hashes & Feinschliff:** `documentation.exportHashes` enthält nach PDF-Läufen auch **`autodoc-*.pdf`**-Prüfsummen. **HTML:** Mermaid **jsDelivr** nur bei verbleibendem `<pre class=\"mermaid\">` (volles SVG-Embedding ohne CDN). Admin-Tab **HTML-Export** mit **PDF-Hinweis**; Quick-Start-Skriptzeilen **nach Namen** sortiert; `RENDERER_VERSION` **2026.05.08.1**.",
|
|
22
|
+
"ru": "0.9.34: exportHashes + PDF; Mermaid CDN nur bei pre; Admin PDF-Hinweis; RENDERER_VERSION",
|
|
23
|
+
"pt": "0.9.34: exportHashes PDF; Mermaid CDN só com pre; hint PDF; RENDERER_VERSION",
|
|
24
|
+
"nl": "0.9.34: exportHashes pdf; Mermaid CDN alleen bij pre; PDF-hint admin; RENDERER_VERSION",
|
|
25
|
+
"fr": "0.9.34 : hashes export + PDF ; Mermaid jsDelivr si `<pre>` reste ; hint PDF ; RENDERER_VERSION",
|
|
26
|
+
"it": "0.9.34: exportHashes PDF; Mermaid CDN solo con pre; hint PDF; RENDERER_VERSION",
|
|
27
|
+
"es": "0.9.34: exportHashes PDF; Mermaid CDN solo con pre; hint PDF; RENDERER_VERSION",
|
|
28
|
+
"pl": "0.9.34: exportHashes PDF; Mermaid CDN tylko przy pre; hint PDF; RENDERER_VERSION",
|
|
29
|
+
"uk": "0.9.34: exportHashes PDF; Mermaid CDN лише з pre; PDF підказка; RENDERER_VERSION",
|
|
30
|
+
"zh-cn": "0.9.34:exportHashes 含 PDF;Mermaid 按需加载;管理端 PDF 提示;RENDERER_VERSION"
|
|
31
|
+
},
|
|
32
|
+
"0.9.33": {
|
|
33
|
+
"en": "**PDF export (Phase 5):** optional **`puppeteer`** — after each run (optional) or via state **`action.exportPdf`**, writes **`autodoc-{admin,user,onboarding}.pdf`** under adapter **Files** and mirrors to **Filesystem export path** when set. Headless Chromium uses same sandbox flags as Mermaid CLI. **Best effort:** requires optional `npm install puppeteer` in adapter folder; embedded Mermaid SVG offline-friendly; jsDelivr Mermaid needs network during render.",
|
|
34
|
+
"de": "**PDF-Export (Phase 5):** optional **`puppeteer`** — nach jedem Lauf (optional) oder per State **`action.exportPdf`** werden **`autodoc-{admin,user,onboarding}.pdf`** unter Adapter-**Dateien** geschrieben und bei gesetztem **Dateisystem-Exportpfad** gespiegelt. Headless-Chromium mit denselben Sandbox-Flags wie Mermaid-CLI. **Best effort:** `npm install puppeteer` im Adapterordner nötig; eingebettetes Mermaid-SVG offline-tauglich; jsDelivr-Mermaid braucht Netz beim Rendern.",
|
|
35
|
+
"ru": "0.9.33: PDF export puppeteer; action.exportPdf; /files + exportPath",
|
|
36
|
+
"pt": "0.9.33: PDF export + puppeteer opcional; action.exportPdf",
|
|
37
|
+
"nl": "0.9.33: PDF-export (puppeteer optioneel); action.exportPdf",
|
|
38
|
+
"fr": "0.9.33 : export PDF (puppeteer optionnel) ; action.exportPdf ; fichiers + exportPath",
|
|
39
|
+
"it": "0.9.33: export PDF puppeteer opzionale; action.exportPdf",
|
|
40
|
+
"es": "0.9.33: exportación PDF con puppeteer opcional; action.exportPdf",
|
|
41
|
+
"pl": "0.9.33: eksport PDF (opcjonalny puppeteer); action.exportPdf",
|
|
42
|
+
"uk": "0.9.33: PDF (puppeteer опційно); action.exportPdf",
|
|
43
|
+
"zh-cn": "0.9.33:可选 PDF(puppeteer);action.exportPdf"
|
|
44
|
+
},
|
|
45
|
+
"0.9.32": {
|
|
46
|
+
"en": "**Operator guides** in **`docs/user-guide/`** (EN + DE scenario). **Admin:** richer `jsonConfig` / i18n help (Mermaid modes, **export hashes** / states storage, placeholders; AI tab quieter when provider off). **`common.extIcon`** + repo links → **`main`**; refreshed **PNG** icon. **CI:** workflow **concurrency** per ioBroker template (**Adapter Checker E3009**). **Tooling:** `tsconfig.check` skips local bootstrap dirs; guide **SVG** valid on GitHub; `guestHelpContent` lint.",
|
|
47
|
+
"de": "**Betriebsanleitungen:** **`docs/user-guide/`** (EN + deutsch Muster-Szenario). **Admin:** mehr Hilfe in `jsonConfig`/i18n (Mermaid, **Export-Hashes** / States-Speicher, Platzhalter; **KI**-Tab ruhiger ohne aktiven Provider). **`common.extIcon`** und Repo-Links → **`main`**; Icon-**PNG** erneuert. **CI:** Workflow-**Concurrency** wie ioBroker-Vorlage (**E3009**). **Tooling:** `tsconfig.check` ohne lokale Bootstrap-Pfade; Guide-**SVG** GitHub‑tauglich; ESLint **`guestHelpContent`**.",
|
|
48
|
+
"ru": "0.9.32: user-guide EN/DE; Admin jsonConfig/i18n; extIcon main; CI concurrency; tooling",
|
|
49
|
+
"pt": "0.9.32: guias user-guide; Admin help; extIcon main; CI; tooling",
|
|
50
|
+
"nl": "0.9.32: user-guide handles; Admin help; extIcon main; CI; tooling",
|
|
51
|
+
"fr": "0.9.32 : guides user-guide ; aide Admin ; extIcon main ; CI ; tooling",
|
|
52
|
+
"it": "0.9.32: guide user-help; Admin; extIcon main; CI; tooling",
|
|
53
|
+
"es": "0.9.32: guías user-guide; Admin; extIcon main; CI; tooling",
|
|
54
|
+
"pl": "0.9.32: user-guide Admin; extIcon main; CI; tooling",
|
|
55
|
+
"uk": "0.9.32: user-guide та Admin; extIcon main; CI; tooling",
|
|
56
|
+
"zh-cn": "0.9.32:用户指南与管理员帮助;extIcon 指向 main;CI 与工作流并发"
|
|
57
|
+
},
|
|
58
|
+
"0.9.31": {
|
|
59
|
+
"en": "**Score 3 (documentation depth) rework:** removed **instances without room** from scoring; added **custom chapter has content** and **AI provider configured** (only when scripts exist). `maintenanceScoreCheckUnassigned` / `maintenanceScoreUnassignedWarnAt` kept in config for backward compatibility but **no longer affect** the score. i18n **EN / DE / FR** for `checkHasCustomSections`, `checkAiConfigured`. **npm / CI:** `package.json` **overrides** (`chromium-bidi` → `devtools-protocol`) plus **devDependencies** so `npm ci` stays reproducible on Linux with the optional **Mermaid CLI** stack.",
|
|
60
|
+
"de": "**Score 3 („Dokumentationstiefe“) überarbeitet:** **„Instanzen ohne Raum“** komplett aus der Bewertung entfernt; neu: **„Eigener Kapitelinhalt vorhanden“** und **„KI-Provider konfiguriert“** (nur wenn Skripte existieren). `maintenanceScoreCheckUnassigned` / `maintenanceScoreUnassignedWarnAt` bleiben in der Konfiguration (**ohne Auswirkung** auf den Score). i18n **EN / DE / FR**. **npm / CI:** `overrides` + **devDependencies** für konsistentes `npm ci` (Mermaid-Toolchain).",
|
|
61
|
+
"ru": "0.9.31: Score 3 — без комнаты убран; кастом-главы и AI; npm ci/overrides",
|
|
62
|
+
"pt": "0.9.31: Score 3; salas removidas; capítulos/IA; npm ci/overrides",
|
|
63
|
+
"nl": "0.9.31: Score 3; kamers uit score; custom/AI; npm ci/overrides",
|
|
64
|
+
"fr": "0.9.31 : score 3 refactorisé ; instances sans pièce retirées ; contenu chap. perso et IA conditionnelle ; npm ci/overrides",
|
|
65
|
+
"it": "0.9.31: Score 3 rework; stanze tolte dal punteggio; capitoli/AI; npm ci/overrides",
|
|
66
|
+
"es": "0.9.31: Score 3; habitaciones fuera del score; capítulos/IA; npm ci/overrides",
|
|
67
|
+
"pl": "0.9.31: Score 3; bez pokoi ze score; rozdz./AI; npm ci/overrides",
|
|
68
|
+
"uk": "0.9.31: Score 3; кімнати знято з оцінки; розділи/AI; npm ci/overrides",
|
|
69
|
+
"zh-cn": "0.9.31:评分3调整;移除“无房间”;自定义章节与AI;npm ci/overrides"
|
|
70
|
+
},
|
|
71
|
+
"0.9.30": {
|
|
72
|
+
"en": "**Three-dimensional documentation score** replaces the single percentage: **Data collection**, **Manual content**, **Documentation depth** — each with its own progress bar and checklist, plus **overall average** (HTML + Markdown, i18n **EN / DE / FR**). Default **unassigned-instance** threshold raised from **10** to **30**.",
|
|
73
|
+
"de": "**Dreiteiliger Dokumentations-Score** statt einer Prozentzahl: **Datenerfassung**, **Manuelle Inhalte**, **Dokumentationstiefe** — jeweils Balken und Checkliste, unten **Durchschnitt** (HTML + Markdown, i18n). Standard-Schwelle „Instanzen ohne Raum“ von **10** auf **30**.",
|
|
74
|
+
"ru": "0.9.30: трёхмерный score; три шкалы и среднее; порог без комнаты 30",
|
|
75
|
+
"pt": "0.9.30: score três dimensões; média; limite não atribuído 30",
|
|
76
|
+
"nl": "0.9.30: driedimensionale score; gemiddelde; drempel 30",
|
|
77
|
+
"fr": "0.9.30 : score doc en trois dimensions avec moyenne ; seuil non assigné à 30",
|
|
78
|
+
"it": "0.9.30: score a tre dimensioni; media; soglia senza stanza 30",
|
|
79
|
+
"es": "0.9.30: puntuación tridimensional; media; umbral sin habitación 30",
|
|
80
|
+
"pl": "0.9.30: trzy wymiary score + średnia; próg 30",
|
|
81
|
+
"uk": "0.9.30: тривимірний score; середнє; поріг без кімнати 30",
|
|
82
|
+
"zh-cn": "0.9.30:三维文档评分与平均分;未分配阈值30"
|
|
83
|
+
},
|
|
84
|
+
"0.9.29": {
|
|
85
|
+
"en": "**Maintenance score:** `unassignedCount` counts only **enabled** instances; removed misleading **`common.desc` on scripts** scan finding. **User view:** adapter list uses **responsive card grid**. **Mermaid topology:** **`activeNode` / `offNode`** slate classDefs for readable dark mode; **`rerenderMermaid()`** on dark-mode toggle restores sources. **Markdown export:** collapsible adapter details + auto-topology hints. **discovery:** **`common.type`** per instance.",
|
|
86
|
+
"de": "**Doku-Score:** `unassignedCount` nur **aktivierte** Instanzen; irreführenden **Skript-common.desc**-Befund entfernt. **User-Ansicht:** **Adapter-Karten-Raster**. **Mermaid-Topologie:** **`activeNode` / `offNode`** für dunkles Theme; **`rerenderMermaid()`** beim Umschalten. **Markdown-Export:** einklappbare Adapter + Hinweise zur Auto-Topologie. **discovery:** **`common.type`** pro Instanz.",
|
|
87
|
+
"ru": "0.9.29: unassigned только enabled; убран desc на скриптах; сетка карточек; Mermaid dark; discovery common.type",
|
|
88
|
+
"pt": "0.9.29: unassigned só ativas; grid; Mermaid tema escuro; discovery type",
|
|
89
|
+
"nl": "0.9.29: unassigned alleen enabled; kaart-rooster; Mermaid dark; discovery type",
|
|
90
|
+
"fr": "0.9.29 : instances actives uniquement pour non assignées ; grille cartes ; Mermaid dark ; common.type découverte",
|
|
91
|
+
"it": "0.9.29: unassigned solo abilitate; griglia card; Mermaid dark; discovery type",
|
|
92
|
+
"es": "0.9.29: unassigned sólo activas; rejilla tarjetas; Mermaid oscuro; discovery type",
|
|
93
|
+
"pl": "0.9.29: unassigned tylko włączone; siatka kart; Mermaid dark; discovery type",
|
|
94
|
+
"uk": "0.9.29: лише активні без кімнати; сітка карток; темний Mermaid; common.type discovery",
|
|
95
|
+
"zh-cn": "0.9.29:仅统计已启用实例;卡片网格;Mermaid深色重绘;discovery 类型"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"titleLang": {
|
|
99
|
+
"en": "AutoDoc",
|
|
100
|
+
"de": "AutoDoc",
|
|
101
|
+
"ru": "АвтоДок",
|
|
102
|
+
"pt": "AutoDoc",
|
|
103
|
+
"nl": "AutoDoc",
|
|
104
|
+
"fr": "AutoDoc",
|
|
105
|
+
"it": "AutoDoc",
|
|
106
|
+
"es": "AutoDoc",
|
|
107
|
+
"pl": "AutoDoc",
|
|
108
|
+
"uk": "АвтоДок",
|
|
109
|
+
"zh-cn": "自动文档"
|
|
110
|
+
},
|
|
111
|
+
"desc": {
|
|
112
|
+
"en": "Creates structured documentation for ioBroker projects from user-defined input",
|
|
113
|
+
"de": "Erzeugt strukturierte Dokumentation für ioBroker-Projekte aus Benutzereingaben",
|
|
114
|
+
"ru": "Создает структурированную документацию для проектов ioBroker на основе пользовательского ввода",
|
|
115
|
+
"pt": "Cria documentação estruturada para projetos ioBroker a partir da entrada do usuário",
|
|
116
|
+
"nl": "Maakt gestructureerde documentatie voor ioBroker-projecten op basis van gebruikersinvoer",
|
|
117
|
+
"fr": "Crée une documentation structurée pour les projets ioBroker à partir des saisies utilisateur",
|
|
118
|
+
"it": "Crea documentazione strutturata per progetti ioBroker a partire dall'input dell'utente",
|
|
119
|
+
"es": "Crea documentación estructurada para proyectos ioBroker a partir de la entrada del usuario",
|
|
120
|
+
"pl": "Tworzy uporządkowaną dokumentację projektów ioBroker na podstawie danych użytkownika",
|
|
121
|
+
"uk": "Створює структуровану документацію для проєктів ioBroker на основі введених користувачем даних",
|
|
122
|
+
"zh-cn": "根据用户输入为 ioBroker 项目生成结构化文档"
|
|
123
|
+
},
|
|
124
|
+
"authors": [
|
|
125
|
+
"crunchip77 <41550245+crunchip77@users.noreply.github.com>"
|
|
126
|
+
],
|
|
127
|
+
"keywords": [
|
|
128
|
+
"autodoc",
|
|
129
|
+
"documentation",
|
|
130
|
+
"markdown",
|
|
131
|
+
"export",
|
|
132
|
+
"project",
|
|
133
|
+
"automation"
|
|
134
|
+
],
|
|
135
|
+
"licenseInformation": {
|
|
136
|
+
"type": "free",
|
|
137
|
+
"license": "MIT"
|
|
138
|
+
},
|
|
139
|
+
"platform": "Javascript/Node.js",
|
|
140
|
+
"icon": "autodoc.png",
|
|
141
|
+
"enabled": true,
|
|
142
|
+
"extIcon": "https://raw.githubusercontent.com/crunchip77/ioBroker.autodoc/main/admin/autodoc.png",
|
|
143
|
+
"readme": "https://github.com/crunchip77/ioBroker.autodoc/blob/main/README.md",
|
|
144
|
+
"loglevel": "info",
|
|
145
|
+
"tier": 3,
|
|
146
|
+
"dataFolder": "files",
|
|
147
|
+
"mode": "daemon",
|
|
148
|
+
"type": "general",
|
|
149
|
+
"compact": true,
|
|
150
|
+
"messagebox": true,
|
|
151
|
+
"connectionType": "local",
|
|
152
|
+
"dataSource": "push",
|
|
153
|
+
"adminUI": {
|
|
154
|
+
"config": "json"
|
|
155
|
+
},
|
|
156
|
+
"localLinks": {
|
|
157
|
+
"_default": {
|
|
158
|
+
"link": "/files/autodoc.0.files/autodoc-admin.html",
|
|
159
|
+
"name": "Admin Docs"
|
|
160
|
+
},
|
|
161
|
+
"user": {
|
|
162
|
+
"link": "/files/autodoc.0.files/autodoc-user.html",
|
|
163
|
+
"name": "User / Family"
|
|
164
|
+
},
|
|
165
|
+
"onboarding": {
|
|
166
|
+
"link": "/files/autodoc.0.files/autodoc-onboarding.html",
|
|
167
|
+
"name": "Onboarding"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"dependencies": [
|
|
171
|
+
{
|
|
172
|
+
"js-controller": ">=6.0.11"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"globalDependencies": [
|
|
176
|
+
{
|
|
177
|
+
"admin": ">=7.6.20"
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
"native": {
|
|
182
|
+
"projectName": "",
|
|
183
|
+
"projectDescription": "",
|
|
184
|
+
"manualContact": "",
|
|
185
|
+
"additionalNotes": "",
|
|
186
|
+
"guestHelpNote": "",
|
|
187
|
+
"homeRoutinesNote": "",
|
|
188
|
+
"ownerPlaybookNote": "",
|
|
189
|
+
"manualMermaidDiagram": "",
|
|
190
|
+
"autoMermaidHostGraph": false,
|
|
191
|
+
"autoMermaidHostGraphMaxNodes": 40,
|
|
192
|
+
"troubleshootWifiHint": "",
|
|
193
|
+
"troubleshootPowerHint": "",
|
|
194
|
+
"troubleshootWaterHint": "",
|
|
195
|
+
"troubleshootExtraHint": "",
|
|
196
|
+
"adapterNotes": [],
|
|
197
|
+
"roomNotes": [],
|
|
198
|
+
"onboardingHideRooms": [],
|
|
199
|
+
"onboardingHideAdapters": [],
|
|
200
|
+
"onboardingGuestShowScriptNames": false,
|
|
201
|
+
"userHideRooms": [],
|
|
202
|
+
"userHideAdapters": [],
|
|
203
|
+
"targetSystem": "ioBroker",
|
|
204
|
+
"language": "en",
|
|
205
|
+
"autoGenerateOnStart": true,
|
|
206
|
+
"autoGenerateOnEvents": false,
|
|
207
|
+
"autoGenerateInterval": 0,
|
|
208
|
+
"onlyEnabledInstances": false,
|
|
209
|
+
"hideInstanceDetailsInMarkdown": false,
|
|
210
|
+
"maxDocumentedInstances": 0,
|
|
211
|
+
"maxStoredFiles": 3,
|
|
212
|
+
"documentationStatesMode": "full",
|
|
213
|
+
"baseUrl": "",
|
|
214
|
+
"maintenanceScoreCheckDescription": true,
|
|
215
|
+
"maintenanceScoreCheckBaseUrl": true,
|
|
216
|
+
"maintenanceScoreCheckUnassigned": true,
|
|
217
|
+
"maintenanceScoreMinDescriptionChars": 40,
|
|
218
|
+
"maintenanceScoreUnassignedWarnAt": 30,
|
|
219
|
+
"exportPath": "",
|
|
220
|
+
"pdfExportAfterGeneration": false,
|
|
221
|
+
"aiOwnerHints": "",
|
|
222
|
+
"htmlColorScheme": "auto",
|
|
223
|
+
"htmlThemePreset": "default",
|
|
224
|
+
"htmlHeaderLogoUrl": "",
|
|
225
|
+
"htmlFontStack": "",
|
|
226
|
+
"htmlExtraCss": "",
|
|
227
|
+
"customDocSectionsJson": "[]",
|
|
228
|
+
"adminChapterOrderJson": "[]",
|
|
229
|
+
"adminHiddenChaptersJson": "[]",
|
|
230
|
+
"userHiddenChaptersJson": "[]",
|
|
231
|
+
"userChapterOrderJson": "[]",
|
|
232
|
+
"onboardingHiddenChaptersJson": "[]",
|
|
233
|
+
"onboardingChapterOrderJson": "[]",
|
|
234
|
+
"aiAnalyzeScriptSources": false,
|
|
235
|
+
"aiMaxScriptCharsForAi": 12000
|
|
236
|
+
},
|
|
237
|
+
"objects": [],
|
|
238
|
+
"instanceObjects": [
|
|
239
|
+
{
|
|
240
|
+
"_id": "info.connection",
|
|
241
|
+
"type": "state",
|
|
242
|
+
"common": {
|
|
243
|
+
"name": "If connected to service",
|
|
244
|
+
"type": "boolean",
|
|
245
|
+
"role": "indicator.connected",
|
|
246
|
+
"read": true,
|
|
247
|
+
"write": false,
|
|
248
|
+
"def": false
|
|
249
|
+
},
|
|
250
|
+
"native": {}
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// This file extends the AdapterConfig type from "@iobroker/types"
|
|
2
|
+
// using the actual properties present in io-package.json
|
|
3
|
+
// in order to provide typings for adapter.config properties
|
|
4
|
+
|
|
5
|
+
import { native } from '../io-package.json';
|
|
6
|
+
|
|
7
|
+
type _AdapterConfig = typeof native;
|
|
8
|
+
|
|
9
|
+
// Augment the globally declared type ioBroker.AdapterConfig
|
|
10
|
+
declare global {
|
|
11
|
+
namespace ioBroker {
|
|
12
|
+
interface AdapterConfig extends _AdapterConfig {
|
|
13
|
+
// Do not enter anything here!
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// this is required so the above AdapterConfig is found by TypeScript / type checking
|
|
19
|
+
export {};
|