diff --git a/apps/nextjs/src/components/board/items/widget-query-scope.ts b/apps/nextjs/src/components/board/items/widget-query-scope.ts index fd7c9edb3..687984c9f 100644 --- a/apps/nextjs/src/components/board/items/widget-query-scope.ts +++ b/apps/nextjs/src/components/board/items/widget-query-scope.ts @@ -1,7 +1,11 @@ import type { QueryKey } from "@tanstack/react-query"; -import type { WidgetQueryMatcher, WidgetQueryMatcherScope } from "@homarr/widgets"; -import { normalizeWidgetQuery, widgetQueryValueEquals } from "@homarr/widgets"; +import { + normalizeWidgetQuery, + type WidgetQueryMatcher, + type WidgetQueryMatcherScope, + widgetQueryValueEquals, +} from "@homarr/widgets/definition"; export const matchesWidgetItemQuery = ( queryKey: QueryKey, diff --git a/packages/validation/src/board-layout.spec.ts b/packages/validation/src/board-layout.spec.ts index 3ac54b16b..5f73132f9 100644 --- a/packages/validation/src/board-layout.spec.ts +++ b/packages/validation/src/board-layout.spec.ts @@ -10,6 +10,7 @@ describe("board layout gutters", () => { name: "Base", columnCount: 12, breakpoint: 0, + role: "base", }), ).toMatchObject({ leftGutterColumnCount: 0, @@ -26,6 +27,7 @@ describe("board layout gutters", () => { leftGutterColumnCount: 3, rightGutterColumnCount: 2, breakpoint: 0, + role: "base", }).success, ).toBe(true); expect( @@ -36,6 +38,7 @@ describe("board layout gutters", () => { leftGutterColumnCount: 3, rightGutterColumnCount: 3, breakpoint: 0, + role: "base", }).success, ).toBe(false); });