mirror of
https://github.com/langgenius/dify.git
synced 2026-02-22 19:15:47 +08:00
feat: propagate trigger metadata for plugin icons across UI
This commit is contained in:
@ -13,6 +13,7 @@ workflow_app_log_partial_fields = {
|
||||
"created_by_account": fields.Nested(simple_account_fields, attribute="created_by_account", allow_null=True),
|
||||
"created_by_end_user": fields.Nested(simple_end_user_fields, attribute="created_by_end_user", allow_null=True),
|
||||
"created_at": TimestampField,
|
||||
"trigger_info": fields.Raw(attribute="trigger_info"),
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -6,6 +6,11 @@ trigger_fields = {
|
||||
"title": fields.String,
|
||||
"node_id": fields.String,
|
||||
"provider_name": fields.String,
|
||||
"provider_id": fields.String,
|
||||
"subscription_id": fields.String,
|
||||
"event_name": fields.String,
|
||||
"plugin_id": fields.String,
|
||||
"plugin_unique_identifier": fields.String,
|
||||
"icon": fields.String,
|
||||
"status": fields.String,
|
||||
"created_at": fields.DateTime(dt_format="iso8601"),
|
||||
|
||||
Reference in New Issue
Block a user