mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
Introduces the ability for users with the **Assistant** role to prefill fields on behalf of other signers. Assistants can fill in various field types such as text, checkboxes, dates, and more, streamlining the document preparation process before it reaches the final signers.
11 lines
405 B
TypeScript
11 lines
405 B
TypeScript
import type { RecipientRole } from '@prisma/client';
|
|
import { BadgeCheck, Copy, Eye, PencilLine, User } from 'lucide-react';
|
|
|
|
export const ROLE_ICONS: Record<RecipientRole, JSX.Element> = {
|
|
SIGNER: <PencilLine className="h-4 w-4" />,
|
|
APPROVER: <BadgeCheck className="h-4 w-4" />,
|
|
CC: <Copy className="h-4 w-4" />,
|
|
VIEWER: <Eye className="h-4 w-4" />,
|
|
ASSISTANT: <User className="h-4 w-4" />,
|
|
};
|