15 lines
378 B
TypeScript
15 lines
378 B
TypeScript
import type { GetDbDynamic } from "../types/GetDb.js";
|
|
import { sqliteProtocols } from "./url.js";
|
|
|
|
const getSqlite = () =>
|
|
import(/* webpackChunkName: 'dbsource-sqlite' */ "./getdb.static.js").then(
|
|
(x) => x.default
|
|
);
|
|
|
|
const getSqliteDynamic: GetDbDynamic = {
|
|
name: "sqlite",
|
|
protocols: sqliteProtocols,
|
|
getSource: getSqlite,
|
|
};
|
|
export default getSqliteDynamic;
|