Initial commit from ux_aura_assistant

This commit is contained in:
DIVYANSH-675
2026-03-25 01:21:46 +05:30
commit cb404432ee
48 changed files with 2530 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
export const getAppBuilderApiBaseUrl = (): string => {
const isStudioMode = window.location.href.includes('.goog');
if (isStudioMode) {
// Management APIs (RBAC, Auth) in the HumanizeIQ ecosystem usually sit under this segment
return 'https://www.playtest.humanizeiq.ai/api/ai_studio_manager_api';
} else {
// In deployed mode, use a relative path.
return '/api/ai_studio_manager_api';
}
};
export const getUserManagementApiBaseUrl = (): string => {
const isStudioMode = window.location.href.includes('.goog');
if (isStudioMode) {
// Management APIs (RBAC, Auth) in the HumanizeIQ ecosystem usually sit under this segment
return 'https://www.playtest.humanizeiq.ai/api/user_management';
} else {
// In deployed mode, use a relative path.
return '/api/user_management';
}
};