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.
@@ -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(data?: Partial<FirebaseQueryEntity>);
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(data) {
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
- if (data) {
14
- for (var key in data) {
15
- if (data.hasOwnProperty(key) && key in this) {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.76",
3
+ "version": "1.5.77",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.76",
3
+ "version": "1.5.77",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",