First Commit. Duplicate bunext-sqlite preset

This commit is contained in:
2026-10-18 16:47:11 +01:00
commit 81e4a8aecc
718 changed files with 41695 additions and 0 deletions
@@ -0,0 +1,14 @@
import path from "path";
import BunSQLiteConfig from "@/bun-sqlite.config";
/**
* Absolute path of the bun-sqlite backups directory. Mirrors bun-sqlite's
* own resolution: `{db_dir}/{db_backup_dir || ".backups"}`.
*/
export default function grabDbBackupDir() {
return path.resolve(
process.cwd(),
BunSQLiteConfig.db_dir || "",
BunSQLiteConfig.db_backup_dir || ".backups",
);
}