remult 0.20.5-exp.1 → 0.20.5-exp.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.
- package/esm/graphql.d.ts +1 -1
- package/esm/graphql.js +2 -2
- package/graphql.d.ts +1 -1
- package/graphql.js +4 -4
- package/package.json +1 -2
package/esm/graphql.d.ts
CHANGED
package/esm/graphql.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DataApi } from '
|
|
2
|
-
import { Remult, remult } from '
|
|
1
|
+
import { DataApi } from './src/data-api';
|
|
2
|
+
import { Remult, remult } from './index';
|
|
3
3
|
const v2ConnectionAndPagination = false;
|
|
4
4
|
const andImplementation = false;
|
|
5
5
|
let _removeComments = false;
|
package/graphql.d.ts
CHANGED
package/graphql.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.translateWhereToRestBody = exports.remultGraphql = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
var data_api_1 = require("
|
|
6
|
-
var
|
|
5
|
+
var data_api_1 = require("./src/data-api");
|
|
6
|
+
var index_1 = require("./index");
|
|
7
7
|
var v2ConnectionAndPagination = false;
|
|
8
8
|
var andImplementation = false;
|
|
9
9
|
var _removeComments = false;
|
|
@@ -12,7 +12,7 @@ function remultGraphql(options) {
|
|
|
12
12
|
var _this = this;
|
|
13
13
|
var _f, _g;
|
|
14
14
|
if (!options.getRemultFromRequest) {
|
|
15
|
-
options.getRemultFromRequest = function () { return
|
|
15
|
+
options.getRemultFromRequest = function () { return index_1.remult; };
|
|
16
16
|
}
|
|
17
17
|
var removeComments = tslib_1.__assign({ removeComments: false }, options).removeComments;
|
|
18
18
|
if (removeComments) {
|
|
@@ -20,7 +20,7 @@ function remultGraphql(options) {
|
|
|
20
20
|
}
|
|
21
21
|
var entities = (function () {
|
|
22
22
|
var _a;
|
|
23
|
-
var remult = new
|
|
23
|
+
var remult = new index_1.Remult();
|
|
24
24
|
return ((_a = options.entities) === null || _a === void 0 ? void 0 : _a.map(function (x) { return remult.repo(x).metadata; })) || [];
|
|
25
25
|
})();
|
|
26
26
|
var types = [];
|
package/package.json
CHANGED