alixlahuec / zotero-roam

Connector extension between Roam Research & Zotero
https://alix-lahuec.gitbook.io/zotero-roam/
Apache License 2.0
63 stars 6 forks source link

chore: restructure clients code #622

Closed alixlahuec closed 3 months ago

linear[bot] commented 3 months ago

RM-655 Restructure clients code

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.10%. Comparing base (c9300c6) to head (6e96a0b).

:exclamation: Current head 6e96a0b differs from pull request most recent head 2a29dcd

Please upload reports for the commit 2a29dcd to get more accurate results.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/622/graphs/tree.svg?width=650&height=150&src=pr&token=32DK4326KK&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec)](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/622?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec) ```diff @@ Coverage Diff @@ ## beta #622 +/- ## ========================================== + Coverage 85.09% 85.10% +0.01% ========================================== Files 162 163 +1 Lines 5182 5185 +3 Branches 1339 1339 ========================================== + Hits 4409 4412 +3 Misses 771 771 Partials 2 2 ``` | [Files](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/622?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec) | Coverage Δ | | |---|---|---| | [src/api/helpers.ts](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/622?src=pr&el=tree&filepath=src%2Fapi%2Fhelpers.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL2FwaS9oZWxwZXJzLnRz) | `98.08% <100.00%> (+0.78%)` | :arrow_up: | | [src/api/index.tsx](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/622?src=pr&el=tree&filepath=src%2Fapi%2Findex.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL2FwaS9pbmRleC50c3g=) | `97.78% <100.00%> (-<0.01%)` | :arrow_down: | | [src/api/public.ts](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/622?src=pr&el=tree&filepath=src%2Fapi%2Fpublic.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL2FwaS9wdWJsaWMudHM=) | `86.80% <ø> (ø)` | | | [src/clients/citoid/base.ts](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/622?src=pr&el=tree&filepath=src%2Fclients%2Fcitoid%2Fbase.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL2NsaWVudHMvY2l0b2lkL2Jhc2UudHM=) | `100.00% <ø> (ø)` | | | [src/clients/semantic/base.ts](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/622?src=pr&el=tree&filepath=src%2Fclients%2Fsemantic%2Fbase.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL2NsaWVudHMvc2VtYW50aWMvYmFzZS50cw==) | `85.72% <ø> (ø)` | | | [src/clients/zotero/base.ts](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/622?src=pr&el=tree&filepath=src%2Fclients%2Fzotero%2Fbase.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL2NsaWVudHMvem90ZXJvL2Jhc2UudHM=) | `75.45% <ø> (ø)` | | | [src/clients/zotero/helpers.ts](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/622?src=pr&el=tree&filepath=src%2Fclients%2Fzotero%2Fhelpers.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL2NsaWVudHMvem90ZXJvL2hlbHBlcnMudHM=) | `95.00% <100.00%> (-0.65%)` | :arrow_down: | | [src/clients/zotero/index.ts](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/622?src=pr&el=tree&filepath=src%2Fclients%2Fzotero%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL2NsaWVudHMvem90ZXJvL2luZGV4LnRz) | `100.00% <100.00%> (ø)` | | | [src/clients/zotero/mutations.ts](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/622?src=pr&el=tree&filepath=src%2Fclients%2Fzotero%2Fmutations.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL2NsaWVudHMvem90ZXJvL211dGF0aW9ucy50cw==) | `91.31% <ø> (ø)` | | | [src/components/Autocomplete/index.tsx](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/622?src=pr&el=tree&filepath=src%2Fcomponents%2FAutocomplete%2Findex.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL2NvbXBvbmVudHMvQXV0b2NvbXBsZXRlL2luZGV4LnRzeA==) | `6.35% <ø> (ø)` | | | ... and [20 more](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/622?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec) | |