@technicity/data-service-generator 0.7.4 → 0.7.6

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.
@@ -93,7 +93,7 @@ function _stringifyWhere(where, table, escapeId, escape, result) {
93
93
  }
94
94
  const operator = keys[0];
95
95
  const operand = v[operator];
96
- if (operator === "$ne") {
96
+ if (operator === "$neq") {
97
97
  return `${table}.${escapeId(k)} ${getOperatorNeq(v)} ${printValue(operand)}`;
98
98
  }
99
99
  if (operator === "$gt") {
@@ -162,7 +162,7 @@ function getOperatorNeq(value) {
162
162
  // return { k, v };
163
163
  // }
164
164
  function stringifyPaginationWhere(input) {
165
- const { table, args, orderBy, escapeId, escape, rowWithMatchingCursor, } = input;
165
+ const { table, args, orderBy, escapeId, escape, rowWithMatchingCursor } = input;
166
166
  if (args?.$paginate?.after == null && args?.$paginate?.before == null) {
167
167
  return "";
168
168
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@technicity/data-service-generator",
3
- "version": "0.7.4",
3
+ "version": "0.7.6",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist"
@@ -17,7 +17,7 @@
17
17
  "fs-extra": "10.0.0",
18
18
  "graphql": "15.8.0",
19
19
  "graphql-relay": "^0.9.0",
20
- "join-monster": "git+https://github.com/apalm/join-monster.git#340bcad96da4c268e874d07552d564c98ecf39ea",
20
+ "join-monster": "git+https://github.com/apalm/join-monster.git#e81e252130208c5048ea7c564260567ed87e1d35",
21
21
  "json-schema-to-typescript": "10.1.5",
22
22
  "lodash": "^4.17.20",
23
23
  "mssql": "^6.3.1",