2021-04-23 09:10:03 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Types
|
|
|
|
class SubscriptionType < ::Types::BaseObject
|
|
|
|
graphql_name 'Subscription'
|
|
|
|
|
|
|
|
field :issuable_assignees_updated, subscription: Subscriptions::IssuableUpdated, null: true,
|
2022-08-03 06:10:47 +00:00
|
|
|
description: 'Triggered when the assignees of an issuable are updated.'
|
2021-11-23 18:12:49 +00:00
|
|
|
|
|
|
|
field :issue_crm_contacts_updated, subscription: Subscriptions::IssuableUpdated, null: true,
|
2022-08-03 06:10:47 +00:00
|
|
|
description: 'Triggered when the crm contacts of an issuable are updated.'
|
2022-02-11 21:12:17 +00:00
|
|
|
|
|
|
|
field :issuable_title_updated, subscription: Subscriptions::IssuableUpdated, null: true,
|
2022-08-03 06:10:47 +00:00
|
|
|
description: 'Triggered when the title of an issuable is updated.'
|
2022-04-01 18:08:46 +00:00
|
|
|
|
|
|
|
field :issuable_labels_updated, subscription: Subscriptions::IssuableUpdated, null: true,
|
2022-08-03 06:10:47 +00:00
|
|
|
description: 'Triggered when the labels of an issuable are updated.'
|
2022-08-05 18:08:56 +00:00
|
|
|
|
|
|
|
field :issuable_dates_updated, subscription: Subscriptions::IssuableUpdated, null: true,
|
|
|
|
description: 'Triggered when the due date or start date of an issuable is updated.'
|
2021-04-23 09:10:03 +00:00
|
|
|
end
|
|
|
|
end
|