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

46 lines 2 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WebStoreTemplate = void 0; var core_1 = require("@aurahelper/core"); exports.WebStoreTemplate = { defaultCurrency: new core_1.StringXMLField('defaultCurrency', 'Default Currency') .setMinApi(49) .setEditable(), defaultLanguage: new core_1.EnumXMLField('defaultLanguage', 'Default Language') .setMinApi(49) .setEditable() .setEnumValues(core_1.DataValues.SF_LANGUAGES), description: new core_1.StringXMLField('description', 'Description') .setMinApi(49) .setEditable(), masterLabel: new core_1.StringXMLField('masterLabel', 'Master Label') .setMinApi(49) .setEditable(), maxValuesPerFacet: new core_1.IntegerXMLField('maxValuesPerFacet', 'Max Values Per Facet') .setMinApi(49) .setEditable(), paginationSize: new core_1.IntegerXMLField('paginationSize', 'Pagination Size') .setMinApi(49) .setEditable(), pricingStrategy: new core_1.EnumXMLField('pricingStrategy', 'Pricing Strategy') .setMinApi(49) .setEditable() .addEnumValue('Lowest Price', 'LowestPrice') .addEnumValue('Priority', 'Priority'), supportedCurrencies: new core_1.StringXMLField('supportedCurrencies', 'Supported Currencies') .setMinApi(49) .setEditable(), supportedLanguages: new core_1.StringXMLField('supportedLanguages', 'Supported Languages') .setMinApi(49) .setEditable(), webStoreType: new core_1.ArrayXMLField('webStoreType', 'Web Store Type') .setMinApi(49) .setEditable() .setFieldKey('webStoreType') .setSortOrder(undefined) .addField('webStoreType', new core_1.EnumXMLField('webStoreType', 'Web Store Type') .setEditable() .setDefaultValue('B2B') .addEnumValue('B2B', 'B2B')), }; //# sourceMappingURL=webStoreTemplate.js.map