@firebase/database 1.0.2 → 1.0.3-20240130223218
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.node.cjs.js
CHANGED
|
@@ -1300,7 +1300,7 @@ var WebSocketConnection = /** @class */ (function () {
|
|
|
1300
1300
|
}());
|
|
1301
1301
|
|
|
1302
1302
|
var name = "@firebase/database";
|
|
1303
|
-
var version = "1.0.
|
|
1303
|
+
var version = "1.0.3-20240130223218";
|
|
1304
1304
|
|
|
1305
1305
|
/**
|
|
1306
1306
|
* @license
|
|
@@ -13440,6 +13440,7 @@ var QueryEndAtConstraint = /** @class */ (function (_super) {
|
|
|
13440
13440
|
var _this = _super.call(this) || this;
|
|
13441
13441
|
_this._value = _value;
|
|
13442
13442
|
_this._key = _key;
|
|
13443
|
+
_this.type = 'endAt';
|
|
13443
13444
|
return _this;
|
|
13444
13445
|
}
|
|
13445
13446
|
QueryEndAtConstraint.prototype._apply = function (query) {
|
|
@@ -13488,6 +13489,7 @@ var QueryEndBeforeConstraint = /** @class */ (function (_super) {
|
|
|
13488
13489
|
var _this = _super.call(this) || this;
|
|
13489
13490
|
_this._value = _value;
|
|
13490
13491
|
_this._key = _key;
|
|
13492
|
+
_this.type = 'endBefore';
|
|
13491
13493
|
return _this;
|
|
13492
13494
|
}
|
|
13493
13495
|
QueryEndBeforeConstraint.prototype._apply = function (query) {
|
|
@@ -13532,6 +13534,7 @@ var QueryStartAtConstraint = /** @class */ (function (_super) {
|
|
|
13532
13534
|
var _this = _super.call(this) || this;
|
|
13533
13535
|
_this._value = _value;
|
|
13534
13536
|
_this._key = _key;
|
|
13537
|
+
_this.type = 'startAt';
|
|
13535
13538
|
return _this;
|
|
13536
13539
|
}
|
|
13537
13540
|
QueryStartAtConstraint.prototype._apply = function (query) {
|
|
@@ -13580,6 +13583,7 @@ var QueryStartAfterConstraint = /** @class */ (function (_super) {
|
|
|
13580
13583
|
var _this = _super.call(this) || this;
|
|
13581
13584
|
_this._value = _value;
|
|
13582
13585
|
_this._key = _key;
|
|
13586
|
+
_this.type = 'startAfter';
|
|
13583
13587
|
return _this;
|
|
13584
13588
|
}
|
|
13585
13589
|
QueryStartAfterConstraint.prototype._apply = function (query) {
|
|
@@ -13622,6 +13626,7 @@ var QueryLimitToFirstConstraint = /** @class */ (function (_super) {
|
|
|
13622
13626
|
function QueryLimitToFirstConstraint(_limit) {
|
|
13623
13627
|
var _this = _super.call(this) || this;
|
|
13624
13628
|
_this._limit = _limit;
|
|
13629
|
+
_this.type = 'limitToFirst';
|
|
13625
13630
|
return _this;
|
|
13626
13631
|
}
|
|
13627
13632
|
QueryLimitToFirstConstraint.prototype._apply = function (query) {
|
|
@@ -13662,6 +13667,7 @@ var QueryLimitToLastConstraint = /** @class */ (function (_super) {
|
|
|
13662
13667
|
function QueryLimitToLastConstraint(_limit) {
|
|
13663
13668
|
var _this = _super.call(this) || this;
|
|
13664
13669
|
_this._limit = _limit;
|
|
13670
|
+
_this.type = 'limitToLast';
|
|
13665
13671
|
return _this;
|
|
13666
13672
|
}
|
|
13667
13673
|
QueryLimitToLastConstraint.prototype._apply = function (query) {
|
|
@@ -13702,6 +13708,7 @@ var QueryOrderByChildConstraint = /** @class */ (function (_super) {
|
|
|
13702
13708
|
function QueryOrderByChildConstraint(_path) {
|
|
13703
13709
|
var _this = _super.call(this) || this;
|
|
13704
13710
|
_this._path = _path;
|
|
13711
|
+
_this.type = 'orderByChild';
|
|
13705
13712
|
return _this;
|
|
13706
13713
|
}
|
|
13707
13714
|
QueryOrderByChildConstraint.prototype._apply = function (query) {
|
|
@@ -13751,7 +13758,9 @@ function orderByChild(path) {
|
|
|
13751
13758
|
var QueryOrderByKeyConstraint = /** @class */ (function (_super) {
|
|
13752
13759
|
tslib.__extends(QueryOrderByKeyConstraint, _super);
|
|
13753
13760
|
function QueryOrderByKeyConstraint() {
|
|
13754
|
-
|
|
13761
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13762
|
+
_this.type = 'orderByKey';
|
|
13763
|
+
return _this;
|
|
13755
13764
|
}
|
|
13756
13765
|
QueryOrderByKeyConstraint.prototype._apply = function (query) {
|
|
13757
13766
|
validateNoPreviousOrderByCall(query, 'orderByKey');
|
|
@@ -13776,7 +13785,9 @@ function orderByKey() {
|
|
|
13776
13785
|
var QueryOrderByPriorityConstraint = /** @class */ (function (_super) {
|
|
13777
13786
|
tslib.__extends(QueryOrderByPriorityConstraint, _super);
|
|
13778
13787
|
function QueryOrderByPriorityConstraint() {
|
|
13779
|
-
|
|
13788
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13789
|
+
_this.type = 'orderByPriority';
|
|
13790
|
+
return _this;
|
|
13780
13791
|
}
|
|
13781
13792
|
QueryOrderByPriorityConstraint.prototype._apply = function (query) {
|
|
13782
13793
|
validateNoPreviousOrderByCall(query, 'orderByPriority');
|
|
@@ -13801,7 +13812,9 @@ function orderByPriority() {
|
|
|
13801
13812
|
var QueryOrderByValueConstraint = /** @class */ (function (_super) {
|
|
13802
13813
|
tslib.__extends(QueryOrderByValueConstraint, _super);
|
|
13803
13814
|
function QueryOrderByValueConstraint() {
|
|
13804
|
-
|
|
13815
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13816
|
+
_this.type = 'orderByValue';
|
|
13817
|
+
return _this;
|
|
13805
13818
|
}
|
|
13806
13819
|
QueryOrderByValueConstraint.prototype._apply = function (query) {
|
|
13807
13820
|
validateNoPreviousOrderByCall(query, 'orderByValue');
|
|
@@ -13830,6 +13843,7 @@ var QueryEqualToValueConstraint = /** @class */ (function (_super) {
|
|
|
13830
13843
|
var _this = _super.call(this) || this;
|
|
13831
13844
|
_this._value = _value;
|
|
13832
13845
|
_this._key = _key;
|
|
13846
|
+
_this.type = 'equalTo';
|
|
13833
13847
|
return _this;
|
|
13834
13848
|
}
|
|
13835
13849
|
QueryEqualToValueConstraint.prototype._apply = function (query) {
|