mirror of
https://github.com/h-sphere/sql-seal.git
synced 2026-07-22 10:10:28 +00:00
* feat: updating how modules are being defined (using new version of DITY) * chore: removing deprecated module
8 lines
No EOL
210 B
TypeScript
8 lines
No EOL
210 B
TypeScript
import { App } from "obsidian";
|
|
import { SqlSealDatabase } from "./database";
|
|
|
|
export const databaseFactory = async (app: App) => {
|
|
const db = new SqlSealDatabase(app)
|
|
await db.connect()
|
|
return db
|
|
} |