parent
aefd81ccf7
commit
5c9b254b4a
|
@ -362,7 +362,14 @@ declare namespace Realm.Sync {
|
||||||
expiresAt?: Date;
|
expiresAt?: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
type ErrorCallback = (message?: string, isFatal?: boolean, category?: string, code?: number) => void;
|
interface SyncError {
|
||||||
|
message: string;
|
||||||
|
isFatal: boolean
|
||||||
|
category?: string
|
||||||
|
code: number;
|
||||||
|
}
|
||||||
|
|
||||||
|
type ErrorCallback = (session: Session, error: SyncError) => void;
|
||||||
type SSLVerifyCallback = (serverAddress: string, serverPort: number, pemCertificate: string, preverifyOk: number, depth: number) => boolean;
|
type SSLVerifyCallback = (serverAddress: string, serverPort: number, pemCertificate: string, preverifyOk: number, depth: number) => boolean;
|
||||||
|
|
||||||
interface SyncConfiguration {
|
interface SyncConfiguration {
|
||||||
|
|
Loading…
Reference in New Issue