♻️ Rename registration token to invite, add created by

This commit is contained in:
Meier Lukas committed 2023-08-01 11:43:24 +02:00
1 parent df890b8c0a
commit f93d935175
18 files changed
+109 -97

No files matched your search

@@ -1,7 +1,7 @@
import dayjs from 'dayjs';
import { z } from 'zod';
export const createRegistrationTokenSchema = z.object({
export const createInviteSchema = z.object({
expiration: z
.date()
.min(dayjs().add(5, 'minutes').toDate())