mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-19 03:25:16 +00:00
24 lines
933 B
Protocol Buffer
24 lines
933 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package config;
|
|
|
|
import "lib/config/folderconfiguration.proto";
|
|
import "lib/config/deviceconfiguration.proto";
|
|
import "lib/config/guiconfiguration.proto";
|
|
import "lib/config/ldapconfiguration.proto";
|
|
import "lib/config/optionsconfiguration.proto";
|
|
import "lib/config/observed.proto";
|
|
|
|
import "ext.proto";
|
|
|
|
message Configuration {
|
|
int32 version = 1 [(ext.xml) = "version,attr"];
|
|
repeated FolderConfiguration folders = 2;
|
|
repeated DeviceConfiguration devices = 3;
|
|
GUIConfiguration gui = 4 [(ext.goname) = "GUI"];
|
|
LDAPConfiguration ldap = 5 [(ext.goname) = "LDAP"];
|
|
OptionsConfiguration options = 6;
|
|
repeated ObservedDevice ignored_devices = 7 [(ext.json) = "remoteIgnoredDevices", (ext.xml) = "remoteIgnoredDevice"];
|
|
repeated ObservedDevice pending_devices = 8;
|
|
}
|