summaryrefslogtreecommitdiff
path: root/app/graphql/types/timeframe_input_type.rb
blob: 02a0ec7df7a63de009c81fe8fdcbaf90d9ed3eb4 (plain)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

module Types
  class TimeframeInputType < RangeInputType[::Types::DateType]
    graphql_name 'Timeframe'
    description 'A time-frame defined as a closed inclusive range of two dates'
  end
end