15 lines
453 B
TypeScript
15 lines
453 B
TypeScript
import type { DashboardOverviewDTO } from '../../../types/generated/DashboardOverviewDTO';
|
|
import { BaseApiClient } from '../base/BaseApiClient';
|
|
|
|
/**
|
|
* Dashboard API Client
|
|
*
|
|
* Handles dashboard overview data aggregation.
|
|
*/
|
|
export class DashboardApiClient extends BaseApiClient {
|
|
/** Get dashboard overview data */
|
|
getDashboardOverview(): Promise<DashboardOverviewDTO> {
|
|
return this.get<DashboardOverviewDTO>('/dashboard/overview');
|
|
}
|
|
}
|