support-types
This commit is contained in:
parent
81b32773c3
commit
202e3d9700
19
src/types/support-types.ts
Normal file
19
src/types/support-types.ts
Normal 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;
|
||||
};
|
Loading…
Reference in New Issue
Block a user