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.
17 lines
425 B
17 lines
425 B
|
2 weeks ago
|
import http from './index'
|
||
|
|
|
||
|
|
export interface StatisticsSummary {
|
||
|
|
equipmentCount: number
|
||
|
|
levelCount: number
|
||
|
|
professionCount: number
|
||
|
|
pillCount: number
|
||
|
|
missionCount: number
|
||
|
|
equipmentByRarity: Record<number, number>
|
||
|
|
missionByDifficulty: Record<number, number>
|
||
|
|
pillByGrade: Record<number, number>
|
||
|
|
}
|
||
|
|
|
||
|
|
export const GetStatisticsSummary = (): Promise<StatisticsSummary> => {
|
||
|
|
return http.get('statistics/summary')
|
||
|
|
}
|