diff options
Diffstat (limited to 'third_party/rust/remote_settings/src/remote_settings.udl')
-rw-r--r-- | third_party/rust/remote_settings/src/remote_settings.udl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/rust/remote_settings/src/remote_settings.udl b/third_party/rust/remote_settings/src/remote_settings.udl index d830b6778f..1da52b833e 100644 --- a/third_party/rust/remote_settings/src/remote_settings.udl +++ b/third_party/rust/remote_settings/src/remote_settings.udl @@ -7,10 +7,19 @@ typedef string RsJsonObject; namespace remote_settings {}; +[Enum] +interface RemoteSettingsServer { + Prod(); + Stage(); + Dev(); + Custom(string url); +}; + dictionary RemoteSettingsConfig { string collection_name; string? bucket_name = null; string? server_url = null; + RemoteSettingsServer? server = null; }; dictionary RemoteSettingsResponse { @@ -43,6 +52,7 @@ enum RemoteSettingsError { "BackoffError", "ResponseError", "AttachmentsUnsupportedError", + "ConfigError", }; interface RemoteSettings { |