serialized-query
Advanced tools
Comparing version 0.9.1 to 0.9.2
@@ -172,2 +172,3 @@ "use strict"; | ||
orderBy: this._orderBy, | ||
/** the property/key when using the `OrderByChild` sorting */ | ||
orderByKey: this._orderKey, | ||
@@ -177,7 +178,13 @@ limitToFirst: this._limitToFirst, | ||
startAt: this._startAt, | ||
startAtKey: this._startAtKey, | ||
startAtKey: this._startAtKey || this._orderBy === "orderByChild" | ||
? this._orderKey | ||
: undefined, | ||
endAt: this._endAt, | ||
endAtKey: this._endAtKey, | ||
endAtKey: this._endAtKey || this._orderBy === "orderByChild" | ||
? this._orderKey | ||
: undefined, | ||
equalTo: this._equalTo, | ||
equalToKey: this._equalToKey, | ||
equalToKey: this._equalToKey || this._orderBy === "orderByChild" | ||
? this._orderKey | ||
: undefined, | ||
path: this._path | ||
@@ -184,0 +191,0 @@ }; |
@@ -180,2 +180,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
orderBy: this._orderBy, | ||
/** the property/key when using the `OrderByChild` sorting */ | ||
orderByKey: this._orderKey, | ||
@@ -185,7 +186,13 @@ limitToFirst: this._limitToFirst, | ||
startAt: this._startAt, | ||
startAtKey: this._startAtKey, | ||
startAtKey: this._startAtKey || this._orderBy === "orderByChild" | ||
? this._orderKey | ||
: undefined, | ||
endAt: this._endAt, | ||
endAtKey: this._endAtKey, | ||
endAtKey: this._endAtKey || this._orderBy === "orderByChild" | ||
? this._orderKey | ||
: undefined, | ||
equalTo: this._equalTo, | ||
equalToKey: this._equalToKey, | ||
equalToKey: this._equalToKey || this._orderBy === "orderByChild" | ||
? this._orderKey | ||
: undefined, | ||
path: this._path | ||
@@ -192,0 +199,0 @@ }; |
{ | ||
"name": "serialized-query", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "A simple Typescript class to serialize Firebase queries", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
34334
617