aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/shared/index.ts
Commit message (Collapse)AuthorAgeFilesLines
* Support video views/viewers stats in serverChocobozzz2022-04-151-0/+1
| | | | | | | | | | * Add "currentTime" and "event" body params to view endpoint * Merge watching and view endpoints * Introduce WatchAction AP activity * Add tables to store viewer information of local videos * Add endpoints to fetch video views/viewers stats of local videos * Refactor views/viewers handlers * Support "views" and "viewers" counters for both VOD and live videos
* Move test functions outside extra-utilsChocobozzz2021-12-171-1/+14
|
* chore(refactor): remove shared folder dependencies to the serverlutangar2021-12-161-0/+2
Many files from the `shared` folder were importing files from the `server` folder. When attempting to use Typescript project references to describe dependencies, it highlighted a circular dependency beetween `shared` <-> `server`. The Typescript project forbid such usages. Using project references greatly improve performance by rebuilding only the updated project and not all source files. > see https://www.typescriptlang.org/docs/handbook/project-references.html