support-types

This commit is contained in:
bedlam343 2024-04-10 15:36:33 -07:00
parent 81b32773c3
commit 202e3d9700

View File

@ -0,0 +1,19 @@
export type GridCell = {
widgetIDs: string[];
priority: number;
type: 'free' | 'tinder' | 'message';
color?: string;
};
// INITIAL IDEA...NOT FINALIZED
export type GridSection = {
priority: number;
type: 'free' | 'tinder' | 'message'; // ADD MORE...
bounds: {
x: number; // top-left x
y: number; // top-left y
width: number;
height: number;
};
color?: string;
};