fix(import): autofix missing sizes of items with grid-algorithm (#2522)
This commit is contained in:
1 parent
65f00f19de
commit
d410af3402
6 files changed
+115
-14
No files matched your search
@@ -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