cal.pub0.org/packages/trpc
Carina Wollendorfer 84efda07e9
Team webhooks (#8917)
* allow event type specific webhooks for all event types

* first version of team webhooks

* add empty view

* design fixes when no teams + invalidate query on delete/update

* linke to new webhooks page with teamId in query

* make one button with dropdown instead of a button for every team

* add subtitle to dropdown

* add avatar fallback

* authorization when editing webhook

* fix event type webhooks

* fix authorization for delete handler

* code clean up

* fix disabled switch

* add migration

* fix subscriberUrlReservered function and fix authorization

* fix type error

* fix type error

* fix switch not updating

* make sure webhooks are triggered for the correct even types

* code clean up

* only show teams were user has write access

* make webhooks read-only for members

* fix comment

* fix type error

* fix webhook tests for team event types

* implement feedback

* code clean up from feedback

* code clean up (feedback)

* throw error if param missing in subscriberUrlReservered

* handle null/undefined values in getWebhooks itself

* better variable naming

* better check if webhook is readonly

* create assertPartOfTeamWithRequiredAccessLevel to remove duplicate code

---------

Co-authored-by: CarinaWolli <wollencarina@gmail.com>
Co-authored-by: alannnc <alannnc@gmail.com>
2023-05-23 01:15:29 +00:00
..
client Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
next Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
react Fix: Profile update refresh issues (#8570) 2023-05-20 00:37:58 +00:00
server Team webhooks (#8917) 2023-05-23 01:15:29 +00:00
index.ts Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
package.json Add changesets/cli to release embed (#8126) 2023-05-13 08:22:31 +00:00
tsconfig.json refactor: cleanup use of rawInput and pipe mdwr in trpc router (#7422) 2023-02-28 14:40:19 -07:00