If you’re trying to hook up Prisma data directly into a shadcn-style command menu, you might find this project useful: DataCommand. It’s built on top of shadcn/ui but adds loadItems
and loadOneItem
hooks so you can fetch command items from your database or API. That way, instead of hardcoding configs, you can just fetch posts dynamically and render them in the command palette.