Skip to content

Commit

Permalink
ESCKAN-20 fix build hard check
Browse files Browse the repository at this point in the history
  • Loading branch information
D-GopalKrishna committed May 16, 2024
1 parent 5802268 commit 2ba15e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/common/CollapsibleList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { FC } from "react";
import { Box, Button } from "@mui/material";
import { MinusIcon, PlusIcon } from "../icons";
import { vars } from "../../theme/variables";
import {HierarchicalItem} from "../ConnectivityGrid.tsx";
import { HierarchicalItem } from "./Types";
const { gray700, gray100, gray50, primaryPurple500, gray25, gray200, primaryPurple700 } = vars;


Expand Down
8 changes: 5 additions & 3 deletions src/services/mappers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {AnatomicalEntity} from "../models/composer.ts";
import { AnatomicalEntity, TypeB60Enum, TypeC11Enum } from "../models/composer.ts";
import { Sex } from "../models/explorer.ts";


Expand Down Expand Up @@ -62,7 +62,8 @@ export function mapApiResponseToKnowledgeStatements(composerResponse: ComposerRe
return {
...dest,
anatomical_entities: anatomicalEntities,
from_entities: fromEntities
from_entities: fromEntities,
type: dest.type as TypeC11Enum
}
}),
via: ks.vias.flatMap(via => {
Expand All @@ -71,7 +72,8 @@ export function mapApiResponseToKnowledgeStatements(composerResponse: ComposerRe
return {
...via,
anatomical_entities: anatomicalEntities,
from_entities: fromEntities
from_entities: fromEntities,
type: via.type as TypeB60Enum
}
}),
forwardConnections: ks.forward_connection.map(fc => fc.reference_uri || ""),
Expand Down

0 comments on commit 2ba15e7

Please sign in to comment.