import type { AppRegistryMeta } from '../../AppRegistry';
import { PanelLeft, GitBranch } from 'lucide-react';
import { GiteaNav } from './GiteaNav';
import { GiteaView } from './GiteaView';
import { GiteaViewHeader } from './GiteaViewHeader';

export { GiteaNav, GiteaView };

export const appRegistryMetas: AppRegistryMeta[] = [
  {
    key: 'gitea-nav',
    name: 'Gitea',
    icon: PanelLeft,
    component: GiteaNav,
    availableOnPanel: false,
  },
  {
    key: 'gitea-view',
    name: 'Gitea',
    icon: GitBranch,
    component: GiteaView,
    header: GiteaViewHeader,
    availableOnPanel: false,
  },
];
