UNPKG

@codervisor/devlog-core

Version:

Core devlog management functionality

45 lines 1.39 kB
/** * TypeORM entities for devlog storage * These entities map directly to the TypeScript interfaces in core.ts * Uses shared conditional column decorators for database-specific optimizations */ import 'reflect-metadata'; import type { DevlogPriority, DevlogStatus, DevlogType } from '../types/index.js'; /** * Main DevlogEntry entity matching the DevlogEntry interface */ export declare class DevlogEntryEntity { id: number; key: string; title: string; type: DevlogType; description: string; status: DevlogStatus; priority: DevlogPriority; createdAt: Date; updatedAt: Date; closedAt?: Date | null; archived: boolean; assignee?: string | null; projectId: number; businessContext?: string | null; technicalContext?: string | null; acceptanceCriteria: string[]; /** * Convert entity to DevlogEntry interface */ toDevlogEntry(): import('../types/index.js').DevlogEntry; /** * Create entity from DevlogEntry interface */ static fromDevlogEntry(entry: import('../types/index.js').DevlogEntry): DevlogEntryEntity; /** * Helper method for JSON field parsing (database-specific) */ private parseJsonField; /** * Helper method for JSON field stringification (database-specific) */ private stringifyJsonField; } //# sourceMappingURL=devlog-entry.entity.d.ts.map