You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
673 B
30 lines
673 B
import Media from '../../entity/Media';
|
|
import { MediaRequest } from '../../entity/MediaRequest';
|
|
import type { User } from '../../entity/User';
|
|
import { PaginatedResponse } from './common';
|
|
|
|
export interface UserResultsResponse extends PaginatedResponse {
|
|
results: User[];
|
|
}
|
|
|
|
export interface UserRequestsResponse extends PaginatedResponse {
|
|
results: MediaRequest[];
|
|
}
|
|
|
|
export interface QuotaStatus {
|
|
days?: number;
|
|
limit?: number;
|
|
used: number;
|
|
remaining?: number;
|
|
restricted: boolean;
|
|
}
|
|
|
|
export interface QuotaResponse {
|
|
movie: QuotaStatus;
|
|
tv: QuotaStatus;
|
|
}
|
|
export interface UserWatchDataResponse {
|
|
recentlyWatched: Media[];
|
|
playCount: number;
|
|
}
|