* 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>
8 lines
184 B
TypeScript
8 lines
184 B
TypeScript
import { z } from "zod";
|
|
|
|
export const ZDeleteInviteInputSchema = z.object({
|
|
token: z.string(),
|
|
});
|
|
|
|
export type TDeleteInviteInputSchema = z.infer<typeof ZDeleteInviteInputSchema>;
|