Skip to content

Commit 3c5d101

Browse files
amitjoshi438Amit Joshiclaude
authored
Rename server-logics to server-logic in web extension (#1526)
* Rename server-logics to server-logic in web extension Remove trailing 's' from the server-logics folder name and related constants/enums to use singular form (server-logic) consistently. Only VS Code-side naming is affected; Dataverse entity names remain unchanged. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Revert "Rename server-logics to server-logic in web extension" This reverts commit db26a8b. * Rename server-logics folder to server-logic in web extension Only change the folder display name (_foldername) and the corresponding constant value. Entity names and enum values are unchanged to preserve the fetch pipeline. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Amit Joshi <amitjoshi@microsoft.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c16a2a7 commit 3c5d101

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/web/client/common/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,5 @@ export const WEB_EXTENSION_QUICK_PICK_PLACEHOLDER = "Search for people";
143143
export const WEB_EXTENSION_COLLABORATION_OPTIONS_CONTACT = "Contact";
144144

145145
//Business logic constants
146-
export const SERVERLOGICS = "server-logics";
146+
export const SERVERLOGICS = "server-logic";
147147
export const SERVERLOGIC_FILE_EXTENSION = ".serverlogic.customjs.js";

src/web/client/schema/portalSchema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export const portal_schema_V1 = {
116116
_primaryidfield: "adx_serverlogicid",
117117
_primarynamefield: "adx_name",
118118
_disableplugins: "true",
119-
_foldername: "server-logics",
119+
_foldername: "server-logic",
120120
_exporttype: "SingleFolder",
121121
_fetchQueryParameters:
122122
"?$filter=adx_serverlogicid eq {entityId} &$select=adx_name",
@@ -458,7 +458,7 @@ export const portal_schema_V2 = {
458458
_primarynamefield: "name",
459459
_disableplugins: "false",
460460
_exporttype: "SingleFolder",
461-
_foldername: "server-logics",
461+
_foldername: "server-logic",
462462
_fetchQueryParameters:
463463
"?$filter=powerpagecomponentid eq {entityId}&$select=name",
464464
_multiFileFetchQueryParameters:

0 commit comments

Comments
 (0)