mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 19:09:29 +00:00
15 lines
329 B
TypeScript
15 lines
329 B
TypeScript
import APIClient from '../../functions/APIClient';
|
|
|
|
export type DownloadStatsType = {
|
|
pending: number;
|
|
pending_videos: number;
|
|
pending_shorts: number;
|
|
pending_streams: number;
|
|
};
|
|
|
|
const loadStatsDownload = async () => {
|
|
return APIClient<DownloadStatsType>('/api/stats/download/');
|
|
};
|
|
|
|
export default loadStatsDownload;
|