gadl/platform.ts

9 lines
266 B
TypeScript
Raw Normal View History

2023-11-19 16:18:00 +09:00
import type { Database } from "./database";
import type { Browser } from "./browser";
import { DmmBooks } from "./platforms/dmm-books";
2023-11-19 02:25:32 +09:00
2023-11-19 20:47:49 +09:00
export function createPlatform(opt: { db: Database; browser: Browser }) {
const platform = DmmBooks(opt);
return platform;
2023-11-19 02:25:32 +09:00
}