DEV: adds post_created_edited suport to chat (#28757)

This commit is contained in:
Joffrey JAFFEUX
2024-09-05 17:17:18 +02:00
committed by GitHub
parent b7cfd4e146
commit 9b630c8cca
6 changed files with 135 additions and 2 deletions

View File

@ -13,11 +13,16 @@ DiscourseAutomation::Triggerable.add(DiscourseAutomation::Triggers::POST_CREATED
],
}
field :restricted_category, component: :category
field :restricted_tags, component: :tags
field :restricted_group, component: :group
field :ignore_automated, component: :boolean
field :ignore_group_members, component: :boolean
field :valid_trust_levels, component: :"trust-levels"
field :original_post_only, component: :boolean
field :first_post_only, component: :boolean
field :first_topic_only, component: :boolean
field :skip_via_email, component: :boolean
placeholder :topic_url
placeholder :topic_title
end