summaryrefslogtreecommitdiff
path: root/app/graphql/types/user_callout_type.rb
blob: 12f4fdea878d6b8027499fe2fea65060541e51c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module Types
  class UserCalloutType < BaseObject # rubocop:disable Graphql/AuthorizeTypes
    graphql_name 'UserCallout'

    field :feature_name, UserCalloutFeatureNameEnum, null: false,
      description: 'Name of the feature that the callout is for.'
    field :dismissed_at, Types::TimeType, null: true,
      description: 'Date when the callout was dismissed.'
  end
end