UNPKG

axiodb

Version:

The Pure JavaScript Alternative to SQLite. Embedded NoSQL database for Node.js with MongoDB-style queries, zero native dependencies, built-in InMemoryCache, and web GUI. Perfect for desktop apps, CLI tools, and embedded systems. No compilation, no platfor

30 lines (29 loc) 611 B
/** * Client-side type definitions for AxioDBCloud */ /** * Connection configuration options */ export interface AxioDBCloudOptions { timeout?: number; reconnectAttempts?: number; reconnectDelay?: number; heartbeatInterval?: number; } /** * Connection state */ export declare enum ConnectionState { DISCONNECTED = "DISCONNECTED", CONNECTING = "CONNECTING", CONNECTED = "CONNECTED", RECONNECTING = "RECONNECTING", FAILED = "FAILED" } /** * Connection string format: axiodb://host:port */ export interface ParsedConnectionString { host: string; port: number; }