alixlahuec / zotero-roam

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

chore: restructure services code #623

Closed alixlahuec closed 5 months ago

linear[bot] commented 5 months ago

RM-657 Restructure services code

codecov[bot] commented 5 months ago

Codecov Report

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

Please upload report for BASE (beta@eb2b47c). Learn more about missing BASE report.

:exclamation: Current head 69da985 differs from pull request most recent head df463c1

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

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/623/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/623?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 #623 +/- ## ======================================= Coverage ? 84.58% ======================================= Files ? 163 Lines ? 5218 Branches ? 1343 ======================================= Hits ? 4413 Misses ? 803 Partials ? 2 ``` | [Files](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/623?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/index.tsx](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/623?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% <ø> (ø)` | | | [src/clients/zotero/base.ts](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/623?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% <100.00%> (ø)` | | | [src/clients/zotero/mutations.ts](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/623?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% <100.00%> (ø)` | | | [src/components/App/index.tsx](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/623?src=pr&el=tree&filepath=src%2Fcomponents%2FApp%2Findex.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL2NvbXBvbmVudHMvQXBwL2luZGV4LnRzeA==) | `10.38% <ø> (ø)` | | | [src/components/Autocomplete/index.tsx](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/623?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% <ø> (ø)` | | | [src/components/UserSettings/Provider.tsx](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/623?src=pr&el=tree&filepath=src%2Fcomponents%2FUserSettings%2FProvider.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL2NvbXBvbmVudHMvVXNlclNldHRpbmdzL1Byb3ZpZGVyLnRzeA==) | `81.82% <ø> (ø)` | | | [src/services/events/index.ts](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/623?src=pr&el=tree&filepath=src%2Fservices%2Fevents%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL3NlcnZpY2VzL2V2ZW50cy9pbmRleC50cw==) | `82.28% <100.00%> (ø)` | | | [src/services/idb/index.ts](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/623?src=pr&el=tree&filepath=src%2Fservices%2Fidb%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL3NlcnZpY2VzL2lkYi9pbmRleC50cw==) | `92.69% <100.00%> (ø)` | | | [src/services/smartblocks/index.ts](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/623?src=pr&el=tree&filepath=src%2Fservices%2Fsmartblocks%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL3NlcnZpY2VzL3NtYXJ0YmxvY2tzL2luZGV4LnRz) | `75.65% <100.00%> (ø)` | | | [src/setup.ts](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/623?src=pr&el=tree&filepath=src%2Fsetup.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL3NldHVwLnRz) | `96.51% <100.00%> (ø)` | |