mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 00:48:04 +08:00
feat: propagate trigger metadata for plugin icons across UI
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user