bangumi / server-private

HTTP sever for private api
11 stars 11 forks source link

feat: add arg since to getUserSubjectCollections #826

Closed everpcpc closed 1 week ago

everpcpc commented 1 week ago

会在本地存一个时间戳,然后每次只 fetch 这个时间戳之后的 这样避免每次都要 fetch 100 条

trim21 commented 1 week ago

这个有点问题,网页上的操作不会触发这列的修改

everpcpc commented 1 week ago

诶……不会吧?我试了下是会更新的

trim21 commented 1 week ago

不是所有的更新操作都会触发

everpcpc commented 1 week ago

有例子吗?这个不更新感觉很多东西都没法做了

trim21 commented 1 week ago

修改观看进度好像就不会触发

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 69.14%. Comparing base (3c8aa3c) to head (ccacc92). Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
routes/private/routes/user.ts 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #826 +/- ## ========================================== - Coverage 69.14% 69.14% -0.01% ========================================== Files 98 98 Lines 15242 15244 +2 Branches 799 799 ========================================== + Hits 10539 10540 +1 - Misses 4694 4695 +1 Partials 9 9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features:

everpcpc commented 1 week ago

修改观看进度好像就不会触发

试了下是会更新的

trim21 commented 1 week ago

from改叫since吧

everpcpc commented 1 week ago

看了下代码好像是修改评分和 tag 之类的不会更新这个时间