@jupiterone/jupiterone-mcp
Version:
Model Context Protocol server for JupiterOne account rules and rule details
25 lines • 719 B
TypeScript
export type WidgetSize = 'small' | 'medium' | 'large' | 'full';
/** A widget to place: either a bare ID (defaults to medium) or an ID with an explicit size. */
export type AutoLayoutItem = string | {
id: string;
size?: WidgetSize;
};
export interface LayoutEntry {
i: string;
x: number;
y: number;
w: number;
h: number;
moved: false;
static: false;
}
export interface Layouts {
xs: LayoutEntry[];
sm: LayoutEntry[];
md: LayoutEntry[];
lg: LayoutEntry[];
xl: LayoutEntry[];
}
/** Compute all five breakpoints from an ordered widget list. */
export declare function computeAutoLayout(items: AutoLayoutItem[]): Layouts;
//# sourceMappingURL=dashboard-layout.d.ts.map