UNPKG

@aurahelper/xml-definitions

Version:

Powerfull Libraries to get the XML Definitions of ALL XML Salesforce Metadata Files. Support All API Versions up to API 53.0. You can get the definition of one or more XML files for a specific version of Salesforce. For Example: You can get the XML Defini

84 lines 3.63 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CustomTab = void 0; var core_1 = require("@aurahelper/core"); var actionOverride_1 = require("./actionOverride"); exports.CustomTab = { actionOverrides: new core_1.ArrayXMLField('actionOverrides', 'ActionOverrides') .setMinApi(37) .setEditable() .setFieldKey('actionName') .setSortOrder(undefined) .setMetadataType(core_1.MetadataTypes.ACTION_OVERRIDE) .setFields(actionOverride_1.ActionOverride), auraComponent: new core_1.StringXMLField('auraComponent', 'Aura Component') .setMinApi(10) .setEditable() .setMetadataType(core_1.MetadataTypes.AURA_DEFINITION_BUNDLE), customObject: new core_1.BooleanXMLField('customObject', 'Custom Object') .setMinApi(10) .setEditable(), description: new core_1.StringXMLField('description', 'Description') .setMinApi(10) .setEditable(), flexiPage: new core_1.StringXMLField('flexiPage', 'Flexi Page') .setMinApi(10) .setEditable() .setMetadataType(core_1.MetadataTypes.FLEXI_PAGE), frameHeight: new core_1.IntegerXMLField('frameHeight', 'Frame Height') .setMinApi(10) .setEditable(), fullName: new core_1.StringXMLField('fullName', 'FullName') .setMinApi(10) .setEditable() .setRequired() .addMatchPattern(/^[^\d\s_](\w)+$/) .setUnique(), hasSidebar: new core_1.BooleanXMLField('hasSidebar', 'Has Sidebar') .setMinApi(10) .setEditable(), icon: new core_1.StringXMLField('icon', 'Icon') .setMinApi(14) .setEditable(), label: new core_1.StringXMLField('label', 'Label') .setMinApi(10) .setEditable(), lwcComponent: new core_1.StringXMLField('lwcComponent', 'LWC Component') .setMinApi(10) .setEditable() .setMetadataType(core_1.MetadataTypes.LIGHTNING_COMPONENT_BUNDLE), motif: new core_1.StringXMLField('motif', 'Motif') .setMinApi(10) .setEditable() .setRequired(), page: new core_1.StringXMLField('page', 'Page') .setMinApi(10) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), scontrol: new core_1.StringXMLField('scontrol', 'S-Control') .setMinApi(10) .setEditable() .setMetadataType(core_1.MetadataTypes.S_CONTROL), splashPageLink: new core_1.StringXMLField('splashPageLink', 'Splash Page Link') .setMinApi(10) .setEditable(), url: new core_1.StringXMLField('url', 'URL') .setMinApi(10) .setEditable(), urlEncodingKey: new core_1.EnumXMLField('urlEncodingKey', 'URL Encoding Key') .setMinApi(10) .setEditable() .setRequired() .setDefaultValue('UTF-8') .addEnumValue('Unicode (UTF-8)', 'UTF-8') .addEnumValue('General US & Western Europe (ISO-8859–1, ISO-LATIN-1)', 'ISO-8859-1') .addEnumValue('Japanese (Shift-JIS)', 'Shift_JIS') .addEnumValue('Japanese (JIS)', 'ISO-2022-JP') .addEnumValue('Japanese (EUC-JP)', 'EUC-JP') .addEnumValue('Japanese (Shift-JIS_2004)', 'x-SJIS_0213') .addEnumValue('Korean (ks_c_5601-1987)', 'ks_c_5601-1987') .addEnumValue('Traditional Chinese (Big5)', 'Big5') .addEnumValue('Simplified Chinese (GB2312)', 'GB2312') .addEnumValue('Traditional Chinese Hong Kong (Big5–HKSCS)', 'Big5-HKSCS'), }; //# sourceMappingURL=customTab.js.map