@salesforce/plugin-omnistudio-migration-tool 2.0.0-rc.2 → 2.0.0-rc.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -26
- package/lib/commands/omnistudio/migration/assess.d.ts +0 -1
- package/lib/commands/omnistudio/migration/assess.js +64 -30
- package/lib/commands/omnistudio/migration/assess.js.map +1 -1
- package/lib/commands/omnistudio/migration/info.js +2 -3
- package/lib/commands/omnistudio/migration/info.js.map +1 -1
- package/lib/commands/omnistudio/migration/migrate.d.ts +35 -5
- package/lib/commands/omnistudio/migration/migrate.js +250 -102
- package/lib/commands/omnistudio/migration/migrate.js.map +1 -1
- package/lib/javascripts/reportGeneratorUtility.js +1 -3
- package/lib/migration/NameMappingRegistry.d.ts +130 -0
- package/lib/migration/NameMappingRegistry.js +376 -0
- package/lib/migration/NameMappingRegistry.js.map +1 -0
- package/lib/migration/base.d.ts +4 -2
- package/lib/migration/base.js +8 -1
- package/lib/migration/base.js.map +1 -1
- package/lib/migration/dataraptor.js +32 -13
- package/lib/migration/dataraptor.js.map +1 -1
- package/lib/migration/deployer.d.ts +11 -0
- package/lib/migration/deployer.js +59 -0
- package/lib/migration/deployer.js.map +1 -0
- package/lib/migration/flexcard.d.ts +44 -2
- package/lib/migration/flexcard.js +680 -112
- package/lib/migration/flexcard.js.map +1 -1
- package/lib/migration/globalautonumber.js +43 -53
- package/lib/migration/globalautonumber.js.map +1 -1
- package/lib/migration/interfaces.d.ts +5 -0
- package/lib/migration/interfaces.js +7 -0
- package/lib/migration/interfaces.js.map +1 -1
- package/lib/migration/omniscript.d.ts +10 -1
- package/lib/migration/omniscript.js +399 -78
- package/lib/migration/omniscript.js.map +1 -1
- package/lib/migration/postMigrate.d.ts +22 -3
- package/lib/migration/postMigrate.js +146 -12
- package/lib/migration/postMigrate.js.map +1 -1
- package/lib/migration/premigrate.d.ts +16 -0
- package/lib/migration/premigrate.js +114 -0
- package/lib/migration/premigrate.js.map +1 -0
- package/lib/migration/related/ApexMigration.js +23 -15
- package/lib/migration/related/ApexMigration.js.map +1 -1
- package/lib/migration/related/ExperienceSiteMigration.d.ts +12 -4
- package/lib/migration/related/ExperienceSiteMigration.js +121 -53
- package/lib/migration/related/ExperienceSiteMigration.js.map +1 -1
- package/lib/migration/related/FlexipageMigration.js +2 -7
- package/lib/migration/related/FlexipageMigration.js.map +1 -1
- package/lib/migration/related/LwcMigration.js +13 -13
- package/lib/migration/related/LwcMigration.js.map +1 -1
- package/lib/migration/related/OmnistudioRelatedObjectMigrationFacade.js +23 -29
- package/lib/migration/related/OmnistudioRelatedObjectMigrationFacade.js.map +1 -1
- package/lib/styles/reportGenerator.css +10 -11
- package/lib/templates/assessmentReport.template +29 -17
- package/lib/templates/dashboard.template +7 -2
- package/lib/templates/migrationReport.template +14 -12
- package/lib/utils/OmnistudioSettingsPrefManager.d.ts +12 -0
- package/lib/utils/OmnistudioSettingsPrefManager.js +82 -0
- package/lib/utils/OmnistudioSettingsPrefManager.js.map +1 -0
- package/lib/utils/constants/documentRegistry.d.ts +1 -1
- package/lib/utils/constants/documentRegistry.js +3 -3
- package/lib/utils/constants/documentRegistry.js.map +1 -1
- package/lib/utils/constants/stringContants.d.ts +2 -0
- package/lib/utils/constants/stringContants.js +3 -1
- package/lib/utils/constants/stringContants.js.map +1 -1
- package/lib/utils/file/fileUtil.d.ts +3 -1
- package/lib/utils/file/fileUtil.js +13 -4
- package/lib/utils/file/fileUtil.js.map +1 -1
- package/lib/utils/flexipage/flexiPageTransformer.js +12 -8
- package/lib/utils/flexipage/flexiPageTransformer.js.map +1 -1
- package/lib/utils/generatePackageXml.d.ts +4 -2
- package/lib/utils/generatePackageXml.js +20 -22
- package/lib/utils/generatePackageXml.js.map +1 -1
- package/lib/utils/interfaces.d.ts +29 -0
- package/lib/utils/logger.d.ts +1 -1
- package/lib/utils/logger.js +7 -2
- package/lib/utils/logger.js.map +1 -1
- package/lib/utils/lwcparser/fileutils/FileDiffUtil.js +78 -61
- package/lib/utils/lwcparser/fileutils/FileDiffUtil.js.map +1 -1
- package/lib/utils/lwcparser/jsParser/JavaScriptParser.js +1 -1
- package/lib/utils/lwcparser/jsParser/JavaScriptParser.js.map +1 -1
- package/lib/utils/lwcparser/xmlParser/XmlParser.js +1 -1
- package/lib/utils/lwcparser/xmlParser/XmlParser.js.map +1 -1
- package/lib/utils/orgPreferences.d.ts +1 -0
- package/lib/utils/orgPreferences.js +9 -6
- package/lib/utils/orgPreferences.js.map +1 -1
- package/lib/utils/orgUtils/index.d.ts +1 -1
- package/lib/utils/orgUtils/index.js +4 -14
- package/lib/utils/orgUtils/index.js.map +1 -1
- package/lib/utils/promptUtil.d.ts +2 -0
- package/lib/utils/promptUtil.js +26 -1
- package/lib/utils/promptUtil.js.map +1 -1
- package/lib/utils/reportGenerator/reportInterfaces.d.ts +2 -0
- package/lib/utils/resultsbuilder/ApexAssessmentReporter.js +27 -10
- package/lib/utils/resultsbuilder/ApexAssessmentReporter.js.map +1 -1
- package/lib/utils/resultsbuilder/DRAssessmentReporter.js +27 -11
- package/lib/utils/resultsbuilder/DRAssessmentReporter.js.map +1 -1
- package/lib/utils/resultsbuilder/ExperienceSiteAssessmentReporter.d.ts +12 -0
- package/lib/utils/resultsbuilder/ExperienceSiteAssessmentReporter.js +93 -0
- package/lib/utils/resultsbuilder/ExperienceSiteAssessmentReporter.js.map +1 -0
- package/lib/utils/resultsbuilder/FlexcardAssessmentReporter.js +35 -13
- package/lib/utils/resultsbuilder/FlexcardAssessmentReporter.js.map +1 -1
- package/lib/utils/resultsbuilder/FlexipageAssessmentReporter.d.ts +1 -0
- package/lib/utils/resultsbuilder/FlexipageAssessmentReporter.js +3 -2
- package/lib/utils/resultsbuilder/FlexipageAssessmentReporter.js.map +1 -1
- package/lib/utils/resultsbuilder/IPAssessmentReporter.js +31 -12
- package/lib/utils/resultsbuilder/IPAssessmentReporter.js.map +1 -1
- package/lib/utils/resultsbuilder/LWCAssessmentReporter.d.ts +12 -0
- package/lib/utils/resultsbuilder/LWCAssessmentReporter.js +117 -139
- package/lib/utils/resultsbuilder/LWCAssessmentReporter.js.map +1 -1
- package/lib/utils/resultsbuilder/OSAssessmentReporter.js +19 -20
- package/lib/utils/resultsbuilder/OSAssessmentReporter.js.map +1 -1
- package/lib/utils/resultsbuilder/assessmentReporter.d.ts +3 -1
- package/lib/utils/resultsbuilder/assessmentReporter.js +106 -67
- package/lib/utils/resultsbuilder/assessmentReporter.js.map +1 -1
- package/lib/utils/resultsbuilder/index.d.ts +5 -1
- package/lib/utils/resultsbuilder/index.js +186 -71
- package/lib/utils/resultsbuilder/index.js.map +1 -1
- package/lib/utils/resultsbuilder/reportingHelper.js +1 -1
- package/lib/utils/resultsbuilder/reportingHelper.js.map +1 -1
- package/lib/utils/sfcli/project/sfProject.d.ts +4 -0
- package/lib/utils/sfcli/project/sfProject.js +56 -1
- package/lib/utils/sfcli/project/sfProject.js.map +1 -1
- package/lib/utils/shell/cli.js +3 -7
- package/lib/utils/shell/cli.js.map +1 -1
- package/lib/utils/storageUtil.d.ts +1 -0
- package/lib/utils/storageUtil.js +3 -0
- package/lib/utils/storageUtil.js.map +1 -1
- package/lib/utils/stringUtils.d.ts +1 -0
- package/lib/utils/stringUtils.js +22 -1
- package/lib/utils/stringUtils.js.map +1 -1
- package/messages/assess.json +79 -38
- package/messages/migrate.json +117 -32
- package/oclif.manifest.json +1 -1
- package/package.json +8 -6
- package/lib/utils/OmniGlobalAutoNumberPrefManager.d.ts +0 -39
- package/lib/utils/OmniGlobalAutoNumberPrefManager.js +0 -64
- package/lib/utils/OmniGlobalAutoNumberPrefManager.js.map +0 -1
|
@@ -26,19 +26,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.LwcMigration = void 0;
|
|
27
27
|
/* eslint-disable @typescript-eslint/no-shadow */
|
|
28
28
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
29
|
-
const shell = __importStar(require("shelljs"));
|
|
30
29
|
const core_1 = require("@salesforce/core");
|
|
30
|
+
const shell = __importStar(require("shelljs"));
|
|
31
31
|
const fileUtil_1 = require("../../utils/file/fileUtil");
|
|
32
|
-
const sfProject_1 = require("../../utils/sfcli/project/sfProject");
|
|
33
32
|
const logger_1 = require("../../utils/logger");
|
|
34
33
|
const FileProcessorFactory_1 = require("../../utils/lwcparser/fileutils/FileProcessorFactory");
|
|
35
34
|
const stringContants_1 = require("../../utils/constants/stringContants");
|
|
35
|
+
const base_1 = require("../base");
|
|
36
36
|
const BaseRealtedObjectMigration_1 = require("./BaseRealtedObjectMigration");
|
|
37
37
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
38
38
|
const assessMessages = core_1.Messages.loadMessages('@salesforce/plugin-omnistudio-migration-tool', 'assess');
|
|
39
39
|
const migrateMessages = core_1.Messages.loadMessages('@salesforce/plugin-omnistudio-migration-tool', 'migrate');
|
|
40
40
|
const LWC_DIR_PATH = '/force-app/main/default/lwc';
|
|
41
|
-
const LWCTYPE = 'LightningComponentBundle';
|
|
42
41
|
class LwcMigration extends BaseRealtedObjectMigration_1.BaseRelatedObjectMigration {
|
|
43
42
|
processObjectType() {
|
|
44
43
|
return stringContants_1.Constants.LWC;
|
|
@@ -55,7 +54,6 @@ class LwcMigration extends BaseRealtedObjectMigration_1.BaseRelatedObjectMigrati
|
|
|
55
54
|
const type = 'assessment';
|
|
56
55
|
const pwd = shell.pwd();
|
|
57
56
|
shell.cd(this.projectPath);
|
|
58
|
-
sfProject_1.sfProject.retrieve(LWCTYPE, this.org.getUsername());
|
|
59
57
|
logger_1.Logger.info(assessMessages.getMessage('processingLwcsForAssessment'));
|
|
60
58
|
const filesMap = this.processLwcFiles(this.projectPath);
|
|
61
59
|
logger_1.Logger.info(assessMessages.getMessage('successfullyProcessedLwcsForAssessment', [filesMap.size]));
|
|
@@ -67,14 +65,11 @@ class LwcMigration extends BaseRealtedObjectMigration_1.BaseRelatedObjectMigrati
|
|
|
67
65
|
logger_1.Logger.logVerbose(migrateMessages.getMessage('startingLwcMigration', [this.projectPath]));
|
|
68
66
|
const pwd = shell.pwd();
|
|
69
67
|
shell.cd(this.projectPath);
|
|
70
|
-
// const targetOrg: Org = this.org;
|
|
71
|
-
// sfProject.retrieve(LWCTYPE, targetOrg.getUsername());
|
|
72
68
|
logger_1.Logger.info(migrateMessages.getMessage('processingLwcsForMigration'));
|
|
73
69
|
const filesMap = this.processLwcFiles(this.projectPath);
|
|
74
70
|
const LWCAssessmentInfos = this.processFiles(filesMap, 'migration');
|
|
75
71
|
logger_1.Logger.info(migrateMessages.getMessage('successfullyProcessedLwcsForMigration', [LWCAssessmentInfos.length]));
|
|
76
72
|
logger_1.Logger.logVerbose(migrateMessages.getMessage('lwcMigrationResults', [JSON.stringify(LWCAssessmentInfos, null, 2)]));
|
|
77
|
-
// sfProject.deploy(LWCTYPE, targetOrg.getUsername());
|
|
78
73
|
shell.cd(pwd);
|
|
79
74
|
return LWCAssessmentInfos;
|
|
80
75
|
}
|
|
@@ -86,14 +81,17 @@ class LwcMigration extends BaseRealtedObjectMigration_1.BaseRelatedObjectMigrati
|
|
|
86
81
|
filesMap = fileUtil_1.FileUtil.readAndProcessFiles(dir, 'OmniScript Auto-generated');
|
|
87
82
|
}
|
|
88
83
|
catch (error) {
|
|
89
|
-
logger_1.Logger.error(assessMessages.getMessage('errorReadingFiles',
|
|
90
|
-
logger_1.Logger.error(JSON.stringify(error));
|
|
91
|
-
logger_1.Logger.error(error.stack);
|
|
84
|
+
logger_1.Logger.error(assessMessages.getMessage('errorReadingFiles'), error);
|
|
92
85
|
}
|
|
93
86
|
return filesMap;
|
|
94
87
|
}
|
|
95
88
|
// This method to process the parsing and return the LWCAssessmentInfo[]
|
|
96
89
|
processFiles(fileMap, type) {
|
|
90
|
+
const progressBar = type.toLowerCase() === 'migration'
|
|
91
|
+
? (0, base_1.createProgressBar)('Migrating', stringContants_1.Constants.LWCComponentName)
|
|
92
|
+
: (0, base_1.createProgressBar)('Assessing', stringContants_1.Constants.LWCComponentName);
|
|
93
|
+
progressBar.start(fileMap.size, 0);
|
|
94
|
+
let progressCounter = 0;
|
|
97
95
|
try {
|
|
98
96
|
const jsonData = [];
|
|
99
97
|
fileMap.forEach((fileList, dir) => {
|
|
@@ -130,18 +128,20 @@ class LwcMigration extends BaseRealtedObjectMigration_1.BaseRelatedObjectMigrati
|
|
|
130
128
|
name,
|
|
131
129
|
changeInfos,
|
|
132
130
|
errors,
|
|
131
|
+
warnings: [],
|
|
133
132
|
};
|
|
134
133
|
if (changeInfos && changeInfos.length > 0) {
|
|
135
134
|
jsonData.push(assesmentInfo);
|
|
136
135
|
}
|
|
137
136
|
}
|
|
137
|
+
progressBar.update(++progressCounter);
|
|
138
138
|
});
|
|
139
|
+
progressBar.stop();
|
|
139
140
|
return jsonData;
|
|
140
141
|
}
|
|
141
142
|
catch (error) {
|
|
142
|
-
|
|
143
|
-
logger_1.Logger.error(
|
|
144
|
-
logger_1.Logger.error(error.stack);
|
|
143
|
+
progressBar.stop();
|
|
144
|
+
logger_1.Logger.error(assessMessages.getMessage('errorProcessingFiles'), error);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
isValideFile(filename) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LwcMigration.js","sourceRoot":"","sources":["../../../src/migration/related/LwcMigration.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAiD;AACjD,+DAA+D;AAC/D,+CAAiC;AACjC,
|
|
1
|
+
{"version":3,"file":"LwcMigration.js","sourceRoot":"","sources":["../../../src/migration/related/LwcMigration.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAiD;AACjD,+DAA+D;AAC/D,2CAA4C;AAC5C,+CAAiC;AACjC,wDAA2D;AAC3D,+CAA4C;AAC5C,+FAA4F;AAE5F,yEAAiE;AACjE,kCAA2D;AAC3D,6EAA0E;AAE1E,eAAQ,CAAC,uBAA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AlHD,oCAkHC"}
|
|
@@ -35,12 +35,12 @@ const logger_1 = require("../../utils/logger");
|
|
|
35
35
|
const stringContants_1 = require("../../utils/constants/stringContants");
|
|
36
36
|
const ApexMigration_1 = require("./ApexMigration");
|
|
37
37
|
const ExperienceSiteMigration_1 = require("./ExperienceSiteMigration");
|
|
38
|
+
const LwcMigration_1 = require("./LwcMigration");
|
|
38
39
|
const FlexipageMigration_1 = require("./FlexipageMigration");
|
|
39
40
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
40
41
|
const assessMessages = core_1.Messages.loadMessages('@salesforce/plugin-omnistudio-migration-tool', 'assess');
|
|
41
42
|
const migrateMessages = core_1.Messages.loadMessages('@salesforce/plugin-omnistudio-migration-tool', 'migrate');
|
|
42
|
-
|
|
43
|
-
// const LWCTYPE = 'LightningComponentBundle';
|
|
43
|
+
const LWCTYPE = 'LightningComponentBundle';
|
|
44
44
|
const APEXCLASS = 'Apexclass';
|
|
45
45
|
const EXPERIENCEBUNDLE = 'EXPERIENCEBUNDLE';
|
|
46
46
|
const defaultProjectName = 'omnistudio_migration';
|
|
@@ -54,9 +54,8 @@ class OmnistudioRelatedObjectMigrationFacade {
|
|
|
54
54
|
// Initialize migration instances
|
|
55
55
|
this.apexMigration = new ApexMigration_1.ApexMigration(this.projectPath, this.namespace, this.org, targetApexNamespace);
|
|
56
56
|
this.flexipageMigration = new FlexipageMigration_1.FlexipageMigration(this.projectPath, this.namespace, this.org, assessMessages);
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
this.experienceSiteMigration = new ExperienceSiteMigration_1.ExperienceSiteMigration(this.projectPath, this.namespace, this.org);
|
|
57
|
+
this.lwcMigration = new LwcMigration_1.LwcMigration(this.projectPath, this.namespace, this.org);
|
|
58
|
+
this.experienceSiteMigration = new ExperienceSiteMigration_1.ExperienceSiteMigration(this.projectPath, this.namespace, this.org, migrateMessages);
|
|
60
59
|
}
|
|
61
60
|
createProject() {
|
|
62
61
|
sfProject_1.sfProject.create(defaultProjectName);
|
|
@@ -65,14 +64,17 @@ class OmnistudioRelatedObjectMigrationFacade {
|
|
|
65
64
|
retrieveMetadata(relatedObjects) {
|
|
66
65
|
const pwd = shell.pwd();
|
|
67
66
|
shell.cd(this.projectPath);
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
// }
|
|
67
|
+
if (relatedObjects.includes(stringContants_1.Constants.LWC)) {
|
|
68
|
+
sfProject_1.sfProject.retrieve(LWCTYPE, this.org.getUsername());
|
|
69
|
+
}
|
|
72
70
|
if (relatedObjects.includes(stringContants_1.Constants.Apex)) {
|
|
73
71
|
sfProject_1.sfProject.retrieve(APEXCLASS, this.org.getUsername());
|
|
74
72
|
}
|
|
73
|
+
if (relatedObjects.includes(stringContants_1.Constants.FlexiPage)) {
|
|
74
|
+
sfProject_1.sfProject.retrieve(stringContants_1.Constants.FlexiPage, this.org.getUsername());
|
|
75
|
+
}
|
|
75
76
|
if (relatedObjects.includes(stringContants_1.Constants.ExpSites)) {
|
|
77
|
+
logger_1.Logger.logVerbose(EXPERIENCEBUNDLE);
|
|
76
78
|
sfProject_1.sfProject.retrieve(EXPERIENCEBUNDLE, this.org.getUsername());
|
|
77
79
|
}
|
|
78
80
|
shell.cd(pwd);
|
|
@@ -81,15 +83,12 @@ class OmnistudioRelatedObjectMigrationFacade {
|
|
|
81
83
|
// Start the debug timer
|
|
82
84
|
utils_1.DebugTimer.getInstance().start();
|
|
83
85
|
logger_1.Logger.logVerbose(assessMessages.getMessage('startingProcessRelatedObjects', [String(relatedObjects), this.projectPath]));
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
logger_1.Logger.logVerbose(migrateMessages.getMessage('retrievingMetadata', [String(relatedObjects), this.projectPath]));
|
|
87
|
-
this.retrieveMetadata(relatedObjects);
|
|
88
|
-
}
|
|
86
|
+
logger_1.Logger.logVerbose(migrateMessages.getMessage('retrievingMetadata', [String(relatedObjects), this.projectPath]));
|
|
87
|
+
this.retrieveMetadata(relatedObjects);
|
|
89
88
|
const debugTimer = utils_1.DebugTimer.getInstance();
|
|
90
89
|
debugTimer.start();
|
|
91
90
|
let apexAssessmentInfos = [];
|
|
92
|
-
|
|
91
|
+
let lwcAssessmentInfos = [];
|
|
93
92
|
let experienceSiteAssessmentInfos = [];
|
|
94
93
|
let flexipageAssessmentInfos = [];
|
|
95
94
|
// Proceed with processing logic
|
|
@@ -97,27 +96,22 @@ class OmnistudioRelatedObjectMigrationFacade {
|
|
|
97
96
|
if (relatedObjects.includes(stringContants_1.Constants.Apex)) {
|
|
98
97
|
apexAssessmentInfos = isMigration ? this.apexMigration.migrate() : this.apexMigration.assess();
|
|
99
98
|
}
|
|
100
|
-
if (
|
|
101
|
-
experienceSiteAssessmentInfos =
|
|
99
|
+
if (relatedObjects.includes(stringContants_1.Constants.ExpSites)) {
|
|
100
|
+
experienceSiteAssessmentInfos = isMigration
|
|
101
|
+
? this.experienceSiteMigration.migrate()
|
|
102
|
+
: this.experienceSiteMigration.assess();
|
|
102
103
|
}
|
|
103
104
|
if (relatedObjects.includes(stringContants_1.Constants.FlexiPage)) {
|
|
104
105
|
flexipageAssessmentInfos = isMigration ? this.flexipageMigration.migrate() : this.flexipageMigration.assess();
|
|
105
106
|
}
|
|
107
|
+
if (relatedObjects.includes(stringContants_1.Constants.LWC)) {
|
|
108
|
+
lwcAssessmentInfos = isMigration ? this.lwcMigration.migrate() : this.lwcMigration.assessment();
|
|
109
|
+
}
|
|
106
110
|
}
|
|
107
|
-
catch (
|
|
111
|
+
catch (error) {
|
|
108
112
|
// Log the error
|
|
109
|
-
logger_1.Logger.error(
|
|
110
|
-
logger_1.Logger.error(Error.stack);
|
|
113
|
+
logger_1.Logger.error('Error processing related objects', error);
|
|
111
114
|
}
|
|
112
|
-
// TODO: Uncomment code once MVP for migration is completed
|
|
113
|
-
// try {
|
|
114
|
-
// if (relatedObjects.includes(Constants.LWC)) {
|
|
115
|
-
// lwcAssessmentInfos = isMigration ? this.lwcMigration.migrate() : this.lwcMigration.assessment();
|
|
116
|
-
// }
|
|
117
|
-
// } catch (Error) {
|
|
118
|
-
// // Log the error
|
|
119
|
-
// Logger.error(Error.message);
|
|
120
|
-
// }
|
|
121
115
|
// Stop the debug timer
|
|
122
116
|
const timer = debugTimer.stop();
|
|
123
117
|
// Save timer to debug logger
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OmnistudioRelatedObjectMigrationFacade.js","sourceRoot":"","sources":["../../../src/migration/related/OmnistudioRelatedObjectMigrationFacade.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAuD;AACvD,4DAA4D;AAC5D,+DAA+D;AAC/D,uDAAuD;AACvD,2CAAiD;AACjD,+CAAiC;AACjC,uCAOqB;AACrB,mEAAgE;AAChE,+CAA4C;AAC5C,yEAAiE;AACjE,mDAAgD;AAChD,uEAAoE;
|
|
1
|
+
{"version":3,"file":"OmnistudioRelatedObjectMigrationFacade.js","sourceRoot":"","sources":["../../../src/migration/related/OmnistudioRelatedObjectMigrationFacade.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAuD;AACvD,4DAA4D;AAC5D,+DAA+D;AAC/D,uDAAuD;AACvD,2CAAiD;AACjD,+CAAiC;AACjC,uCAOqB;AACrB,mEAAgE;AAChE,+CAA4C;AAC5C,yEAAiE;AACjE,mDAAgD;AAChD,uEAAoE;AACpE,iDAA8C;AAC9C,6DAA0D;AAE1D,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,cAAc,GAAG,eAAQ,CAAC,YAAY,CAAC,8CAA8C,EAAE,QAAQ,CAAC,CAAC;AACvG,MAAM,eAAe,GAAG,eAAQ,CAAC,YAAY,CAAC,8CAA8C,EAAE,SAAS,CAAC,CAAC;AAEzG,MAAM,OAAO,GAAG,0BAA0B,CAAC;AAC3C,MAAM,SAAS,GAAG,WAAW,CAAC;AAC9B,MAAM,gBAAgB,GAAG,kBAAkB,C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,KAAK,EAAE;YACd,gBAAgB;YAChB,eAAM,CAAC,KAAK,CAAC,kCAAkC,EAAE,KAAK,CAAC,CAAC;SACzD;QAED,uBAAuB;QACvB,MAAM,KAAK,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC;QAEhC,6BAA6B;QAC7B,eAAM,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;QAE/B,wCAAwC;QACxC,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,6BAA6B,EAAE,wBAAwB,EAAE,CAAC;IAC9G,CAAC;IAEM,UAAU,CAAC,cAAwB;QACxC,OAAO,IAAI,CAAC,qBAAqB,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;IAEM,SAAS,CAAC,cAAwB;QACvC,OAAO,IAAI,CAAC,qBAAqB,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;IAC3D,CAAC;;AA7HH,yDA8HC;AA7HC,yEAAyE;AACzE,0EAA0E;AAC5D,2CAAI,GAAG,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC"}
|
|
@@ -256,29 +256,32 @@ html {
|
|
|
256
256
|
background-color: #fff;
|
|
257
257
|
margin: auto;
|
|
258
258
|
padding: 20px;
|
|
259
|
+
padding-top: 20px;
|
|
259
260
|
width: 60%;
|
|
260
|
-
height:
|
|
261
|
+
max-height: 80%;
|
|
261
262
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
|
262
263
|
border-radius: 4px;
|
|
263
264
|
text-align: left;
|
|
264
265
|
position: relative;
|
|
266
|
+
overflow-y: auto;
|
|
267
|
+
overflow-x: auto;
|
|
265
268
|
display: flex;
|
|
266
269
|
flex-direction: column;
|
|
267
270
|
}
|
|
268
271
|
|
|
269
272
|
.closeButton {
|
|
270
273
|
color: #222121;
|
|
271
|
-
height:
|
|
272
|
-
width:
|
|
274
|
+
height: 40px;
|
|
275
|
+
width: 40px;
|
|
273
276
|
position: absolute;
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
font-size: 25px;
|
|
277
|
+
top: 0px;
|
|
278
|
+
right: 0px;
|
|
279
|
+
font-size: 30px;
|
|
278
280
|
cursor: pointer;
|
|
279
281
|
display: flex;
|
|
280
282
|
align-items: center;
|
|
281
283
|
justify-content: center;
|
|
284
|
+
z-index: 1050;
|
|
282
285
|
border-radius: 3px;
|
|
283
286
|
padding-right: 0;
|
|
284
287
|
}
|
|
@@ -536,10 +539,6 @@ td {
|
|
|
536
539
|
visibility: visible;
|
|
537
540
|
}
|
|
538
541
|
|
|
539
|
-
ul {
|
|
540
|
-
list-style: inside !important;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
542
|
.invalid-icon {
|
|
544
543
|
position: relative;
|
|
545
544
|
padding-left: 24px; /* space for icon */
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<div style="margin: 20px">
|
|
13
13
|
<div class="report-wrapper">
|
|
14
14
|
<div id="scrollable-wrapper" class="scrollable-wrapper">
|
|
15
|
-
<c:if exp={$callToAction.length
|
|
15
|
+
<c:if exp={$callToAction.length> 0}>
|
|
16
16
|
<!-- Call To Action Button -->
|
|
17
17
|
<button class="cta-button" onclick="toggleCtaPanel()">Call To Action</button>
|
|
18
18
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<button class="cta-panel-close" onclick="closeCtaPanel()">×</button>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="cta-panel-content">
|
|
29
|
-
<ul>
|
|
29
|
+
<ul class="slds-list_dotted">
|
|
30
30
|
<c:for items=(callToAction) var="cta">
|
|
31
31
|
<li> {{cta.message}}:   <a href="(cta.link)" target="_blank">See More</a></li>
|
|
32
32
|
</c:for>
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
<div class="report-page-header">
|
|
40
40
|
<div class="slds-text-heading_large">
|
|
41
41
|
<span>{{heading}}</span>
|
|
42
|
-
<span> Assessment Report</span>
|
|
43
42
|
</div>
|
|
44
43
|
</div>
|
|
45
44
|
|
|
@@ -91,7 +90,7 @@
|
|
|
91
90
|
<path
|
|
92
91
|
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z" />
|
|
93
92
|
</svg>
|
|
94
|
-
<input type="text" id="name-search-input" class="search-input" placeholder="Search
|
|
93
|
+
<input type="text" id="name-search-input" class="search-input" placeholder="Search Name"
|
|
95
94
|
oninput="filterAndSearchTable('report-table')" />
|
|
96
95
|
</div>
|
|
97
96
|
<c:if exp={$filterGroups.length>0}>
|
|
@@ -155,7 +154,7 @@
|
|
|
155
154
|
<td class="(cell.customClass)" data-name="(cell.value)" rowspan="(cell.rowspan)"
|
|
156
155
|
colspan="(cell.colspan)" key="(cell.key)" value="(cell.value)">
|
|
157
156
|
<c:if exp={Array.isArray($cell.title)}>
|
|
158
|
-
<ul>
|
|
157
|
+
<ul class="slds-list_dotted">
|
|
159
158
|
<c:for items=(cell.title) var="value">
|
|
160
159
|
<li>{{value}}</li>
|
|
161
160
|
</c:for>
|
|
@@ -168,7 +167,7 @@
|
|
|
168
167
|
<td rowspan="(cell.rowspan)" colspan="(cell.colspan)" class="(cell.customClass)"
|
|
169
168
|
key="(cell.key)" value="(cell.value)">
|
|
170
169
|
<c:if exp={Array.isArray($cell.title)}>
|
|
171
|
-
<ul>
|
|
170
|
+
<ul class="slds-list_dotted">
|
|
172
171
|
<c:for items=(cell.title) var="value">
|
|
173
172
|
<li>{{value}}</li>
|
|
174
173
|
</c:for>
|
|
@@ -183,14 +182,14 @@
|
|
|
183
182
|
<td data-name="(cell.value)" rowspan="(cell.rowspan)" colspan="(cell.colspan)"
|
|
184
183
|
class="(cell.customClass)" key="(cell.key)" value="(cell.value)">
|
|
185
184
|
<c:if exp={Array.isArray($cell.title)}>
|
|
186
|
-
<ul>
|
|
185
|
+
<ul class="slds-list_dotted">
|
|
187
186
|
<c:for items=(cell.title) var="value">
|
|
188
|
-
<li><a href="(cell.uri)">{{value}}</a></li>
|
|
187
|
+
<li><a href="(cell.uri)" target="_blank">{{value}}</a></li>
|
|
189
188
|
</c:for>
|
|
190
189
|
</ul>
|
|
191
190
|
</c:if>
|
|
192
191
|
<c:if exp={!Array.isArray($cell.title)}>
|
|
193
|
-
<a href="(cell.uri)">{{cell.title}}</a>
|
|
192
|
+
<a href="(cell.uri)" target="_blank">{{cell.title}}</a>
|
|
194
193
|
</c:if>
|
|
195
194
|
</td>
|
|
196
195
|
</c:if>
|
|
@@ -198,7 +197,7 @@
|
|
|
198
197
|
<td rowspan="(cell.rowspan)" colspan="(cell.colspan)" class="(cell.customClass)"
|
|
199
198
|
key="(cell.key)" value="(cell.value)">
|
|
200
199
|
<c:if exp={Array.isArray($cell.title)}>
|
|
201
|
-
<ul>
|
|
200
|
+
<ul class="slds-list_dotted">
|
|
202
201
|
<c:for items=(cell.title) var="value">
|
|
203
202
|
<li><a href="(cell.uri)">{{value}}</a></li>
|
|
204
203
|
</c:for>
|
|
@@ -220,6 +219,17 @@
|
|
|
220
219
|
</tr>
|
|
221
220
|
</tbody>
|
|
222
221
|
</table>
|
|
222
|
+
<c:if exp={Array.isArray($actionItems) && $actionItems.length > 0}>
|
|
223
|
+
<div class="slds-box slds-theme_default slds-m-top_medium">
|
|
224
|
+
<div class="slds-text-heading_medium slds-m-bottom_small">User Action Required</div>
|
|
225
|
+
<div class="slds-m-bottom_small">
|
|
226
|
+
<p class="slds-m-bottom_x-small">Action Items</p>
|
|
227
|
+
<ul class="slds-list_dotted">
|
|
228
|
+
<c:for items=(actionItems) var="actionItem">
|
|
229
|
+
<li class="slds-item slds-text-color_destructive">{{actionItem}}</li>
|
|
230
|
+
</c:for>
|
|
231
|
+
</ul>
|
|
232
|
+
</c:if>
|
|
223
233
|
</div>
|
|
224
234
|
</div>
|
|
225
235
|
<div id="cta-summary-panel" class="cta-summary-panel hidden">
|
|
@@ -242,19 +252,21 @@
|
|
|
242
252
|
<div class="line-separator"></div>
|
|
243
253
|
<c:if exp={Array.isArray($rollbackFlags)}>
|
|
244
254
|
<div class="slds-box" style="background-color: white; margin-top: 20px">
|
|
245
|
-
<div class="
|
|
255
|
+
<div class="migration-message">
|
|
256
|
+
<svg fill="#8c4c00" width="20px" height="20px" viewBox="-3.2 -3.2 38.40 38.40"
|
|
257
|
+
xmlns="http://www.w3.org/2000/svg" stroke="#8c4c00" stroke-width="0.0032">
|
|
258
|
+
<path
|
|
259
|
+
d="M31.082 27.5l-13.999-24.249c-0.237-0.352-0.633-0.58-1.083-0.58s-0.846 0.228-1.080 0.575l-0.003 0.005-14 24.249c-0.105 0.179-0.167 0.395-0.167 0.625 0 0.69 0.56 1.25 1.25 1.25h28c0.69 0 1.249-0.56 1.249-1.25 0-0.23-0.062-0.446-0.171-0.631zM4.165 26.875l11.835-20.499 11.834 20.499zM14.75 12v8.994c0 0.69 0.56 1.25 1.25 1.25s1.25-0.56 1.25-1.25V12c0-0.69-0.56-1.25-1.25-1.25s-1.25 0.56-1.25 1.25zM15.12 23.619c-0.124 0.106-0.22 0.24-0.278 0.394-0.051 0.143-0.08 0.308-0.08 0.48s0.029 0.337 0.083 0.491c0.144 0.3 0.38 0.536 0.671 0.676 0.143 0.051 0.308 0.080 0.48 0.080s0.337-0.029 0.49-0.083c0.156-0.071 0.288-0.166 0.4-0.281 0.224-0.225 0.363-0.536 0.363-0.878 0-0.687-0.557-1.244-1.244-1.244-0.343 0-0.653 0.139-0.878 0.363z" />
|
|
260
|
+
</svg>
|
|
261
|
+
<span>Just a heads-up...</span>
|
|
262
|
+
</div>
|
|
246
263
|
<div style="margin-block: 15px">
|
|
247
|
-
<p>
|
|
264
|
+
<p>These rollback flags are not supported and will be disabled after migration</p>
|
|
248
265
|
<ul class="slds-list_dotted">
|
|
249
266
|
<c:for items=(rollbackFlags) var="flag">
|
|
250
267
|
<li class="slds-item slds-text-color_destructive">{{flag}}</li>
|
|
251
268
|
</c:for>
|
|
252
269
|
</ul>
|
|
253
|
-
<p>
|
|
254
|
-
<strong>Note:</strong>
|
|
255
|
-
Following flag(s) will no longer be supported after migration. For assistance, please contact
|
|
256
|
-
support.
|
|
257
|
-
</p>
|
|
258
270
|
</div>
|
|
259
271
|
</div>
|
|
260
272
|
</c:if>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
|
|
20
20
|
<div class="org-details-section">
|
|
21
|
-
<div class="label-key">Org
|
|
21
|
+
<div class="label-key">Org ID</div>
|
|
22
22
|
<div class="label-value">{{org.id}}</div>
|
|
23
23
|
</div>
|
|
24
24
|
|
|
@@ -33,7 +33,12 @@
|
|
|
33
33
|
</div>
|
|
34
34
|
|
|
35
35
|
<div class="org-details-section">
|
|
36
|
-
<
|
|
36
|
+
<c:if exp={$mode == 'assess'}>
|
|
37
|
+
<div class="label-key">Assessment Date and Time</div>
|
|
38
|
+
</c:if>
|
|
39
|
+
<c:if exp={$mode == 'migrate'}>
|
|
40
|
+
<div class="label-key">Migration Date and Time</div>
|
|
41
|
+
</c:if>
|
|
37
42
|
<div class="label-value">{{assessmentDate}}</div>
|
|
38
43
|
</div>
|
|
39
44
|
</div>
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
<div class="slds-m-around_medium">
|
|
13
13
|
<div class="slds-text-heading_large">
|
|
14
14
|
<span>{{heading}}</span>
|
|
15
|
-
<span> Migration Report</span>
|
|
16
15
|
</div>
|
|
17
16
|
|
|
18
17
|
<div class="rpt-table-container" id="report-table">
|
|
@@ -56,7 +55,7 @@
|
|
|
56
55
|
<path
|
|
57
56
|
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z" />
|
|
58
57
|
</svg>
|
|
59
|
-
<input type="text" id="name-search-input" class="search-input" placeholder="Search
|
|
58
|
+
<input type="text" id="name-search-input" class="search-input" placeholder="Search Name"
|
|
60
59
|
oninput="filterAndSearchTable('report-table')" />
|
|
61
60
|
</div>
|
|
62
61
|
|
|
@@ -119,7 +118,7 @@
|
|
|
119
118
|
<td class="(cell.customClass)" data-name="(cell.value)" rowspan="(cell.rowspan)"
|
|
120
119
|
colspan="(cell.colspan)" key="(cell.key)" value="(cell.value)">
|
|
121
120
|
<c:if exp={Array.isArray($cell.title)}>
|
|
122
|
-
<ul>
|
|
121
|
+
<ul class="slds-list_dotted">
|
|
123
122
|
<c:for items=(cell.title) var="value">
|
|
124
123
|
<li>{{value}}</li>
|
|
125
124
|
</c:for>
|
|
@@ -132,7 +131,7 @@
|
|
|
132
131
|
<td rowspan="(cell.rowspan)" colspan="(cell.colspan)" class="(cell.customClass)" key="(cell.key)"
|
|
133
132
|
value="(cell.value)">
|
|
134
133
|
<c:if exp={Array.isArray($cell.title)}>
|
|
135
|
-
<ul>
|
|
134
|
+
<ul class="slds-list_dotted">
|
|
136
135
|
<c:for items=(cell.title) var="value">
|
|
137
136
|
<li>{{value}}</li>
|
|
138
137
|
</c:for>
|
|
@@ -147,7 +146,7 @@
|
|
|
147
146
|
<td class="(cell.customClass)" data-name="(cell.value)" rowspan="(cell.rowspan)"
|
|
148
147
|
colspan="(cell.colspan)" key="(cell.key)" value="(cell.value)">
|
|
149
148
|
<c:if exp={Array.isArray($cell.title)}>
|
|
150
|
-
<ul>
|
|
149
|
+
<ul class="slds-list_dotted">
|
|
151
150
|
<c:for items=(cell.title) var="value">
|
|
152
151
|
<li><a href="(cell.uri)">{{value}}</a></li>
|
|
153
152
|
</c:for>
|
|
@@ -162,7 +161,7 @@
|
|
|
162
161
|
<td rowspan="(cell.rowspan)" colspan="(cell.colspan)" class="(cell.customClass)" key="(cell.key)"
|
|
163
162
|
value="(cell.value)">
|
|
164
163
|
<c:if exp={Array.isArray($cell.title)}>
|
|
165
|
-
<ul>
|
|
164
|
+
<ul class="slds-list_dotted">
|
|
166
165
|
<c:for items=(cell.title) var="value">
|
|
167
166
|
<li><a href="(cell.uri)">{{value}}</a></li>
|
|
168
167
|
</c:for>
|
|
@@ -187,18 +186,21 @@
|
|
|
187
186
|
</div>
|
|
188
187
|
<c:if exp={Array.isArray($rollbackFlags)}>
|
|
189
188
|
<div class="slds-box" style="background-color: white; margin-top: 20px">
|
|
190
|
-
<div class="
|
|
189
|
+
<div class="migration-message">
|
|
190
|
+
<svg fill="#8c4c00" width="20px" height="20px" viewBox="-3.2 -3.2 38.40 38.40"
|
|
191
|
+
xmlns="http://www.w3.org/2000/svg" stroke="#8c4c00" stroke-width="0.0032">
|
|
192
|
+
<path
|
|
193
|
+
d="M31.082 27.5l-13.999-24.249c-0.237-0.352-0.633-0.58-1.083-0.58s-0.846 0.228-1.080 0.575l-0.003 0.005-14 24.249c-0.105 0.179-0.167 0.395-0.167 0.625 0 0.69 0.56 1.25 1.25 1.25h28c0.69 0 1.249-0.56 1.249-1.25 0-0.23-0.062-0.446-0.171-0.631zM4.165 26.875l11.835-20.499 11.834 20.499zM14.75 12v8.994c0 0.69 0.56 1.25 1.25 1.25s1.25-0.56 1.25-1.25V12c0-0.69-0.56-1.25-1.25-1.25s-1.25 0.56-1.25 1.25zM15.12 23.619c-0.124 0.106-0.22 0.24-0.278 0.394-0.051 0.143-0.08 0.308-0.08 0.48s0.029 0.337 0.083 0.491c0.144 0.3 0.38 0.536 0.671 0.676 0.143 0.051 0.308 0.080 0.48 0.080s0.337-0.029 0.49-0.083c0.156-0.071 0.288-0.166 0.4-0.281 0.224-0.225 0.363-0.536 0.363-0.878 0-0.687-0.557-1.244-1.244-1.244-0.343 0-0.653 0.139-0.878 0.363z" />
|
|
194
|
+
</svg>
|
|
195
|
+
<span>Just a heads-up...</span>
|
|
196
|
+
</div>
|
|
191
197
|
<div style="margin-block: 15px">
|
|
192
|
-
<p>
|
|
198
|
+
<p>These rollback flags are not supported and will be disabled after migration</p>
|
|
193
199
|
<ul class="slds-list_dotted">
|
|
194
200
|
<c:for items=(rollbackFlags) var="flag">
|
|
195
201
|
<li class="slds-item slds-text-color_destructive">{{flag}}</li>
|
|
196
202
|
</c:for>
|
|
197
203
|
</ul>
|
|
198
|
-
<p>
|
|
199
|
-
<strong>Note:</strong>
|
|
200
|
-
Following flag(s) are no longer supported after migration. For assistance, please contact support.
|
|
201
|
-
</p>
|
|
202
204
|
</div>
|
|
203
205
|
</div>
|
|
204
206
|
</c:if>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Connection, Messages } from '@salesforce/core';
|
|
2
|
+
export declare class OmnistudioSettingsPrefManager {
|
|
3
|
+
private connection;
|
|
4
|
+
private messages;
|
|
5
|
+
constructor(connection: Connection, messages: Messages);
|
|
6
|
+
isGlobalAutoNumberEnabled(): Promise<boolean>;
|
|
7
|
+
enableGlobalAutoNumber(): Promise<any>;
|
|
8
|
+
enableGlobalAutoNumberIfDisabled(): Promise<any>;
|
|
9
|
+
isStandardRuntimeEnabled(): Promise<boolean>;
|
|
10
|
+
enableStandardRuntime(): Promise<any>;
|
|
11
|
+
enableStandardRuntimeIfDisabled(): Promise<any>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OmnistudioSettingsPrefManager = void 0;
|
|
4
|
+
const logger_1 = require("./logger");
|
|
5
|
+
class OmnistudioSettingsPrefManager {
|
|
6
|
+
constructor(connection, messages) {
|
|
7
|
+
this.connection = connection;
|
|
8
|
+
this.messages = messages;
|
|
9
|
+
}
|
|
10
|
+
// Global Auto Number methods
|
|
11
|
+
async isGlobalAutoNumberEnabled() {
|
|
12
|
+
try {
|
|
13
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
14
|
+
const result = (await this.connection.metadata.read('OmniStudioSettings', ['OmniStudio']));
|
|
15
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
16
|
+
const metadata = result;
|
|
17
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
18
|
+
return (metadata === null || metadata === void 0 ? void 0 : metadata.enableOmniGlobalAutoNumberPref) === 'true' || false;
|
|
19
|
+
}
|
|
20
|
+
catch (error) {
|
|
21
|
+
const errMsg = error instanceof Error ? error.message : String(error);
|
|
22
|
+
logger_1.Logger.error(this.messages.getMessage('errorCheckingGlobalAutoNumber', [errMsg]));
|
|
23
|
+
return false;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
27
|
+
async enableGlobalAutoNumber() {
|
|
28
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
29
|
+
return await this.connection.metadata.update('OmniStudioSettings', [
|
|
30
|
+
{
|
|
31
|
+
fullName: 'OmniStudio',
|
|
32
|
+
enableOmniGlobalAutoNumberPref: 'true',
|
|
33
|
+
},
|
|
34
|
+
]);
|
|
35
|
+
}
|
|
36
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
37
|
+
async enableGlobalAutoNumberIfDisabled() {
|
|
38
|
+
const isEnabled = await this.isGlobalAutoNumberEnabled();
|
|
39
|
+
if (!isEnabled) {
|
|
40
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
41
|
+
return await this.enableGlobalAutoNumber();
|
|
42
|
+
}
|
|
43
|
+
return null; // Already enabled, no action needed
|
|
44
|
+
}
|
|
45
|
+
// Standard Runtime methods
|
|
46
|
+
async isStandardRuntimeEnabled() {
|
|
47
|
+
try {
|
|
48
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
49
|
+
const result = (await this.connection.metadata.read('OmniStudioSettings', ['OmniStudio']));
|
|
50
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
51
|
+
const metadata = result;
|
|
52
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
53
|
+
return (metadata === null || metadata === void 0 ? void 0 : metadata.enableStandardOmniStudioRuntime) === 'true' || false;
|
|
54
|
+
}
|
|
55
|
+
catch (error) {
|
|
56
|
+
const errMsg = error instanceof Error ? error.message : String(error);
|
|
57
|
+
logger_1.Logger.error(this.messages.getMessage('errorCheckingStandardRuntime', [errMsg]));
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
62
|
+
async enableStandardRuntime() {
|
|
63
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
64
|
+
return await this.connection.metadata.update('OmniStudioSettings', [
|
|
65
|
+
{
|
|
66
|
+
fullName: 'OmniStudio',
|
|
67
|
+
enableStandardOmniStudioRuntime: 'true',
|
|
68
|
+
},
|
|
69
|
+
]);
|
|
70
|
+
}
|
|
71
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
72
|
+
async enableStandardRuntimeIfDisabled() {
|
|
73
|
+
const isEnabled = await this.isStandardRuntimeEnabled();
|
|
74
|
+
if (!isEnabled) {
|
|
75
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
|
76
|
+
return await this.enableStandardRuntime();
|
|
77
|
+
}
|
|
78
|
+
return null; // Already enabled, no action needed
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.OmnistudioSettingsPrefManager = OmnistudioSettingsPrefManager;
|
|
82
|
+
//# sourceMappingURL=OmnistudioSettingsPrefManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OmnistudioSettingsPrefManager.js","sourceRoot":"","sources":["../../src/utils/OmnistudioSettingsPrefManager.ts"],"names":[],"mappings":";;;AACA,qCAAkC;AAGlC,MAAa,6BAA6B;IACxC,YAA2B,UAAsB,EAAU,QAAkB;QAAlD,eAAU,GAAV,UAAU,CAAY;QAAU,aAAQ,GAAR,QAAQ,CAAU;IAAG,CAAC;IAEjF,6BAA6B;IACtB,KAAK,CAAC,y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,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,EAAE,CAAC,YAAY,CAAC,CAAC,CAAY,CAAC;YACtG,mEAAmE;YACnE,MAAM,QAAQ,GAAG,MAAsB,CAAC;YACxC,sEAAsE;YACtE,OAAO,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,+BAA+B,MAAK,MAAM,IAAI,KAAK,CAAC;SACtE;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,MAAM,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YACtE,eAAM,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,8BAA8B,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;YACjF,OAAO,KAAK,CAAC;SACd;IACH,CAAC;IAED,8DAA8D;IACvD,KAAK,CAAC,qBAAqB;QAChC,+DAA+D;QAC/D,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,MAAM,CAAC,oBAAoB,EAAE;YACjE;gBACE,QAAQ,EAAE,YAAY;gBACtB,+BAA+B,EAAE,MAAM;aACxB;SAClB,CAAC,CAAC;IACL,CAAC;IAED,8DAA8D;IACvD,KAAK,CAAC,+BAA+B;QAC1C,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,wBAAwB,EAAE,CAAC;QACxD,IAAI,CAAC,SAAS,EAAE;YACd,+DAA+D;YAC/D,OAAO,MAAM,IAAI,CAAC,qBAAqB,EAAE,CAAC;SAC3C;QACD,OAAO,IAAI,CAAC,CAAC,oCAAoC;IACnD,CAAC;CACF;AA5ED,sEA4EC"}
|
|
@@ -32,6 +32,6 @@ export declare const documentRegistry: {
|
|
|
32
32
|
integrationProcedureNameChangeMessage: string;
|
|
33
33
|
integrationProcedureManualUpdateMessage: string;
|
|
34
34
|
duplicateCardNameMessage: string;
|
|
35
|
-
globalAutoNumberNameChangeMessage: string;
|
|
36
35
|
duplicateGlobalAutoNumberNameMessage: string;
|
|
36
|
+
reservedKeysFoundInPropertySet: string;
|
|
37
37
|
};
|