import { GoalPriorityTypes } from '../types';

export const VALUE_FIELD_RULES_CONFIG = { decimalFormat: true } as const;

export const GOAL_HISTORY_DEFAULT_LIMIT = 5;

export const GOAL_HISTORY_LIMIT_OPTIONS = [5, 10] as const;

export const GOAL_HISTORY_ORDER = 'ASC' as const;

export const GOAL_HISTORY_ORDER_BY = 'NAME' as const;

export const PRIORITY_PILL_TYPE: Record<
  GoalPriorityTypes,
  'error' | 'warning' | 'success'
> = {
  [GoalPriorityTypes.HIGH]: 'error',
  [GoalPriorityTypes.MEDIUM]: 'warning',
  [GoalPriorityTypes.LOW]: 'success',
};
