mirror of https://github.com/langgenius/dify.git
- Modified `PluginTriggerApi` to accept `trigger_name` as a JSON argument and return encoded plugin triggers. - Updated `WorkflowPluginTrigger` model to replace `trigger_id` with `trigger_name` for better clarity. - Adjusted `WorkflowPluginTriggerService` to handle the new `trigger_name` field and ensure proper error handling for subscriptions. - Enhanced `workflow_trigger_fields` to include `trigger_name` in the plugin trigger schema. This change improves the API's clarity and aligns the model with the updated naming conventions. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _workflow_exc.py | ||
| account.py | ||
| api_based_extension.py | ||
| base.py | ||
| dataset.py | ||
| engine.py | ||
| enums.py | ||
| model.py | ||
| provider.py | ||
| source.py | ||
| task.py | ||
| tools.py | ||
| trigger.py | ||
| types.py | ||
| web.py | ||
| workflow.py | ||