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
No known key found for this signature in database
34 changed files with 388 additions and 475 deletions

View file

@ -3,7 +3,7 @@ import { registerEvent } from "../register-event";
import { Crypto, HydraApi } from "@main/services";
import { db } from "@main/level";
import type { Auth } from "@types";
import { levelKeys } from "@main/level/sublevels/keys";
import { levelKeys } from "@main/level";
const openCheckout = async (_event: Electron.IpcMainInvokeEvent) => {
const auth = await db.get<string, Auth>(levelKeys.auth, {