Magidoc

DateRangeFilterInput
Input Object

Input type for date range filtering with dynamic date range support

Fields

#

amount

Number of time units for dynamic ranges

endDate

End date of the range

includeCurrent

Whether to include current time unit in dynamic ranges

selectedOption

Predefined date range option (e.g. 'last7Days', 'thisMonth')

startDate

Start date of the range

timeDirection

Direction for dynamic ranges ('past' or 'future')

timeUnit

Time unit for dynamic ranges ('day', 'week', 'month', 'year')