mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 16:51:38 +10:00
feat: move opengraph-image to next.js 13 implementation
This commit is contained in:
@ -1,8 +1,13 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
export const ZShareLinkSchema = z.object({
|
||||
export const ZShareLinkCreateSchema = z.object({
|
||||
documentId: z.number(),
|
||||
recipientId: z.number(),
|
||||
});
|
||||
|
||||
export type ZShareLinkSchema = z.infer<typeof ZShareLinkSchema>;
|
||||
export const ZShareLinkGetSchema = z.object({
|
||||
shareId: z.string(),
|
||||
});
|
||||
|
||||
export type ZShareLinkCreateSchema = z.infer<typeof ZShareLinkCreateSchema>;
|
||||
export type ZShareLinkGetSchema = z.infer<typeof ZShareLinkGetSchema>;
|
||||
|
||||
Reference in New Issue
Block a user