Welcome to mirror list, hosted at ThFree Co, Russian Federation.

data_transfer_arguments.rb « data_transfer « resolvers « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: da75a78b2ac3a7b14f27f67db7c372c61c268a4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module Resolvers
  module DataTransfer
    module DataTransferArguments
      extend ActiveSupport::Concern

      included do
        argument :from, Types::DateType,
          description:
            'Retain egress data for one year. Data for the current month will increase dynamically as egress occurs.',
          required: false
        argument :to, Types::DateType,
          description: 'End date for the data.',
          required: false
      end
    end
  end
end