]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit - server/tests/api/check-params/views.ts
Add ability to set start/end date to timeserie
authorChocobozzz <me@florianbigard.com>
Thu, 7 Apr 2022 08:53:35 +0000 (10:53 +0200)
committerChocobozzz <chocobozzz@cpy.re>
Fri, 15 Apr 2022 07:49:35 +0000 (09:49 +0200)
commit901bcf5c188ea79350fecd499ad76460b866617b
tree1e79f26cc3f2b952371d31bfa9b94a2b150be38a
parentac907dc7c158056e9b6a5cb58acd27df5c7c2670
Add ability to set start/end date to timeserie
12 files changed:
server/controllers/api/videos/stats.ts
server/lib/timeserie.ts [new file with mode: 0644]
server/middlewares/validators/videos/video-stats.ts
server/models/view/local-video-viewer.ts
server/tests/api/check-params/views.ts
server/tests/api/views/video-views-timeserie-stats.ts
shared/core-utils/common/date.ts
shared/models/videos/stats/index.ts
shared/models/videos/stats/video-stats-timeserie-group-interval.type.ts [new file with mode: 0644]
shared/models/videos/stats/video-stats-timeserie-query.model.ts [new file with mode: 0644]
shared/models/videos/stats/video-stats-timeserie.model.ts
shared/server-commands/videos/video-stats-command.ts