PromucFlow_constructor/app/client/packages/rts
Ashit Rath aaadbc675f
chore: add isError to return value of extractIdentifierInfoFromCode in AST (#35525)
## Description
Adds an isError flag to know if there is a syntax error while parsing

PR for https://github.com/appsmithorg/appsmith-ee/pull/4547

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10295486363>
> Commit: d69958d73ceb625ce82101ee98e5c81fe3d46697
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10295486363&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Thu, 08 Aug 2024 06:45:00 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


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


- **New Features**
- Introduced a new `isError` property in the identifier information
interface, enhancing error reporting during code extraction.

- **Bug Fixes**
- Updated extraction function to properly set the `isError` property
based on success or `SyntaxError`, improving clarity on extraction
outcomes.

- **Tests**
- Enhanced test cases by incorporating the `isError` property, improving
clarity on expected outcomes and robustness of the testing framework.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-08-08 13:46:12 +05:30
..
src chore: add isError to return value of extractIdentifierInfoFromCode in AST (#35525) 2024-08-08 13:46:12 +05:30
.env.example
.eslintrc.json fix: add testing library eslint rules (#31028) 2024-02-12 18:59:10 +03:00
.lintstagedrc.json chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
.prettierignore
build.js chore: rts workflow APIs code split (#29474) 2023-12-09 14:04:08 +05:30
build.sh chore: rts workflow APIs code split (#29474) 2023-12-09 14:04:08 +05:30
jest.config.js
package.json chore: bump axios from 0.21.4 to 1.7.2 in /app/client (#35266) 2024-07-31 22:29:43 +05:30
README.md
start-server.sh chore: Fix path to RTS server.js in start-server.sh 2023-11-06 10:45:23 +05:30
tsconfig.json chore: rts workflow APIs code split (#29474) 2023-12-09 14:04:08 +05:30

Appsmith Realtime Server

This is the code for the Appsmith realtime server.