@nest-boot/graphql-connection 7.4.0 → 7.5.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.
@@ -6,10 +6,7 @@ export interface BaseFieldOptions {
6
6
  export interface SortableFieldOptions {
7
7
  sortable?: boolean;
8
8
  }
9
- export interface SimpleFieldOptions<Entity extends object, Type extends FieldType = never> extends FilterSimpleFieldOptions<Entity, Type>, BaseFieldOptions, SortableFieldOptions {
10
- }
11
- export interface ReplacementFieldOptions<Entity extends object, Type extends FieldType = never, Field extends string = never> extends FilterReplacementFieldOptions<Entity, Type, Field>, BaseFieldOptions, SortableFieldOptions {
12
- }
13
- export interface ReplacementFunctionFieldOptions<Entity extends object, Type extends FieldType = never> extends FilterReplacementCallbackFieldOptions<Entity, Type>, BaseFieldOptions, SortableFieldOptions {
14
- }
9
+ export type SimpleFieldOptions<Entity extends object, Type extends FieldType = never> = FilterSimpleFieldOptions<Entity, Type> & BaseFieldOptions & SortableFieldOptions;
10
+ export type ReplacementFieldOptions<Entity extends object, Type extends FieldType = never, Field extends string = never> = FilterReplacementFieldOptions<Entity, Type, Field> & BaseFieldOptions & SortableFieldOptions;
11
+ export type ReplacementFunctionFieldOptions<Entity extends object, Type extends FieldType = never> = FilterReplacementCallbackFieldOptions<Entity, Type> & BaseFieldOptions & SortableFieldOptions;
15
12
  export type FieldOptions<Entity extends object, Type extends FieldType = never, Field extends string = never> = SimpleFieldOptions<Entity, Type> | ReplacementFieldOptions<Entity, Type, Field> | ReplacementFunctionFieldOptions<Entity, Type>;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=field-options.interface.js.map
3
+ //# sourceMappingURL=field-options.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field-options.type.js","sourceRoot":"","sources":["../../src/types/field-options.type.ts"],"names":[],"mappings":""}
@@ -1 +1,2 @@
1
1
  export * from "./connection-class.type";
2
+ export * from "./field-options.type";
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./connection-class.type"), exports);
18
+ __exportStar(require("./field-options.type"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,uDAAqC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-order.js","sourceRoot":"","sources":["../../src/utils/create-order.ts"],"names":[],"mappings":";;;;;;;;;;;AAoBA,kCA2CC;AA/DD,gDAAwE;AAExE,2CAA6D;AAG7D,oCAA0C;AAe1C,SAAgB,WAAW,CACzB,UAAkB,EAClB,eAAqE;IAErE,MAAM,kBAAkB,GAAG,IAAA,qBAAQ,EAAC,UAAU,EAAE,IAAI,CAAC,CAAC;IACtD,MAAM,8BAA8B,GAAG,IAAA,sBAAS,EAAC,IAAA,qBAAQ,EAAC,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC;IAE7E,MAAM,cAAc,GAAG,CAAC,GAAG,eAAe,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,CACzD,CAAC,KAAK,EAAE,EAAE,CAAE,KAA8B,EAAE,QAAQ,CACrD,CAAC;IAEF,MAAM,UAAU,GAAG,cAAc,CAAC,MAAM,CACtC,CAAC,MAAM,EAAE,YAAY,EAAE,EAAE;QACvB,OAAO;YACL,GAAG,MAAM;YACT,CAAC,IAAA,uBAAU,EAAC,YAAY,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC,EAC3C,YAAgD,CAAC,WAAW;gBAC7D,YAAY,CAAC,KAAK;SACrB,CAAC;IACJ,CAAC,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,MAAM,EAAE,YAAY,EAAE,EAAE;QACvB,OAAO;YACL,GAAG,MAAM;YACT,CAAC,IAAA,uBAAU,EAAC,YAAY,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC,EAC3C,YAAyC,CAAC,WAAW;gBACtD,YAAY,CAAC,KAAK;SACrB,CAAC;IACJ,CAAC,EACD,EAAE,EAAE,EAAE,IAAI,EAAuC,CAClD,CAAC;IAEF,IAAA,0BAAgB,EAAC,UAAU,EAAE;QAC3B,IAAI,EAAE,GAAG,UAAU,YAAY;QAC/B,WAAW,EAAE,uBAAuB,kBAAkB,8BAA8B;KACrF,CAAC,CAAC;IAKH,IAAM,KAAK,GAAX,MAAM,KAAK;KASV,CAAA;IAJC;QAHC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,UAAoB,EAAE;YACjC,WAAW,EAAE,sBAAsB,8BAA8B,MAAM;SACxE,CAAC;;wCAC4B;IAG9B;QADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,sBAAc,EAAE,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;;4CAC7C;IARvB,KAAK;QAHV,IAAA,mBAAS,EAAC,GAAG,UAAU,OAAO,EAAE;YAC/B,WAAW,EAAE,wBAAwB,kBAAkB,cAAc;SACtE,CAAC;OACI,KAAK,CASV;IAED,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;AAC/B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nest-boot/graphql-connection",
3
- "version": "7.4.0",
3
+ "version": "7.5.0",
4
4
  "description": "",
5
5
  "author": "d4rkcr0w <me@d4rkcr0w.com>",
6
6
  "homepage": "",
@@ -16,8 +16,8 @@
16
16
  "dependencies": {
17
17
  "inflection": "^3.0.2",
18
18
  "lodash": "^4.17.21",
19
- "mikro-orm-filter-query-schema": "^1.0.0",
20
- "search-syntax": "^3.4.0",
19
+ "mikro-orm-filter-query-schema": "^1.1.0",
20
+ "search-syntax": "^3.5.0",
21
21
  "zod": "^4.1.13"
22
22
  },
23
23
  "devDependencies": {
@@ -40,10 +40,10 @@
40
40
  "rxjs": "^7.8.2",
41
41
  "ts-jest": "^29.4.4",
42
42
  "typescript": "^5.9.3",
43
- "@nest-boot/eslint-config": "^7.0.1",
44
- "@nest-boot/tsconfig": "^7.0.0",
43
+ "@nest-boot/eslint-config": "^7.0.2",
45
44
  "@nest-boot/eslint-plugin": "^7.0.2",
46
- "@nest-boot/graphql": "^7.1.1"
45
+ "@nest-boot/graphql": "^7.1.1",
46
+ "@nest-boot/tsconfig": "^7.0.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@mikro-orm/core": "^6.0.0",
@@ -1 +0,0 @@
1
- {"version":3,"file":"field-options.interface.js","sourceRoot":"","sources":["../../src/interfaces/field-options.interface.ts"],"names":[],"mappings":""}