Mailspring/internal_packages/composer-mail-merge/lib/mail-merge-constants.es6
Juan Tejada 021eac7679 feat(mail-merge): Add mail merge plugin
Summary:
Adds Mail Merge Plugin
- Adds new table components to component kit
- Adds new extension points to allow dragging and dropping into composer contenteditable and participant fields and customizing participant fields
- Adds new decorators and other misc updates
- #1608

Test Plan: TODO

Reviewers: bengotow, evan

Reviewed By: bengotow, evan

Differential Revision: https://phab.nylas.com/D2895
2016-04-22 18:29:07 -07:00

31 lines
663 B
JavaScript

import plugin from '../package.json'
export const PLUGIN_ID = plugin.appId[NylasEnv.config.get("env")];
export const PLUGIN_NAME = "Mail Merge"
export const DEBUG = true
export const ParticipantFields = ['to', 'cc', 'bcc']
export const DataTransferTypes = {
ColIdx: 'mail-merge:col-idx',
DraftId: 'mail-merge:draft-client-id',
}
export const TableActionNames = [
'addColumn',
'removeColumn',
'addRow',
'removeRow',
'updateCell',
'shiftSelection',
'setSelection',
]
export const WorkspaceActionNames = [
'toggleWorkspace',
'linkToDraft',
'unlinkFromDraft',
]
export const ActionNames = [...TableActionNames, ...WorkspaceActionNames]