mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
## What changed? Adds `buf format` as a Makefile target; and integrates it into `make fmt`. All `.proto` changes are from running `make fmt`. ## Why? Consistent protobuf file style. ## How did you test it? - [x] built - [ ] run locally and tested manually - [ ] covered by existing tests - [ ] added new unit test(s) - [ ] added new functional test(s)
25 lines
569 B
Protocol Buffer
25 lines
569 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package temporal.server.chasm.lib.tests.proto.v1;
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
option go_package = "go.temporal.io/server/chasm/lib/tests/gen/testspb;testspb";
|
|
|
|
message TestPayloadStore {
|
|
int64 total_count = 1;
|
|
int64 total_size = 2;
|
|
// (-- api-linter: core::0142::time-field-type=disabled --)
|
|
map<string, google.protobuf.Timestamp> expiration_times = 3;
|
|
bool closed = 4;
|
|
bool canceled = 5;
|
|
}
|
|
|
|
message TestPayloadTTLPureTask {
|
|
string payload_key = 1;
|
|
}
|
|
|
|
message TestPayloadTTLSideEffectTask {
|
|
string payload_key = 1;
|
|
}
|