Skip to content

Commit

Permalink
refactor: Update import paths for QIDO-RS service (module-alias)
Browse files Browse the repository at this point in the history
This commit updates the import paths for the QIDO-RS service in order to
use the modules-alias from the "@query-dicom-json-factory" package.
  • Loading branch information
Chinlinlee committed Nov 18, 2023
1 parent 6ce5918 commit f20ee13
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const {
const { AuditManager } = require("@models/DICOM/audit/auditManager");
const { EventType } = require("@models/DICOM/audit/eventType");
const { EventOutcomeIndicator } = require("@models/DICOM/audit/auditUtils");
const { QueryPatientDicomJsonFactory, QueryStudyDicomJsonFactory, QuerySeriesDicomJsonFactory, QueryInstanceDicomJsonFactory } = require("./query-dicom-json-factory");
const { QueryPatientDicomJsonFactory, QueryStudyDicomJsonFactory, QuerySeriesDicomJsonFactory, QueryInstanceDicomJsonFactory } = require("@query-dicom-json-factory");

const HierarchyQueryDicomJsonFactory = Object.freeze({
patient: QueryPatientDicomJsonFactory,
Expand Down
3 changes: 2 additions & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"@root/*": ["./*"],
"@chinlinlee/*": ["./models/DICOM/dcm4che/wrapper/org/github/chinlinlee/*"],
"@dbModels/*": ["./models/mongodb/models/*"],
"@dicom-json-model": ["./models/DICOM/dicom-json-model.js"]
"@dicom-json-model": ["./models/DICOM/dicom-json-model.js"],
"@query-dicom-json-factory": ["./api/dicom-web/controller/QIDO-RS/service/query-dicom-json-factory.js"]
}
},
"exclude": [
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"@chinlinlee": "./models/DICOM/dcm4che/wrapper/org/github/chinlinlee",
"@dbModels": "./models/mongodb/models",
"@dbInitializer": "./models/mongodb/index.js",
"@dicom-json-model": "./models/DICOM/dicom-json-model.js"
"@dicom-json-model": "./models/DICOM/dicom-json-model.js",
"@query-json-factory": "./api/dicom-web/controller/QIDO-RS/service/query-dicom-json-factory.js"
},
"dependencies": {
"@jorgeferrero/stream-to-buffer": "^2.0.6",
Expand Down

0 comments on commit f20ee13

Please sign in to comment.