fix(import): autofix missing sizes of items with grid-algorithm (#2522)
This commit is contained in:
@@ -4,4 +4,4 @@ export type { OldmarrApp, OldmarrIntegrationType } from "./app";
|
||||
export type { OldmarrWidget, OldmarrWidgetKind } from "./widget";
|
||||
export { oldmarrWidgetKinds } from "./widget";
|
||||
export { boardSizes, getBoardSizeName } from "./tile";
|
||||
export type { BoardSize } from "./tile";
|
||||
export type { BoardSize, SizedShape } from "./tile";
|
||||
|
||||
@@ -56,6 +56,8 @@ export const tileBaseSchema = z.object({
|
||||
shape: shapeSchema,
|
||||
});
|
||||
|
||||
export type SizedShape = z.infer<typeof sizedShapeSchema>;
|
||||
|
||||
export const boardSizes = objectKeys(shapeSchema._def.shape());
|
||||
export type BoardSize = (typeof boardSizes)[number];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user