mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 07:43:16 +10:00
## Description 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. https://github.com/user-attachments/assets/c1321578-47ec-405b-a70a-7d9578385895
12 lines
406 B
TypeScript
12 lines
406 B
TypeScript
import { BadgeCheck, Copy, Eye, PencilLine, User } from 'lucide-react';
|
|
|
|
import type { RecipientRole } from '.prisma/client';
|
|
|
|
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" />,
|
|
};
|