import type { AppRegistryMeta } from '../../AppRegistry';
import { FolderKanban } from 'lucide-react';
import { ProjectListApp } from './ProjectListApp';
import { ProjectPreview } from './ProjectPreview';

export { ProjectListApp };
export { ProjectPreview };
export {
  SELECTED_PROJECT,
  CREATING_PROJECT,
  EDITING_PROJECT,
  NEW_PROJ_NAME,
  NEW_PROJ_DESC,
  NEW_PROJ_TEMPLATE,
  NEW_PROJ_TYPE,
  NEW_PROJ_HAS_BACKEND,
  NEW_PROJ_HAS_AUTH,
  NEW_PROJ_PREVIEW_LAYOUT,
} from './constants';

export const appRegistryMetas: AppRegistryMeta[] = [
  {
    key: 'project-list',
    name: 'Projects',
    icon: FolderKanban,
    component: ProjectListApp,
  },
  {
    key: 'project-preview',
    name: 'Project Preview',
    icon: FolderKanban,
    component: ProjectPreview,
    availableOnPanel: false,
  },
];
