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

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