namirasoft-node 1.4.37 → 1.4.38

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,7 +1,8 @@
1
1
  import * as express from "express";
2
2
  import { FilterItem, SortItem } from "namirasoft-core";
3
3
  export interface BaseDatabase_FilterTable {
4
- join_conditions: {
4
+ columns: string[];
5
+ join_conditions?: {
5
6
  main: {
6
7
  table: string;
7
8
  column: string;
@@ -11,7 +12,6 @@ export interface BaseDatabase_FilterTable {
11
12
  column: string;
12
13
  };
13
14
  };
14
- columns: string[];
15
15
  }
16
16
  export interface IFilterableDatabase<WhereOptions> {
17
17
  getIn: (filter: FilterItem, values: string[]) => {
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.4.37",
11
+ "version": "1.4.38",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/index.js",
@@ -3,11 +3,11 @@ import { ErrorOperation, FilterItem, FilterItemOperator, SortItem } from "namira
3
3
 
4
4
  export interface BaseDatabase_FilterTable
5
5
  {
6
- join_conditions: {
6
+ columns: string[];
7
+ join_conditions?: {
7
8
  main: { table: string, column: string },
8
9
  secondary: { table: string, column: string },
9
10
  };
10
- columns: string[];
11
11
  }
12
12
 
13
13
  export interface IFilterableDatabase<WhereOptions>