Skip to main content
Glama
manager.d.ts1.16 kB
import { StorageData, StorageRoot } from '../types.js'; import { MigrationRegistry, MigrationResult } from './types.js'; export declare class MigrationManager { private registry; constructor(registry: MigrationRegistry); /** * Migrate data from one version to another */ migrate(data: StorageData | StorageRoot, toVersion: string, options?: { dryRun?: boolean; validateOnly?: boolean; }): Promise<MigrationResult>; /** * Roll back a migration */ rollback(data: StorageData | StorageRoot, toVersion: string, options?: { dryRun?: boolean; validateOnly?: boolean; }): Promise<MigrationResult>; /** * Validate migration result */ private validateMigrationResult; /** * Get available migrations */ getAvailableMigrations(): import("../types.js").Migration[]; /** * Check if migration is needed */ needsMigration(currentVersion: string, targetVersion: string): boolean; /** * Get latest available version */ getLatestVersion(): string; /** * Create error with context */ private error; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/glassBead-tc/SubspaceDomain'

If you have feedback or need assistance with the MCP directory API, please join our Discord server