♻️ Rename registration token to invite, add created by
This commit is contained in:
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())
|
||||
Reference in new issue
Block a user