@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
61 lines • 2.5 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentAsset = void 0;
var core_1 = require("@aurahelper/core");
exports.ContentAsset = {
format: new core_1.EnumXMLField('format', 'Format')
.setMinApi(38)
.setEditable()
.addEnumValue('Original', 'Original')
.addEnumValue('Zipped Versions', 'ZippedVersions'),
isVisibleByExternalUsers: new core_1.BooleanXMLField('isVisibleByExternalUsers', 'Is Visible By External Users')
.setMinApi(44)
.setEditable()
.setDefaultValue(false),
language: new core_1.StringXMLField('language', 'Language')
.setMinApi(38)
.setEditable()
.setRequired(),
masterLabel: new core_1.StringXMLField('masterLabel', 'Master Label')
.setMinApi(38)
.setEditable()
.setRequired(),
originNetwork: new core_1.StringXMLField('originNetwork', 'Origin Network')
.setMinApi(38)
.setEditable()
.setRequired(),
relationships: new core_1.ArrayXMLField('relationships', 'Relationships')
.setMinApi(38)
.setEditable()
.setFieldKey('organization')
.addField('organization', new core_1.ArrayXMLField('organization', 'Organization')
.setEditable()
.setFieldKey('name')
.addField('access', new core_1.EnumXMLField('access', 'Access')
.setEditable()
.setRequired()
.addEnumValue('Viewer', 'VIEWER')
.addEnumValue('Collaborator', 'COLLABORATOR')
.addEnumValue('Inferred', 'INFERRED'))
.addField('name', new core_1.StringXMLField('name', 'Name')
.setEditable())),
versions: new core_1.ObjectXMLField('versions', 'Versions')
.setMinApi(38)
.setEditable()
.setRequired()
.setFieldKey('version')
.setSortOrder(undefined)
.addField('version', new core_1.ArrayXMLField('version', 'Version')
.setEditable()
.setFieldKey('number')
.setSortOrder(undefined)
.addField('number', new core_1.StringXMLField('number', 'Number')
.setEditable()
.setRequired())
.addField('pathOnClient', new core_1.StringXMLField('pathOnClient', 'Path On Client')
.setEditable()
.setRequired())
.addField('zipEntry', new core_1.StringXMLField('zipEntry', 'Zip Entry')
.setEditable()))
};
//# sourceMappingURL=contentAsset.js.map