feat: removing dexie

This commit is contained in:
Chubby Granny Chaser
2025-10-14 13:15:09 +01:00
parent f9c585d12f
commit 1a99305aa0
49 changed files with 3346 additions and 3806 deletions

View File

@@ -0,0 +1,22 @@
import { db } from "../level";
import { levelKeys } from "./keys";
export interface GameRepack {
id: number;
title: string;
uris: string[];
repacker: string;
fileSize: string | null;
objectIds: string[];
uploadDate: Date | string | null;
downloadSourceId: number;
createdAt: Date;
updatedAt: Date;
}
export const repacksSublevel = db.sublevel<string, GameRepack>(
levelKeys.repacks,
{
valueEncoding: "json",
}
);