File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
commands/omnistudio/migration Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ export default class Assess extends OmniStudioBaseCommand {
6363 Logger . initialiseLogger ( this . ux , this . logger ) ;
6464 const projectDirectory = OmnistudioRelatedObjectMigrationFacade . intializeProject ( ) ;
6565 conn . setApiVersion ( apiVersion ) ;
66+ // @ts -expect-error - LWC functionality temporarily disabled
6667 const lwcparser = new LwcMigration ( projectDirectory , namespace , this . org ) ;
6768 const apexMigrator = new ApexMigration ( projectDirectory , namespace , this . org ) ;
6869 const osMigrator = new OmniScriptMigrationTool (
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import { LwcMigration } from './LwcMigration';
2323// Load the specific messages for this file. Messages from @salesforce /command, @salesforce/core,
2424// or any library that is using the messages framework can also be loaded this way.
2525// const messages = Messages.loadMessages('@salesforce/plugin-omnistudio-related-object-migration-tool', 'migrate');
26+ // @ts -expect-error - LWC functionality temporarily disabled
2627const LWCTYPE = 'LightningComponentBundle' ;
2728const APEXCLASS = 'Apexclass' ;
2829
@@ -88,8 +89,10 @@ export default class OmnistudioRelatedObjectMigrationFacade {
8889 debugTimer . start ( ) ;
8990 // Initialize migration tools based on the relatedObjects parameter
9091 const apexMigrator = this . createApexClassMigrationTool ( projectDirectory , targetApexNamespace ) ;
92+ // @ts -expect-error - LWC functionality temporarily disabled
9193 const lwcMigrator = this . createLWCComponentMigrationTool ( this . namespace , projectDirectory ) ;
9294 let apexAssessmentInfos : ApexAssessmentInfo [ ] = [ ] ;
95+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
9396 const lwcAssessmentInfos : LWCAssessmentInfo [ ] = [ ] ;
9497 // Proceed with migration logic
9598 try {
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ export class AssessmentReporter {
2929 const integrationProcedureAssessmentFilePath = basePath + '/integration_procedure_assessment.html' ;
3030 const dataMapperAssessmentFilePath = basePath + '/datamapper_assessment.html' ;
3131 const apexAssessmentFilePath = basePath + '/apex_assessment.html' ;
32+ // @ts -expect-error - LWC functionality temporarily disabled
3233 const lwcAssessmentFilePath = basePath + '/lwc_assessment.html' ;
3334 const orgDetails : ReportHeaderFormat [ ] = this . formattedOrgDetails ( omnistudioOrgDetails ) ;
3435
@@ -186,6 +187,7 @@ export class AssessmentReporter {
186187 const doc = this . generateDocument ( htmlBody ) ;
187188 fs . writeFileSync ( filePath , doc ) ;
188189 }
190+ // @ts -expect-error - LWC functionality temporarily disabled
189191 private static generateLwcAssesment ( lwcAssessmentInfos : LWCAssessmentInfo [ ] ) : string {
190192 let tableBody = '' ;
191193 tableBody += `
You can’t perform that action at this time.
0 commit comments