mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-18 16:53:57 +00:00
11 lines
257 B
TypeScript
11 lines
257 B
TypeScript
import { db } from "../level";
|
|
import { levelKeys } from "./keys";
|
|
import type { DownloadSource } from "@types";
|
|
|
|
export const downloadSourcesSublevel = db.sublevel<string, DownloadSource>(
|
|
levelKeys.downloadSources,
|
|
{
|
|
valueEncoding: "json",
|
|
}
|
|
);
|