nicot 1.1.31 → 1.1.33

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.
@@ -27,6 +27,7 @@ export declare class RestfulFactory<T extends {
27
27
  readonly importDto: new () => {
28
28
  data: T[];
29
29
  };
30
+ private readonly fieldsInGetToOmit;
30
31
  readonly findAllDto: ClassType<T>;
31
32
  readonly findAllCursorPaginatedDto: ClassType<T>;
32
33
  readonly updateDto: ClassType<T>;
@@ -1,2 +1 @@
1
1
  export * from './query';
2
- export * from './rename-class';
@@ -17,6 +17,7 @@ interface SpecificFields {
17
17
  isArray: boolean;
18
18
  };
19
19
  queryFullTextColumn: QueryFullTextColumnOptions;
20
+ boolColumn: boolean;
20
21
  }
21
22
  interface MetadataMap extends SpecificFields {
22
23
  queryCondition: QueryCond;
@@ -0,0 +1 @@
1
+ export declare const nonTransformableTypes: Set<Function>;
@@ -0,0 +1,2 @@
1
+ import { AnyClass } from 'nesties';
2
+ export declare const PatchColumnsInGet: <C extends AnyClass>(cl: C, originalCl?: AnyClass, fieldsToOmit?: string[]) => C;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nicot",
3
3
  "description": "Nest.js interacting with class-validator + OpenAPI + TypeORM for Nest.js Restful API development.",
4
- "version": "1.1.31",
4
+ "version": "1.1.33",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
@@ -95,7 +95,7 @@
95
95
  },
96
96
  "dependencies": {
97
97
  "lodash": "^4.17.21",
98
- "nesties": "^1.1.11",
98
+ "nesties": "^1.1.15",
99
99
  "p-queue": "6.6.2",
100
100
  "superjson": "1.13.3",
101
101
  "typed-reflector": "^1.0.13"
@@ -1 +0,0 @@
1
- export declare function RenameClass<T>(cls: T, name: string): T;