// Project type is owned by ProjectRegistry. Storage and API use the lowercase // values; product surfaces render Product or Tool. export const PROJECT_TYPES = ["product", "tool"] as const; export type ProjectType = (typeof PROJECT_TYPES)[number]; export const isProjectType = (value: unknown): value is ProjectType => value === "product" || value === "tool"; export const projectTypeLabel = (type: ProjectType): "Product" | "Tool" => type === "product" ? "Product" : "Tool";