add create reply

This commit is contained in:
hjlarry
2025-08-22 17:33:47 +08:00
parent 5fa01132b9
commit 9f7321ca1a
6 changed files with 180 additions and 99 deletions
+2 -4
View File
@@ -9,6 +9,7 @@ comment_account_fields = {"id": fields.String, "name": fields.String, "email": f
workflow_comment_mention_fields = {
"mentioned_user_id": fields.String,
"mentioned_user_account": fields.Nested(comment_account_fields, allow_null=True),
"reply_id": fields.String
}
# Comment reply fields
@@ -97,12 +98,9 @@ workflow_comment_pagination_fields = {
"limit": fields.Integer,
}
# Reply creation response fields
# Reply creation response fields (simplified)
workflow_comment_reply_create_fields = {
"id": fields.String,
"content": fields.String,
"created_by": fields.String,
"created_by_account": fields.Nested(comment_account_fields, allow_null=True),
"created_at": TimestampField,
}