UNPKG

officernd-mcp-server

Version:

MCP server for OfficeRnD workspace management - create, search, update and cancel bookings

34 lines 809 B
import { Resource } from './types.js'; export declare class ResourceCache { private cache; private readonly cacheLifetime; constructor(cacheLifetimeMinutes?: number); /** * Get a resource from cache if it exists and is not expired */ get(resourceId: string): Resource | null; /** * Store a resource in cache */ set(resource: Resource): void; /** * Store multiple resources in cache */ setMany(resources: Resource[]): void; /** * Clear all cached resources */ clear(): void; /** * Get cache statistics */ getStats(): { size: number; resources: string[]; }; /** * Remove expired entries from cache */ cleanExpired(): number; } //# sourceMappingURL=resource-cache.d.ts.map