@smallstack/common
Advanced tools
Comparing version 0.6.2 to 0.6.3
@@ -13,3 +13,13 @@ import { Collection } from "./Collection"; | ||
subscribe(): Promise<QueryObject<ModelClass>>; | ||
syncViaJSONAPI(): Promise<QueryObject<ModelClass>>; | ||
/** | ||
* Synchronizes MongoDB documents from remote to local collections | ||
* | ||
* @param {{headers?: any, auth?: boolean}} [options] If options.auth is set to true, the call will automatically append the x-smallstack-token header with the current token set in the TokenService | ||
* @returns {Promise<QueryObject<ModelClass>>} | ||
* @memberof QueryObject | ||
*/ | ||
syncViaJSONAPI(options?: { | ||
headers?: any; | ||
auth?: boolean; | ||
}): Promise<QueryObject<ModelClass>>; | ||
expand(foreignKeys: string[]): Promise<void>; | ||
@@ -16,0 +26,0 @@ getCount(): Promise<number>; |
{ | ||
"name": "@smallstack/common", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "common functionality for smallstack projects", | ||
@@ -5,0 +5,0 @@ "main": "dist/bundle/index.umd.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
293113
1372