import type { WidgetLayoutItem } from '@/lib/api/dashboard' export const ROLE_DEFAULT_LAYOUTS: Record = { admin: [ { i: 'today-sales-1', widgetType: 'today-sales', x: 0, y: 0, w: 4, h: 4 }, { i: 'active-rides-1', widgetType: 'active-rides', x: 4, y: 0, w: 4, h: 4 }, { i: 'stock-alerts-1', widgetType: 'stock-alerts', x: 8, y: 0, w: 4, h: 4 }, { i: 'pending-purchase-orders-1', widgetType: 'pending-purchase-orders', x: 0, y: 4, w: 4, h: 4 }, { i: 'loading-sheets-1', widgetType: 'loading-sheets', x: 4, y: 4, w: 4, h: 4 }, { i: 'recent-orders-1', widgetType: 'recent-orders', x: 0, y: 8, w: 8, h: 4 }, ], warehouse: [ { i: 'active-rides-1', widgetType: 'active-rides', x: 0, y: 0, w: 6, h: 4 }, { i: 'stock-alerts-1', widgetType: 'stock-alerts', x: 6, y: 0, w: 6, h: 4 }, { i: 'loading-sheets-1', widgetType: 'loading-sheets', x: 0, y: 4, w: 6, h: 4 }, { i: 'pending-purchase-orders-1', widgetType: 'pending-purchase-orders', x: 6, y: 4, w: 6, h: 4 }, ], sales: [ { i: 'today-sales-1', widgetType: 'today-sales', x: 0, y: 0, w: 4, h: 4 }, { i: 'recent-orders-1', widgetType: 'recent-orders', x: 4, y: 0, w: 8, h: 4 }, ], }