@pimzino/agentic-tools-mcp
Version:
A comprehensive MCP server for task management and agent memories with JSON file storage
44 lines (43 loc) • 1.15 kB
TypeScript
/**
* Subtask data model for the task management system
*/
export interface Subtask {
/** Unique identifier for the subtask */
id: string;
/** Subtask name */
name: string;
/** Enhanced subtask description */
details: string;
/** Reference to parent task */
taskId: string;
/** Reference to parent project for easy querying */
projectId: string;
/** Subtask completion status */
completed: boolean;
/** Timestamp when the subtask was created */
createdAt: string;
/** Timestamp when the subtask was last updated */
updatedAt: string;
}
/**
* Input data for creating a new subtask
*/
export interface CreateSubtaskInput {
/** Subtask name */
name: string;
/** Enhanced subtask description */
details: string;
/** Reference to parent task */
taskId: string;
}
/**
* Input data for updating an existing subtask
*/
export interface UpdateSubtaskInput {
/** Subtask name (optional) */
name?: string;
/** Enhanced subtask description (optional) */
details?: string;
/** Subtask completion status (optional) */
completed?: boolean;
}