mcp-quiz-server
Version:
🧠AI-Powered Quiz Management via Model Context Protocol (MCP) - Create, manage, and take quizzes directly from VS Code, Claude, and other AI agents.
40 lines (39 loc) • 1.34 kB
JavaScript
;
/**
* @fileoverview Cache Service Interface - Infrastructure Layer
* @version 1.0.0
* @since 2025-07-29
* @lastUpdated 2025-07-29
* @module ICacheService
* @description Simple cache service interface for Clean Architecture.
* Defines contract for caching implementations with basic CRUD operations.
*
* @architecture
* Layer: Infrastructure (Service Interfaces)
* Pattern: Interface Segregation Principle
* Dependencies: None (pure interface)
*
* @relationships
* DEPENDS_ON:
* - None (interface definition)
* IMPLEMENTED_BY:
* - InMemoryCache (Infrastructure)
* - RedisCache (Future implementation)
* USED_BY:
* - Query handlers for performance optimization
* - Repository implementations for data caching
*
* @responsibilities
* - Define caching contract with basic operations
* - Specify TTL (time-to-live) behavior
* - Establish consistent cache key patterns
* - Provide type-safe cache operations
*
* @requirements
* {@link Requirements.REQ_ARCH_v2_001} Clean Architecture Layer Separation
* {@link Requirements.REQ_ARCH_v2_007} Performance and Scalability
*
* @contributors Claude Code Agent
* @testCoverage Interface compliance tests for all implementations
*/
Object.defineProperty(exports, "__esModule", { value: true });