0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/plugins/automation/lib/discourse_automation/triggers/after_post_cook.rb
Osama Sayegh 3d4faf3272
FEATURE: Merge discourse-automation (#26432)
Automation (previously known as discourse-automation) is now a core plugin.
2024-04-03 18:20:43 +03:00

7 lines
273 B
Ruby
Vendored

# 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