cal.pub0.org/packages/trpc/server/routers/viewer/teams
Shane Maglangit 10f965570b
feat: Add copy invite link (#8355)
* feat: Add shared invite link

* refactor: Rename Invite to Team Invite model

* feat: add admin check for team invite link procedures

* Replace TeamInvite with VerificationToken

* Add team invite null checks

* Migrates tRPC procedures to new format

* Type fixes

* Update common.json

---------

Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
Co-authored-by: alannnc <alannnc@gmail.com>
Co-authored-by: Efraín Rochín <roae.85@gmail.com>
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
2023-06-06 23:34:14 +00:00
..
_router.tsx feat: Add copy invite link (#8355) 2023-06-06 23:34:14 +00:00
acceptOrLeave.handler.ts add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
acceptOrLeave.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
changeMemberRole.handler.ts add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
changeMemberRole.schema.ts add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
create.handler.ts add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
create.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
createInvite.handler.ts feat: Add copy invite link (#8355) 2023-06-06 23:34:14 +00:00
createInvite.schema.ts feat: Add copy invite link (#8355) 2023-06-06 23:34:14 +00:00
delete.handler.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
delete.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
deleteInvite.handler.ts feat: Add copy invite link (#8355) 2023-06-06 23:34:14 +00:00
deleteInvite.schema.ts feat: Add copy invite link (#8355) 2023-06-06 23:34:14 +00:00
get.handler.ts add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
get.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
getMemberAvailability.handler.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
getMemberAvailability.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
getMembershipbyUser.handler.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
getMembershipbyUser.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
getUpgradeable.handler.ts feat: Add copy invite link (#8355) 2023-06-06 23:34:14 +00:00
getUpgradeable.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
hasTeamPlan.handler.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
hasTeamPlan.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
inviteMember.handler.ts [Feat] Bulk Invite of Users + Google Workspace (#8969) 2023-05-24 01:01:31 +00:00
inviteMember.schema.ts [Feat] Bulk Invite of Users + Google Workspace (#8969) 2023-05-24 01:01:31 +00:00
inviteMemberByToken.handler.ts feat: Add copy invite link (#8355) 2023-06-06 23:34:14 +00:00
inviteMemberByToken.schema.ts feat: Add copy invite link (#8355) 2023-06-06 23:34:14 +00:00
list.handler.ts feat: Add copy invite link (#8355) 2023-06-06 23:34:14 +00:00
list.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
listInvites.handler.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
listInvites.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
listMembers.handler.ts feat: Add copy invite link (#8355) 2023-06-06 23:34:14 +00:00
listMembers.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
publish.handler.ts Add publishHandler user.id (#8703) 2023-05-05 15:36:33 +00:00
publish.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
removeMember.handler.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
removeMember.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
setInviteExpiration.handler.ts feat: Add copy invite link (#8355) 2023-06-06 23:34:14 +00:00
setInviteExpiration.schema.ts feat: Add copy invite link (#8355) 2023-06-06 23:34:14 +00:00
update.handler.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
update.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
updateMembership.handler.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
updateMembership.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
util.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00