feat: propagate trigger metadata for plugin icons across UI

This commit is contained in:
lyzno1
2025-10-25 12:15:21 +08:00
parent e3484c8dc3
commit 3bd62f3fdf
9 changed files with 258 additions and 29 deletions

View File

@ -242,6 +242,19 @@ export type WorkflowRunDetail = {
total_steps: number
finished_at: number
}
export type TriggerInfo = {
type: string
node_id?: string
workflow_trigger_log_id?: string
provider_id?: string
provider_name?: string
subscription_id?: string
event_name?: string
plugin_id?: string
plugin_unique_identifier?: string
icon?: string
}
export type AccountInfo = {
id: string
name: string
@ -262,6 +275,7 @@ export type WorkflowAppLogDetail = {
created_by_end_user?: EndUserInfo
created_at: number
read_at?: number
trigger_info?: TriggerInfo
}
export type WorkflowLogsResponse = {
data: Array<WorkflowAppLogDetail>