feat: create sharing id for each recipient

This commit is contained in:
Ephraim Atta-Duncan
2023-08-29 18:23:52 +00:00
parent e8559cecd5
commit 874d919a6a
13 changed files with 163 additions and 68 deletions

View File

@ -0,0 +1,8 @@
import { z } from 'zod';
export const ZShareLinkSchema = z.object({
documentId: z.number(),
recipientId: z.number(),
});
export type ZShareLinkSchema = z.infer<typeof ZShareLinkSchema>;