@sofianedjerbi/knowledge-tree-mcp
Version:
MCP server for hierarchical project knowledge management
31 lines • 2.09 kB
TypeScript
/**
* Central export point for all application constants
*
* This module follows the principle of centralized configuration,
* making it easy to maintain and update constants across the application.
*/
export { PRIORITY_LEVELS, PRIORITY_WEIGHTS, PRIORITY_ORDER, PRIORITY_DISPLAY_NAMES, PRIORITY_DESCRIPTIONS, PRIORITY_COLORS, PRIORITY_BORDER_COLORS, isValidPriority, getPriorityWeight, comparePriorities } from './priorities.js';
export { RELATIONSHIP_TYPES, BIDIRECTIONAL_RELATIONSHIPS, INVERSE_RELATIONSHIPS, RELATIONSHIP_DISPLAY_NAMES, RELATIONSHIP_DESCRIPTIONS, RELATIONSHIP_ICONS, isValidRelationshipType, isBidirectionalRelationship, getInverseRelationship, areInverseRelationships } from './relationships.js';
export { SEARCH_DEFAULTS, INDEX_DEFAULTS, EXPORT_DEFAULTS, STATS_DEFAULTS, RECENT_DEFAULTS, ANALYTICS_DEFAULTS, FILE_CONSTANTS, SERVER_DEFAULTS, VALIDATION_CONSTANTS, DISPLAY_CONSTANTS, HELP_TOPICS, TIME_CONSTANTS, getDefaultValue } from './defaults.js';
import { isValidPriority } from './priorities.js';
import { isValidRelationshipType, isBidirectionalRelationship } from './relationships.js';
export declare const Constants: {
readonly isValidPriority: typeof isValidPriority;
readonly isValidRelationshipType: typeof isValidRelationshipType;
readonly isBidirectionalRelationship: typeof isBidirectionalRelationship;
readonly DEFAULT_SEARCH_LIMIT: 50;
readonly DEFAULT_EXPORT_FORMAT: "markdown";
readonly DEFAULT_INDEX_FORMAT: "tree";
readonly JSON_EXTENSION: ".json";
readonly JSONL_EXTENSION: ".jsonl";
readonly VALID_PATH_PATTERN: RegExp;
readonly PRIORITY_PREFIX_PATTERN: RegExp;
readonly ERRORS: {
readonly INVALID_PRIORITY: "Priority must be one of: CRITICAL, REQUIRED, COMMON, EDGE-CASE";
readonly INVALID_RELATIONSHIP: "Invalid relationship type";
readonly INVALID_PATH: "Path contains invalid characters";
readonly ENTRY_NOT_FOUND: "Knowledge entry not found";
readonly ENTRY_ALREADY_EXISTS: "Knowledge entry already exists";
};
};
//# sourceMappingURL=index.d.ts.map