feat(workspace-compose): add recipient routing roles and drag-and-drop routing management
This commit is contained in:
@@ -13,6 +13,7 @@ export type TWorkspaceView =
|
||||
|
||||
export type TWorkspaceTheme = 'dark' | 'light';
|
||||
export type TDensity = 'compact' | 'comfortable';
|
||||
export type TRecipientRole = 'signer' | 'copy' | 'updates';
|
||||
|
||||
export interface IDocumentRow {
|
||||
id: string;
|
||||
@@ -31,6 +32,7 @@ export interface IRecipient {
|
||||
email: string;
|
||||
color: string;
|
||||
order: number;
|
||||
role: TRecipientRole;
|
||||
}
|
||||
|
||||
export interface IFieldPlacement {
|
||||
@@ -55,9 +57,9 @@ export const demoDocuments: IDocumentRow[] = [
|
||||
];
|
||||
|
||||
export const demoRecipients: IRecipient[] = [
|
||||
{ id: 0, name: 'Sarah Chen', email: 'sarah@acme.com', color: '#60a5fa', order: 1 },
|
||||
{ id: 1, name: 'David Park', email: 'd.park@acme.com', color: '#fbbf24', order: 2 },
|
||||
{ id: 2, name: 'Philipp K.', email: 'philipp@lossless.com', color: '#3b82f6', order: 3 },
|
||||
{ id: 0, name: 'Sarah Chen', email: 'sarah@acme.com', color: '#60a5fa', order: 1, role: 'signer' },
|
||||
{ id: 1, name: 'David Park', email: 'd.park@acme.com', color: '#fbbf24', order: 2, role: 'signer' },
|
||||
{ id: 2, name: 'Philipp K.', email: 'philipp@lossless.com', color: '#3b82f6', order: 3, role: 'updates' },
|
||||
];
|
||||
|
||||
export const demoFields: IFieldPlacement[] = [
|
||||
|
||||
Reference in New Issue
Block a user