feat: migrating achievements to level

This commit is contained in:
Chubby Granny Chaser
2025-01-16 02:30:09 +00:00
parent 2c881a6100
commit a23106b0b1
34 changed files with 388 additions and 475 deletions

View File

@@ -1,3 +1,5 @@
import type { SteamAchievement, UnlockedAchievement } from "./game.types";
export type SubscriptionStatus = "active" | "pending" | "cancelled";
export interface Subscription {
@@ -21,3 +23,8 @@ export interface User {
backgroundImageUrl: string | null;
subscription: Subscription | null;
}
export interface GameAchievement {
achievements: SteamAchievement[];
unlockedAchievements: UnlockedAchievement[];
}