// frontend/lib/inbox/presentation.ts — 분류 결과 → 화면 표현 매핑 import type { IconName } from "@/components/icons/paths"; import type { RouteType, Sphere } from "@/lib/types"; /** 원본 sinbox.jsx SPHERE */ export const SPHERE: Record = { work: { label: "업무", tone: "var(--blue)" }, life: { label: "개인", tone: "var(--green)" }, }; /** 원본 sinbox.jsx TYPE_ICON */ export const TYPE_ICON: Record = { task: "check", event: "cal", idea: "brain", }; export const TYPE_LABEL: Record = { task: "작업", event: "일정", idea: "아이디어", }; /** 원본 cycleType — 다르게 분류 시 다음 타입 */ export function nextType(t: RouteType): RouteType { return ({ task: "event", event: "idea", idea: "task" } as const)[t]; }