todofordevs
Version:
CLI for TodoForDevs - A simple task management tool for developers
44 lines (43 loc) • 969 B
TypeScript
/**
* Interface for a task
*/
interface Task {
id: string;
title: string;
description?: string;
status: 'To Do' | 'In Progress' | 'Blocked' | 'Done';
priority: 'Low' | 'Medium' | 'High' | 'Urgent';
dueDate?: string;
assigneeId?: string;
assigneeEmail?: string;
assigneeName?: string;
projectId: string;
project?: {
id: string;
name: string;
ownerId?: string;
};
createdAt: string;
updatedAt: string;
}
/**
* List tasks for a project
*/
export declare function listTasks(options?: any): Promise<Task[]>;
/**
* Add a new task
*/
export declare function addTask(options?: any): Promise<void>;
/**
* View a task's details
*/
export declare function viewTask(taskId: string): Promise<void>;
/**
* Update a task
*/
export declare function updateTask(taskId: string): Promise<void>;
/**
* Delete a task
*/
export declare function deleteTask(taskId: string): Promise<void>;
export {};