style: auto-fix lint and format

This commit is contained in:
ajnart authored and github-actions[bot] committed 2026-06-14 15:07:23 +00:00
1 parent 062ab1ad34
commit b6c817123f
2 files changed
+13 -5

No files matched your search

@@ -2,6 +2,7 @@
// it uses the sitemap.xml to generate the HomarrDocumentationPath type
export type HomarrDocumentationPath =
| "/about-us"
| "/api-reference"
| "/blog"
| "/blog/2023/01/11/version0.11"
| "/blog/2023/04/16/version0.12-more-widgets"
@@ -42,9 +43,11 @@ export type HomarrDocumentationPath =
| "/docs/tags/active-directory"
| "/docs/tags/administration"
| "/docs/tags/advanced"
| "/docs/tags/ai"
| "/docs/tags/analytics"
| "/docs/tags/api"
| "/docs/tags/apps"
| "/docs/tags/automation"
| "/docs/tags/background"
| "/docs/tags/backup"
| "/docs/tags/boards"
@@ -55,9 +58,10 @@ export type HomarrDocumentationPath =
| "/docs/tags/community"
| "/docs/tags/configuration"
| "/docs/tags/connections"
| "/docs/tags/custom"
| "/docs/tags/custom-widgets"
| "/docs/tags/customization"
| "/docs/tags/data-sources"
| "/docs/tags/data"
| "/docs/tags/database"
| "/docs/tags/developer"
| "/docs/tags/development"
@@ -78,9 +82,11 @@ export type HomarrDocumentationPath =
| "/docs/tags/integrations"
| "/docs/tags/interface"
| "/docs/tags/jobs"
| "/docs/tags/jsx"
| "/docs/tags/layout"
| "/docs/tags/ldap"
| "/docs/tags/management"
| "/docs/tags/mcp"
| "/docs/tags/media"
| "/docs/tags/oidc"
| "/docs/tags/open-collective"
@@ -217,10 +223,12 @@ export type HomarrDocumentationPath =
| "/docs/integrations/uptime-kuma"
| "/docs/management/api"
| "/docs/management/apps"
| "/docs/management/backup"
| "/docs/management/boards"
| "/docs/management/certificates"
| "/docs/management/custom-widgets"
| "/docs/management/integrations"
| "/docs/management/mcp"
| "/docs/management/media"
| "/docs/management/search-engines"
| "/docs/management/settings"
@@ -154,16 +154,16 @@ function generateSystemStatsSeries(count: number, sys: MockSystemDef): BeszelSys
cpu,
la: [cpu / 20 + rand(0, 0.5), cpu / 25 + rand(0, 0.3), cpu / 30 + rand(0, 0.2)] as [number, number, number],
m: memTotalGB,
mu: memTotalGB * memPct / 100,
mu: (memTotalGB * memPct) / 100,
mp: memPct,
mb: rand(0.5, 4),
s: 4,
su: rand(0, 2),
d: diskTotalGB,
du: diskTotalGB * diskPct / 100,
du: (diskTotalGB * diskPct) / 100,
dp: diskPct,
dr: (diskReadWalk[i] ?? 5),
dw: (diskWriteWalk[i] ?? 3),
dr: diskReadWalk[i] ?? 5,
dw: diskWriteWalk[i] ?? 3,
ns: (netSendWalk[i] ?? 500) * KB,
nr: (netRecvWalk[i] ?? 800) * KB,
b: [(netSendWalk[i] ?? 500) * KB * 0.7, (netRecvWalk[i] ?? 800) * KB * 0.7] as [number, number],