2021-04-17 20:07:23 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Types
|
|
|
|
class UserCalloutType < BaseObject # rubocop:disable Graphql/AuthorizeTypes
|
|
|
|
graphql_name 'UserCallout'
|
|
|
|
|
2021-09-30 23:02:18 +05:30
|
|
|
field :feature_name, UserCalloutFeatureNameEnum, null: true,
|
2021-04-17 20:07:23 +05:30
|
|
|
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
|