@firebase/database 1.0.2 → 1.0.3-20240131233318
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/dist/index.cjs.js +21 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +21 -1
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +18 -4
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +18 -4
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.standalone.js +17 -3
- package/dist/index.standalone.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +21 -1
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/test/queryconstraint.test.d.ts +17 -0
- package/dist/test/queryconstraint.test.d.ts +17 -0
- package/package.json +4 -4
package/dist/index.standalone.js
CHANGED
|
@@ -13436,6 +13436,7 @@ var QueryEndAtConstraint = /** @class */ (function (_super) {
|
|
|
13436
13436
|
var _this = _super.call(this) || this;
|
|
13437
13437
|
_this._value = _value;
|
|
13438
13438
|
_this._key = _key;
|
|
13439
|
+
_this.type = 'endAt';
|
|
13439
13440
|
return _this;
|
|
13440
13441
|
}
|
|
13441
13442
|
QueryEndAtConstraint.prototype._apply = function (query) {
|
|
@@ -13484,6 +13485,7 @@ var QueryEndBeforeConstraint = /** @class */ (function (_super) {
|
|
|
13484
13485
|
var _this = _super.call(this) || this;
|
|
13485
13486
|
_this._value = _value;
|
|
13486
13487
|
_this._key = _key;
|
|
13488
|
+
_this.type = 'endBefore';
|
|
13487
13489
|
return _this;
|
|
13488
13490
|
}
|
|
13489
13491
|
QueryEndBeforeConstraint.prototype._apply = function (query) {
|
|
@@ -13528,6 +13530,7 @@ var QueryStartAtConstraint = /** @class */ (function (_super) {
|
|
|
13528
13530
|
var _this = _super.call(this) || this;
|
|
13529
13531
|
_this._value = _value;
|
|
13530
13532
|
_this._key = _key;
|
|
13533
|
+
_this.type = 'startAt';
|
|
13531
13534
|
return _this;
|
|
13532
13535
|
}
|
|
13533
13536
|
QueryStartAtConstraint.prototype._apply = function (query) {
|
|
@@ -13576,6 +13579,7 @@ var QueryStartAfterConstraint = /** @class */ (function (_super) {
|
|
|
13576
13579
|
var _this = _super.call(this) || this;
|
|
13577
13580
|
_this._value = _value;
|
|
13578
13581
|
_this._key = _key;
|
|
13582
|
+
_this.type = 'startAfter';
|
|
13579
13583
|
return _this;
|
|
13580
13584
|
}
|
|
13581
13585
|
QueryStartAfterConstraint.prototype._apply = function (query) {
|
|
@@ -13618,6 +13622,7 @@ var QueryLimitToFirstConstraint = /** @class */ (function (_super) {
|
|
|
13618
13622
|
function QueryLimitToFirstConstraint(_limit) {
|
|
13619
13623
|
var _this = _super.call(this) || this;
|
|
13620
13624
|
_this._limit = _limit;
|
|
13625
|
+
_this.type = 'limitToFirst';
|
|
13621
13626
|
return _this;
|
|
13622
13627
|
}
|
|
13623
13628
|
QueryLimitToFirstConstraint.prototype._apply = function (query) {
|
|
@@ -13658,6 +13663,7 @@ var QueryLimitToLastConstraint = /** @class */ (function (_super) {
|
|
|
13658
13663
|
function QueryLimitToLastConstraint(_limit) {
|
|
13659
13664
|
var _this = _super.call(this) || this;
|
|
13660
13665
|
_this._limit = _limit;
|
|
13666
|
+
_this.type = 'limitToLast';
|
|
13661
13667
|
return _this;
|
|
13662
13668
|
}
|
|
13663
13669
|
QueryLimitToLastConstraint.prototype._apply = function (query) {
|
|
@@ -13698,6 +13704,7 @@ var QueryOrderByChildConstraint = /** @class */ (function (_super) {
|
|
|
13698
13704
|
function QueryOrderByChildConstraint(_path) {
|
|
13699
13705
|
var _this = _super.call(this) || this;
|
|
13700
13706
|
_this._path = _path;
|
|
13707
|
+
_this.type = 'orderByChild';
|
|
13701
13708
|
return _this;
|
|
13702
13709
|
}
|
|
13703
13710
|
QueryOrderByChildConstraint.prototype._apply = function (query) {
|
|
@@ -13747,7 +13754,9 @@ function orderByChild(path) {
|
|
|
13747
13754
|
var QueryOrderByKeyConstraint = /** @class */ (function (_super) {
|
|
13748
13755
|
tslib.__extends(QueryOrderByKeyConstraint, _super);
|
|
13749
13756
|
function QueryOrderByKeyConstraint() {
|
|
13750
|
-
|
|
13757
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13758
|
+
_this.type = 'orderByKey';
|
|
13759
|
+
return _this;
|
|
13751
13760
|
}
|
|
13752
13761
|
QueryOrderByKeyConstraint.prototype._apply = function (query) {
|
|
13753
13762
|
validateNoPreviousOrderByCall(query, 'orderByKey');
|
|
@@ -13772,7 +13781,9 @@ function orderByKey() {
|
|
|
13772
13781
|
var QueryOrderByPriorityConstraint = /** @class */ (function (_super) {
|
|
13773
13782
|
tslib.__extends(QueryOrderByPriorityConstraint, _super);
|
|
13774
13783
|
function QueryOrderByPriorityConstraint() {
|
|
13775
|
-
|
|
13784
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13785
|
+
_this.type = 'orderByPriority';
|
|
13786
|
+
return _this;
|
|
13776
13787
|
}
|
|
13777
13788
|
QueryOrderByPriorityConstraint.prototype._apply = function (query) {
|
|
13778
13789
|
validateNoPreviousOrderByCall(query, 'orderByPriority');
|
|
@@ -13797,7 +13808,9 @@ function orderByPriority() {
|
|
|
13797
13808
|
var QueryOrderByValueConstraint = /** @class */ (function (_super) {
|
|
13798
13809
|
tslib.__extends(QueryOrderByValueConstraint, _super);
|
|
13799
13810
|
function QueryOrderByValueConstraint() {
|
|
13800
|
-
|
|
13811
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13812
|
+
_this.type = 'orderByValue';
|
|
13813
|
+
return _this;
|
|
13801
13814
|
}
|
|
13802
13815
|
QueryOrderByValueConstraint.prototype._apply = function (query) {
|
|
13803
13816
|
validateNoPreviousOrderByCall(query, 'orderByValue');
|
|
@@ -13826,6 +13839,7 @@ var QueryEqualToValueConstraint = /** @class */ (function (_super) {
|
|
|
13826
13839
|
var _this = _super.call(this) || this;
|
|
13827
13840
|
_this._value = _value;
|
|
13828
13841
|
_this._key = _key;
|
|
13842
|
+
_this.type = 'equalTo';
|
|
13829
13843
|
return _this;
|
|
13830
13844
|
}
|
|
13831
13845
|
QueryEqualToValueConstraint.prototype._apply = function (query) {
|