mirror of
https://github.com/documenso/documenso.git
synced 2025-11-09 20:12:31 +10:00
Fixes #705 --------- Co-authored-by: Lucas Smith <me@lucasjamessmith.me> Co-authored-by: David Nguyen <davidngu28@gmail.com>
27 lines
651 B
TypeScript
27 lines
651 B
TypeScript
import { RecipientRole } from '@documenso/prisma/client';
|
|
|
|
export const RECIPIENT_ROLES_DESCRIPTION: {
|
|
[key in RecipientRole]: { actionVerb: string; progressiveVerb: string; roleName: string };
|
|
} = {
|
|
[RecipientRole.APPROVER]: {
|
|
actionVerb: 'Approve',
|
|
progressiveVerb: 'Approving',
|
|
roleName: 'Approver',
|
|
},
|
|
[RecipientRole.CC]: {
|
|
actionVerb: 'CC',
|
|
progressiveVerb: 'CC',
|
|
roleName: 'CC',
|
|
},
|
|
[RecipientRole.SIGNER]: {
|
|
actionVerb: 'Sign',
|
|
progressiveVerb: 'Signing',
|
|
roleName: 'Signer',
|
|
},
|
|
[RecipientRole.VIEWER]: {
|
|
actionVerb: 'View',
|
|
progressiveVerb: 'Viewing',
|
|
roleName: 'Viewer',
|
|
},
|
|
};
|