mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 20:19:30 +00:00
15 lines
326 B
TypeScript
15 lines
326 B
TypeScript
import APIClient from '../../functions/APIClient';
|
|
|
|
export type PlaylistStatsType = {
|
|
doc_count: number;
|
|
active_false: number;
|
|
active_true: number;
|
|
subscribed_true: number;
|
|
};
|
|
|
|
const loadStatsPlaylist = async () => {
|
|
return APIClient<PlaylistStatsType>('/api/stats/playlist/');
|
|
};
|
|
|
|
export default loadStatsPlaylist;
|