UNPKG

dbcube

Version:
16 lines (13 loc) 428 B
import { Dbcube } from './lib/Dbcube'; import { Database, Table } from '@dbcube/query-builder'; const dbcube = new Dbcube(); dbcube.init() // Re-export the types directly from the definition export { dbcube, Database, Table }; // Export types using interface definitions for better compatibility export type DatabaseRecord = Record<string, any>; export type WhereCallback = (query: Table) => void;