/**
 * Module display metadata — badge colors, names, icons for canvas UI.
 * Extracted from folk-rapp.ts so both folk-rapp and future display code
 * can share a single source of truth.
 */

export interface ModuleDisplayMeta {
	badge: string;
	color: string;
	name: string;
	icon: string;
}

export const MODULE_META: Record<string, ModuleDisplayMeta> = {
	rnotes:      { badge: "rN",  color: "#fcd34d", name: "rNotes",      icon: "📝" },
	rphotos:     { badge: "rPh", color: "#f9a8d4", name: "rPhotos",     icon: "📸" },
	rbooks:      { badge: "rB",  color: "#fda4af", name: "rBooks",      icon: "📚" },
	rpubs:       { badge: "rP",  color: "#fda4af", name: "rPubs",       icon: "📖" },
	rfiles:      { badge: "rFi", color: "#67e8f9", name: "rFiles",      icon: "📁" },
	rtasks:      { badge: "rTa", color: "#cbd5e1", name: "rTasks",      icon: "📋" },
	rforum:      { badge: "rFo", color: "#fcd34d", name: "rForum",      icon: "💬" },
	rinbox:      { badge: "rI",  color: "#a5b4fc", name: "rInbox",      icon: "📧" },
	rtube:       { badge: "rTu", color: "#f9a8d4", name: "rTube",       icon: "🎬" },
	rflows:      { badge: "rFl", color: "#bef264", name: "rFlows",      icon: "🌊" },
	rwallet:     { badge: "rW",  color: "#fde047", name: "rWallet",     icon: "💰" },
	rvote:       { badge: "rV",  color: "#c4b5fd", name: "rVote",       icon: "🗳️" },
	rcart:       { badge: "rCt", color: "#fdba74", name: "rCart",       icon: "🛒" },
	rdata:       { badge: "rD",  color: "#d8b4fe", name: "rData",       icon: "📊" },
	rnetwork:    { badge: "rNe", color: "#93c5fd", name: "rNetwork",    icon: "🌍" },
	rsplat:      { badge: "r3",  color: "#d8b4fe", name: "rSplat",      icon: "🔮" },
	rswag:       { badge: "rSw", color: "#fda4af", name: "rSwag",       icon: "🎨" },
	rchoices:    { badge: "rCo", color: "#f0abfc", name: "rChoices",    icon: "🤔" },
	rcal:        { badge: "rC",  color: "#7dd3fc", name: "rCal",        icon: "📅" },
	rtrips:      { badge: "rT",  color: "#6ee7b7", name: "rTrips",      icon: "✈️" },
	rmaps:       { badge: "rM",  color: "#86efac", name: "rMaps",       icon: "🗺️" },
	rmeets:      { badge: "rMe", color: "#6ee7b7", name: "rMeets",      icon: "📹" },
	rschedule:   { badge: "rSc", color: "#93c5fd", name: "rSchedule",   icon: "⏰" },
	rsocials:    { badge: "rSo", color: "#f9a8d4", name: "rSocials",    icon: "📱" },
	rdesign:     { badge: "rDe", color: "#7c3aed", name: "rDesign",     icon: "🎨" },
	rtime:       { badge: "rTi", color: "#a78bfa", name: "rTime",       icon: "⏳" },
	rauctions:   { badge: "rA",  color: "#fca5a5", name: "rAuctions",   icon: "🏛" },
};
