mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
feat: create sharing id for each recipient
This commit is contained in:
8
packages/trpc/server/share-router/schema.ts
Normal file
8
packages/trpc/server/share-router/schema.ts
Normal 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>;
|
||||
Reference in New Issue
Block a user