PromucFlow_constructor/app/client/packages/rts
Shrikant Sharat Kandula 6a31cacba5
chore: Modular backup implementation (#37715)
Backup implementation changed to be modular, and made up of separate
pieces. Each piece (link in a chain) is responsible for one
component/functionality of all the data that's being backed up. This PR
introduces the framework for this modularization. The next PR will
finish migration to that architecture.


## Automation

/test sanity

### 🔍 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/12063841586>
> Commit: 75c1d787c874ff1dd398b7e7228d062a2c66c141
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12063841586&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Thu, 28 Nov 2024 07:23:30 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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


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

## Summary by CodeRabbit

## Release Notes

- **New Features**
- Introduced a modular backup system with `BackupState`,
`DiskSpaceLink`, `EncryptionLink`, and `ManifestLink` classes to manage
backup operations more efficiently.
- Added command-line argument support for the backup command, enhancing
flexibility.
- Improved user interaction during backup restoration with prompts for
encryption passwords.

- **Bug Fixes**
- Enhanced error handling and clarity in the restoration process,
particularly for manifest file reading.

- **Documentation**
- Updated test structure to reflect new directory organization and
improved focus on backup cleanup logic.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-28 13:05:31 +05:30
..
src chore: Modular backup implementation (#37715) 2024-11-28 13:05:31 +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: Port ctl code to Typescript (#37606) 2024-11-21 15:37:11 +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: Reduce lint exceptions in ctl (#37643) 2024-11-22 15:57:56 +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 fix: removing unused dependencies and explicitly installing used ones (#36573) 2024-09-30 12:28:46 +03:00

Appsmith Realtime Server

This is the code for the Appsmith realtime server.