@@ -73,7 +73,7 @@ export async function fetchDataFromDataverseAndUpdateVFS(
7373
7474 await Promise . all ( entityRequestURLs . map ( async ( entity ) => {
7575 const startTime = new Date ( ) . getTime ( ) ;
76- if ( entity . entityName != schemaEntityName . SERVERLOGICS || featureFlags . enableServerLogicChanges ) {
76+ if ( entity . entityName != schemaEntityName . SERVERLOGIC || featureFlags . enableServerLogicChanges ) {
7777 await fetchFromDataverseAndCreateFiles ( entity . entityName , entity . requestUrl , dataverseOrgUrl , portalFs , defaultFileInfo , featureFlags ) ;
7878
7979 if ( defaultFileInfo === undefined ) { // This will be undefined for bulk entity load
@@ -470,8 +470,8 @@ async function processDataAndCreateFile(
470470 else {
471471 let fileCreationValid = true ;
472472 let fileNameWithExtension = GetFileNameWithExtension ( entityName , fileName , languageCode , fileExtension ) ;
473- if ( entityName === schemaEntityName . SERVERLOGICS ) {
474- // Modify filename for serverlogics : test.js -> test.serverlogics .customjs.js
473+ if ( entityName === schemaEntityName . SERVERLOGIC ) {
474+ // Modify filename for serverlogic : test.js -> test.serverlogic .customjs.js
475475 if ( fileNameWithExtension . endsWith ( '.js' ) ) {
476476 const baseName = fileNameWithExtension . slice ( 0 , - 3 ) ; // Remove .js
477477 fileNameWithExtension = `${ baseName } ${ Constants . SERVERLOGIC_FILE_EXTENSION } ` ;
@@ -667,7 +667,7 @@ async function fetchMappingEntityContent(
667667 // Gracefully handle 404 for optional entities (deleted/moved files or missing server logic)
668668 const notFoundTelemetryMap = new Map < string , string > ( [
669669 [ schemaEntityName . WEBFILES , webExtensionTelemetryEventNames . WEB_EXTENSION_WEBFILE_NOT_FOUND ] ,
670- [ schemaEntityName . SERVERLOGICS , webExtensionTelemetryEventNames . WEB_EXTENSION_SERVERLOGIC_NOT_FOUND ] ,
670+ [ schemaEntityName . SERVERLOGIC , webExtensionTelemetryEventNames . WEB_EXTENSION_SERVERLOGIC_NOT_FOUND ] ,
671671 ] ) ;
672672
673673 if ( ! response . ok && response . status === 404 && notFoundTelemetryMap . has ( entity ) ) {
@@ -704,7 +704,7 @@ async function fetchMappingEntityContent(
704704 const result = await response . json ( ) ;
705705 const data = result . value ?? result ;
706706
707- if ( entity === schemaEntityName . SERVERLOGICS ) {
707+ if ( entity === schemaEntityName . SERVERLOGIC ) {
708708 return data || Constants . NO_CONTENT ;
709709 }
710710 if ( isPortalVersionV1 ( ) && result [ Constants . ODATA_COUNT ] > 0 && data . length > 0 ) {
0 commit comments