Merge pull request #1415 from realm/fix-partial-sync-config-ts-definition
fix partial in ts definitions
This commit is contained in:
commit
2a20bc96e8
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -1,13 +1,17 @@
|
||||||
X.Y.Z Release notes
|
X.Y.Z Release notes
|
||||||
=============================================================
|
=============================================================
|
||||||
### Breaking changes
|
### Breaking changes
|
||||||
* `Realm.Sync.User.adminUser()` will now throw an exception if either token or server argument is invalid.
|
* None
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
* None.
|
* None
|
||||||
|
|
||||||
### Bug fixes
|
### Bug fixes
|
||||||
* None.
|
* Fix Typescript definition for partial sync configuration object.
|
||||||
|
* `Realm.Sync.User.adminUser()` will now throw an exception if either token or server argument is invalid.
|
||||||
|
|
||||||
|
### Internal
|
||||||
|
* None
|
||||||
|
|
||||||
2.0.0-rc22 Release notes (2017-10-13)
|
2.0.0-rc22 Release notes (2017-10-13)
|
||||||
=============================================================
|
=============================================================
|
||||||
|
|
|
@ -362,6 +362,7 @@ declare namespace Realm.Sync {
|
||||||
ssl_trust_certificate_path?: string;
|
ssl_trust_certificate_path?: string;
|
||||||
ssl_verify_callback?: SSLVerifyCallback;
|
ssl_verify_callback?: SSLVerifyCallback;
|
||||||
error?: ErrorCallback;
|
error?: ErrorCallback;
|
||||||
|
partial?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
type ProgressNotificationCallback = (transferred: number, transferable: number) => void;
|
type ProgressNotificationCallback = (transferred: number, transferable: number) => void;
|
||||||
|
|
Loading…
Reference in New Issue