/** Shared display mapping for backend protection statuses. */
import type { ProtectionStatus } from './types';

export interface StatusDisplay {
	color: string;
	label: string;
}

export const STATUS_DISPLAY: Record<ProtectionStatus, StatusDisplay> = {
	UNPROTECTED: { color: '#757575', label: 'Not protected' },
	IN_PROGRESS: { color: '#dba617', label: 'In progress' },
	PROTECTED: { color: '#00a32a', label: 'Protected' },
	NEEDS_ATTENTION: { color: '#d63638', label: 'Needs attention' },
};
