mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
## What changed? - Move chasm test payload store proto def to chasm package ## Why? - Follow the new convention we set up for chasm components ## How did you test it? - [x] built - [ ] run locally and tested manually - [x] covered by existing tests - [ ] added new unit test(s) - [ ] added new functional test(s)
25 lines
563 B
Protocol Buffer
25 lines
563 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package temporal.server.chasm.lib.tests.proto.v1;
|
|
|
|
option go_package = "go.temporal.io/server/chasm/lib/tests/gen/testspb;testspb";
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
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;
|
|
}
|
|
|
|
message TestPayloadTTLPureTask {
|
|
string payload_key = 1;
|
|
}
|
|
|
|
message TestPayloadTTLSideEffectTask {
|
|
string payload_key = 1;
|
|
}
|
|
|