fix(import): autofix missing shapes for sidebars and some sections as well (#2723)

This commit is contained in:
Meier Lukas
2025-03-28 17:44:11 +01:00
committed by GitHub
parent 217818573e
commit 62c7955e48
4 changed files with 113 additions and 44 deletions

View File

@@ -1,4 +1,4 @@
import type { BoardSize, OldmarrConfig } from "@homarr/old-schema";
import type { OldmarrConfig } from "@homarr/old-schema";
export class OldHomarrImportError extends Error {
constructor(oldConfig: OldmarrConfig, cause: unknown) {
@@ -7,9 +7,3 @@ export class OldHomarrImportError extends Error {
});
}
}
export class OldHomarrScreenSizeError extends Error {
constructor(type: "app" | "widget", id: string, screenSize: BoardSize) {
super(`Screen size not found for type=${type} id=${id} screenSize=${screenSize}`);
}
}