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

61 lines 2.62 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ArticleType = void 0; var core_1 = require("@aurahelper/core"); var customField_1 = require("./customField"); exports.ArticleType = { articleTypeChannelDisplay: new core_1.ObjectXMLField('articleTypeChannelDisplay', 'Article Type Channel Display') .setMinApi(19) .setEditable() .setFieldKey('articleTypeTemplates') .setSortOrder(undefined) .addField('articleTypeTemplates', new core_1.ArrayXMLField('articleTypeTemplates', 'Article Type Templates') .setEditable() .setFieldKey('page') .addField('channel', new core_1.EnumXMLField('channel', 'Channel') .setEditable() .setDefaultValue('AllChannels') .addEnumValue('All Channels', 'AllChannels') .addEnumValue('App', 'App') .addEnumValue('Publick Knowledge Base', 'Pkb') .addEnumValue('Custom Portal', 'Csp') .addEnumValue('Partner Portal', 'Prm')) .addField('page', new core_1.StringXMLField('page', 'Page') .setEditable()) .addField('template', new core_1.EnumXMLField('template', 'Template') .setEditable() .setDefaultValue('AllChannels') .addEnumValue('Page', 'Page') .addEnumValue('Tab', 'Tab') .addEnumValue('Table of Content', 'Toc'))), deploymentStatus: new core_1.EnumXMLField('deploymentStatus', 'Deployment Status') .setMinApi(19) .setEditable() .setDefaultValue('InDevelopment') .addEnumValue('In Development', 'InDevelopment') .addEnumValue('Deployed', 'Deployed'), description: new core_1.StringXMLField('description', 'Description') .setMinApi(19) .setEditable() .setMaxLength(100), fields: new core_1.ArrayXMLField('fields', 'Fields') .setMinApi(19) .setEditable() .setFieldKey('fullName') .setFields(customField_1.CustomField), gender: new core_1.EnumXMLField('gender', 'Gender') .setMinApi(19) .setEditable() .setEnumValues(core_1.DataValues.GENDER), label: new core_1.StringXMLField('label', 'Label') .setMinApi(19) .setEditable(), pluralLabel: new core_1.StringXMLField('pluralLabel', 'Plural Label') .setMinApi(19) .setEditable(), startsWith: new core_1.EnumXMLField('startsWith', 'Starts With') .setMinApi(19) .setEditable() .setEnumValues(core_1.DataValues.STARTS_WITH), }; //# sourceMappingURL=articleType.js.map