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

41 lines 1.9 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PlatformCachePartition = void 0; var core_1 = require("@aurahelper/core"); exports.PlatformCachePartition = { description: new core_1.StringXMLField('description', 'Description') .setMinApi(35) .setEditable(), isDefaultPartition: new core_1.BooleanXMLField('isDefaultPartition', 'Is Default Partition') .setMinApi(35) .setEditable() .setRequired(), masterLabel: new core_1.StringXMLField('masterLabel', 'Master Label') .setMinApi(35) .setEditable() .setRequired(), platformCachePartitionTypes: new core_1.ArrayXMLField('platformCachePartitionTypes', 'Platform Cache Partition Types') .setMinApi(35) .setEditable() .setFieldKey('cacheType') .setSortOrder(undefined) .addField('allocatedCapacity', new core_1.IntegerXMLField('allocatedCapacity', 'Allocated Capacity') .setEditable() .setRequired()) .addField('allocatedPartnerCapacity', new core_1.IntegerXMLField('allocatedPartnerCapacity', 'Allocated Partner Capacity') .setMinApi(51) .setEditable() .setRequired()) .addField('allocatedPurchasedCapacity', new core_1.IntegerXMLField('allocatedPurchasedCapacity', 'Allocated Purchased Capacity') .setEditable() .setRequired()) .addField('allocatedTrialCapacity', new core_1.IntegerXMLField('allocatedTrialCapacity', 'Allocated Trial Capacity') .setEditable() .setRequired()) .addField('cacheType', new core_1.EnumXMLField('cacheType', 'Cache Type') .setEditable() .setRequired() .addEnumValue('Session', 'Session') .addEnumValue('Organization', 'Organization')) }; //# sourceMappingURL=platformCachePartition.js.map