* cancelTask protobuf * changeset * corrected changeset * fixing bad push * more fixes * one small change * ONE more change * missing await --------- Co-authored-by: Andrei Eternal <garoth@gmail.com>
22 lines
504 B
Protocol Buffer
22 lines
504 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cline;
|
|
|
|
import "common.proto";
|
|
|
|
service TaskService {
|
|
// Cancels the currently running task
|
|
rpc cancelTask(EmptyRequest) returns (Empty);
|
|
// Clears the current task
|
|
rpc clearTask(EmptyRequest) returns (Empty);
|
|
// Creates a new task with the given text and optional images
|
|
rpc newTask(NewTaskRequest) returns (Empty);
|
|
}
|
|
|
|
// Request message for creating a new task
|
|
message NewTaskRequest {
|
|
Metadata metadata = 1;
|
|
string text = 2;
|
|
repeated string images = 3;
|
|
}
|