discourse/plugins/automation/lib/discourse_automation/triggers/after_post_cook.rb

8 lines
273 B
Ruby

# frozen_string_literal: true
DiscourseAutomation::Triggerable.add(DiscourseAutomation::Triggers::AFTER_POST_COOK) do
field :restricted_category, component: :category
field :restricted_tags, component: :tags
field :valid_trust_levels, component: :"trust-levels"
end