mirror of
https://github.com/xtr-dev/payload-automation.git
synced 2025-12-15 11:03:22 +00:00
WIP: Refactor triggers to TriggerConfig pattern
- Convert webhook, global, and cron triggers to use TriggerConfig pattern like collectionTrigger - Simplify trigger slug names (remove '-trigger' suffix) - Update validation to use new slug names - Add perfectionist/sort-exports rule disable - Note: Workflow.ts integration still needs fixes for type compatibility
This commit is contained in:
@@ -1,4 +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'
|
||||
export { collectionTrigger } from './collection-trigger.js'
|
||||
export { cronTrigger } from './cron-trigger.js'
|
||||
export { globalTrigger } from './global-trigger.js'
|
||||
export { webhookTrigger } from './webhook-trigger.js'
|
||||
|
||||
Reference in New Issue
Block a user