[O] Optimize imports

This commit is contained in:
Azalea
2024-03-06 00:21:27 -05:00
parent 0da50bc693
commit 96cac6ca68
10 changed files with 15 additions and 22 deletions

View File

@@ -1,9 +1,4 @@
import { AQUA_HOST, DATA_HOST } from './config'
import type { TrendEntry } from './generalTypes'
import type { MaimaiUserSummaryEntry } from './maimaiTypes'
export async function getMaimai(endpoint: string, params: any) {
@@ -15,4 +10,4 @@ export async function getMaimai(endpoint: string, params: any) {
export async function getMaimaiAllMusic(): Promise<{ [key: string]: any }> {
return fetch(`${DATA_HOST}/maimai/meta/00/all-music.json`).then(it => it.json())
}
}