// `panels.ts`, not `.tsx` — discovery checks for that exact name. import { Bomb, Film, ListOrdered } from 'lucide-react'; import type { AppRegistryMeta } from 'officerdev'; import { MinesweeperPanel } from './MinesweeperPanel'; import { LevelsPanel } from './LevelsPanel'; import { ReplaysPanel } from './ReplaysPanel'; // Minesweeper X on a virtual display, streamed over RFB. The client is ./rfb.ts — a few hundred lines // rather than a vendored noVNC, because we control the server and need two encodings out of ten. export const appRegistryMetas: AppRegistryMeta[] = [ { key: 'minesweeper', name: 'Minesweeper', icon: Bomb, component: MinesweeperPanel, availableOnPanel: false }, { key: 'minesweeper-levels', name: 'Difficulty', icon: ListOrdered, component: LevelsPanel, availableOnPanel: false }, { key: 'minesweeper-replays', name: 'Replays', icon: Film, component: ReplaysPanel, availableOnPanel: false }, ];