From 5107300507af03f77a7cb5e09e3e98b4ecd2822e Mon Sep 17 00:00:00 2001 From: Randi Wilson Date: Wed, 9 Nov 2022 18:56:25 -0500 Subject: [PATCH] feat: major update for 56 and Functions fix (#63) * chore: add major update changes * chore: manually add Functions feature Co-authored-by: gbockus-sf <76090802+gbockus-sf@users.noreply.github.com> --- README.md | 2 +- package.json | 4 +- project-scratch-def.schema.json | 134 +++++++++++++++++++++++++++++++- 3 files changed, 136 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4489d5f..9388a90 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ const projectJsonSchema = require('@salesforce/schema/sfdx-project-schema.json'] ## Updating project-scratch-def.schema.json -Run the `update-scratch-def-*.js` scripts on every major release and open a PR with the new changes against the `main` branch to keep the schema files up to date. +Run the `features-update` and `settings-update` scripts on every major release and open a PR with the new changes against the `main` branch to keep the schema files up to date ## Bugs and Feedback diff --git a/package.json b/package.json index 8955239..e116ecf 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,8 @@ ], "scripts": { "build": "node ./scripts/build.js", + "features-update": "node ./scripts/update-scratch-def-features.js", + "settings-update": "node ./scripts/update-scratch-def-settings.js", "commit-init": "commitizen init cz-conventional-changelog --save-dev --save-exact --force", "commit": "git-cz", "test": "jest", @@ -50,4 +52,4 @@ "path": "./node_modules/cz-conventional-changelog" } } -} \ No newline at end of file +} diff --git a/project-scratch-def.schema.json b/project-scratch-def.schema.json index ed71f93..0caf3b6 100644 --- a/project-scratch-def.schema.json +++ b/project-scratch-def.schema.json @@ -202,6 +202,36 @@ "title": "HoursBetweenCoverageJob:", "pattern": "^(HoursBetweenCoverageJob:[0-9]+$)" }, + { + "type": "string", + "title": "LoyaltyMaximumPartners:", + "pattern": "^(LoyaltyMaximumPartners:[0-9]+$)" + }, + { + "type": "string", + "title": "LoyaltyMaximumPrograms:", + "pattern": "^(LoyaltyMaximumPrograms:[0-9]+$)" + }, + { + "type": "string", + "title": "LoyaltyMaxOrderLinePerHour:", + "pattern": "^(LoyaltyMaxOrderLinePerHour:[0-9]+$)" + }, + { + "type": "string", + "title": "LoyaltyMaxProcExecPerHour:", + "pattern": "^(LoyaltyMaxProcExecPerHour:[0-9]+$)" + }, + { + "type": "string", + "title": "LoyaltyMaxTransactions:", + "pattern": "^(LoyaltyMaxTransactions:[0-9]+$)" + }, + { + "type": "string", + "title": "MaxActiveDPEDefs:", + "pattern": "^(MaxActiveDPEDefs:[0-9]+$)" + }, { "type": "string", "title": "MaxApexCodeSize:", @@ -212,16 +242,61 @@ "title": "MaxCustomLabels:", "pattern": "^(MaxCustomLabels:[0-9]+$)" }, + { + "type": "string", + "title": "MaxDatasetLinksPerDT:", + "pattern": "^(MaxDatasetLinksPerDT:[0-9]+$)" + }, + { + "type": "string", + "title": "MaxDataSourcesPerDPE:", + "pattern": "^(MaxDataSourcesPerDPE:[0-9]+$)" + }, + { + "type": "string", + "title": "MaxDecisionTableAllowed:", + "pattern": "^(MaxDecisionTableAllowed:[0-9]+$)" + }, { "type": "string", "title": "MaxFavoritesAllowed:", "pattern": "^(MaxFavoritesAllowed:[0-9]+$)" }, + { + "type": "string", + "title": "MaxFieldsPerNode:", + "pattern": "^(MaxFieldsPerNode:[0-9]+$)" + }, + { + "type": "string", + "title": "MaxInputColumnsPerDT:", + "pattern": "^(MaxInputColumnsPerDT:[0-9]+$)" + }, + { + "type": "string", + "title": "MaxLoyaltyProcessRules:", + "pattern": "^(MaxLoyaltyProcessRules:[0-9]+$)" + }, + { + "type": "string", + "title": "MaxNodesPerDPE:", + "pattern": "^(MaxNodesPerDPE:[0-9]+$)" + }, { "type": "string", "title": "MaxNoOfLexThemesAllowed:", "pattern": "^(MaxNoOfLexThemesAllowed:[0-9]+$)" }, + { + "type": "string", + "title": "MaxOutputColumnsPerDT:", + "pattern": "^(MaxOutputColumnsPerDT:[0-9]+$)" + }, + { + "type": "string", + "title": "MaxSourceObjectPerDSL:", + "pattern": "^(MaxSourceObjectPerDSL:[0-9]+$)" + }, { "type": "string", "title": "MaxStreamingTopics:", @@ -237,6 +312,11 @@ "title": "MaxUserStreamingChannels:", "pattern": "^(MaxUserStreamingChannels:[0-9]+$)" }, + { + "type": "string", + "title": "MaxWritebacksPerDPE:", + "pattern": "^(MaxWritebacksPerDPE:[0-9]+$)" + }, { "type": "string", "title": "MedVisDescriptorLimit:", @@ -283,8 +363,14 @@ "API", "AnalyticsAdminPerms", "AnalyticsAppEmbedded", + "Assessments", "AuthorApex", "B2BCommerce", + "B2BLoyaltyManagement", + "B2CCommerceGMV", + "B2CLoyaltyManagement", + "B2CLoyaltyManagementPlus", + "BatchManagement", "BigObjectsBulkAPI", "Briefcase", "CMSMaxContType", @@ -306,14 +392,18 @@ "DataComDnbAccounts", "DataComFullClean", "DataMaskUser", + "DataProcessingEngine", "DebugApex", + "DecisionTable", "DefaultWorkflowUser", "DeferSharingCalc", + "DevOpsCenter", "DevelopmentWave", "DeviceTrackingEnabled", "DisableManageIdConfAPI", "Division", "DocumentChecklist", + "DocumentReaderPageLimit", "DurableClassicStreamingAPI", "DurableGenericStreamingAPI", "DynamicClientCreationLimit", @@ -335,14 +425,18 @@ "FinanceLogging", "FlowSites", "ForceComPlatform", + "Functions", "GenericStreaming", - "HealthCloudUser", + "HealthCloudAddOn", + "HealthCloudForCmty", + "HealthCloudMedicationReconciliation", + "HealthCloudPNMAddOn", "HighVelocitySales", "IdentityProvisioningFeatures", "IndustriesActionPlan", - "IndustriesManufacturing", "IndustriesManufacturingCmty", "IndustriesMfgAccountForecast", + "IndustriesMfgTargets", "InsightsPlatform", "Interaction", "IoT", @@ -354,6 +448,9 @@ "LightningServiceConsole", "LiveAgent", "LiveMessage", + "LoyaltyAnalytics", + "LoyaltyEngine", + "LoyaltyManagementStarter", "Macros", "MarketingUser", "MaxAudTypeCriterionPerAud", @@ -381,6 +478,7 @@ "PublicSectorSiteTemplate", "RecordTypes", "RefreshOnInvalidSession", + "RevSubscriptionManagement", "S1ClientComponentCacheSize", "SAML20SingleLogout", "SCIMProtocol", @@ -388,6 +486,7 @@ "SalesCloudEinstein", "SalesUser", "SalesforceContentUser", + "SalesforceFeedbackManagementStarter", "SalesforceIdentityForCommunities", "SecurityEventEnabled", "ServiceCatalog", @@ -400,8 +499,14 @@ "SocialCustomerService", "StateAndCountryPicklist", "StreamingAPI", + "SurveyAdvancedFeatures", + "SustainabilityApp", "SustainabilityCloud", + "TCRMforSustainability", "TimeSheetTemplateSettings", + "TimelineConditionsLimit", + "TimelineEventLimit", + "TimelineRecordTypeLimit", "TransactionFinalizers", "WavePlatform", "WorkThanksPref", @@ -551,6 +656,11 @@ "title": "CurrencySettings", "description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_currencysettings.htm" }, + "customAddressFieldSettings": { + "type": "object", + "title": "CustomAddressFieldSettings", + "description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_customaddressfieldsettings.htm" + }, "dataDotComSettings": { "type": "object", "title": "DataDotComSettings", @@ -766,6 +876,11 @@ "title": "NotificationsSettings", "description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_notificationssettings.htm" }, + "oauthOidcSettings": { + "type": "object", + "title": "OauthOidcSettings", + "description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_oauthoidcsettings.htm" + }, "omniChannelSettings": { "type": "object", "title": "OmniChannelSettings", @@ -866,6 +981,16 @@ "title": "RecordPageSettings", "description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_recordpagesettings.htm" }, + "retailExecutionSettings": { + "type": "object", + "title": "RetailExecutionSettings", + "description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/metadata_api_retexset.htm" + }, + "sandboxSettings": { + "type": "object", + "title": "SandboxSettings", + "description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_sandboxsettings.htm" + }, "schemaSettings": { "type": "object", "title": "SchemaSettings", @@ -951,6 +1076,11 @@ "title": "VoiceSettings", "description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_voicesettings.htm" }, + "warrantyLifeCycleMgmtSettings": { + "type": "object", + "title": "WarrantyLifeCycleMgmtSettings", + "description": "For more details go to https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_mfg_warrantylifecyclemgmtsettings.htm" + }, "workDotComSettings": { "type": "object", "title": "WorkDotComSettings",