@konplit-services/common 1.0.84 → 1.0.85

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.
@@ -1,3 +1,4 @@
1
+ import { Status } from "../../../helper";
1
2
  import { StreamEvent, StreamName, Subjects } from "../../subjects";
2
3
  export interface AccountCreatedEvent {
3
4
  subject: Subjects.AccountCreated;
@@ -6,7 +7,7 @@ export interface AccountCreatedEvent {
6
7
  data: {
7
8
  accountId?: string;
8
9
  id: string;
9
- account_status: boolean;
10
+ account_status: Status;
10
11
  version: number;
11
12
  };
12
13
  }
@@ -1,3 +1,4 @@
1
+ import { Status } from "../../../helper";
1
2
  import { StreamEvent, StreamName, Subjects } from "../../subjects";
2
3
  export interface AccountUpdatedEvent {
3
4
  subject: Subjects.AccountUpdated;
@@ -6,7 +7,7 @@ export interface AccountUpdatedEvent {
6
7
  data: {
7
8
  accountId?: string;
8
9
  id: string;
9
- account_status: boolean;
10
+ account_status: Status;
10
11
  version: number;
11
12
  };
12
13
  }
@@ -71,9 +71,7 @@ const generateQueryObject = (filters, searchesFieldNames = [], select = "", popu
71
71
  let sort = {};
72
72
  const keys = Object.keys(filters);
73
73
  for (const key of keys) {
74
- console.log(key);
75
74
  if (!excludes.includes(key)) {
76
- console.log(filters[key]);
77
75
  query[key] = filters[key];
78
76
  }
79
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.0.84",
3
+ "version": "1.0.85",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",