@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
26 lines • 1.15 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FieldSrcTrgtRelationship = void 0;
var core_1 = require("@aurahelper/core");
exports.FieldSrcTrgtRelationship = {
definitionCreationType: new core_1.StringXMLField('definitionCreationType', 'Definition Creation Type')
.setMinApi(51)
.setEditable(),
masterLabel: new core_1.StringXMLField('masterLabel', 'Master Label')
.setMinApi(51)
.setEditable()
.setRequired(),
relationshipCardinality: new core_1.EnumXMLField('relationshipCardinality', 'Relationship Cardinality')
.setMinApi(51)
.setEditable()
.addEnumValue('One To One', 'OneToOne')
.addEnumValue('One To Many', 'OneToMany')
.addEnumValue('Many To Many', 'ManyToMany'),
sourceFieldName: new core_1.StringXMLField('sourceFieldName', 'Source Field Name')
.setMinApi(51)
.setEditable(),
targetFieldName: new core_1.StringXMLField('targetFieldName', 'Target Field Name')
.setMinApi(51)
.setEditable(),
};
//# sourceMappingURL=fieldSrcTrgtRelationship.js.map