This PR converts the existing TrainTrain .NET project into a NestJS module. The .NET classes and methods have been rewritten in TypeScript to align with the NestJS framework. The conversion involves creating a new NestJS module, rewriting the Train class, and integrating the module into the existing project structure.
Summary of Changes
Created a new NestJS module in the TrainTrain/nestjs-module directory.
Implemented a main.ts file in the NestJS module to bootstrap the application.
Rewrote the Train.cs file as train.ts in the NestJS module, converting the class and its methods into TypeScript.
Replaced .NET-specific code with equivalent Node.js or TypeScript code.
Deleted the original Train.cs file as it is no longer needed.
Renamed the TrainTrain/nestjs-module directory to TrainTrain/TrainModule for consistency.
Please review the changes and let me know if any further modifications are required.
Fixes #1.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/convert-to-nestjs-module
🎉 Latest improvements to Sweep:
Getting Sweep to run linters before committing! Check out Sweep Sandbox Configs to set it up.
Added support for self-hosting! Check out Self-hosting Sweep to get started.
[Self Hosting] Multiple options to compute vector embeddings, configure your .env file using VECTOR_EMBEDDING_SOURCE
💡 To get Sweep to edit this pull request, you can:
Leave a comment below to get Sweep to edit the entire PR
Leave a comment in the code will only modify the file
Edit the original issue to get Sweep to recreate the PR from scratch
Description
This PR converts the existing TrainTrain .NET project into a NestJS module. The .NET classes and methods have been rewritten in TypeScript to align with the NestJS framework. The conversion involves creating a new NestJS module, rewriting the Train class, and integrating the module into the existing project structure.
Summary of Changes
TrainTrain/nestjs-module
directory.main.ts
file in the NestJS module to bootstrap the application.Train.cs
file astrain.ts
in the NestJS module, converting the class and its methods into TypeScript.Train.cs
file as it is no longer needed.TrainTrain/nestjs-module
directory toTrainTrain/TrainModule
for consistency.Please review the changes and let me know if any further modifications are required.
Fixes #1.
To checkout this PR branch, run the following command in your terminal:
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: