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

217 lines 10.3 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CustomSite = void 0; var core_1 = require("@aurahelper/core"); exports.CustomSite = { active: new core_1.BooleanXMLField('active', 'Active') .setMinApi(14) .setEditable() .setRequired(), allowHomePage: new core_1.BooleanXMLField('allowHomePage', 'Allow Home Page') .setMinApi(15) .setEditable() .setRequired(), allowStandardAnswersPages: new core_1.BooleanXMLField('allowStandardAnswersPages', 'Allow Standard Answers Pages') .setMinApi(19) .setEditable(), allowStandardIdeasPages: new core_1.BooleanXMLField('allowStandardIdeasPages', 'Allow Standard Ideas Pages') .setMinApi(15) .setEditable() .setRequired(), allowStandardLookups: new core_1.BooleanXMLField('allowStandardLookups', 'Allow Standard Lookups') .setMinApi(15) .setEditable() .setRequired(), allowStandardPortalPages: new core_1.BooleanXMLField('allowStandardPortalPages', 'Allow Standard Portal Pages') .setMinApi(39) .setEditable() .setRequired(), allowStandardSearch: new core_1.BooleanXMLField('allowStandardSearch', 'Allow Standard Search') .setMinApi(15) .setEditable() .setRequired(), analyticsTrackingCode: new core_1.BooleanXMLField('analyticsTrackingCode', 'Analytics Tracking Code') .setMinApi(17) .setEditable() .setRequired(), authorizationRequiredPage: new core_1.BooleanXMLField('authorizationRequiredPage', 'Authorization Required Page') .setMinApi(14) .setEditable(), bandwidthExceededPage: new core_1.StringXMLField('bandwidthExceededPage', 'Bandwidth Exceeded Page') .setMinApi(14) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), browserXssProtection: new core_1.BooleanXMLField('browserXssProtection', 'Browser XSS Protection') .setMinApi(41) .setEditable() .setRequired(), cachePublicVisualforcePagesInProxyServers: new core_1.BooleanXMLField('cachePublicVisualforcePagesInProxyServers', 'Cache Public Visualforce Pages In Proxy Servers') .setMinApi(52) .setEditable() .setDefaultValue(true), changePasswordPage: new core_1.StringXMLField('changePasswordPage', 'Change Password Page') .setMinApi(14) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), chatterAnswersForgotPasswordConfirmPage: new core_1.StringXMLField('chatterAnswersForgotPasswordConfirmPage', 'Chatter Answers Forgot Password Confirm Page') .setMinApi(27) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), chatterAnswersForgotPasswordPage: new core_1.StringXMLField('chatterAnswersForgotPasswordPage', 'Chatter Answers Forgot Password Page') .setMinApi(27) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), chatterAnswersHelpPage: new core_1.StringXMLField('chatterAnswersHelpPage', 'Chatter Answers Help Page') .setMinApi(27) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), chatterAnswersLoginPage: new core_1.StringXMLField('chatterAnswersLoginPage', 'Chatter Answers Login Page') .setMinApi(27) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), chatterAnswersRegistrationPage: new core_1.StringXMLField('chatterAnswersRegistrationPage', 'Chatter Answers Registration Page') .setMinApi(27) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), clickjackProtectionLevel: new core_1.EnumXMLField('clickjackProtectionLevel', 'Clickjack Protection Level') .setMinApi(30) .setEditable() .setRequired() .addEnumValue('Allow All Framing (No Protection)', 'AllowAllFraming') .addEnumValue('External (Good Protection)', 'External') .addEnumValue('Same Origin Only (Recommended)', 'SameOriginOnly') .addEnumValue('Allow All Framing', 'AllowAllFraming') .addEnumValue('No Framing (Most Protection)', 'NoFraming'), contentSniffingProtection: new core_1.BooleanXMLField('contentSniffingProtection', 'Content Sniffing Protection') .setMinApi(41) .setEditable() .setRequired(), cspUpgradeInsecureRequests: new core_1.BooleanXMLField('cspUpgradeInsecureRequests', 'CSP Upgrade Insecure Requests') .setMinApi(41) .setEditable() .setRequired(), customWebAddresses: new core_1.ArrayXMLField('customWebAddresses', 'Custom Web Addresses') .setMinApi(21) .setEditable() .setFieldKey('domainName') .addField('certificate', new core_1.StringXMLField('certificate', 'Certificate') .setEditable()) .addField('domainName', new core_1.StringXMLField('domainName', 'Domain Name') .setEditable() .setRequired()) .addField('primary', new core_1.BooleanXMLField('primary', 'Primary') .setEditable() .setRequired()), description: new core_1.StringXMLField('description', 'Description') .setMinApi(14) .setEditable(), enableAuraRequests: new core_1.BooleanXMLField('enableAuraRequests', 'Enable Aura Requests') .setMinApi(46) .setEditable(), favoriteIcon: new core_1.StringXMLField('favoriteIcon', 'Favorite Icon') .setMinApi(14) .setEditable(), fileNotFoundPage: new core_1.StringXMLField('fileNotFoundPage', 'File Not Found Page') .setMinApi(14) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), forgotPasswordPage: new core_1.StringXMLField('forgotPasswordPage', 'Forgot Password Page') .setMinApi(14) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), genericErrorPage: new core_1.StringXMLField('genericErrorPage', 'Generic Error Page') .setMinApi(14) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), guestProfile: new core_1.StringXMLField('guestProfile', 'Guest Profile') .setMinApi(14), inMaintenancePage: new core_1.StringXMLField('inMaintenancePage', 'In Maintenance Page') .setMinApi(14) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), inactiveIndexPage: new core_1.StringXMLField('inactiveIndexPage', 'Inactive Index Page') .setMinApi(14) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), indexPage: new core_1.StringXMLField('indexPage', 'Index Page') .setMinApi(14) .setEditable() .setRequired() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), masterLabel: new core_1.StringXMLField('masterLabel', 'Master Label') .setMinApi(14) .setEditable() .setRequired(), portal: new core_1.StringXMLField('portal', 'Portal') .setMinApi(14) .setEditable(), referrerPolicyOriginWhenCrossOrigin: new core_1.BooleanXMLField('referrerPolicyOriginWhenCrossOrigin', 'Referrer Policy Origin When Cross Origin') .setMinApi(41) .setEditable() .setRequired(), requireHttps: new core_1.BooleanXMLField('requireHttps', 'Require Https') .setMinApi(14) .setEditable() .setRequired(), requireInsecurePortalAccess: new core_1.BooleanXMLField('requireInsecurePortalAccess', 'Require Insecure Portal Access') .setMinApi(50) .setEditable() .setRequired(), robotsTxtPage: new core_1.StringXMLField('robotsTxtPage', 'Robots TXT Page') .setMinApi(14) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), selfRegPage: new core_1.StringXMLField('selfRegPage', 'Sefl Registration Page') .setMinApi(14) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), serverIsDown: new core_1.StringXMLField('serverIsDown', 'Server Is Down') .setMinApi(17) .setEditable() .setMetadataType(core_1.MetadataTypes.STATIC_RESOURCE), siteAdmin: new core_1.StringXMLField('siteAdmin', 'Site Admin') .setMinApi(14) .setEditable(), siteIframeWhiteListUrls: new core_1.ArrayXMLField('siteIframeWhiteListUrls', 'Site Iframe WhiteList URLS') .setMinApi(49) .setEditable() .setFieldKey('url') .addField('url', new core_1.StringXMLField('url', 'URL') .setEditable() .setRequired()), siteRedirectMappings: new core_1.ArrayXMLField('siteRedirectMappings', 'Site Redirect Mappings') .setMinApi(20) .setEditable() .setFieldKey('source') .addField('action', new core_1.EnumXMLField('action', 'Action') .setEditable() .addEnumValue('Permanent', 'Permanent') .addEnumValue('Temporary', 'Temporary')) .addField('isActive', new core_1.BooleanXMLField('isActive', 'Is Active') .setEditable()) .addField('source', new core_1.StringXMLField('source', 'Source') .setEditable() .setRequired()) .addField('target', new core_1.StringXMLField('target', 'Target') .setEditable() .setRequired()), siteTemplate: new core_1.StringXMLField('siteTemplate', 'Site Template') .setMinApi(14) .setEditable() .setMetadataType(core_1.MetadataTypes.APEX_PAGE), siteType: new core_1.EnumXMLField('siteType', 'Site Type') .setMinApi(27) .setEditable() .setRequired() .addEnumValue('Visualforce', 'Visualforce') .addEnumValue('Site.com', 'Site.com') .addEnumValue('ChatterNetwork', 'ChatterNetwork'), subdomain: new core_1.StringXMLField('subdomain', 'Subdomain') .setMinApi(14) .setRequired(), urlPathPrefix: new core_1.StringXMLField('urlPathPrefix', 'URL Path Prefix') .setMinApi(14) .setEditable() .setRequired(), }; //# sourceMappingURL=customSite.js.map