fix: resolve format/build failures

This commit is contained in:
Peter Steinberger
2026-01-19 11:32:15 +00:00
parent b826bd668c
commit 588dc43787
22 changed files with 82 additions and 106 deletions

View File

@@ -45,7 +45,7 @@ export class NodeRegistry {
const nodeId = connect.device?.id ?? connect.client.id;
const caps = Array.isArray(connect.caps) ? connect.caps : [];
const commands = Array.isArray((connect as { commands?: string[] }).commands)
? (connect as { commands?: string[] }).commands ?? []
? ((connect as { commands?: string[] }).commands ?? [])
: [];
const permissions =
typeof (connect as { permissions?: Record<string, boolean> }).permissions === "object"