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

54 lines 2.16 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AnimationRule = void 0; var core_1 = require("@aurahelper/core"); exports.AnimationRule = { animationFrequency: new core_1.EnumXMLField('animationFrequency', 'Animation Frequency') .setMinApi(46) .setEditable() .setRequired() .addEnumValue('Always', 'always') .addEnumValue('Often', 'often') .addEnumValue('Sometimes', 'sometimes') .addEnumValue('Rarely', 'rarely'), developerName: new core_1.StringXMLField('developerName', 'Developer Name') .setMinApi(46) .setUnique() .setEditable() .setRequired(), isActive: new core_1.BooleanXMLField('isActive', 'Is Active') .setMinApi(46) .setEditable() .setRequired() .setDefaultValue(true), masterLabel: new core_1.StringXMLField('masterLabel', 'Master Label') .setMinApi(46) .setEditable() .setRequired(), recordTypeContext: new core_1.EnumXMLField('recordTypeContext', 'Record Type Context') .setMinApi(46) .setEditable() .setRequired() .addEnumValue('All', 'All') .addEnumValue('Master', 'Master') .addEnumValue('Custom', 'Custom'), recordTypeName: new core_1.StringXMLField('recordTypeName', 'Record Type Name') .setMinApi(46) .setEditable() .setMetadataType(core_1.MetadataTypes.RECORD_TYPE), sobjectType: new core_1.StringXMLField('sobjectType', 'SObject Type') .setMinApi(46) .setEditable() .setRequired() .setMetadataType(core_1.MetadataTypes.CUSTOM_OBJECT), targetField: new core_1.StringXMLField('targetField', 'Target Field') .setMinApi(46) .setEditable() .setRequired() .setMetadataType(core_1.MetadataTypes.CUSTOM_FIELD), targetFieldChangeToValues: new core_1.StringXMLField('targetFieldChangeToValues', 'Target Field Change To Values') .setMinApi(46) .setEditable() .setRequired(), }; //# sourceMappingURL=animationRule.js.map