@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
45 lines • 1.97 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActionOverride = void 0;
var core_1 = require("@aurahelper/core");
exports.ActionOverride = {
actionName: new core_1.EnumXMLField('actionName', 'Action Name')
.setMinApi(18)
.setEditable()
.setRequired()
.addEnumValue('Accept', 'accept')
.addEnumValue('Clone', 'clone')
.addEnumValue('Delete', 'delete')
.addEnumValue('Edit', 'edit')
.addEnumValue('List', 'list')
.addEnumValue('New', 'new')
.addEnumValue('Tab', 'tab')
.addEnumValue('View', 'view'),
comment: new core_1.StringXMLField('comment', 'Comment')
.setMinApi(18)
.setEditable(),
content: new core_1.StringXMLField('content', 'Content')
.setMinApi(18)
.setEditable()
.addDependencyField(new core_1.XMLDependencyField('type', ['flexipage', 'lightningcomponent', 'scontrol', 'visualforce'], core_1.DataValues.NOT_NULL)),
formFactor: new core_1.EnumXMLField('formFactor', 'Form Factor')
.setMinApi(37)
.setEditable()
.addEnumValue('Large', 'Large')
.addEnumValue('Medium', 'Medium')
.addEnumValue('Small', 'Small')
.addDependencyField(new core_1.XMLDependencyField('type', 'flexipage', 'Large')),
skipRecordTypeSelect: new core_1.BooleanXMLField('skipRecordTypeSelect', 'Skip Record Type Select')
.setMinApi(21)
.setEditable(),
type: new core_1.EnumXMLField('type', 'Type')
.setMinApi(18)
.setEditable()
.addEnumValue('Default', 'default')
.addEnumValue('Flexipage', 'flexipage')
.addEnumValue('Lightning Component', 'lightningcomponent')
.addEnumValue('S-Control', 'scontrol')
.addEnumValue('Standard', 'standard')
.addEnumValue('Visualforce', 'visualforce')
};
//# sourceMappingURL=actionOverride.js.map