1
0
Fork 0
peertube/shared/models/videos/rate/account-video-rate.model.ts
Yohan Boniface c100a6142e Add /accounts/:username/ratings endpoint (#1756)
* Add /users/me/videos/ratings endpoint

* Move ratings endpoint from users to accounts

* /accounts/:name/ratings: add support for rating= and sort=

* Restrict ratings list to owner

* Wording and better way to ensure current account
2019-04-09 11:02:02 +02:00

7 lines
180 B
TypeScript

import { UserVideoRateType } from './user-video-rate.type'
import { Video } from '../video.model'
export interface AccountVideoRate {
video: Video
rating: UserVideoRateType
}