export const OVERVIEW_URGENT_PRIORITY_THRESHOLD = 70;

export const OVERVIEW_NEEDS_ACTION_STATUSES = [
  'SUBMITTED',
  'PENDING_APPROVAL',
  'APPROVED_PENDING_SIGNATURE',
] as const;

export const OVERVIEW_IN_APPROVAL_STATUSES = [
  'PENDING_APPROVAL',
  'APPROVED_PENDING_SIGNATURE',
] as const;

export const OVERVIEW_CLOSED_STATUSES = [
  'REJECTED',
  'CANCELLED',
  'COMPLETED',
] as const;

export const OVERVIEW_RANGE_DAYS = {
  '7d': 7,
  '30d': 30,
  '90d': 90,
} as const;

export type OverviewRange = keyof typeof OVERVIEW_RANGE_DAYS;
