feat : add lichess user games import

This commit is contained in:
GuillaumeSD
2024-03-17 18:57:22 +01:00
parent f9cb5acc1f
commit 46198f2a47
7 changed files with 147 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
import { ChessComGame } from "@/types/chessCom";
import { getPaddedMonth } from "./helpers";
export const getUserRecentGames = async (
export const getChessComUserRecentGames = async (
username: string
): Promise<ChessComGame[]> => {
const date = new Date();