Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 8, 2025
1 parent 9ea0441 commit a0893e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions query-connector/src/app/queryBuilding/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { DibbsValueSet } from "../constants";
import {
VsGrouping,
ConceptTypeToVsNameToVsGroupingMap,
temp__ConceptTypeToVsNameToVsGroupingMap
temp__ConceptTypeToVsNameToVsGroupingMap,
} from "../utils/valueSetTranslation";

// The structure of the data that's coming from the backend
Expand Down Expand Up @@ -42,7 +42,6 @@ export type temp__ConditionToConceptTypeToValueSetGroupingMap = {
[conditionId: string]: temp__ConceptTypeToVsNameToVsGroupingMap;
};


export type QueryDetailsResult = {
query_name: string;
id: string;
Expand Down
6 changes: 3 additions & 3 deletions query-connector/src/app/utils/valueSetTranslation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export function groupValueSetsByNameAuthorSystem(
}

const groupKey = `${valueSetName}:${author}:${system}`;
acc[groupKey] = {

acc[groupKey] = {
valueSetId: row.valueSetId,
valueSetVersion: row.valueSetVersion,
valueSetName: row.valueSetName,
Expand All @@ -79,7 +79,7 @@ export function groupValueSetsByNameAuthorSystem(
concepts: row.concepts.map((c) => {
return { ...c };
}),
}
};
return acc;
},
{} as Record<VsNameAuthorSystem, DibbsValueSet>,
Expand Down

0 comments on commit a0893e3

Please sign in to comment.