cecon-interfaces 1.5.76 → 1.5.77
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/general/entities/firebase-query.entity.mjs +5 -9
- package/dist/fesm2022/cecon-interfaces.mjs +4 -8
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/firebase-query.entity.d.ts +1 -1
- package/dist/general/entities/firebase-query.entity.js +4 -8
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -4,5 +4,5 @@ export declare class FirebaseQueryEntity implements IFirebaseQuery {
|
|
4
4
|
field: string;
|
5
5
|
operator: EOperator;
|
6
6
|
value: string | number | boolean | (string | number | boolean)[] | Date | null;
|
7
|
-
constructor(
|
7
|
+
constructor(field: string, operator: EOperator, value: string | number | boolean | (string | number | boolean)[] | Date | null);
|
8
8
|
}
|
@@ -5,18 +5,14 @@ var enums_1 = require("../enums");
|
|
5
5
|
var FirebaseQueryEntity = /** @class */ (function () {
|
6
6
|
// #endregion Properties (3)
|
7
7
|
// #region Constructors (1)
|
8
|
-
function FirebaseQueryEntity(
|
8
|
+
function FirebaseQueryEntity(field, operator, value) {
|
9
9
|
// #region Properties (3)
|
10
10
|
this.field = '';
|
11
11
|
this.operator = enums_1.EOperator.EQUAL;
|
12
12
|
this.value = null;
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
this[key] = data[key];
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
13
|
+
this.field = field;
|
14
|
+
this.operator = operator;
|
15
|
+
this.value = value;
|
20
16
|
}
|
21
17
|
return FirebaseQueryEntity;
|
22
18
|
}());
|
package/dist/package.json
CHANGED