@nest-boot/graphql-connection 7.4.0 → 7.6.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/dist/connection.builder.d.ts +3 -1
- package/dist/connection.builder.js +3 -2
- package/dist/connection.builder.js.map +1 -1
- package/dist/interfaces/connection-metadata.interface.d.ts +1 -1
- package/dist/interfaces/index.d.ts +1 -1
- package/dist/interfaces/index.js +1 -1
- package/dist/interfaces/index.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/{interfaces/field-options.interface.d.ts → types/field-options.type.d.ts} +3 -6
- package/dist/{interfaces/field-options.interface.js → types/field-options.type.js} +1 -1
- package/dist/types/field-options.type.js.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/utils/create-order.js.map +1 -1
- package/package.json +6 -6
- package/dist/interfaces/field-options.interface.js.map +0 -1
|
@@ -6,10 +6,7 @@ export interface BaseFieldOptions {
|
|
|
6
6
|
export interface SortableFieldOptions {
|
|
7
7
|
sortable?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
export
|
|
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>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-options.type.js","sourceRoot":"","sources":["../../src/types/field-options.type.ts"],"names":[],"mappings":""}
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
|
@@ -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
|
package/dist/types/index.js.map
CHANGED
|
@@ -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":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"create-order.js","sourceRoot":"","sources":["../../src/utils/create-order.ts"],"names":[],"mappings":";;;;;;;;;;;AAmBA,kCA2CC;AA9DD,gDAAwE;AAExE,2CAA6D;AAG7D,oCAA0C;AAc1C,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,E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3
|
+
"version": "7.6.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.
|
|
20
|
-
"search-syntax": "^3.
|
|
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.
|
|
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":""}
|