scolladon/sfdx-git-delta

View on GitHub
src/constant/metadataConstants.ts

Summary

Maintainability
A
0 mins
Test Coverage
'use strict'
export const CUSTOM_APPLICATION_SUFFIX = 'app'
export const CUSTOM_METADATA_SUFFIX = 'md'
export const EMAIL_SERVICES_FUNCTION_SUFFIX = 'xml'
export const FIELD_DIRECTORY_NAME = 'fields'
export const FLOW_XML_NAME = 'Flow'
export const INFOLDER_SUFFIX = `Folder`
export const LABEL_DECOMPOSED_SUFFIX = 'label'
export const MASTER_DETAIL_TAG = '<type>MasterDetail</type>'
export const METAFILE_SUFFIX = '-meta.xml'
export const META_REGEX = new RegExp(`${METAFILE_SUFFIX}$`)
export const OBJECT_META_XML_SUFFIX = `object${METAFILE_SUFFIX}`
export const OBJECT_TRANSLATION_META_XML_SUFFIX = `objectTranslation${METAFILE_SUFFIX}`
export const OBJECT_TRANSLATION_TYPE = 'CustomObjectTranslation'
export const OBJECT_TYPE = 'CustomObject'
export const SHARING_RULE_TYPE = 'SharingRules'
export const SUB_OBJECT_TYPES = [
  'BusinessProcess',
  'CompactLayout',
  'CustomField',
  'FieldSet',
  'Index',
  'ListView',
  'RecordType',
  'SharingCriteriaRule',
  'SharingGuestRule',
  'SharingOwnerRule',
  'SharingReason',
  'Territory2',
  'Territory2Rule',
  'ValidationRule',
  'WebLink',
  'WorkflowAlert',
  'WorkflowFieldUpdate',
  'WorkflowKnowledgePublish',
  'WorkflowOutboundMessage',
  'WorkflowRule',
  'WorkflowSend',
  'WorkflowTask',
]
export const TERRITORY_MODEL_TYPE = 'Territory2Model'
export const TRANSLATION_EXTENSION = 'translation'
export const TRANSLATION_TYPE = 'Translations'
export const WORKFLOW_TYPE = 'Workflow'