Skip to content

A platform for community discussion. Free, open, simple.

DEV: document topic archetype in workflows output schema (#42811)

Osama Sayegh8ecb5e0a2f89
diff --git a/plugins/discourse-workflows/lib/discourse_workflows/schema.rb b/plugins/discourse-workflows/lib/discourse_workflows/schema.rb
index 5b6c72e734e..1e372c41356 100644
--- a/plugins/discourse-workflows/lib/discourse_workflows/schema.rb
+++ b/plugins/discourse-workflows/lib/discourse_workflows/schema.rb
@@ -45,6 +45,7 @@ module DiscourseWorkflows
"title": { "type": "string" },
"fancy_title": { "type": "string" },
"slug": { "type": "string" },
+ "archetype": { "type": "string", "description": "regular for topics, private_message for PMs" },
"posts_count": { "type": "integer" },
"category_id": { "type": ["integer", "null"] },
"user_id": { "type": "integer" },