refactor(trigger): rename TriggerApiEntity to EventApiEntity and update related references

- Changed `TriggerApiEntity` to `EventApiEntity` in the trigger provider and subscription models to better reflect its purpose.
- Updated the description field type from `EventDescription` to `I18nObject` for improved consistency in event descriptions.
- Adjusted imports and references across multiple files to accommodate the renaming and type changes, ensuring proper functionality in trigger processing.
This commit is contained in:
Harry
2025-10-13 21:10:20 +08:00
parent d65d27a6bb
commit 8dfe693529
5 changed files with 11 additions and 20 deletions

View File

@ -107,7 +107,7 @@ export type Event = {
name: string
author: string
label: TypeWithI18N
description: any
description: TypeWithI18N
parameters: TriggerParameter[]
labels: string[]
output_schema: Record<string, any>