mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 16:23:06 +10:00
14 lines
355 B
TypeScript
14 lines
355 B
TypeScript
import { z } from 'zod';
|
|
|
|
export const ZShareLinkCreateSchema = z.object({
|
|
documentId: z.number(),
|
|
recipientId: z.number(),
|
|
});
|
|
|
|
export const ZShareLinkGetSchema = z.object({
|
|
shareId: z.string(),
|
|
});
|
|
|
|
export type ZShareLinkCreateSchema = z.infer<typeof ZShareLinkCreateSchema>;
|
|
export type ZShareLinkGetSchema = z.infer<typeof ZShareLinkGetSchema>;
|