Skip to content

Commit

Permalink
feat: acmg card
Browse files Browse the repository at this point in the history
  • Loading branch information
gromdimon committed Sep 12, 2023
1 parent cc378b8 commit 2d99606
Show file tree
Hide file tree
Showing 6 changed files with 951 additions and 2 deletions.
22 changes: 22 additions & 0 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"dependencies": {
"@mdi/font": "^7.2.96",
"lodash.isequal": "^4.5.0",
"pinia": "^2.1.6",
"resize-observer-polyfill": "^1.5.1",
"vue": "^3.3.4",
Expand All @@ -26,6 +27,7 @@
"@rushstack/eslint-patch": "^1.3.3",
"@tsconfig/node18": "^18.2.1",
"@types/jsdom": "^21.1.2",
"@types/lodash.isequal": "^4.5.6",
"@types/node": "^20.5.6",
"@vitejs/plugin-vue": "^4.3.3",
"@vitejs/plugin-vue-jsx": "^3.0.2",
Expand Down
8 changes: 6 additions & 2 deletions frontend/src/api/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ export const search = (searchTerm: string, genomeRelease: string) => {
}

/**
* Take a query string and return an object with the chromosome, pos, reference and
* alternative value.
* Return an object with the chromosome, pos, reference and
* alternative values from the given query string.
*
* @param query Incoming query string
*/
Expand All @@ -161,3 +161,7 @@ export const infoFromQuery = (query: string): any => {
hgnc_id: hgnc_id
}
}

export function copy(value: Object) {
return JSON.parse(JSON.stringify(value))
}
Loading

0 comments on commit 2d99606

Please sign in to comment.