@molochko-dev/data 1.4.22 → 1.4.23

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.
@@ -13,5 +13,6 @@ export declare class AnimalForEventFilter {
13
13
  otelFilter(): IAnimal[];
14
14
  recheckFilter(): IAnimal[];
15
15
  suhostoiFilter(): IAnimal[];
16
+ pozSuhostoiFilter(): IAnimal[];
16
17
  filter(): IAnimal[];
17
18
  }
@@ -116,6 +116,9 @@ class AnimalForEventFilter {
116
116
  suhostoiFilter() {
117
117
  return this.abortFilter();
118
118
  }
119
+ pozSuhostoiFilter() {
120
+ return this.abortFilter();
121
+ }
119
122
  filter() {
120
123
  switch (this.eventType) {
121
124
  case enums_1.EVENT_TYPES_ENUM.abort:
@@ -130,6 +133,8 @@ class AnimalForEventFilter {
130
133
  return this.recheckFilter();
131
134
  case enums_1.EVENT_TYPES_ENUM.suhostoi:
132
135
  return this.suhostoiFilter();
136
+ case enums_1.EVENT_TYPES_ENUM.pozSuhostoi:
137
+ return this.pozSuhostoiFilter();
133
138
  default:
134
139
  throw new Error(`AnimalForEventFilter.filter.${this.eventType} not implemented`);
135
140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molochko-dev/data",
3
- "version": "1.4.22",
3
+ "version": "1.4.23",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "typings/index.d.ts",
@@ -134,6 +134,10 @@ export class AnimalForEventFilter {
134
134
  return this.abortFilter()
135
135
  }
136
136
 
137
+ pozSuhostoiFilter () {
138
+ return this.abortFilter()
139
+ }
140
+
137
141
  filter () {
138
142
  switch (this.eventType) {
139
143
  case EVENT_TYPES_ENUM.abort:
@@ -148,6 +152,8 @@ export class AnimalForEventFilter {
148
152
  return this.recheckFilter()
149
153
  case EVENT_TYPES_ENUM.suhostoi:
150
154
  return this.suhostoiFilter()
155
+ case EVENT_TYPES_ENUM.pozSuhostoi:
156
+ return this.pozSuhostoiFilter()
151
157
  default:
152
158
  throw new Error(`AnimalForEventFilter.filter.${this.eventType} not implemented`)
153
159
  }