import { DataSource } from "typeorm"; import { ItemRecord } from "../../../infrastructure/db/records/item.record"; import { StockRecord } from "../../../infrastructure/db/records/stock.record"; const inMemoryDataSource = new DataSource({ type: "better-sqlite3", database: "marketplaceDB", logging: false, synchronize: true, entities: [ ItemRecord, StockRecord], dropSchema: true }); export default inMemoryDataSource;