mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 13:56:16 +00:00
12 lines
269 B
TypeScript
12 lines
269 B
TypeScript
import type { ShopAssets } from "@types";
|
|
|
|
import { db } from "../level";
|
|
import { levelKeys } from "./keys";
|
|
|
|
export const gamesShopAssetsSublevel = db.sublevel<
|
|
string,
|
|
ShopAssets & { updatedAt: number }
|
|
>(levelKeys.gameShopAssets, {
|
|
valueEncoding: "json",
|
|
});
|