UNPKG

@memory-bank/mcp

Version:

Memory-enabled Co-Pilot (MCP) server for managing project documentation and context

36 lines 978 B
/** * Value object representing a document ID * Used to uniquely identify documents regardless of their path */ export declare class DocumentId { private readonly _value; private constructor(); /** * Factory method to create a new DocumentId * @param value UUID string * @returns DocumentId instance * @throws DomainError if UUID is invalid */ static create(value: string): DocumentId; /** * Generate a new DocumentId with a random UUID * @returns DocumentId instance */ static generate(): DocumentId; /** * Get the raw UUID value */ get value(): string; /** * Checks if two DocumentId instances are equal * @param other Another DocumentId instance * @returns boolean indicating equality */ equals(other: DocumentId): boolean; /** * Convert to string * @returns Raw UUID value */ toString(): string; } //# sourceMappingURL=DocumentId.d.ts.map