refactor: make match-collector export its types, and consume them in frontend
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { MongoClient } from 'mongodb'
|
||||
import type { ChampionData } from 'match_collector'
|
||||
import { connectToDatabase, fetchLatestPatch } from '../../utils/mongo'
|
||||
|
||||
async function championInfos(client: MongoClient, patch: string, championAlias: string) {
|
||||
|
||||
Reference in New Issue
Block a user