Closed vishesh-baghel closed 8 months ago
The update introduces a proxy for event handling and enhances the Probot server setup. It also standardizes file status representation across the codebase using a new FileStatus
enum, refactors import paths for fetching functions, and tweaks the export pattern and logging in the main app file. Unused Probot setup code is commented out, suggesting a shift away from a previous configuration.
File(s) | Summary |
---|---|
proxy.ts , start.ts |
New proxy functionality and server initialization. |
.../constants/GithubContants.ts , .../types/GithubResponseFile.ts |
Introduced FileStatus enum for file state representation. |
.../fetch/fetchCommits.ts , .../fetch/fetchFiles.ts , .../main.ts , .../services/repositoryService.ts |
Updated import paths for fetching functions. |
src/index.ts |
Modified export structure and logging behavior. |
.../services/pullRequestService.ts |
Implemented FileStatus enum for file categorization. |
src/utils.ts |
Commented out unused Probot setup code. |
🐇✨ In the burrows of the code, a change took flight, Enums align, proxies dance, the server ignites. Through fields of syntax, our logic weaves, A hop, a skip, in binary leaves. 🍃🖥️
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
SmeeClient
for enhanced logging and event handling.Enhancements
FileStatus
enum to standardize file status representations across the application.Refactor
app
function for consistency and clarity in the codebase.FileStatus
enum in pull request service to align with the new file status categorization.Chores
utils.ts
to clean up the codebase.