- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root - Move ref/ to doc/reference_samples/ for better organization - Remove vendor/ from git tracking (now properly gitignored) - Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/) - Update all documentation paths (AGENTS.md, doc/*.md) - Remove php.bak/ directory - All 252 tests pass
50 lines
1.1 KiB
Protocol Buffer
Executable file
50 lines
1.1 KiB
Protocol Buffer
Executable file
syntax = "proto3";
|
|
|
|
package rv.data;
|
|
|
|
option cc_enable_arenas = true;
|
|
option csharp_namespace = "Pro.SerializationInterop.RVProtoData";
|
|
option swift_prefix = "RVData_";
|
|
|
|
import "testPattern.proto";
|
|
import "uuid.proto";
|
|
|
|
message TestPatternRequest {
|
|
message GetDefinitions {
|
|
}
|
|
|
|
message GetCurrentState {
|
|
}
|
|
|
|
message GetThumbnail {
|
|
.rv.data.TestPatternDefinition pattern = 1;
|
|
int32 width = 2;
|
|
int32 height = 3;
|
|
}
|
|
|
|
oneof Request {
|
|
.rv.data.TestPatternRequest.GetDefinitions get_definitions = 1;
|
|
.rv.data.TestPatternState set_current_state = 2;
|
|
.rv.data.TestPatternRequest.GetCurrentState get_current_state = 3;
|
|
.rv.data.TestPatternRequest.GetThumbnail get_thumbnail = 4;
|
|
}
|
|
}
|
|
|
|
message TestPatternResponse {
|
|
message GetDefinitions {
|
|
repeated .rv.data.TestPatternDefinition patterns = 1;
|
|
}
|
|
|
|
message GetThumbnail {
|
|
.rv.data.UUID pattern = 1;
|
|
bytes image = 2;
|
|
}
|
|
|
|
oneof Response {
|
|
.rv.data.TestPatternResponse.GetDefinitions get_definitions = 1;
|
|
.rv.data.TestPatternState get_current_state = 2;
|
|
.rv.data.TestPatternResponse.GetThumbnail get_thumbnail = 3;
|
|
}
|
|
}
|
|
|