serialized-query
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -1,2 +0,2 @@ | ||
/// <reference types="firebase" /> | ||
import { ISnapShot } from 'typed-conversions'; | ||
export interface ISimplifiedDBAdaptor { | ||
@@ -18,3 +18,3 @@ ref: (path: string) => any; | ||
protected _equalTo: string; | ||
protected _handleSnapshot: (snap: FirebaseDataSnapshot) => any; | ||
protected _handleSnapshot: (snap: ISnapShot) => any; | ||
constructor(path: string | LazyPath); | ||
@@ -30,6 +30,6 @@ limitToFirst(num: number): this; | ||
setDB(db: ISimplifiedDBAdaptor): this; | ||
deserialize(db?: ISimplifiedDBAdaptor): FirebaseQuery; | ||
handleSnapshot(fn: (snap: FirebaseDataSnapshot) => any): void; | ||
deserialize(db?: ISimplifiedDBAdaptor): any; | ||
handleSnapshot(fn: (snap: ISnapShot) => any): void; | ||
execute(db?: ISimplifiedDBAdaptor): Promise<any>; | ||
private validateNoKey(caller, key); | ||
} |
{ | ||
"name": "serialized-query", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "A simple Typescript class to serialize Firebase queries", | ||
@@ -21,2 +21,3 @@ "license": "MIT", | ||
"build": "ts-node ./scripts/build.ts", | ||
"deploy": "ts-node ./scripts/deploy.ts", | ||
"test": "ts-node ./scripts/test.ts ", | ||
@@ -62,2 +63,3 @@ "coverage": "nyc --reporter=text --reporter=html mocha --compilers ts:ts-node/register", | ||
"tslint-config-prettier": "^1.1.0", | ||
"typed-conversions": "^0.7.3", | ||
"typescript": "^2.0.0" | ||
@@ -64,0 +66,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
11664
29