badmfck-api-server 3.0.1 → 3.0.2

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.
@@ -89,7 +89,7 @@ async function Initializer(services) {
89
89
  exports.Initializer = Initializer;
90
90
  class APIService extends BaseService_1.BaseService {
91
91
  static nextLogID = 0;
92
- version = "3.0.1";
92
+ version = "3.0.2";
93
93
  options;
94
94
  monitor = null;
95
95
  monitorIndexFile;
@@ -21,16 +21,17 @@ export interface IDBQuery {
21
21
  calculateCount?: boolean;
22
22
  parseQueryOnly?: boolean;
23
23
  }
24
+ export interface IDBBulkQueryItem {
25
+ query: string;
26
+ fields: {
27
+ [key: string]: IDBQueryField | null | string | number | boolean;
28
+ };
29
+ throwable?: boolean;
30
+ calculateCount?: boolean;
31
+ }
24
32
  export interface IDBBulkQuery {
25
33
  dbid?: string;
26
- bulk: {
27
- query: string;
28
- fields: {
29
- [key: string]: IDBQueryField | null | string | number | boolean;
30
- };
31
- throwable?: boolean;
32
- calculateCount?: boolean;
33
- }[];
34
+ bulk: IDBBulkQueryItem[];
34
35
  queued?: boolean;
35
36
  }
36
37
  export interface IDBError {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "badmfck-api-server",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Simple API http server based on express",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",