import type { AppRegistryMeta } from '../../AppRegistry';
import { LayoutGrid } from 'lucide-react';
import { DashboardListApp } from './DashboardListApp';
import { DashboardPreview } from './DashboardPreview';

export { DashboardListApp };
export { DashboardPreview };
export { CREATING_DASHBOARD_KEY, EDITING_DASHBOARD_KEY, NEW_DASH_NAME_KEY, NEW_DASH_DESC_KEY, NEW_DASH_TEMPLATE_KEY } from './constants';

export const appRegistryMetas: AppRegistryMeta[] = [
  {
    key: 'dashboard-list',
    name: 'Dashboards',
    icon: LayoutGrid,
    component: DashboardListApp
  },
  {
    key: 'dashboard-preview',
    name: 'Dashboard Preview',
    icon: LayoutGrid,
    component: DashboardPreview,
    availableOnPanel: false
  },
];
