import { DateCadence } from "../types/datepicker";
import { SelectOption } from "../types/select";

export const dateCadenceDayMap: Record<DateCadence, number> = {
  [DateCadence.Day]: 1,
  [DateCadence.Week]: 7,
  [DateCadence.Month]: 28,
  [DateCadence.Year]: 365,
};
export const cadenceOptions: SelectOption<DateCadence>[] = [
  { label: 'days', value: DateCadence.Day },
  { label: 'weeks', value: DateCadence.Week },
  { label: 'months', value: DateCadence.Month },
];
