All files / apps/timeOff/src/constants quickSelect.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16      2x   2x         2x          
import type { DatePickerTimeSlot } from '@repo/ui/components/DatePicker';
import { DATE_PICKER_TIME_SLOT } from '@repo/ui/components/DatePicker';
 
export const QUICK_SELECT_LIMIT = 10;
 
export const QUICK_SELECT_TIME_BOUNDARIES = {
  MORNING_START_MINUTES: 8 * 60,
  AFTERNOON_START_MINUTES: 13 * 60 + 30,
} as const;
 
export const QUICK_SELECT_SLOT_SEQUENCE: DatePickerTimeSlot[] = [
  DATE_PICKER_TIME_SLOT.MORNING,
  DATE_PICKER_TIME_SLOT.AFTERNOON,
  DATE_PICKER_TIME_SLOT.ALL_DAY,
];