propresenter-php/proto/proApiV1Library.proto
Thorsten Bus 22ba4aff7d refactor: make repo Composer-compatible by moving php/ to root and ref/ to doc/reference_samples
- 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
2026-03-30 13:26:29 +02:00

58 lines
1.2 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 "proApiV1Identifier.proto";
message API_v1_Library_Request {
message Libraries {
}
message Library {
string id = 1;
}
message Trigger {
string library_id = 1;
string presentation_id = 2;
uint32 index = 3;
}
oneof Request {
.rv.data.API_v1_Library_Request.Libraries libraries = 1;
.rv.data.API_v1_Library_Request.Library library = 2;
.rv.data.API_v1_Library_Request.Trigger trigger = 3;
}
}
message API_v1_Library_Response {
message Libraries {
repeated .rv.data.API_v1_Identifier libraries = 1;
}
message Library {
enum UpdateType {
all = 0;
add = 1;
remove = 2;
}
.rv.data.API_v1_Library_Response.Library.UpdateType update_type = 1;
repeated .rv.data.API_v1_Identifier items = 2;
}
message Trigger {
}
oneof Response {
.rv.data.API_v1_Library_Response.Libraries libraries = 1;
.rv.data.API_v1_Library_Response.Library library = 2;
.rv.data.API_v1_Library_Response.Trigger triggger = 3;
}
}