@z-test/memory-bank-mcp
Version:
MCP Server for managing Memory Bank
41 lines (40 loc) • 1.22 kB
TypeScript
/**
* Type definitions for Memory Bank MCP
*
* This file exports all the interfaces, types, constants, and type guards used in the Memory Bank MCP project.
*/
export * from './progress.js';
export * from './rules.js';
export * from './utils.js';
export * from './constants.js';
export * from './guards.js';
/**
* Interface for Memory Bank status
*/
export interface MemoryBankStatus {
/** Path to the Memory Bank directory */
path: string;
/** List of files in the Memory Bank */
files: string[];
/** List of core files present in the Memory Bank */
coreFilesPresent: string[];
/** List of core files missing from the Memory Bank */
missingCoreFiles: string[];
/** Whether the Memory Bank is complete (all core files present) */
isComplete: boolean;
/** Language of the Memory Bank (always 'en' for English) */
language: string;
/** Last update time of the Memory Bank */
lastUpdated?: Date;
}
/**
* Interface for validation result
*/
export interface ValidationResult {
/** Whether the validation passed */
valid: boolean;
/** List of missing files */
missingFiles: string[];
/** List of existing files */
existingFiles: string[];
}