UNPKG

@graphteon/juricode

Version:

We are forging the future with lines of digital steel

27 lines (26 loc) 840 B
import { Conversation } from './open-hands.types'; import { Provider } from '../types/settings'; export interface Task extends Conversation { } export interface TaskResponse { results: Task[]; next_page_id: string; } export interface CreateTaskInput { title: string; repository?: string; git_provider?: Provider; selected_branch?: string; initial_user_msg?: string; image_urls?: string[]; replay_json?: string; } export declare class TaskService { createTask(input: CreateTaskInput): Promise<Task>; getTasks(): Promise<Task[]>; getTask(id: string): Promise<Task>; updateTask(id: string, input: Partial<CreateTaskInput>): Promise<Task>; deleteTask(id: string): Promise<void>; startTask(id: string, providers?: Provider[]): Promise<Task>; stopTask(id: string): Promise<Task>; }