feat: polish release v2 experience (#6800)
This commit is contained in:
1 parent
925b0fb801
commit
a4a903d7c3
295 files changed
+10627
-7115
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import type { QueryKey } from "@tanstack/react-query";
|
||||
|
||||
import { isRecord } from "@homarr/common";
|
||||
import type { WidgetQueryMatcher, WidgetQueryMatcherScope } from "@homarr/widgets/definition";
|
||||
import { normalizeWidgetQuery, widgetQueryValueEquals } from "@homarr/widgets/definition";
|
||||
|
||||
@@ -78,6 +79,3 @@ const containsValue = (container: unknown, expected: unknown, seen = new WeakSet
|
||||
|
||||
return Object.values(container).some((value) => containsValue(value, expected, seen));
|
||||
};
|
||||
|
||||
const isRecord = (value: unknown): value is Record<string, unknown> =>
|
||||
value !== null && typeof value === "object" && !Array.isArray(value);
|
||||
Reference in new issue
Block a user