@resolveio/client-lib-core 21.0.40 → 21.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -279,6 +279,7 @@ declare class SocketService {
|
|
|
279
279
|
private startPinging;
|
|
280
280
|
private stopPinging;
|
|
281
281
|
private convertDatesToUTC;
|
|
282
|
+
private isLocalMidnight;
|
|
282
283
|
send(...data: any[]): boolean;
|
|
283
284
|
close(): boolean;
|
|
284
285
|
reconnect(): void;
|
|
@@ -325,8 +326,8 @@ declare class OfflineManagerService {
|
|
|
325
326
|
find(collectionName: string, query: Object, options?: {}, total?: boolean): any;
|
|
326
327
|
findOne(collectionName: string, query: Object): any;
|
|
327
328
|
insertDocument(collectionName: string, data: Object, expiresDate?: Date): string;
|
|
328
|
-
updateDocument(collectionName: string, data: Object):
|
|
329
|
-
updateDocumentProps(collectionName: string, doc_id: string, updateParams: any[], doc__v: number):
|
|
329
|
+
updateDocument(collectionName: string, data: Object): 0 | 1;
|
|
330
|
+
updateDocumentProps(collectionName: string, doc_id: string, updateParams: any[], doc__v: number): 0 | 1;
|
|
330
331
|
removeDocument(collectionName: string, id: string): void;
|
|
331
332
|
dropCollection(collectionName: any): void;
|
|
332
333
|
static ɵfac: i0.ɵɵFactoryDeclaration<OfflineManagerService, never>;
|
|
@@ -1766,7 +1767,7 @@ interface CanComponentDeactivate {
|
|
|
1766
1767
|
canDeactivate: () => Observable<boolean> | Promise<boolean> | boolean;
|
|
1767
1768
|
}
|
|
1768
1769
|
declare class CanDeactivateGuard {
|
|
1769
|
-
canDeactivate(component: CanComponentDeactivate): boolean |
|
|
1770
|
+
canDeactivate(component: CanComponentDeactivate): boolean | Promise<boolean> | Observable<boolean>;
|
|
1770
1771
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanDeactivateGuard, never>;
|
|
1771
1772
|
static ɵprov: i0.ɵɵInjectableDeclaration<CanDeactivateGuard>;
|
|
1772
1773
|
}
|