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 Nov 6, 2024
1 parent 347328a commit 91dc8d9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 0 additions & 2 deletions query-connector/src/app/database-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ import {
import { UUID } from "crypto";
import {
CategoryToConditionIdToNameArrayMap,
CategoryToConditionIdToTemplateMap,
ConditionIdToNameMap,
ConditionIdToTemplateMap,
} from "./queryBuilding/utils";

const getQuerybyNameSQL = `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ type ConditionColumnDisplayProps = {
* @param root0.fetchedConditions - conditions queried from backend to display
* @param root0.searchFilter - filter grabbed from search field to filter fetched
* components against
* @param root0.setFetchedConditions
* @returns Conditions split out into two columns that will filter themselves
* at both the category and condition levels if a valid search filter is applied.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ type ConditionOptionProps = {
* @param root0 - params
* @param root0.conditionIdToTemplateMap - the ID: Condition name map that needs to
* be displayed
* @param root0.conditionId
* @param root0.conditionNameAndInclude
* @param root0.handleConditionSelection
* @returns A component for display to redner on the query building page
*/
const ConditionOption: React.FC<ConditionOptionProps> = ({
Expand Down
3 changes: 3 additions & 0 deletions query-connector/src/app/queryBuilding/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export type CategoryToConditionIdToTemplateMap = {
[categoryName: string]: ConditionIdToTemplateMap;
};

/**
*
*/
export function mapFetchedDataToConditionIdToTemplateStructure(fetchedData: {
[categoryName: string]: ConditionIdToNameMap[];
}) {
Expand Down

0 comments on commit 91dc8d9

Please sign in to comment.