Refactor: Move trigger field configs to separate modules

- Create dedicated triggers directory for trigger field configurations
- Extract collection, webhook, global, and cron trigger fields into separate modules
- Improve code organization and maintainability
- Update Workflow.ts to use the new modular trigger imports
This commit is contained in:
2025-09-10 09:29:33 +02:00
parent 25d42b4653
commit 449b80e162
6 changed files with 256 additions and 218 deletions

4
src/triggers/index.ts Normal file
View File

@@ -0,0 +1,4 @@
export { getCollectionTriggerFields } from './collection-trigger.js'
export { getCronTriggerFields } from './cron-trigger.js'
export { getGlobalTriggerFields } from './global-trigger.js'
export { getWebhookTriggerFields } from './webhook-trigger.js'