dify/api/models
Harry d53399e546 refactor(trigger): rename trigger-related fields and methods for consistency
- Updated the naming convention from 'trigger_name' to 'event_name' across various models and services to align with the new event-driven architecture.
- Refactored methods in PluginTriggerManager and PluginTriggerProviderController to use 'invoke_trigger_event' instead of 'invoke_trigger'.
- Adjusted database migration scripts to reflect changes in the schema, including the addition of 'event_name' and 'subscription_id' fields in the workflow_plugin_triggers table.
- Removed deprecated trigger-related methods in WorkflowPluginTriggerService to streamline the codebase.
2025-10-11 12:26:08 +08:00
..
__init__.py Merge remote-tracking branch 'origin/main' into feat/trigger 2025-09-25 17:14:24 +08:00
_workflow_exc.py feat: Persist Variables for Enhanced Debugging Workflow (#20699) 2025-06-24 09:05:29 +08:00
account.py Refactor account models to use SQLAlchemy 2.0 dataclass mapping (#26415) 2025-10-10 17:12:12 +09:00
api_based_extension.py replace db with sa to get typing support (#23240) 2025-08-02 23:54:23 +08:00
base.py example add more type check (#24999) 2025-09-02 19:13:43 +08:00
dataset.py use model_validate (#26182) 2025-10-10 17:30:13 +09:00
engine.py feat(api): Add image multimodal support for LLMNode (#17372) 2025-04-30 17:28:02 +08:00
enums.py Merge remote-tracking branch 'origin/main' into feat/trigger 2025-09-25 17:14:24 +08:00
model.py one example of Session (#24135) 2025-09-24 03:32:48 +08:00
oauth.py fix avatar-url to text (#26068) 2025-09-22 21:28:42 +08:00
provider.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
provider_ids.py ruff format code 2025-10-01 23:39:46 +08:00
source.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
task.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
tools.py use model_validate (#26182) 2025-10-10 17:30:13 +09:00
trigger.py feat(trigger): refactor trigger debug event handling and improve response structures 2025-09-11 16:55:58 +08:00
types.py [Chore/Refactor] Improve type annotations in models module (#25281) 2025-09-08 09:42:27 +08:00
web.py replace db with sa to get typing support (#23240) 2025-08-02 23:54:23 +08:00
workflow.py refactor(trigger): rename trigger-related fields and methods for consistency 2025-10-11 12:26:08 +08:00