Fixed IDE import autocomplete #931
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes proposed ✍️
What
🤖 Generated by Copilot at 0e1eeb0
This pull request introduces custom path aliases for the TypeScript code of three services:
integration_data_worker
,integration_run_worker
, andintegration_stream_worker
. It adds thetsconfig-paths
dependency and modifies thepackage.json
andtsconfig.json
files of each service to enable path resolution at runtime and compile time. It also renames theconfig
folders toconf
in each service to avoid confusion with theconfig
module and updates the import statements accordingly. Additionally, it reorders some import statements alphabetically in theintegration_run_worker
service.
🤖 Generated by Copilot at 0e1eeb0
Why
How
🤖 Generated by Copilot at 0e1eeb0
tsconfig-paths
dependency to enable custom path aliases in TypeScript configuration files (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)start
andstart:debug
scripts to usetsconfig-paths/register
module inpackage.json
files ofintegration_data_worker
,integration_run_worker
, andintegration_stream_worker
services (link, link, link)config
folder toconf
inintegration_data_worker
,integration_run_worker
, andintegration_stream_worker
services to avoid confusion withconfig
module (link, link, link)config
folder toconf
inmain.ts
files ofintegration_data_worker
,integration_run_worker
, andintegration_stream_worker
services (link, link, link)@/
alias forconf
folder inintegrationDataService.ts
,integrationRunService.ts
, andintegrationStreamService.ts
files ofintegration_data_worker
,integration_run_worker
, andintegration_stream_worker
services (link, link, link, link)esModuleInterop
option and setbaseUrl
to./src
and define@/
alias forconf
folder inintegration_data_worker
,integration_run_worker
, andintegration_stream_worker
services (link, link, link)integrationRun.data.ts
file ofintegration_run_worker
service to follow alphabetical order of imported modules (link)Checklist ✅
Feature
,Improvement
, orBug
.Add screehshots to the PR description for relevant FE changesNew backend functionality has been unit-tested.API documentation has been updated (if necessary) (see docs on API documentation).