1234567891011121314151617181920 |
- module Gql::Subscriptions
- class AppMaintenance < BaseSubscription
- description 'Application update/change events'
- broadcastable true
- field :type, Gql::Types::Enum::AppMaintenanceTypeType, null: true, description: 'Maintenance type, may trigger actions in the front end'
- def self.authorize(...)
- true
- end
- def update
- object
- end
- end
- end
|