39 lines
1008 B
TypeScript
39 lines
1008 B
TypeScript
// SmartDB - Wire protocol compatible embedded database server
|
|
|
|
// Export server (the main entry point for using SmartDB)
|
|
export { SmartdbServer } from './server/SmartdbServer.js';
|
|
export type {
|
|
ISmartdbAuthOptions,
|
|
ISmartdbAuthUser,
|
|
ISmartdbServerOptions,
|
|
ISmartdbTlsOptions,
|
|
} from './server/SmartdbServer.js';
|
|
|
|
// Export bridge for advanced usage
|
|
export { RustDbBridge } from './rust-db-bridge.js';
|
|
|
|
// Export oplog / debug types
|
|
export type {
|
|
IOpLogEntry,
|
|
IOpLogResult,
|
|
IOpLogStats,
|
|
IRevertResult,
|
|
ICollectionInfo,
|
|
IDocumentsResult,
|
|
ISmartDbMetrics,
|
|
} from './rust-db-bridge.js';
|
|
|
|
// Export service API types
|
|
export type {
|
|
ISmartDbHealth,
|
|
ISmartDbDatabaseTenantInput,
|
|
ISmartDbDeleteDatabaseTenantInput,
|
|
ISmartDbRotateDatabaseTenantPasswordInput,
|
|
ISmartDbDatabaseTenantDescriptor,
|
|
ISmartDbDeleteDatabaseTenantResult,
|
|
ISmartDbDatabaseExportCollection,
|
|
ISmartDbDatabaseExport,
|
|
ISmartDbImportDatabaseInput,
|
|
ISmartDbImportDatabaseResult,
|
|
} from './service-types.js';
|