@resolveio/client-lib-core 21.0.41 → 21.0.42
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
|
@@ -326,8 +326,8 @@ declare class OfflineManagerService {
|
|
|
326
326
|
find(collectionName: string, query: Object, options?: {}, total?: boolean): any;
|
|
327
327
|
findOne(collectionName: string, query: Object): any;
|
|
328
328
|
insertDocument(collectionName: string, data: Object, expiresDate?: Date): string;
|
|
329
|
-
updateDocument(collectionName: string, data: Object):
|
|
330
|
-
updateDocumentProps(collectionName: string, doc_id: string, updateParams: any[], doc__v: number):
|
|
329
|
+
updateDocument(collectionName: string, data: Object): 1 | 0;
|
|
330
|
+
updateDocumentProps(collectionName: string, doc_id: string, updateParams: any[], doc__v: number): 1 | 0;
|
|
331
331
|
removeDocument(collectionName: string, id: string): void;
|
|
332
332
|
dropCollection(collectionName: any): void;
|
|
333
333
|
static ɵfac: i0.ɵɵFactoryDeclaration<OfflineManagerService, never>;
|
|
@@ -1767,7 +1767,7 @@ interface CanComponentDeactivate {
|
|
|
1767
1767
|
canDeactivate: () => Observable<boolean> | Promise<boolean> | boolean;
|
|
1768
1768
|
}
|
|
1769
1769
|
declare class CanDeactivateGuard {
|
|
1770
|
-
canDeactivate(component: CanComponentDeactivate): boolean |
|
|
1770
|
+
canDeactivate(component: CanComponentDeactivate): boolean | Observable<boolean> | Promise<boolean>;
|
|
1771
1771
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanDeactivateGuard, never>;
|
|
1772
1772
|
static ɵprov: i0.ɵɵInjectableDeclaration<CanDeactivateGuard>;
|
|
1773
1773
|
}
|