* work * almost done with command protobuffers * done translating command data structures * mid transferring of every command to protobuff command * transferred plugin_command.rs, now moving on to shim.rs * plugin command working with protobufs * protobuffers in update * protobuf event tests * various TODOs and comments * fix zellij-tile * clean up prost deps * remove version mismatch error * fix panic * some cleanups * clean up event protobuffers * clean up command protobuffers * clean up various protobufs * refactor protobufs * update comments * some transformation fixes * use protobufs for workers * style(fmt): rustfmt * style(fmt): rustfmt * chore(build): add protoc * chore(build): authenticate protoc
24 lines
324 B
Protocol Buffer
24 lines
324 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package api.resize;
|
|
|
|
enum ResizeAction {
|
|
Increase = 0;
|
|
Decrease = 1;
|
|
}
|
|
|
|
enum ResizeDirection {
|
|
Left = 0;
|
|
Right = 1;
|
|
Up = 2;
|
|
Down = 3;
|
|
}
|
|
|
|
message Resize {
|
|
ResizeAction resize_action = 1;
|
|
optional ResizeDirection direction = 2;
|
|
}
|
|
|
|
message MoveDirection {
|
|
ResizeDirection direction = 1;
|
|
}
|