feat: add signing link copy (#1449)

This commit is contained in:
David Nguyen
2024-11-06 21:34:06 +09:00
committed by GitHub
parent 1b10c55758
commit efbe94aea8
7 changed files with 341 additions and 43 deletions

View File

@ -1,5 +1,9 @@
import { type Field, type Recipient, RecipientRole, SigningStatus } from '@documenso/prisma/client';
import { NEXT_PUBLIC_WEBAPP_URL } from '../constants/app';
export const formatSigningLink = (token: string) => `${NEXT_PUBLIC_WEBAPP_URL()}/sign/${token}`;
/**
* Whether a recipient can be modified by the document owner.
*/