Skip to content

feat(webhooks): add project event filters - #94

Open
phucnguyen1707 wants to merge 1 commit into
moshcoder:masterfrom
phucnguyen1707:feat/project-webhook-event-subscriptions
Open

feat(webhooks): add project event filters#94
phucnguyen1707 wants to merge 1 commit into
moshcoder:masterfrom
phucnguyen1707:feat/project-webhook-event-subscriptions

Conversation

@phucnguyen1707

Copy link
Copy Markdown
Contributor

Summary

  • normalize event filters on webhook creation by trimming, deduplicating, and defaulting blank lists to a wildcard
  • reject malformed event names and persist the canonical filter list
  • keep normal dispatch subscription-aware while letting authenticated test sends reach every active project endpoint

Tests

  • bun test tests/webhook-events.test.mjs tests/project-webhook-management.test.mjs — 11 passed
  • full Node test suite — 169 passed
  • npx tsc --noEmit
  • npm run build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant