Skip to content

Conversation

@harshithad0703
Copy link
Contributor

No description provided.

@harshithad0703 harshithad0703 requested a review from a team as a code owner January 29, 2026 07:12
@harshithad0703 harshithad0703 self-assigned this Jan 29, 2026
@harshithad0703 harshithad0703 marked this pull request as draft January 29, 2026 07:38
* @param {string} cmaUrl - Content Management API URL (e.g., 'https://eu-api.contentstack.com')
* @returns {string} Composable Studio URL for the region
*/
function getComposableStudioUrl(cmaUrl: string): string {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harshithad0703, don't fetch this as custom; let's get this added in endpoints rather.

developerHubUrl: endpoints.developerHub,
launchHubUrl: endpoints.launch,
personalizeUrl: endpoints.personalizeManagement,
composableStudioUrl: getComposableStudioUrl(endpoints.contentManagement),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harshithad0703 @nadeem-cs Let's get this added to endpoints.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, will add it.

'GCP-EU',
];

const regions: any = {};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use the Type here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants