@nest-boot/graphql 5.9.3 → 5.10.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nest-boot/graphql",
3
- "version": "5.9.3",
3
+ "version": "5.10.0",
4
4
  "description": "",
5
5
  "author": "d4rkcr0w <me@d4rkcr0w.com>",
6
6
  "homepage": "",
@@ -30,7 +30,6 @@
30
30
  "@nest-boot/database": "5.8.2",
31
31
  "@nest-boot/eslint-config": "5.7.0",
32
32
  "@nest-boot/eslint-plugin": "5.7.0",
33
- "@nest-boot/redis": "5.6.0",
34
33
  "@nest-boot/search": "5.7.3",
35
34
  "@nest-boot/tsconfig": "5.1.0",
36
35
  "@nestjs/apollo": "^12.0.9",
@@ -45,6 +44,7 @@
45
44
  "eslint": "^8.49.0",
46
45
  "express": "^4.18.2",
47
46
  "graphql": "^16.8.1",
47
+ "ioredis": "^5.3.2",
48
48
  "jest": "^29.7.0",
49
49
  "reflect-metadata": "^0.1.13",
50
50
  "rxjs": "^7.8.1",
@@ -54,7 +54,6 @@
54
54
  "peerDependencies": {
55
55
  "@mikro-orm/core": "^5.0.0",
56
56
  "@nest-boot/database": "5.8.2",
57
- "@nest-boot/redis": "5.6.0",
58
57
  "@nest-boot/search": "5.7.3",
59
58
  "@nestjs/apollo": "^12.0.0",
60
59
  "@nestjs/common": "^10.0.0",
@@ -63,6 +62,7 @@
63
62
  "dataloader": "^2.0.0",
64
63
  "express": "^4.0.0",
65
64
  "graphql": "^16.0.0",
65
+ "ioredis": "^5.3.2",
66
66
  "reflect-metadata": "^0.1.13",
67
67
  "rxjs": "^7.0.0"
68
68
  },
@@ -1,7 +0,0 @@
1
- import { type EntityRepository } from "@mikro-orm/core";
2
- import DataLoader from "dataloader";
3
- export declare class EntityDataLoader<T extends {
4
- id: string;
5
- }> extends DataLoader<T["id"], T> {
6
- constructor(repository: EntityRepository<T>);
7
- }
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.EntityDataLoader = void 0;
7
- const dataloader_1 = __importDefault(require("dataloader"));
8
- const lodash_1 = __importDefault(require("lodash"));
9
- class EntityDataLoader extends dataloader_1.default {
10
- constructor(repository) {
11
- super(async (ids) => {
12
- const results = [];
13
- return lodash_1.default.sortBy(results, (result) => lodash_1.default.findIndex(ids, (id) => result.id === id));
14
- });
15
- }
16
- }
17
- exports.EntityDataLoader = EntityDataLoader;
18
- //# sourceMappingURL=entity.data-loader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entity.data-loader.js","sourceRoot":"","sources":["../src/entity.data-loader.ts"],"names":[],"mappings":";;;;;;AACA,4DAAoC;AACpC,oDAAuB;AAEvB,MAAa,gBAA2C,SAAQ,oBAG/D;IACC,YAAY,UAA+B;QACzC,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;YAClB,MAAM,OAAO,GAAQ,EAAE,CAAC;YAExB,OAAO,gBAAC,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,EAAE,CAClC,gBAAC,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAC3C,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AAbD,4CAaC"}