File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ typeAliases:
65
65
AppCredentialsToken : std::string
66
66
Email : std::string
67
67
SchemaVersion : int64_t # is uint64_t in C++ but -1 is used as a sentinel.
68
+ PortType : int32_t # is uint_fast16_t in C++ but we don't want to add more primitive types and expect SDKs to reject port number > 65535
68
69
69
70
templates : # value tells you how many arguments it takes ('*' means any number)
70
71
util::Optional : 1
@@ -292,6 +293,11 @@ enums:
292
293
- NEED_DATA
293
294
- HAVE_EVENT
294
295
- HAVE_ERROR
296
+ ProxyType :
297
+ cppName : SyncConfig::ProxyConfig::Type
298
+ values :
299
+ - HTTP
300
+ - HTTPS
295
301
296
302
# These types are handled specially. They must be structs with a single fields named "value".
297
303
keyTypes :
@@ -413,6 +419,13 @@ records:
413
419
disabled :
414
420
type : bool
415
421
422
+ SyncProxyConfig :
423
+ cppName : SyncConfig::ProxyConfig
424
+ fields :
425
+ address : std::string
426
+ port : PortType
427
+ type : ProxyType
428
+
416
429
SyncConfig :
417
430
fields :
418
431
user : SharedSyncUser
@@ -442,6 +455,7 @@ records:
442
455
cancel_waits_on_nonfatal_error :
443
456
type : bool
444
457
default : false
458
+ proxy_config : util::Optional<SyncProxyConfig>
445
459
446
460
SyncSubscription :
447
461
cppName : sync::Subscription
You can’t perform that action at this time.
0 commit comments