propresenter-php/proto/url.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

69 lines
1.5 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_";
message URL {
message LocalRelativePath {
enum Root {
ROOT_UNKNOWN = 0;
ROOT_BOOT_VOLUME = 1;
ROOT_USER_HOME = 2;
ROOT_USER_DOCUMENTS = 3;
ROOT_USER_DOWNLOADS = 4;
ROOT_USER_MUSIC = 5;
ROOT_USER_PICTURES = 6;
ROOT_USER_VIDEOS = 7;
ROOT_USER_DESKTOP = 11;
ROOT_USER_APP_SUPPORT = 8;
ROOT_SHARED = 9;
ROOT_SHOW = 10;
ROOT_CURRENT_RESOURCE = 12;
}
.rv.data.URL.LocalRelativePath.Root root = 1;
string path = 2;
}
message ExternalRelativePath {
message MacOSExternalVolume {
string volume_name = 1;
}
message Win32ExternalVolume {
string drive_letter = 1;
string volume_name = 2;
bool network_share = 3;
}
.rv.data.URL.ExternalRelativePath.MacOSExternalVolume macos = 1;
.rv.data.URL.ExternalRelativePath.Win32ExternalVolume win32 = 2;
string path = 3;
}
enum Platform {
PLATFORM_UNKNOWN = 0;
PLATFORM_MACOS = 1;
PLATFORM_WIN32 = 2;
PLATFORM_WEB = 3;
}
.rv.data.URL.Platform platform = 3;
oneof Storage {
string absolute_string = 1;
string relative_path = 2;
}
oneof RelativeFilePath {
.rv.data.URL.LocalRelativePath local = 4;
.rv.data.URL.ExternalRelativePath external = 5;
}
}
message URLs {
repeated .rv.data.URL urls = 1;
}