PromucFlow_constructor/app/client/src/ce/constants
Pawan Kumar 2f2f5a6bf4
chore: Refactor API (#36412)
Fixes #36481 

/ok-to-test tags="@tag.All"

<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/11028542060>
> Commit: ed537d3958a3eba4502cbc32daf60c4cd814002d
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11028542060&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Wed, 25 Sep 2024 08:56:31 UTC
<!-- end of auto-generated comment: Cypress test results  -->


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary by CodeRabbit

- **New Features**
- Enhanced API interaction with new default configurations for requests.
- Improved error handling with a centralized interceptor for managing
various API response errors.
- Introduced access control for specific API endpoints through blocked
and enabled route management.
- Streamlined environment-specific configurations for better
maintainability.
- Added functionalities for managing application themes, including
fetching, updating, and deleting themes.
- Introduced new API functions for retrieving consolidated page load
data for viewing and editing.
- Centralized access point for API services related to theming and
consolidated page load data.
- New modular structure for API request and response interceptors to
improve organization and maintainability.

- **Tests**
- Added unit tests for both API response and request interceptors to
ensure correct functionality and error handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro-2.local>
2024-09-25 16:29:21 +05:30
..
routes chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ApiConstants.tsx chore: Refactor API (#36412) 2024-09-25 16:29:21 +05:30
forms.ts fix: updated the design for the admin users (#29712) 2023-12-25 17:54:46 +05:30
messages.ts chore: Init Plugin Action Response (#36485) 2024-09-25 13:14:26 +05:30
ModuleConstants.ts chore: update module constants (#33673) 2024-05-27 17:50:06 +05:30
ModuleInstanceConstants.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
PackageConstants.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
ReduxActionConstants.tsx chore: [Plugin Action Editor] CommonEditorForm (#36380) 2024-09-20 10:45:01 +05:30
SocialLogin.tsx fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
tenantConstants.ts fix: Enable atomic pushes in git using an environment configuration (#33367) 2024-05-14 10:24:21 +05:30
UsagePulse.ts fix: fix usage pulse fallback (#21735) 2023-04-06 17:51:58 +05:30
WorkflowConstants.ts fix: set eval version for workflows artefact (#34197) 2024-06-12 13:07:07 +05:30
workspaceConstants.ts feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30