UNPKG

@simonecoelhosfo/optimizely-mcp-server

Version:

Optimizely MCP Server for AI assistants with integrated CLI tools

18 lines 663 B
import { SQLiteEngine } from './SQLiteEngine.js'; export function createStorageEngine(type = 'sqlite', options = {}) { switch (type) { case 'sqlite': if (!options.path) { throw new Error('SQLite storage engine requires a path'); } return new SQLiteEngine({ path: options.path, backupDir: options.backupDir, verbose: options.verbose ? (message) => options.verbose(message) : undefined }); default: throw new Error(`Unsupported storage engine: ${type}`); } } export { SQLiteEngine }; //# sourceMappingURL=index.js.map